Re: [SOAP] Current SOAP Client issue?

From: Date: Mon, 03 Jun 2002 18:18:36 +0000
Subject: Re: [SOAP] Current SOAP Client issue?
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-58@lists.php.net to get a copy of this message
Yeah im running php-soap cvs on windows... I just ran it on linux and im getting a connect to host error. Im going to be releasing a new version of php-soap soon. There have been some new features/fixes. But i still don't know why that doesn't connect on linux.. Ill get back to you. - Brad --- Rasmus Lerdorf <rasmus@php.net> wrote: > Well, for me this gives: > > NULL > /home/rasmus/php4/ext/soap/php_xml.c(149) : Freeing 0x083D3094 (6 bytes), > script=- > Last leak repeated 1 time > /home/rasmus/php4/ext/soap/php_xml.c(148) : Freeing 0x083D305C (8 bytes), > script=- > Last leak repeated 1 time > > Current PHP CVS Head, php-soap 0.1.1, > RedHat libxml2-2.4.22-1, libxml2-devel-2.4.22-1 rpms > > -Rasmus > > On Mon, 3 Jun 2002, brad lafountain wrote: > > > I don't know enough about pear soap to answer that but... > > <? > > $s = new SoapObject('GoogleSearch.wsdl'); > > > > $q = 'rodif_bl@yahoo.com'; > > $key = 'xxx'; > > > > $result = $s->doGoogleSearch($key, $q, 0, 10, false, '', false, > > '', '', > > ''); > > var_dump($result); > > ?> > > > > Works fine with php-soap. > > > > - Brad > > --- Rasmus Lerdorf <rasmus@lerdorf.ca> wrote: > > > What am I missing here? > > > > > > <? > > > require_once 'SOAP/Client.php'; > > > > > > $s = new > > > SOAP_Client('http://api.google.com/search/beta2'); > > > > > > $q = 'Rasmus'; > > > $key = 'xxx'; > > > > > > $result = $s->call('doGoogleSearch', array( > > > 'key' => $key, 'q' => $q, > > > 'start' => 0, 'maxResults' => 10, > > > 'filter' => false, 'restrict' => '', > > > 'safeSearch' => false, 'lr' => '', > > > 'ie' => '', 'oe' => > > > '', > > > ), 'urn:GoogleSearch'); > > > > > > var_dump($result); > > > ?> > > > > > > gives me: > > > > > > object(soap_fault)(7) { > > > ["error_message_prefix"]=> > > > string(13) "/search/beta2" > > > ["mode"]=> > > > int(1) > > > ["level"]=> > > > int(1024) > > > ["code"]=> > > > string(15) "SOAP-ENV:Client" > > > ["message"]=> > > > string(116) "parsing error: org.xml.sax.SAXParseException: An invalid > > > second ':' was found in the element type or attribute name." > > > ["userinfo"]=> > > > NULL > > > ["callback"]=> > > > NULL > > > } > > > > > > -Rasmus > > > > > > > > > -- > > > PHP Soap Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World Cup > > http://fifaworldcup.yahoo.com > > > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com

« previous php.soap (#58) next »