Re: Re: Instructions for SOAP ws
| From: | Harry Fuecks | Date: | Fri, 30 May 2003 17:45:17 +0000 |
| Subject: | Re: Re: Instructions for SOAP ws | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16845@lists.php.net to get a copy of this message | ||
Those errors you're getting e.g.
Notice: Undefined index: in
c:\cygwin\home\luigi\tcvs\tiki\lib\pear\SOAP\WSDL.php on line 506
Call Stack
# Function Location
1 {main}() c:\cygwin\home\luigi\tcvs\tiki\foo.php:0
2 soap_wsdl->getproxy() c:\cygwin\home\luigi\tcvs\tiki\foo.php:7
Warning: reset(): Passed variable is not an array or object inc:\cygwin\home\luigi\tcvs\tiki\lib\pear\SOAP\WSDL.php on line 508 I can reproduce them if I point the client at a URL which does not contain a WSDL document. In the client code; <?php require_once 'SOAP/Client.php'; // Modify the URL here $wsdl = new SOAP_WSDL ('http://localhost/wsdl/hello_server.php?wsdl'); $helloClient = $wsdl->getProxy(); echo ( $helloClient->sayHello('Bill') ); ?> Double check the URL: "http://localhost/wsdl/hello_server.php?wsdl" is pointing at the correct location for the server hello_server.php - think that's it. When I modify this anything but a correct URL for a WSDL document, I get the same errors as you. May be something that need to be fixed in a future release?