Consume a session-free Web service
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
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
|
Invoke any available methods on the AppObject, as required.