Are you going to be using XML or JSON? Both have ways to send binary data.

With either , I've seen most shops will convert the binary data to Base64
and include that in a JSON/XML object.


On Thu, Jan 26, 2017 at 12:32 PM, Arco Simonse <arco400@xxxxxxxxx> wrote:

Hi list,

We are exploring the possibilities for serving a SOAP or REST webservice
server on our i. (we are at 7.3 TR1)
Nadir Amra wrote a bundle of nice articles on that starting at
Very helpful!

What we can't figure out is how we could return a pdf or other binary
document within the response to the consumer.
Can anyone point me to articles or documentation on this subject?

Many thanks,
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.