Hi, We're using Eclipse 3.3.0 to generate code from WSDL's. It uses Axis 1.4.
The code seems to be generated fine and we can compile it execute the web services fine. However, when the web service is not available, it just hangs and doesn't timeout. We have a wrapper transaction in WebSphere that eventually times out after approx 12 minutes, but why doesn't the Axis client code time out? I looked at the generated stub code and if you do a getTimeout() in the stub, it returns 0. If I put a setTimeout(15000) in the constructors of the stub, the call to the web service times out nicely after the expected 15 seconds with a SocketTimeoutException message. That's what we want. I was under the impression that Axis has a default 60 second timeout? Why doesn't this kick in? Is there a way to set timeouts by not fiddling in the generated stub code? We want do not want to touch generated code - its all part of a big ant build process and a manual step would not be ideal. Any help or suggestions? Thanks! Charl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
