Skip to Content
avatar image
Former Member

java.rmi.RemoteException

Hi,

I get the following exception when I execute my Web Servcie model.

Error: java.rmi.RemoteException: Neither target role nor property '$0023ChoiceField' defined in model class 'TrustOverrideField' for the field name '#ChoiceField'; nested exception is: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Neither target role nor property '$0023ChoiceField' defined in model class 'TrustOverrideField' for the field name '#ChoiceField'

Now here's the thing, I know in Web Dynpro we are not allowed to use model node names with # and $. However, when I do Edit Model Binding, it creates some nodes with these special characters in them. Namely:

Record$0023Choice1

Field$0023Choice1

TrustOverrideField$0023Choice1

Might someone be able to help with light of this why I might be getting the above exception?

Regards

M.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 03, 2009 at 06:58 AM

    Hi Marshall,

    While using web services usually for attributes that are defined in webservices will be preceded with $ symbol while you create a model in webdynpro. Even in our case also we have attributes which have $ symbol before to it and we are able to execute the webservices. I believe possibly the WSDL strucuture could have been changed after you imported. Check whether the WSDl strucuture is same and check whether it includes the attributes on which you are getting exception into it.

    Regards,

    Ponraj M

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 03, 2009 at 08:10 AM

    Hi,

    Is this "ChoiceField" newly added in the WebService after import?

    Regards,

    Charan

    Add comment
    10|10000 characters needed characters exceeded