Skip to main content

Setting Connection/Socket timeouts and releasing resources using wsimport

1 reply [Last post]
Anonymous

All,

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();
port.method(request);

Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vgarmash
Offline
Joined: 2005-09-23