SOAP call works in SoapUI but fails in PHP using soapclient - Object reference issue
Trying to query a .NET webservice hosted on an IIS server using PHP 5.x $wsdl_path = "http://192.168.1.1/TestSite/TestService.asmx?wsdl"; $soapClient = new SoapClient($wsdl_path, array('trace' => 1)); $dump=var_export($soapClient->__getFunctions(), true); echo htmlentities($dump); produces array ( 0 => 'ProcessTransactionResponse ProcessTransaction(ProcessTransaction $parameters)', 1 => 'ProcessTransactionResponse ProcessTransaction(ProcessTransaction $parameters)', ) which would indicate it is correctly accessing the wsdl file. A correctly formatted query validated using SoapUI is as follows