Re: Parsing soap/xml result

Discussion in 'Python' started by MRAB, Jun 25, 2013.

  1. MRAB

    MRAB Guest

    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.
     
    MRAB, Jun 25, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Tan
    Replies:
    32
    Views:
    1,048
    Ara.T.Howard
    Jul 21, 2005
  2. PL
    Replies:
    2
    Views:
    241
    Brian McCauley
    Dec 14, 2004
  3. darnold

    Re: Parsing soap result

    darnold, Apr 17, 2013, in forum: Python
    Replies:
    1
    Views:
    150
    darnold
    Apr 17, 2013
  4. Burak Arslan

    Re: Parsing soap result

    Burak Arslan, Apr 18, 2013, in forum: Python
    Replies:
    0
    Views:
    118
    Burak Arslan
    Apr 18, 2013
  5. Dave Angel

    Re: Parsing soap/xml result

    Dave Angel, Jun 26, 2013, in forum: Python
    Replies:
    0
    Views:
    95
    Dave Angel
    Jun 26, 2013
Loading...

Share This Page