Re: [SOAP] Current SOAP Client issue?
| From: | Shane Caraveo | Date: | Mon, 03 Jun 2002 18:58:03 +0000 |
| Subject: | Re: [SOAP] Current SOAP Client issue? | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-64@lists.php.net to get a copy of this message | ||
Do you have php_overload loaded? If so, remove it, it screws up memory in php. The only time I see something like:
xmlns:http://schemas.xmlsoap.org/soap/encoding/="urn:GoogleSearch"
is when I load overload.
Shane
Rasmus Lerdorf wrote:
Argh, sorry, the client class, not the result. print $s->wire;Ah, ok, here it is, first the var_dump($result): 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 } And here is the wire traffic: OUTGOING: POST /search/beta2 HTTP/1.0 User-Agent: PEAR-SOAP 0.6.1 Host: api.google.com Content-Type: text/xml; charset=UTF-8 Content-Length: 952 SOAPAction: "" <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:http://schemas.xmlsoap.org/soap/encoding/="urn:GoogleSearch" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> </SOAP-ENV:Envelope> INCOMING HTTP/1.1 500 Internal Server Error Date: Mon, 03 Jun 2002 18:37:24 GMT Server: e h c a p a Content-Length: 530 Connection: close Content-Type: text/xml; charset=utf-8 <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>parsing error: org.xml.sax.SAXParseException: An invalid second ':' was found in the element type or attribute name.</faultstring> <faultactor>/search/beta2</faultactor> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>