Try OpenEdge Now
skip to main content
Web Services
Creating OpenEdge SOAP Web Services : Sample Code with SOAP Messages for OpenEdge Web Services : Creating and using a ProcObject : ProcObject IDs
 
ProcObject IDs
You use the same type of class factory method to create ProcObjects for both session-managed and session-free Web Services. For a ProcObject whose defining parent is a SubAppObject or a session-managed AppObject, you must send the object ID of the parent in the SOAP request message header. However, for a ProcObject whose defining parent is a session-free AppObject, you do not have an AppObject ID to send in the SOAP request header when you invoke the class factory method to create the ProcObject.
For every ProcObject, regardless of its parent, the SOAP response header for the class factory method returns a ProcObject ID that associates the ProcObject session context with the client. You must send this ProcObject ID in the SOAP request header for all other method calls on the ProcObject.