So I am trying to connect using SoapClient but am running into issues.
$this->client = new SoapClient(self::parser_url . '/SovrenConvertAndParse/ConvertAndParse.asmx?WSDL',array('soap_version' => SOAP_1_2
));
var_dump($this->client);
var_dump($this->client->__getFunctions());
try { var_dump($this->client->GetVersionInfo());}
catch (Exception $e){echo $e->getMessage();}
And here are the results I get:
object(SoapClient)#32 (2) {
["_soap_version"]=>
int(2)
["sdl"]=>
resource(42) of type (Unknown)
}
array(30) {
...
[18]=>
string(65) "GetVersionInfoResponse GetVersionInfo(GetVersionInfo $parameters)"
...
}
Not Found
Seems like if the function shows up in getFunctions() then I should be able to call it, and it should be findable. No? What could cause something like this?
So I also tried it without the try/catch and I get the following error:
Fatal error: Uncaught SoapFault exception: [HTTP] Not Found in /path/to/file:29
Anyone have any ideas as to what could be going on and how to fix this?