Skip to Content
avatar image
Former Member

HCI Soap service PDF as attachment

Hi Experts,

Scenario: I am making SOAP synchronous call to HTTP get where i get PDF as an attachment.

Issue: When i am invoking the service i am getting the PDF attachment data as Body, so i have used base64 encoding and used groovy to make body as an attachment. When i download the attachment to my local disk, it contains below details with the Base64 encoding of the PDF. But my expectation is to download the PDF file and open it in adobe or any PDF reader.

Any help is much appreciated.

IFlow:

--uuid:467fd526-6edc-4c73-aa3e-a58f8ea72144

Content-Type: text/xml; charset=UTF-8

Content-Transfer-Encoding: binary

Content-ID: <root.message@cxf.apache.org>

http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body></soap:Body>

</soap:Envelope>

--uuid:467fd526-6edc-4c73-aa3e-a58f8ea72144

Content-Type: application/pdf

Content-Transfer-Encoding: binary Content-ID: <one>

JVBERi0xLjQ.................(Base64 encoded PDF data).....

capture1.png (27.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers