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

runtime Error--values are not populating

former_member223432
Participant
0 Likes
578

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

>>Cannot create target element /ns0:Messages/ns0:Message1/XXXXXXXXXXXXX

seems that u r using multimapping....what input data you are using for testing ur configuration?? remove Messages and Message1 from the input payload and then test the same.

former_member223432
Participant
0 Likes

yes guys..problem with input data..thanks much for all your replies..

Answers (3)

Answers (3)

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

Former Member
0 Likes

hello,

I guess you need to revisit and make sure that the contexts used for individual nodes are giving correct results. If not, you can try changing the contexts. To do this, make sure you have a source xml in the test tab of your mapping editor. Then on design tab, right click each node function, say removeContexts, nest etc and choose Display Queue to see if the conversion is as desired. If not, you can change the contexts of source elements by right-clicking and choosing appropriate context. For more details on context handling see http://www.riyaz.net/blog/xipi-introduction-to-context-handling-in-message-mapping/technology/sap/5/

Regards,

Phani

Former Member
0 Likes

Looks prob with your input data

former_member223432
Participant
0 Likes

Thanks for your prompt reply.

INPUT data is fine as i am able to succesfully execute the mapping....no idea as to why this values are not populating at RUNTIME...even the receiver detrmination is failing becuase the condition is failing coz of NO data at run time...

anything else u want me to check.

your help would be really appreciatd.

Regards

Ayrah