Limitations
Standards
WSDL 1.1 is the only supported WSDL level.
SOAP 1.1 is the only supported over-the-wire protocol.
PCML (deployment of ILE-based Web services)
The deploying of ILE programs as Web services is dependent on a Program Call Markup Language (PCML) document describing the procedures to be externalized as Web service operations. There is a list of PCML restrictions regarding parameter and return value types:
- The following data types are not supported by PCML:
-
- Date
- Time
- Timestamp
- Pointer
- Procedure Pointer
- 1-Byte Integer
- 8-byte Unsigned Integer
- Return values and parameters passed by value can only be 4 byte integers.
- Varying-length arrays, and data structures containing varying-length subfields are not supported.
More details regarding RPG and PCML can be found in the
ILE RPG Reference. More details regarding COBOL and PCML can be found in the
ILE COBOL reference.
Parameters
A procedure in an ILE service program (*SRVPGM) that is to be externalized as a Web service operation can have a maximum of 7 parameters. An ILE program (*PGM) can have a maximum of 32 parameters.
Standards
WSDL 1.1 is the only supported WSDL level.
SOAP 1.1 is the only supported over-the-wire protocol (as compliant with ws-i basic profile 1.1).
Handlers
Support is given for global and service handlers only. Handlers must only access the SOAP header. Accessing any other element using the available API's will lead to undetermined behavior.
Handlers must be written in C++.
All date time objects
Dates sent and received must be after midnight 1st January 1970.
Attachments
Attachments are not supported.
Encoding styles
Document literal is the only supported encoding style.
Codepage
WSDL's used against the Integrated Web service client for ILE tooling (WSDL2Ws) must be encoded throughout using UTF-8. In addition, the response from the server must be in UTF-8 format.
WSDL definitions
Any WSDL's used must define one and only one service with one and only one port type.
Schema types and constructs
The schema-related types and constructs are not supported:
- The use of "ref" inside WSDL schemas
- The use of xsd:list
- The use of "choice" and "all" in type definitions
Wildcard schema components
The namespace and processContents attributes on xsd:any are not supported. This gives support equivalent to setting namespace="##any" and processContents="skip".
|