Try OpenEdge Now
skip to main content
Web Services
Creating OpenEdge SOAP Web Services : Building Clients for OpenEdge SOAP Web services : Defining and passing Web service method parameters
 

Defining and passing Web service method parameters

Most parameters are defined and passed in SOAP messages as XML Schema data types. OpenEdge Web services expose ABL parameter data types as XML data types in the WSDL based on the "2001 XML Schema: Data types" (referred to as xsd in Table 18).
The following table lists the data type mappings for parameters between ABL and XML data types. Most of these parameters can also be passed as arrays. 
Table 18. Supported XML data types
ABL data type
XML Schema data type
CHARACTER
xsd:string
COM-HANDLE
xsd:long
DATE
xsd:date
DATETIME
xsd:dateTime
DATETIME-TZ
xsd:dateTime
DECIMAL
xsd:decimal
INT64
xsd:long
INTEGER (32 bit)
xsd:int
LOGICAL
xsd:boolean
LONGCHAR
xsd:string
MEMPTR1
xsd:base64Binary
RAW
xsd:base64Binary
RECID (32 or 64 bit)
xsd:long
ROWID
xsd:base64Binary
WIDGET-HANDLE
xsd:long
TABLE (static temp-table)
complexType
TABLE-HANDLE (dynamic temp-table)2
complexType (<any>)
DATASET (static ProDataSet)3
complexType
DATASET-HANDLE (dynamic ProDataSet)4
complexType (<any>)

1 LONGCHAR and MEMPTR data types are designed to support very large "strings" of data. Use of these data types as parameters in Web services can result in a serious performance impact.

2 TABLE, TABLE-HANDLE, DATASET, and DATASET-HANDLE data types cannot be passed as arrays. For more information on passing arrays, see Array parameters.

3 TABLE, TABLE-HANDLE, DATASET, and DATASET-HANDLE data types cannot be passed as arrays. For more information on passing arrays, see Array parameters.

4 TABLE, TABLE-HANDLE, DATASET, and DATASET-HANDLE data types cannot be passed as arrays. For more information on passing arrays, see Array parameters.

Note: ABL object type (class or interface) parameters and ABL BUFFER parameters are not supported.
* Client data type mapping
* Relational data types
* Date and time data
* Dedicated ABL data types
* Array parameters