cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Message Mapping

Former Member
0 Kudos

Hi Experts,

I am facing one issue in mapping.

My mapping is working fine in production system however when i am testing the same mapping i in quality and development system its giving the error

I am getting the following errror while testing the scenario in message mapping test tab of quality and development system.

Cannot produce the target element. Check xml instance is valid for source xsd and target field mapping fulfills requirement of target xsd.

Please provide your valuable inputs on this.

Regards

Anku

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Answered

Former Member
0 Kudos

Make sure that, when copying the message from internet explorer (or sxmb_moni), you do not copy the '+' and '-' signs in the xml that allow you to expand and collapse nodes. To do so, right-click in the screen, select 'display source' and copy the content you see then.

Hope this help,

Koen

Former Member
0 Kudos

After loading your test data in test tab, jump to Design tab and first of all check parent node/segment and see if you have put some conditions which are failing (right click on mapping fields and disply queue to see the output).

Regards,

Sarvesh

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

do you take the payload as shown in my blog?

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

if so then mappings on dev and qat must be in a different version then on PRD

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

Thanks for the information.

I am doing the testing as per your blog however there is one difference i can see is that we are using the SP level 3 in productoin and SP level 5 in quality and dev system.

Reason for mapping failure in Q and dev systems are due to differnce in SP level?Please advice

Moreover you are right the mapping verions are different in Quality and production system but the mapping logic is same in all systems.

Please provide your ivaluable inputs on this

Thanks & Regards

Anku

abhay_rajhans2
Contributor
0 Kudos

Hi Anku,

How you checked whether mapping is working in Production? Same as that of Q & D means using Test tab in message mapping or at Run time.If you have checked it run time then check it using message mapping. Because some in message mapping may be value mapping would have been used which will intern calling Value mapping maintained in Directory part.

With new SP some additional functions are added in message mapping. Check in which target node you are getting error. And then check what function used over there and compare output of it in Quality and Production.

Use same payload for testing in Quality and Production. And check UDF are same in both version of Production and Quality.

Former Member
0 Kudos

Hi Rajhans,

I am using the same payload for testing in both the systems.

I have checked the mapping logic in both systems and is same in both systems however still the mapping is working fine in quality and dev but not in production.

Please advice ??

Thanks

Anku

Former Member
0 Kudos

Hi,

Check xml instance is valid for source xsd and target field mapping fulfills requirement of target xsd.

It means that ur testing payload and the source xsd is nt matching.

Though u r using the same payload, in both tests, it is throwing the exceptioon means ,

please cross check the source structure in quality.

when testing in message mapping -->test,

u should get green colour on tree view...

If not means the source structure and payload are nt matching..

Check it once,... and let us know...

Babu

mf_haq
Active Participant
0 Kudos

Hi,

plese check your mapping once again in DEv, it might changes hapn ofter trasports.

I,Hope its very simple problem check step by step very carefully,it will reslove very soon.

Rgds,

MFH