cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with Model Cardinality in Webdynpro project

Former Member
0 Kudos

Hi experts,

We are working in NWDS 7.1 EHP1

I have a webdynpro project which is using a model. This model is a Service Interface (DEBMAS06) which is published in ESR.

This webdynpro fills data in this model and trigger a new DEBMAS06 idoc to ECC.

I've changed the idoc in ECC to have this new z extension in the idoc. It has been reimported in ESR, reimported the model successfully in my project, changed accordingly the context and the source code but when filling the idoc i get the following error and idoc is not created:

java.lang.IllegalArgumentException: Cannot perform operation 'getRelatedModelObject' for multiple target role 'IDOC' of model class 'com.bacardi.localdatapostmodel.ZDEBMAS06' with cardinality 'MANY'

Any idea how to solve this issue?

Thanks in advance

Pablo.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Finally I solved the issue. Checking the default trace I realized there was a mandatory field in the idoc to be populated. Once done it worked fine

junwu
Active Contributor
0 Kudos

you got the error at runtime?

did you restart the server after the model change?

Former Member
0 Kudos

Hi John,

Yes, this error is at runtime.

Server was not restarted after model change as I thought it was not necessary. If this could solve the issue I can contact somebody to restart the server

Thanks in advance

Pablo

junwu
Active Contributor
0 Kudos

it's definitely necessary.

you will be good after the restart.

Former Member
0 Kudos

Hi John,

Thanks for the suggestion, now seems that this error has disappeared. Now i'm getting this "generic" error message:

Exception on execution of web service on destination 'LOCALDATA_WS_EXECUTION_DEST' for operation 'SIOA_DEBMAS_DEBMAS06SOAPMsg' in interface 'SIOA_DEBMAS_DEBMAS06SOAPMsg'

Which doesn't give much details

This PI Service Interface is maintained correctly in PI. Destination is pointing to the correct WSDL URL. Not sure what's failing

Any idea why i'm getting this error?

Thanks a lot in advance

Pablo

Edited by: Pablo Reig Rodriguez on Feb 7, 2012 12:41 PM