SAP Knowledge Base Article - Preview

2624922 - CPI: cannot simulate message mapping due to invalid .xsd file

Symptom

You face any mapping errors when executing the step of Message Mapping in iflow, and you want to test/simulate the message mapping with the sample payload. When you upload the input xml, it is not allowed to import it, or the similar errors below are shown:

Cannot produce targer element /ns1:<***>. Queue has not enough values in context.
Target xsd requires a value for this element, but target field mapping does not produce one.
Probably the xml-instance is not valid to the source xsd, or the target field mapping does not fulfill the requirement of the target xsd.

OR

com.sap.aii.utilxi.misc.api.BaseRuntimeException: The markup in the document following the root element must be well-formed., cause: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 843; The markup in the document following the root element must be well-formed.


Read more...

Environment

  •  SAP Cloud Platform Integration

Keywords

HANA Cloud Integration, HCI, map, iFlow, source, target, input, output, sub node, parent, child, message type, structure, target element, missing, XSD, upload input, simulate, message mapping. , KBA , LOD-HCI-PI-MAP , Integration Mapping Service , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.