Skip to Content

HCI Soap service PDF as attachment

Jun 28, 2017 at 05:23 AM


avatar image
Former Member

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.



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

Content-Transfer-Encoding: binary

Content-ID: <>">




Content-Type: application/pdf

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

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

capture1.png (27.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers