Define DATASET (static ProDataSet) parameters
- Last Updated: September 27, 2019
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
DATASET parameter for Doc/Lit
DATASET parameters pass data only because the static ProDataSet's schema is
known at WSDL generation. OpenEdge Web services map a DATASET definition to
a <complexType> consisting of a <sequence> of
elements that represent the ProDataSet's temp-tables. Each temp-table element includes a
<complexType> describing the temp-table's fields. The definition
also includes elements describing the data relations and indexes.
By default, a ProDataSet parameter includes only the current data. You must specify in ProxyGen the ProDataSet parameters for which you want to include before-image data. A ProDataSet parameter with before-image data is serialized as a proprietary OpenEdge datasetChanges document.
Nested and non-nested data relations produce different WSDL structures. For non-nested data relations, each temp-table description is separate. For nested data relations, the description of the child temp-table is embedded in the description of the parent temp-table.
Client-development toolkits typically define an object for every
<complexType> in the WSDL. For an ABL client, the WSDL Analyzer
produces definitions for a corresponding ProDataSet, its temp-tables, indexes, and data
relations. A non-ABL client toolkit produces object definitions for the ProDataSet and for
each of its temp-tables. Non-ABL clients toolkits do not produce code from the indexes and
data relations.
The following code snippet defines a ProDataSet with nested and non-nested data relations:
|
The following WSDL sample defines the ProDataSet parameter for
getCustOrders.p using the Doc/Lit SOAP format. Note the differences
between the nested and non-nested data relations in this sample:
|
For RPC styles, the name of the ProDataSet parameter follows the format, PDSnameParam, where PDSname is the name of your ProDataSet. Both RPC styles
use the same structure to define a ProDataSet parameter. The following WSDL sample defines
the ProDataSet parameter using the RPC/Literal SOAP format. Note the differences between the
nested and non-nested data relations in this sample:
|