PHP Fatal error: “The SOAP action specified on the message, '', does not match the HTTP SOAP Action”

后端 未结 2 654
清酒与你
清酒与你 2020-12-07 02:30

I\'m attempting to write a PHP script that will connect to the SOAP client for our SightMax interface. With the code below I am able to print out a list of functions availa

2条回答
  •  误落风尘
    2020-12-07 03:01

    You should give the SOAP Action. Since you do not include it in the initialization of SoapClient, it doesn't match the SOAP Action of the web service. Make sure you know what the SOAP Action is before connecting.

    Read http://www.oreillynet.com/xml/blog/2002/11/unraveling_the_mystery_of_soap.html for more on the subject.

提交回复
热议问题