Setting Connection/Socket timeouts and releasing resources using wsimport
We are building webservice client stubs using the wsimport utility. The wsimport
is provided the appropriate WSDL as input to generate the client stubs.
In the stubs that get generated we do not see any methods for
setting connection and socket timeouts as well as releasing resources
like the httpconnection. Is there a way to achieve this ?.
We are using JBoss 5.1.0.GA on jdk 1.6.
The code looks something like this:-
SomeService service = new SomeService();
SomeServicePort port = service.getSomeServicePort();