on 03-15-2007 3:58 PM
Hi,
Im using abap proxy to connect with SAP and I have a problem with the xml that is returned. This message has some special characters like <b>&</b> and due to this I have an error mapping.
I suppose that it is a problem in the adapter.
Can you help me with this issue?
Regards
Elsa
Hi,
Please see the below links
/thread/61498 [original link is broken]
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
in response to your questions:
<u><b>What exactly is the mapping error?</b></u>
In transaction SXMB_MONI I have the following error:
-
> A semi colon character was expected. Error processing resource 'file:///D:/Documents and Settings/Administrator/Local Setti...
If I test my mapping with the xml message returned by SAP (via abap proxy) I have the following <b><u>parsing error</u></b>:
-
>...Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Entity Reference must end on ;(:main:, row:2, col:26482)
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Entity Reference must end on ;(:main:, row:2, col:26482)
at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:130)
at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68)
Root Cause:
com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Entity Reference must end on ;(:main:, row:2, col:26482)(:main:, row=2, col=26482) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Entity Reference must end on ;(:main:, row:2, col:26482) ...
-
> For instance, in the xml message, in short_text I have a <b>&</b> and not the escape:
<SHORT_TEXT>WHISKY J<b>&</b>B RARE 70CL</SHORT_TEXT>
The same example with escape
<SHORT_TEXT>WHISKY J<b>& amp ;</b>B RARE 70CL</SHORT_TEXT>
<u><b>What version has the application system where the proxy is running?</b></u>
Component SW -
Release----Support Package
SAP_BASIS--620--SAPKB62043
SAP_ABA -
620----SAPKA62043
SAP_APPL -
470----SAPKH47021
SAP_HR--470--SAPKE47017
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What exactly is the mapping error?
What version has the application system where the proxy is running?
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.