Setting binding.setTimeout(1000); will timeout the client in 1 second, right ? Will the client be able to read the response after the timeout ?
On Jan 17, 2008 10:11 PM, gaurav lall <[EMAIL PROTECTED]> wrote: > 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) > > 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 > > faultSubcode: > > faultString: java.net.SocketTimeoutException: Read timed out > > faultActor: > > faultNode: > > faultDetail: > > { > http://xml.apache.org/axis/}stackTrace: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] > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
