Hi All,

 Please help me in setting up the client timeout. I tried the following, it
did not work.

 stub._getServiceClient().getOptions().setProperty(
org.apache.axis2.transport.
                   http.HTTPConstants.CONNECTION_TIMEOUT, new
Integer("7200000"));

 With this, I still see the client connection timed out exception in about
5 seconds when the server side is taking its time(sometime a couple of
minutes).

run.client:
    [java] org.apache.axis2.AxisFault: Read timed out; nested exception is:
    [java]     java.net.SocketTimeoutException: Read timed out; nested
exception is:
    [java]     org.apache.axis2.AxisFault: Read timed out; nested exception
is:
    [java]     java.net.SocketTimeoutException: Read timed out
    [java]     at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
CommonsHTTPTransportSender.java:225)
    [java]     at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java
:670)
    [java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:365)
    [java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute(
OutInAxisOperation.java:295)
    [java]     at
samples.quickstart.service.xmlbeans.StockQuoteServiceStub.getPrice(
StockQuoteServiceStub.java:193)
    [java]     at samples.quickstart.clients.XMLBEANSClient.getPrice(
XMLBEANSClient.java:48)
    [java]     at samples.quickstart.clients.XMLBEANSClient.main(
XMLBEANSClient.java:16)

Thanks,
-Bo

Reply via email to