I’m working with a WSDL that has a different SOAP Action in the header to the one I would expect. At the moment when I call the web service, I just get like a .NET description site of a web service. In this instance it’s
https://preprod.squidcard.com/ytm/sQuidpages/sQuidPWS.asmx
What URL should I actually call to get to the getPurseBalance() method as the option in the SOAP Action from the WSDL doesn’t seem to be defined, is there anyway I can determine this or should I go to the web service provider?
Thanks,
You should not call a URL, you should post a XML to this direct same page. To know what to send to the web service you can check your URL:
https://preprod.squidcard.com/ytm/sQuidpages/sQuidPWS.asmx?op=getPurseBalance
Here you can also view your SoapAction and other headers to be send:
If you don’t want to create XML manually you can also use the SoapClient class from PHP. You can find more information here:
http://www.php.net/manual/en/class.soapclient.php