Re: [SOAP] Current SOAP Client issue?
| From: | Rasmus Lerdorf | Date: | Mon, 03 Jun 2002 19:09:20 +0000 |
| Subject: | Re: [SOAP] Current SOAP Client issue? | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-65@lists.php.net to get a copy of this message | ||
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.
-Rasmus
On Mon, 3 Jun 2002, Shane Caraveo wrote:
> 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"Ú5œ8
> > Æ�aIá³FO¨W±
> >
> > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> >
> > xmlns:http://schemas.xmlsoap.org/soap/encoding/="urn:GoogleSearch"}
> > ëN�‡ ¦a=†¾f
> >
> > 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"K´[)
> > KêèdÑüZùt
> > 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>
> >
> >
> >
>
>
>
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>