on 02-21-2017 10:07 AM
We have a REST service we need to call with a simple HTTP GET at a dynamic URL to retrieve a PDF. When I test the service in external tools the return is a binary stream with content-type application/pdf. So the payload is not base64 encoded and/or wrapped in a JSON structure.
How can I handle this kind of content in PI? Since the REST adapter only seems to support XML and JSON content types, is this not possible?
If I need to use another adapter, which one should that be? I need to somehow get the binary date in to an XML structure (for later consumption in BPM). The HTTP_AAE adapter can grab the PDF but handles it like an application/octet-stream.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.