Release 10.1A: OpenEdge Development:
Web Services

> ## Retrieving and sending object IDs—handling SOAP headers

> A previous chapter (see Chapter 3 "Session Models and Object IDs in Progress 4GL Web Services") 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.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095