Skip to Content
avatar image
Former Member

java.net.SocketTimeoutException: Read timed out

Hi,

I am getting the following exception when for a webservice call :

"Service call exception; nested exception is: java.net.SocketTimeoutException: Read timed out"

Please help me in resolving this exception.

Regards,

Reinuka.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 28, 2011 at 09:43 AM

    Hi Reinuka,

    Refer to this WIKI

    http://wiki.sdn.sap.com/wiki/display/JSTSG/%28WSR%29Problems-P17

    regards,

    Radhika

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 28, 2011 at 03:50 PM

    Hi,

    see also the corresponding point of the note:

    #1394546 - Socket and connection issues in Java Web services

    (http://service.sap.com/sap/support/notes/1394546)

    Best Regards,

    Ervin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi All,

      I was able to set the socketTimeout parameter to 10mins but I am still getting the same error.

      Can you please suggest as what can be a possible problem.

      Thanks.

      Regards,

      Reinuka.

  • Feb 03, 2011 at 12:26 PM

    Hi,

    I don't know whether this is matching to your release and scenario, but could you please doublecheck the note:

    #1416239 u2013 Timeout from Destination Templates not taken into account

    Best Regards,

    Ervin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank youervin.

      I have already checked the note suggested by you but it did not resolve the problem.

      I am new to webservice.

      Can you help me where to write the below line of code in a webservice:

      ClientSEI port = (ClientSEI) serviceui.getPort(ClientSEI.class);

      HTTPControlInterface httpInterface =HTTPControlFactory.getInterface(port);

      httpInterface.setHTTPProxy(#proxy#, 8080);

      port.callMethod();

      How will I get this particular clientSEI in my code.

      Regards,

      Reinuka.