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.



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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers