cancel
Showing results for 
Search instead for 
Did you mean: 

problem running unitest

Former Member
0 Kudos

hello\

I am trying to run Unitest on WS2RFC sync interface. I am recieving this message. I dont see the result in the RFC test.

I would like to know how can I know what is the problem in the WSDL and how can I fix it so the unitest will run successfully?

12:15:38 Start of test

Compilation of ProposalDeatailsService_WS2RFC_Req successful Cannot produce target element /ns1:ZRFC_IY_NTR. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns1:ZRFC_IY_NTR. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

12:15:39 End of test

Thanks

Kfir

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

Hi,

Test you mapping in IR before doing the unit testing. Take the xml that WS returns or RFC returns and execute the response mapping in test tab of the repositoy (Message mapping or interface mapping). The error that your are getting could be because of a spelling mistake of a target field.

VJ

Answers (1)

Answers (1)

ravi_raman2
Active Contributor
0 Kudos

kfir,

This is what i would do..use a tool like xmlspy................

1) In your mapping test..generate an instance........copy that into xmlspy....

2) compare that with the xml msg generated from your wsdl.....

that should help clean things up.........

Regards

Ravi Raman