PHP with SOAP request initialization is taking too long to execute

Discussion in 'PHP' started by rajiv209, Mar 17, 2012.

  1. #1
    The SOAP request initialization is taking too long to execute. We have analyzed the system and application logs which suggest that the issue resides with SOAP request initialization.

    We are using PHP5.3 to call .net web service using SOAP.

    Please suggest.
     
    rajiv209, Mar 17, 2012 IP
  2. blacknet

    blacknet Active Member

    Messages:
    709
    Likes Received:
    16
    Best Answers:
    2
    Trophy Points:
    70
    #2
    this may sound random, but it's quite possibly an HTTP+SSL (https) endpoint that you are requesting, and if my memory serves me correctly, there's an error in .net where it doesn't close the connection on SSL connections, and thus PHP on the other side waits for it to time out. Some googling of the PHP docs and stackoverflow should point you to the solution.
     
    blacknet, Mar 17, 2012 IP