on 01-02-2015 5:55 AM
Dear Guru;
my scenario is abap proxy to jdbc async. and Error occured with the following special char
when executing application mapping program com/sap/xi/tf/_MM_JM_Remove_ECC2LEGACY_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Character reference "" is an invalid XML character.
i am trying to make java mapping to solve it, but i realized that there is nothing to do in java mapping
because error on the following 3 step , it seems to be not reading inputStream with ''.
how can i do with this issue ?
Ready to Java mapping
1. Document Builder Factory Created
2. Document Builder Created
[Fatal Error] :5:198: reference char "&#
com.sap.aii.mapping.api.StreamTransformationException: reference char "&#
at JM_Remove_Send.execute(JM_Remove_Send.java:224)
at JM_Remove_Send.main(JM_Remove_Send.java:71)
public void execute(InputStream inputStream, OutputStream outputStream)
throws StreamTransformationException {
System.out.println("Ready to Java mapping");
try {
//------------------------- 1. step --------------------------------//
// create a DOM parser and parse input to create document tree
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
System.out.println("1. Document Builder Factory Created");
//------------------------- 2. step --------------------------------//
DocumentBuilder builder = factory.newDocumentBuilder();
System.out.println("2. Document Builder Created");
//------------------------- 3. step --------------------------------//
Document doc = builder.parse(inputStream);
System.out.println("3. Document Created");
please help me.
thanks you in advance
David,
First we need to identify the special character.
1) Download the XML before the message mapping. Right click on payload, download and save file with .txt extension.
2) Open that file with foxe editor.
3) Please select the special character in foxe and right click 'char Unicode'.
4) Please post the screenshot here, special character in foxe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If possible, I think special charaters are should be removed by sender ERP system and removed easily in ABAP source level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.