bug in client? xml in the soap body
| From: | Andrew S. Nagy | Date: | Fri, 20 Jun 2003 19:12:52 +0000 |
| Subject: | bug in client? xml in the soap body | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-722@lists.php.net to get a copy of this message | ||
I am trying to consume a soap response where the results are listed as a
sting, but the string is an actual xml document with all of the brackets
turned into > and <
However the soap client throws a soap_fault with the message:
XML error on line 9414 col 33 byte 999069 not well-formed (invalid token)
According to the group offering the web service, it is a working and
well-formed xml document. Even though I told them that publishing an XML
document via soap is kinda pointless, it should still work though, right?
Has anyone ever tried to consume xml through SOAP before? Will PEAR::SOAP
allow this?
> -----Original Message-----
> From: Fernando [mailto:fgarcia@uef.es]
> Sent: Thursday, June 19, 2003 2:51 PM
> To: soap@lists.php.net
> Subject: [SOAP] retrieving attributes SOAP(PEAR)
>
>
>
> I have this structure:
>
> <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/">
>
> <soap-env:body>
> <ns4:function>
> <ns4:level1 attr="l1">
> <ns4:item attr="i1"/>
> <ns4:item attr="i2"/>
> </ns4:level1>
> </ns4:function>
> <soap-env:body>
>
> </soap-env:Envelope>
>
>
>
>
> I don't know how to get the node names (level1/item/item) and attribute
> values (attr/l1/i1/i2) in SOAP (PEAR) server. Is it possible?
> Any idea?
> thanks
> Fernando
>
>
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>