Re: Proper decoding for document returned via SOAP call?

2018-12-12 Thread Bob Miller via 4D_Tech
Uist, Koen - RE> You will need to use BASE64 DECODE on your returned $Value Thanks very much, that was exactly what I was looking for! Works perfectly! Bob Miller Chomerics, a division of Parker Hannifin Corporation ll

Re: Proper decoding for document returned via SOAP call?

2018-12-12 Thread Koen Van Hooreweghe via 4D_Tech
Hi Bob, PDF documents are binaries, to be able to send them through a text protocol, they are encoded. In your case it is base64 encoded. So you need to decode the data in the getObjectFileReturn tag. If I understand correctly, you ahve the data part in $Value, then use this (from the top of

Re: Proper decoding for document returned via SOAP call?

2018-12-12 Thread Uist Macdonald via 4D_Tech
Hi Bob You will need to use BASE64 DECODE on your returned $Value, and then save it as a doc. http://doc.4d.com/4Dv16/4D/16.4/BASE64-DECODE.301-3979394.en.html Regards Uist On 12/12/2018 03:07, Bob Miller via 4D_Tech wrote: Hi Everyone, I'm confounded by a SOAP service that returns a

Proper decoding for document returned via SOAP call?

2018-12-11 Thread Bob Miller via 4D_Tech
Hi Everyone, I'm confounded by a SOAP service that returns a binary (for a PDF file) - I'm not able to figure out how to save it as a proper PDF document that Acrobat understands. I get a SOAP response like (the binary was abridged for readability): http://DefaultNamespace;