Skip to Content
0
Nov 18, 2011 at 08:36 PM

ABAP XSL mapping - Binary data of attached file

40 Views

I have a webservice which is converting attachment and putting it into XSLT Node. when I mapped this node to Attachment payload of my partner (using ABAP xsl mapping), I got an error.

I was able to send the same file via SOAP UI...

On further investigation of the http log files, I noticed that Binary data for both streams looked same, but when I did a word count, I noticed that SOAP UI was a single line file while my PI data was more than 400 lines.. so I coded a fn:transfer of this data to convert end of line character to empty value. it did seem to work...

My question, is this approach correct? or is there any way to ensure binary data stream in XML node does not contain those additional characters?