Release 10.1A: OpenEdge Development:
Web Services

> ## 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 single port type supported by the binding by mapping it to a Web service proxy procedure object, then invoke and manage Web service operations defined in that port type using the corresponding Web service proxy procedure handle.

> You can also create more than one procedure object for a single port type assigned to different procedure handles. This allows you greater flexibility in how you handle request and response messages for the same set of Web service operations. For more information, see Chapter 10, " Invoking Web Service Operations from the Progress 4GL."

> 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.

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