on 07-10-2018 6:34 AM
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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.