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

runtime Error--values are not populating

former_member223432
Participant
0 Likes
585

Hi Gurus,

I am getting a weird error when i execute an interface in ID--Test integration. getting the below Error.

Cannot create target element /ns0:Messages/ns0:Message1/XXXXXXXXXXXXX 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.

where as when i run this message mapping with the same payload it executes perfectly...even my receiver determination is failing because the values are NOT populating at RUNTIME..

any suggestions please...why this values are not populating at runtime?

Regards

Edited by: ayrahcaanilan on Jan 11, 2012 10:26 AM

View Entire Topic
Former Member
0 Likes

Hi,

I am pretty much sure that Reja was right and your input data is incorrect. Here is the explanation: when you test the message mapping with a test message data, this data is not validated against its XSD schema. PI executes the mapping and finds no error in the mapping process itself. But once you deliver the same message using a Communication Channel, the payload gets validated against the XSD schema for the inbound message, and an error is raised. Which would also explain why your Receiver Determination does not work - this is because PI does not even go that far while processing the message.

Hope this helps,

Grzegorz