[Simple-support] deserializing soap response
Brought to you by:
niallg
|
From: alex c. <ale...@gm...> - 2015-02-26 15:39:32
|
Hi All,
this may be unusual case and I don't know if it can be done-- trying to
work with old soap service from android side.
So far, SimpleXML worked great saving me alot of time, but I am hitting
the wall trying to parse soap response(see below).
It appears to be sending back soap xml response w/ attached binary stream.
How do I de-serialize that?
If it can be done then Converter has to be involved, but how? i am at loss
how ...
Any helpful ideas, comments are very welcome!
Thanks!
"<SOAP-ENV:Envelope
..
<SOAP-ENV:Body><scnsvc:GetImageFileResponse><scnsvc:Image><scnsvc:Name>job:165.pdf</scnsvc:Name><scnsvc:Bytes><xop:Include
href="cid:File"/></scnsvc:Bytes></scnsvc:Image><scnsvc:ImageFileStatus>FileReturned</scnsvc:ImageFileStatus></scnsvc:GetImageFileResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--==jPSSSYL1hVVRszdC83teTvlgHirdkNBIcTaurmkM75eos7qozYGGHrmONSry==
Content-Type: application/file
Content-Transfer-Encoding: binary
Content-ID: <File>
%PDF-1.4
%
4 0 obj
<< /Type /Page
/Parent 2 0 R
/Resources 3 0 R
/MediaBox [0 0 612 792]
/Contents 6 0 R
>>
endobj
3 0 obj
<< /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
/XObject << /XIPLAYER0 5 0 R
>>
>>
endobj
5 0 obj
<< /Length 758
/Type /XObject
/Subtype /Image
/BitsPerComponent 1
/Width 2560
/Height 3328
/ColorSpace /DeviceGray
/Filter /CCITTFaxDecode
/DecodeParms << /K -1
/Columns 2560
/BlackIs1 false
>>
>>
stream
9PyC-㢇"?A;C>ފz(}!ފި*oTPCn?Ez(~;Tbҽ;U@v
^z"?GG?z[GXn=aWx":cDu":czzG[o[zzMW2j&ɪU&2j&MTdFMTdFMTdG&95Qɪ&?&?l(A#FKh)
endstream
endobj
6 0 obj
<< /Length 101
>>
stream
q
614.400000 0.000000 0.000000 798.720000 -1.200000 -3.360000 cm
/XIPLAYER0 Do
Q
endstream
endobj
1 0 obj
<< /Type /Catalog
/Pages 2 0 R
>>
endobj
2 0 obj
<< /Type /Pages
/Kids [4 0 R]
/Count 1
>>
endobj
7 0 obj
<< /CreationDate (D:20150225171857-05'00')
/Creator (Xerox ColorQube 8900X)
/Producer (Xerox ColorQube 8900X)
>>
endobj
xref
0 8
0000000000 65535 f
000
"
|