I have an WSDL
file locally. In the documentation of the Web service it says:
"It uses the WCF basicHttpBinding that uses SOAP 1.1."
I have checked that my local WSDL
file is to be found on the used URL.
When I run the code underneath, I get this error:
SOAP-ERROR: Parsing WSDL: Couldn't load from "localhost...?asmx": failed to load external entity ""localhost...?asmx"
<?php
try {
$client = new SoapClient('http://localhost:8731/KPIntegrationService?asmx');
// $client = new SoapClient(");
} catch (Exception $e) {
echo "<h2>Exception Error!</h2>";
echo $e->getMessage();
}
?>