on 04-25-2007 9:06 PM
I am working on the scenario : Synchronous Outbound ABAP Proxy->XI HTTP Adapter->String back to Proxy
I get a string back in XI but returns the parsing error. Please help me to resolve this issue.
The string value sent by the external service is a URL
"https://stg1-ss1.expr.com/NC2_0Demo/servlets/NCServlet"
SXMB_MONI result is as follows.
Kishor Kolhe
-
<Trace level="3" type="T">Loaded class com.sap.xi.tf._MM_I058_EXP_ECALS_RESPONSE_</Trace>
<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_I058_EXP_ECALS_RESPONSE_</Trace>
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_I058_EXP_ECALS_RESPONSE_</Trace>
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 68, 74, 74(:main:, row:1, col:3) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:187) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:174) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at
Hi,
The response sent by the HTTP is probably incorrect.
Send the response as below:
<?xml version="1.0" encoding="UTF-8"?>
<URL_Response>Your URL</URL_Response>
and Message Type in IR as:
URL_Response: type string, occurrence:1
Let your proxy receive this, and parse the string.
Hope this works.
Regards,
Puloma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishor,
The error indicates that message in XI adapter is not matching the source xsd (usually a message type) u maintained in the IR
e.g. source data type field is in small case and there is case mismatch
Refer this
Test your mapping in IR with the payload from SXMB_MONI
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In XI monitor, take a look at the response message coming back. Make sure it is valid XML.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.