Try OpenEdge Now
skip to main content
Web Services
Creating OpenEdge SOAP Web Services : Building Clients for OpenEdge SOAP Web services : Retrieving and sending object IDs: handling SOAP headers
 

Retrieving and sending object IDs: handling SOAP headers

Session Models and object IDs explains that object IDs must be retrieved from and sent in SOAP headers for methods on the following Open Client objects:
*Session-managed AppObjects
*ProcObjects
*SubAppObjects
Each client toolkit provides different means to access SOAP headers. In some environments, such as Microsoft .NET, the interface automatically moves information from the response header to subsequent request headers within the same object. You do have to do a little work to move the information between objects (for example, copying a ProcObject ID from the AppObject that creates a ProcObject to the ProcObject itself). In other environments, you are responsible for extracting the information from the response header and sending it in the SOAP headers for subsequent requests.
The WSDL defines the SOAP elements that hold the object ID using a <complexType> declaration in the types section for each Web service object schema that requires it. The headers in the SOAP messages that are sent and received for a given object then contain the required object ID values.
* Defining object IDs in WSDL
* Using object IDs in a SOAP message