cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP XSL mapping - Binary data of attached file

krishg
Active Participant
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

can you provide input xml

Edited by: RajuGA on Dec 7, 2011 2:09 PM