Somebody can tell me how can I change the default
timout a web service has? I tried the following but didn't work:
YAESystemServiceLocator locator = new
YAESystemServiceLocator();
YAESystem system =
locator.getYAESystem(myURL);
((org.apache.axis.client.Stub)
system).setTimeout(myTimeout);
I specified a timeout = 60 * 5000 (5 minutes) but
in about 30 secs the following message arrives:
java.net.ConnectException:
Connection timed out: connect
I also do a print of the timeout that was supossed
to be the one in consideration just before making the call, and it's corectly
set to my value, so I am very confussed:
System.out.println("TIMEOUT " +
_call.getTimeout());
java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parent}); Any ideas of what happening or how to correctly set
a timeout to a service?
Thanks in advance,
Leonardo
|
- Using the SAAJ API to send messages in AXIS Maria Fernandes
- RE: Using the SAAJ API to send messages in AXIS Leonardo Mena
- RE: Using the SAAJ API to send messages in AXIS Volkmann, Mark
- Re: Using the SAAJ API to send messages in AXIS Sivakumar Jagadeesan