C++ SOAP TimeOut Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Karthik Chavan
    New Member
    • Sep 2007
    • 1

    C++ SOAP TimeOut Problem

    We have developed a webservice client in C++ using SOAP toolkit. Different requests are sent to the web service sequentially in a loop.

    Problem is that if one request fails for genuine “TIMEOUT”, all successive request fails with “TIMEOUT”.


    We have 1,2,3,4 and 5 request in a loop. Request 3 fails for genuine TIME OUT

    1,2,3,4,5 -
    1,2 - Success
    3,4,5 - Failed

    1,2,4,5,3
    1,2,4,5 – Success
    3 Failed


    1,2,4,3,5

    1,2,4 – Success
    3,5 – Failed

    3,1,2,4,5

    All failed

    Can anyone tell me why failure is happening? I know 3 is the culprit, but why it is affecting successive web service calls
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    when you try for third attempt and due to some reason if your network goes down,
    then in that case your all successive calls will be failed.

    Comment

    • Alex B
      New Member
      • Apr 2022
      • 3

      #3
      How did you set TimeOut for SOAP webservice client?

      Comment

      Working...