cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Error

former_member182412
Active Contributor
0 Kudos

Hi experts,

I am picking the text file(csv file) from my local directory to XI.

my mapping is like this.

/ns0:BankAnalyzerMessage=/ns0:TranslatorMessage=

/ns0:BankAnalyzerMessage/Record=/ns0:TranslatorMessage/Record=

/ns0:BankAnalyzerMessage/Record/CustId=/ns0:TranslatorMessage/Record/CustId=

/ns0:BankAnalyzerMessage/Record/FirstName=/ns0:TranslatorMessage/Record/FirstName=

/ns0:BankAnalyzerMessage/Record/LastName=/ns0:TranslatorMessage/Record/LastName=

/ns0:BankAnalyzerMessage/Record/MiddleName=/ns0:TranslatorMessage/Record/MiddleName=

/ns0:BankAnalyzerMessage/Record/City=/ns0:TranslatorMessage/Record/City=

/ns0:BankAnalyzerMessage/Record/State=/ns0:TranslatorMessage/Record/State=

/ns0:BankAnalyzerMessage/Record/Country=/ns0:TranslatorMessage/Record/Country=

but iam getting the error like this.

09:41:53 Start of test

Cannot produce target element /ns0:BankAnalyzerMessage. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd 09:41:57 End of test

Can anybody please help me what was the problem.

Answer will be rewarded.

Kind regards

Praveen

Message was edited by:

praveen kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Please check the occurrences of source and target fields..

Check the input how many you have .. and target how many you are getting..

by display queue..

check the context you used .. did you mapped to its parent node..

Regards

Chilla..

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

Hi Praveen,

Check namespaces and name of your data type.

If that is proper, follow this

1) Download the payload from SXMB_MONI (right click Download) and save it as an XML file.

2) Use this file in the Test tab in mapping and checki it.

Regards,

Prateek

bhavesh_kantilal
Active Contributor
0 Kudos

Praveen,

1. Check if the Source XML confirms to the datatype you have created for the Source Message.

2 . The error message states that the node , BankAnalyzerMessage cannot be created . Just check if the source has the node TranslatorMessage

Regards

Bhavesh