Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mapping Issue for Synchronous interface

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

Tags:
Not what you were looking for? View more on this topic or Ask a question