i'm trying to make a test with wsdl , soap and php , and i'm gettin the error :
Fatal error: Uncaught SoapFault exception [wsdl] SOAP-ERROR
I have for now 2 files , one is a given wsdl , and client.php just for test:
<?php
$sClient = 'http://localhost/test/service/wbs.wsdl';
$wsdl = new SoapClient ( '$sClient') ;
echo "test";
?>
and i'm getin this error :
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from ' hp://localhost/test/service/wbs.wsdl' : failed to load external entity " hp://localhost/test/service/wbs.wsdl" in C:wampwwwOutboundclient.php:4 Stack trace: #0 C:wampwwwtestclient.php(4): SoapClient->SoapClient(' hp://localh...') #1 {main} thrown in C:wampwwwtestclient.php on line 4
I did change the extension of soap in php.ini , i did all the modification posted in other posts , but nothing works .
Aucun commentaire:
Enregistrer un commentaire