on 03-11-2014 12:36 PM
Hi,
We have a requirement to send content in base64 encoded binary form. We have done all the encoding in ABAP and the BASE64 content is available in internal table.
We need to use ABAP proxy to send the data to XI and further to target client via http. The target message have a field called <Data> </Data> and i need to upload all encoded in that field. Is that ok or will the XML be invalidated? I am surprised that the third party asked me to upload in normal field of XML.
What should i declare in ABAP proxy? What is the best approach to send these kind of data in PI?
I have been hearing about something called <CDATA> where it is safe to send data in this as it ignores the content. How do i declare these in XI?
I was told that in normal XML if we add <content encoding="base64binary">then that XML will be parsed without any issues.
Regards
Sam
Hi Sam,
XML will not be invalidated if you upload all encoded data in one field.
Also you can take care of Base64 encoding in PI itself.
Check the below links.
In PI
http://scn.sap.com/thread/3253305
http://scn.sap.com/thread/3409633
In ECC
http://scn.sap.com/thread/124427
Regards,
Pranil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it is OK to put all base64 data to one XML field.
In fact, this is what base64 is made for.
Base64 only consists of printable ASCII characters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.