Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49205
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.061 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; 'subject:xml': 0.09; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'parse': 0.24; 'this:': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'xml': 0.29; 'url:non-standard http port': 0.33; 'problem.': 0.35; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'url:schemas': 0.38; 'to:addr:python.org': 0.39; 'skip:x 10': 0.40; 'header:Reply- To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'reply- to:addr:python.org': 0.84 |
| X-CM-Score | 0.00 |
| X-CNFS-Analysis | v=2.1 cv=KrN0hwmN c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=oyR3mlnJdzkA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=SCjAj27C8GkA:10 a=Y2VNeNrzAAAA:8 a=SSmOFEACAAAA:8 a=Ns7RSFFhAAAA:8 a=er8yd-TCb3d6L026T_YA:9 a=wPNLvfGTeEIA:10 a=kuEiqnFZFAkA:10 a=qiWi7Edwir4A:10 a=NWVoK91CQyQA:10 |
| X-AUTH | mrabarnett:2500 |
| Date | Tue, 25 Jun 2013 23:50:18 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Parsing soap/xml result |
| References | <BAY175-W36DE10675A0A793EEA0F61DC8B0@phx.gbl> |
| In-Reply-To | <BAY175-W36DE10675A0A793EEA0F61DC8B0@phx.gbl> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | python-list@python.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3859.1372200620.3114.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1372200620 news.xs4all.nl 15995 [2001:888:2000:d::a6]:53661 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:49205 |
Show key headers only | View raw
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