Re: [SOAP] Current SOAP Client issue?
| From: | Rasmus Lerdorf | Date: | Mon, 03 Jun 2002 19:23:26 +0000 |
| Subject: | Re: [SOAP] Current SOAP Client issue? | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-67@lists.php.net to get a copy of this message | ||
Well, it isn't very simple, but here it is:
<?
require_once 'SOAP/Client.php';
$s = new SOAP_Client('http://api.google.com/search/beta2');
$q = 'foo';
$key = "xxx";
$result = $s->call('doGoogleSearch', array(
'key' => $key, 'q' => $q,
'start' => 0, 'maxResults' => 1,
'filter' => false, 'restrict' => '',
'safeSearch' => false, 'lr' => '',
'ie' => '', 'oe' => '',
), 'urn:GoogleSearch');
echo $result['resultElements']['item']['URL'];
?>
On Mon, 3 Jun 2002, Andrei Zmievski wrote:
> On Mon, 03 Jun 2002, Rasmus Lerdorf wrote:
> > Well, overload is on by default now which means SOAP Client won't work
> > with the default PHP? That needs to be fixed if that is really the case.
> >
> > ...
> >
> > I compiled --disable-overload and indeed, it fixed it.
> >
> > We can't have 4.3 go out with overload enabled if it screws up SOAP.
>
> Do you have a simple reproducible case that I can run on my machine?
>
> -Andrei
> http://www.gravitonic.com/
> * Black holes are where God divided by zero. *
>