cancel
Showing results for 
Search instead for 
Did you mean: 

HCI Soap service PDF as attachment

Former Member
0 Kudos

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>

<soap:Envelope xmlns:soap="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).....

Accepted Solutions (0)

Answers (0)