Skip to Content
author's profile photo Former Member
Former Member

com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here.

Hi experts,

I developed a new mapping in our test system and it worked great, but when I exported this mapping to our production system, all messages that passed in this mapping returned the error below.

Does anyone know what could be the problem?

Error:

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 55, 4e, 42(:main:, row:1, col:3): com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 55, 4e, 42(:main:, row:1, col:3)</SAP:AdditionalText>

Thank you,

Bruno Massaro

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Jan 23, 2014 at 05:50 PM

    Hi Bruno - Seems like you have got some special char in the input payload.

    Can you check?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Hareesh Gampa

      Hareesh,

      I checked the configuration of variable substitution, but the problem was on the mapping. It was configurated to save the file in a folder that our server does not have permission.

      Thank you very much.

      Bruno Massaro

  • Posted on Jan 23, 2014 at 06:03 PM

    Hi,

    in the input payload check this position.

    ( row:1, col:3)

    try to open the payload in the word pad you can able able to find out all the special chars.

    Regards,

    Muniyappan.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 23, 2014 at 06:25 PM

    Hi Bruno,

    The most common issue is special char. Please refer the below discussion

    Pleaes provide more detail about scenario to have better inputs.

    regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 24, 2014 at 05:23 AM

    Hi Bruno,

    Need to investigate the payload with a hex editor. in the position explained by the error message "No data allowed here: (hex) 55, 4e, 42(:main:, row:1, col:3):". HEX 55 is perfectly valid character in XML. Thus the error is trying to refer to a position very near to row 1 col3. Could you please post the payload? Definitely some filed value is not in correct format as expected by PI mapping.

    Regards

    Anupam

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Bruno,

      The payload is fine. Could you please kindly explain the scenario and external servers involved. The error statement is misleading. Now this is running properly in test system but not in production, thus problem might lie in external entities connected with PI.

      Regards

      Anupam

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.