Announcement Announcement Module
Collapse
No announcement yet.
Spring WS client timeout settings Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring WS client timeout settings

    Hi
    I am using WebserviceTemplate object to send and receive the ws soap response messages.
    I am looking for directions to set the timeout for the spring ws client using the spring config files in order to avoid modifying the code when I want to change the timeout settings.

    - Arun

  • #2
    When using Commons HttpClient, you can set the connection time out with this property: http://hc.apache.org/httpclient-3.x/...ionTimeout(int)

    Comment


    • #3
      Hi Arjen
      It is working for me when I used apache commons HttpClient
      I guess , it tries 3 times to fire the request by default.
      Is there any parameter in httpclient provides developers to increase the try count ( let us say 5 times instead of 3 times ) ?


      Thanks
      Arun

      Comment


      • #4
        Do you know how to configure it i.e. did you get it working?

        Comment


        • #5
          check this out:


          http://onebyteatatime.wordpress.com/...rvicetemplate/

          Comment

          Working...
          X