Newbie - SOAP return message with embedded ZIP file

R

Rodney

Hi again, thanks for the help with figuring out how to parse a SOAP return
message. I know have a return message that has an embedded ZIP file in it.
Can anyone help me figure out how to extract this file from the SOAP return
message. The message looks as following:

'\x0c
\x00\x00\x00)\x00)\x00\x00\x05Xuuid:42bd2573-8c94-4b7c-9bd6-a1e29856f751\x00\x00\x00http://schemas.xmlsoap.org/soap/envelope/\x00\x00\x00<?xml
version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://www.ExchangeNetwork.net/schema/v1.0/node.wsdl"
xmlns:types="http://www.ExchangeNetwork.net/schema/v1.0/node.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><wsu:Timestamp
xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"><wsu:Created>2005-12-30T00:41:54Z</wsu:Created><wsu:Expires>2005-12-30T00:46:54Z</wsu:Expires></wsu:Timestamp></soap:Header><soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><q1:DownloadResponse
xmlns:q1="http://www.ExchangeNetwork.net/schema/v1.0/node.xsd"><documents
href="#id1" /></q1:DownloadResponse><soapenc:Array id="id1"
xmlns:q2="http://www.ExchangeNetwork.net/schema/v1.0/node.xsd"
soapenc:arrayType="q2:NodeDocument[1]"><Item href="#id2"
/></soapenc:Array><q3:NodeDocument id="id2" xsi:type="q3:NodeDocument"
xmlns:q3="http://www.ExchangeNetwork.net/schema/v1.0/node.xsd"><name
xsi:type="xsd:string">3c613fde-2b1e-46dd-a60e-3c8323517eb0.zip</name><type
xsi:type="xsd:string">application/x-zip-compressed</type><content
href="1E679BA1-3183-4A06-A8F8-AD0AC3B0A79F"
xmlns="http://xml.apache.org/xml-soap"
/></q3:NodeDocument></soap:Body></soap:Envelope>\n\x10\x00\x00\x00$\x00\x18\x00\x00\x07\

MESSAGE CONTINUES AS ABOVE AND ENDS WITH THE FOLLOWING:

-2b1e-46dd-a60e-3c8323517eb0.xmlPK\x05\x06\x00\x00\x00\x00\x01\x00\x01\x00V\x00\x00\x00I\x07\x00\x00\x00\x00\x00\x00\x00'

Sorry for being so helpless on this.

Thanks for any help you can give.
 
D

Diez B. Roggisch

Rodney said:
Hi again, thanks for the help with figuring out how to parse a SOAP return
message. I know have a return message that has an embedded ZIP file in it.
Can anyone help me figure out how to extract this file from the SOAP return
message. The message looks as following:

You've been told before, you'd be told it again and again: use SOAPpy or
ZSI to dela with webservices. Then you don't have to bother, yoou just
_get_ the ZIP-File (as string of course)


Regards,

Diez
 
R

Rodney

I actually tried both SOAPpy and ZSI but both return a error message with
the incoming SOAP message that basicly said it was not a proper SOAP
message.
 
D

Diez B. Roggisch

Rodney said:
I actually tried both SOAPpy and ZSI but both return a error message with
the incoming SOAP message that basicly said it was not a proper SOAP
message.

Can you show us an actual working (or _not_ working) example of how and
what you're trying? My mind-reading-skills aren't too well after the
tiring holidays :)

Regards,

Diez
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top