Defining and passing Web service method parameters
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
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 1).
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.
| 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)2
|
complexType
|
DATASET-HANDLE (dynamic ProDataSet)2
|
complexType (<any>)
|
Note: ABL object type (class or interface) parameters and ABL
BUFFER parameters are not supported.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.