This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Setting Timeout with WebSphere generated services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Setting Timeout with WebSphere generated services" Watch "Setting Timeout with WebSphere generated services" New topic
Author

Setting Timeout with WebSphere generated services

Scott Camilleri
Greenhorn

Joined: Jul 06, 2010
Posts: 3
I am working on an application where I generated source code off of an existing WSDL using the WebSphere 6.1 WSDL2Java task. I am trying to set the timeout value for the web service call in the client code by using the typical setTimeout() method on the service stub, but that does not seem to be working as it does with Axis generated code. By default, it seems that the connection to the web service takes about 20 seconds before timing out, but I am not exactly sure where this default of 20 seconds is being set just yet.

Is there a way to set this timeout in the client code so that it does not default to 20 seconds?

I tried posting in the Web Services forum, but this may be a WebSphere specific thing seeing how I am able to set the timeouts using Axis and JAX-WS generated web services.

Thank you in advance!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Setting Timeout with WebSphere generated services
 
Similar Threads
Sample Questions for 288 - Need answers
web service client, axis
Set soap time-out
Setting timeout
Setting Timeout with WebSphere generated services