Re: Failed to print "Hello user"

From: Date: Tue, 24 Apr 2007 19:48:24 +0000
Subject: Re: Failed to print "Hello user"
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-2508@lists.php.net to get a copy of this message
Abdi wrote:
Hello everybody, I am new php programmer. I have no idea about Soap server/client, but I need it for my project. I just want to request to the server and get "Hello $username" as respond. Can any one help me please? All these files are from http://www.wso2.org/node/1060/. My hello.wsdl can be found above address. I don't know if need to modify this file (hello.wsdl) or not. I copied and paste. ........................................................................ <snip />
First off, did you copy the wsdl locally: does echo file_get_contents('hello.wsdl'); work? Both the SoapClient and SoapServer take the path to the WSDL. This means you can put it in the same dir as the server and have the server grab it via 'hello.wsdl' and the client can grab it via 'http://<serverpath>/hello.wsdl' Hope that makes sense. Rob

« previous php.soap (#2508) next »