Showing results for 
Search instead for 
Did you mean: 

SAP PO java mapping - generate xml tags around binary body - Binary to XML conversion

0 Kudos

Hi all,

In a pdf label interface we get the raw pdf as a response to a REST service.

We would like to send this pdf string to ECC via proxy, but in order to do so we need to generate a small xml body around the binary content.

I assume that this is possible with a java mapping, but i have no idea on how this would look like.

I know how to generate the mapping in NWDS but am not sure on the coding of the java mapping.

I have seen this blog for using a message mapping but I get a content is not allowed in prolog if I use the UDF in a message mapping:

Binary to XML conversion

Thanks for any insights!


Active Contributor

Is the PDF coming in reponse as Base64 format ?

Accepted Solutions (0)

Answers (0)