Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49205
| Date | 2013-06-25 23:50 +0100 |
|---|---|
| From | MRAB <python@mrabarnett.plus.com> |
| Subject | Re: Parsing soap/xml result |
| References | <BAY175-W36DE10675A0A793EEA0F61DC8B0@phx.gbl> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3859.1372200620.3114.python-list@python.org> (permalink) |
On 25/06/2013 23:28, miguel olivares varela wrote:
>
> I try to parse a soap/xml answer like:
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <ns1:giftPkgResponse
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns1="http://192.168.2.135:8490/gift-ws/services/SRV_GIFT_PKG">
> <giftPkgReturn soapenc:arrayType="xsd:string[2]"
> xsi:type="soapenc:Array"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
> <giftPkgReturn> xsi:type="xsd:string">0</giftPkgReturn">
> <giftPkgReturn> xsi:type="xsd:string">OK</giftPkgReturn>
> xsi:type="xsd:string">
> </giftPkgReturn>
> </ns1:giftPkgResponse>
> </soapenv:Body>
> </soapenv:Envelope>
>
>
[snip]
The XML contains this:
</giftPkgReturn">
That's the problem.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Parsing soap/xml result MRAB <python@mrabarnett.plus.com> - 2013-06-25 23:50 +0100
csiph-web