Re: [SOAP] how to correctly invoke webservice
| From: | Juan Nin | Date: | Sat, 22 Jan 2005 10:49:57 +0000 |
| Subject: | Re: [SOAP] how to correctly invoke webservice | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1713@lists.php.net to get a copy of this message | ||
Christian Wenz wrote:
Juan Nin wrote:sorry, that was a typo on my e-mail, it should be $string1 and $string2 so this is the code which doesn't work: <? require_once 'SOAP/Client.php';$reply = $client->myFunction(string1 ,string2);you certainly mean $string1 and $string2, do you?
$wsdl = newSOAP_WSDL('http://www.mydomain.com/mywebservice.asmx?WSDL'); $client = $wsdl->getProxy(); $string1 = 'someString'; $string2 = 'someOtherString'; $reply = $client->myFunction($string1, $string2); ?>