Try OpenEdge Now
skip to main content
Web Services
Creating ABL Clients to Consume OpenEdge SOAP Web Services : Connecting to OpenEdge SOAP Web Services from ABL : Managing Web service bindings
 

Managing Web service bindings

Once you bind a Web service to a server object handle using the CONNECT( ) method, the Web service remains bound (server-handle:CONNECTED( ) = TRUE) until you invoke the DISCONNECT( ) method on that handle to unbind it. Between these two points you can access the operations defined for the Web service.
To work with additional port types in the same Web service or in different Web services, you must create a separate Web service binding for each port type you want to access. Depending on how you choose to manage Web service binding resources, you can do all this using one or more pairs of server and procedure handles. If your application accesses many port types and Web services, especially if it disconnects and connects Web service bindings frequently, be sure to delete the created objects (especially the procedure objects) when you no longer need them in order to prevent memory leaks in your application.
* Accessing a port type for a Web service
* Accessing multiple port types
* Accessing multiple port types simultaneously