Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49205 > unrolled thread

Re: Parsing soap/xml result

Started byMRAB <python@mrabarnett.plus.com>
First post2013-06-25 23:50 +0100
Last post2013-06-25 23:50 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Parsing soap/xml result MRAB <python@mrabarnett.plus.com> - 2013-06-25 23:50 +0100

#49205 — Re: Parsing soap/xml result

FromMRAB <python@mrabarnett.plus.com>
Date2013-06-25 23:50 +0100
SubjectRe: Parsing soap/xml result
Message-ID<mailman.3859.1372200620.3114.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web