Visitor Messages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jaistealth
    • Oct 2009
    • 0

    while running https://localhost/hw/ZeroWebserviceclient.php on browseriam getting following error

    Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/WebServiceTutor ial/ZeroWebservice. wsdl' : failed to load external entity "http://localhost/WebServiceTutor ial/ZeroWebservice. wsdl" in C:\xampp\htdocs \hw\ZeroWebserv iceClient.php:3 Stack trace: #0 C:\xampp\htdocs \hw\ZeroWebserv iceClient.php(3 ): SoapClient->SoapClient('ht tp://localhos...') #1 {main} thrown in C:\xampp\htdocs \hw\ZeroWebserv iceClient.php on line 3

    ZeroWebservicec lient.php code as below

    <?php
    ini_set('soap.w sdl_cache_enabl ed', '0'); // disabling WSDL cache
    $client = new SoapClient("htt p://localhost/WebServiceTutor ial/ZeroWebservice. wsdl");
    $return = $client->sayHelloWorld( 'User');
    print_r($return );
    ?>

    help me please its urgent
Working...