Try OpenEdge Now
skip to main content
Web Services
Creating OpenEdge SOAP Web Services : Sample Code with SOAP Messages for OpenEdge Web Services : Consuming a session-free Web service
 

Consuming a session-free Web service

Because the AppObject for a session-free Web service maintains no connection to the Web service, you can call the methods of a session-free AppObject with no preparation. When the WSA instance receives such a method request, it simply locates an available AppServer connection in the connection pool for that Web service and invokes the corresponding procedure or function on the available AppServer.
Note: All AppServers that participate in the connection pool for a session-free Web service are assumed to share the same version and capabilities and have access to the same set of databases and other shareable resources on a network. For more information, see OpenEdge Application Server: Developing AppServer Applications.
To use a session-free Web service:
Instantiate (create) the AppObject as appropriate for the client platform. For example:

VB.NET client code to instantiate session-free AppObject, OrderInfo

webService = New OrderSvc.OrderInfoObj( )
Invoke any available methods on the AppObject, as required.