Defining object IDs in WSDL
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The follow sample shows the types section that might appear in the WSDL for
many of the sample Web services in this chapter. (This example is for Doc/Lit, but similar for
all SOAP formats.) For example:
WSDL Containing an object ID definition
|
The WSDL schema definition for each Web service object (except a
session-free AppObject) defines the SOAP header element that contains the value of its
object ID as a <complexType>. As shown in the
example, the name for the SOAP header element is the name of the <complexType>, in this example, "OrderInfoID". The name of the element that contains the value of the object ID
is "UUID", defined as an element of type "xsd:string". This definition is the same for the object IDs of
all Web service objects, differing only in the name of the object ID element.