Help - Server did not recognize the value of

  • sathu

    Am a newbie in SOAP + PHP

    having a problem with a script -

    When i run a script to fetch data from another server I am getting  - Server did not recognize the value of HTTP Header SOAPAction:

    The whole response is given below - Infact I am not sure what has to be given under soapaction variable. Can some one guide me?

    SOAP query

    POST /AccomodationSearch.asmx?WSDL HTTP/1.0
    User-Agent: NuSOAP/0.7.3 (1.114)
    Content-Type: text/xml; charset=ISO-8859-1
    SOAPAction: ""
    Content-Length: 716

    <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="" xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC=""><SOAP-ENV:Body><Search xmlns=""><inputQuery>

    SOAP response

    HTTP/1.1 500 Internal Server Error
    Connection: close
    Date: Wed, 20 Aug 2008 13:31:45 GMT
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET
    X-AspNet-Version: 2.0.50727
    Cache-Control: private
    Content-Type: text/xml; charset=utf-8
    Content-Length: 405

    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="" xmlns:xsi="" xmlns:xsd=""><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Server did not recognize the value of HTTP Header SOAPAction: .</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>

    Status message:
    Record found: