webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

SocketTimeOut Exception when executing webServices

  • 1.  SocketTimeOut Exception when executing webServices

    Posted Wed August 12, 2009 01:06 AM

    Hi,

    Some webService calls are failing in the web Application with “java.net.SocketTimeoutException: Read timed out”. I know the reason is because the operation itself is consuming more than normal time to execute. I tried setting values between 5 and 10 seconds for the SocketTimeOut field on the webService properties. But this is not solving the problem.

    My questions below.

    1. What is the default Socket TimeOut value set for webservices and where is it set?
    2. What is the usage of “SocketTimeOut” property of webServices?

    Thanks for your help,
    Raj


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 2.  RE: SocketTimeOut Exception when executing webServices

    Posted Wed August 19, 2009 02:57 PM

    Hello Raj,

    you can see the default timeout in the bindings view under:

    • Implicit Variables → Environment Variables → wsclient-socketTimeout

    Its default value is 5000ms.
    The property “Socket Timeout” of a Web Service Connector overrides this default value.

    best regards
    Javier


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 3.  RE: SocketTimeOut Exception when executing webServices

    Posted Wed July 10, 2019 07:00 PM

    I dont see in webservice provider properties, where do we set them ?


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine