Connecting to a Web service
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
For session-managed Web services, make a logical connection to the AppObject and save its object ID for later use. For example:
|
Note: The
PscObjectIDHandler registered for the
OrderInfoPort type object (OrderInfoObjStub) automatically
looks for and stores the object ID value returned for the OrderInfoObjStub
object if the connect_OrderInfo( ) method is successful. Because this is the
first object ID that the handler stores, it is automatically set to be inserted as the object
ID value in the SOAP header for each SOAP request sent to the WSA for the
OrderInfoObjStub object.CAUTION: Now that the Web service is connected, remember to release the AppObject
when it is no longer needed.