cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mapping Error : Values missing in queue context.

0 Likes
9,047

I am testing my graphical mapping in ESR in Test Tab.I am sending all mandatory data but getting error.

Cannot create target element /ns0:Revenue_WH_MT2/Record. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD

Below is screen display of Queues for source and target record.

Screen display of Test TAB.

Please let me know if I am missing some thing.

Any help appericiated.

Regards,

Rekha.

View Entire Topic
Former Member

Hi Rekha,

Couple of things to consider:

  1. Record field in target is a node and has occurrence 1..1, so you don't need to do mapping for it.
  2. Source field Record is showing red icon in test tab, which could mean that the namespace defined in message type is not matching your data input in test tab. Compare the namespace used for this node when you click on "Generate Instance" button in test tab with what you have in sample data.

Regards,

Sanjeev