cancel
Showing results for 
Search instead for 
Did you mean: 

I am getting following error while triggering the data from SOAP UI for an iflow in HCI.

0 Kudos

Error Details

org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: Valid syntax: ${header.name[key]} was: in.header.com.sap.xi.mapping.camel.XiMappingException: com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot produce target element /ns0:MT_RR_SF_USTemplate_Res. Queue has not enougth 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. at com.sap.xi.mapping.camel.XiMappingProcessor.transform(XiMappingProcessor.java:171) at com.sap.xi.mapping.camel.XiMappingProcessor.process(XiMappingProcessor.java:93) at org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:103) at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71) at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConver... (Property value was trimmed off. Max. value size is: 1000) Could anybody provide any suggestions ?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Varun ,

Seems like you are passing value from content modifier(header) and trying to read those value in mappings.

You need to set context of sender structure which you are going to map with target structure (in mapping) by its root node.

Example: Please find below screenshot for reference.

Hope it helps!

Regards,

Pravesh Shukla