Re: [SOAP] Simple Example - Google Spell check - no worky
| From: | Christian Wenz | Date: | Sat, 06 Dec 2003 13:53:26 +0000 |
| Subject: | Re: [SOAP] Simple Example - Google Spell check - no worky | ||
| References: | 1 2 3 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1208@lists.php.net to get a copy of this message | ||
Hi Blaine,
> >From the doc's it appeared that I would pass the WSDL URL as a second parm
> if the endpoint URL was not the same.
> As in:
> $soapclient = new
>
> SOAP_Client('http://api.google.com/search/beta2','http://api.google.com/Goog
> leSearch.wsdl');
try:
$wsdl = new SOAP_WSDL("http://api.google.com/GoogleSearch.wsdl");
$soapclient = $wsdl->getProxy();
then you can do things like:
$result = $soapclient->doGoogleSearch(...);
Regards
Christian