Define TABLE (static temp-table) parameters
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
TABLE parameter row schema for all SOAP formats
TABLE parameters pass data only, because the static temp-table's schema is
known at WSDL generation. OpenEdge Web services map a TABLE definition to a
<complexType> consisting of a <sequence> of
elements that represent a row (temp-table record). Each <element> in
this sequence represents a column (temp-table field) of the row. For all SOAP formats, a
TABLE parameter is defined as a <complexType> that
references the corresponding row element <complexType>.
The following WSDL sample defines a TABLE row named,
staticTT_ttEmpRow, with two columns, Name and
Number:
|
The following WSDL sample defines a temp-table parameter for the ttEmp row
using the RPC/Encoded SOAP format. Note that the parameter is a SOAP array of rows:
|
The following WSDL sample defines a TABLE parameter using the Doc/Lit or
RPC/Literal SOAP formats. Note that the parameter is a sequence of multiple rows:
|
For these SOAP formats, the row element name (ttEmpRow) is used to
identify each element that holds a data row sent in SOAP messages that pass a
TABLE parameter.
Each column of a TABLE row can hold any data type shown in the following
table.
| ABL data type | XML Schema data type |
|---|---|
BLOB1
|
xsd:base64Binary
|
CHARACTER
|
xsd:string
|
CLOB1
|
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
|
RAW
|
xsd:base64Binary
|
RECID (32 or 64 bit)
|
xsd:long
|
ROWID
|
xsd:base64Binary
|
WIDGET-HANDLE
|
xsd:long
|