Product Installed : webMethods 6.0.1 with SP1, SP2
We have a webMethods service, which is called by an external client(written in C Sharp), which sends SOAP request over HTTP.
Whenever the webMethods service is called using the client, a new Session is created on the webMethods server(seen in webMethods Administrator–>Statistics–>Total Sessions), which will timeout after the Session Timeout interval specified in the webMethods Administrator–>Resources console–>Session Timeout, which is currently 10 minutes.
But, when we generate a Java client for the same webMethods service and run it, it does not create a new session. webMethods generated Java client uses Context object to invoke the webMethods service, which internally handles Session in a different way.
Hence, we see that for webMethods generated client(using Context class), session is not generated but for non-webMethods clients, it creates a session for each request.
We have a project, which uses non-webMethods client. It is creating a new session for each request which times out only after 10 minutes. We want to know whether there is any way (apart from reducing the session timeout value and using Context object) to close these sessions immediately after each request.
Thanks