Handling Soap timeouts in PHP

前端 未结 8 2013
囚心锁ツ
囚心锁ツ 2021-01-30 09:05

I\'m working on a project where I am verifying information from a user with a SOAP web service. I currently am taking care of errors assuming that I\'m receiving responses from

8条回答
  •  天命终不由人
    2021-01-30 09:29

    Guess I'm little late, but in case someone is still looking for solution to timeouts in php soap client - here's what's worked for me:

    • archived copy of

    Basicly replacing PHP SoapClient with cURL with set timeout. Just keep in mind, sometimes WS expects action specified in HTTP header. Original solution posted on that website doesn't include that (check comments).

提交回复
热议问题