Using object IDs in a SOAP message
- Last Updated: December 6, 2022
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
This is a sample header of a SOAP message containing an object ID for the object specified in
the sample WSDL, using the WSDL-defined <OrderInfoID> SOAP element:
SOAP header containing an object ID
|
The value of the object ID appears in bold, contained by the <UUID> element.
The same basic <OrderInfoID> element
contains the object ID in the SOAP response header that initially returns the OrderInfoID object ID, when the object is created, and is
required in any subsequent SOAP request header sent by methods invoked on the OrderInfo object.
Thus, for all Web service objects that require object IDs, your client
application must parse out the object ID value in the <UUID> element contained by the object ID element (<OrderInfoID> in the example) and returned in the SOAP response header at
object creation, whether it happens automatically or you must program it explicitly.
Similarly, for every SOAP request sent by a method invoked on this same object, your client
application must create an object ID element containing a <UUID> element that holds this identical object ID value in the SOAP
header of the request message.
For examples of SOAP headers that contain object IDs and sample code that handles object IDs, see the following chapters: