cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Issue for Synchronous interface

Former Member
0 Kudos

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> &#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#12;X  20140812201409101211            1             USD     &#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#19;TP&#12;     00000000&#00;&#12;&#00;&#12;&#00;&#12;&#00;&#00;&#12;&#00;&#00;&#12;</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 "&#00" 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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

iaki_vila
Active Contributor
0 Kudos

Hi Shaibayan,

The problem is in the RFC charset (ERP). Haver you tried to change it to Unicode?

Regards.