on 09-10-2014 3:35 PM
Hi Experts,
We are facing the below issue in a SOAP to RFC synchronous scenario.
Data from WS is successfully uploaded to RFC via RFC request. However we face the below issue when the RFC response is received.
com.sap.aii.utilxi.misc.api.BaseRuntimeException:Character reference "&#00" is an invalid XML character.
We receive this error particularly when one field has the below values.
<FIELD> X 20140812201409101211 1 USD TP 00000000 </FIELD>
When we click on view source the same field shows as below:
<FIELD> ����������������������X 20140812201409101211 1 USD ����������������TP 00000000�������</FIELD>
Even while pasting the same source xml from view source in Message Mapping we get the below error: Unable to display tree view; Error when parsing an XML document (Character reference "�" is an invalid XML character.) |
How is a simple value getting converted to some huge value when we open it using view source.
Please help me resolving the same.
Regards,
Shai
Hi Shaibayan
looks like there is inconsistency in the RFC maintained in ECC to PI as non unicode.
In RFC channel check the flag for Unicode.
Or
Write a java mapping to remove the special characters
Regards
Osman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shaibayan,
The problem is in the RFC charset (ERP). Haver you tried to change it to Unicode?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.