Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Parsing soap/xml result

Reply
Thread Tools

Re: Parsing soap/xml result

 
 
MRAB
Guest
Posts: n/a
 
      06-25-2013
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/"
> xmlnssd="http://www.w3.org/2001/XMLSchema"
> xmlnssi="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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Parsing soap result Burak Arslan Python 0 04-18-2013 10:55 AM
Re: Parsing soap result darnold Python 1 04-17-2013 07:14 PM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
1. Ruby result: 101 seconds , 2. Java result:9.8 seconds, 3. Perl result:62 seconds Michael Tan Ruby 32 07-21-2005 03:23 PM
[XML::XSLT] empty result while parsing xml file PL Perl Misc 2 12-14-2004 10:24 PM



Advertisments