Re: Failed to print "Hello user"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux