Hello If your are using axis2 generated stubs , you can try the following * stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(1000);*
Check out http://ws.apache.org/axis2/1_3/api/org/apache/axis2/client/Options.html#setTimeOutInMilliSeconds(long)<http://ws.apache.org/axis2/1_3/api/org/apache/axis2/client/Options.html#setTimeOutInMilliSeconds%28long%29> for axis 1 binding.setTimeout(1000); Thanks Gaurav On Jan 17, 2008 10:41 AM, Noé Amorim <[EMAIL PROTECTED]> wrote: > Hello. > I have a webservice that can be running for long periods of time, i > found out that my Client App (Axis 1.4) times out after 10 minutes. > > The webservice keeps running and finishes his job well, but the client > can no longer get the response. > > AxisFault > faultCode: { > http://schemas.xmlsoap.org/soap/envelope/}Server.userException<http://schemas.xmlsoap.org/soap/envelope/%7DServer.userException> > faultSubcode: > faultString: java.net.SocketTimeoutException: Read timed out > faultActor: > faultNode: > faultDetail: > { > http://xml.apache.org/axis/}stackTrace:java.net.SocketTimeoutException<http://xml.apache.org/axis/%7DstackTrace:java.net.SocketTimeoutException> > : > Read timed out > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > .............................................................. > > What can i do keep this connection alive no mather the time needed? > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
