Results 1 to 5 of 5

Thread: Spring WS client timeout settings

  1. #1
    Join Date
    Mar 2008
    Posts
    4

    Default 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. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

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

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #3
    Join Date
    Mar 2008
    Posts
    4

    Default

    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

  4. #4
    Join Date
    Mar 2008
    Posts
    20

    Default

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

  5. #5
    Join Date
    Mar 2009
    Posts
    8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •