on 11-20-2008 10:41 AM
Hi,
I have developed a web service. It is tested an it runs fine. The webservice is retrieving and returning Data Transfer Objects (POJOS). I have made the model-context binding, then the view controller - component controller binding with the input parameters for one method of the web service.
In an input field I have set the value to a attribute of the DTO. (This appears: Request_CreateProductGroup.CreateProductGroup.ProductGroupDTO.CompText)
When I run the Application I get following error:
com.sap.tc.webdynpro.model.webservice.base.exception.BaseModelRuntimeException: No object for mandatory target role 'ProductGroupDTO' of model class 'CreateProductGroup' with cardinality '1' maintained
at com.sap.tc.webdynpro.model.webservice.base.model.BaseGenericModelClass.getRelatedModelObject(BaseGenericModelClass.java:392)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass.getRelatedModelObject(WSTypedModelClass.java:77)
at com.asstec.ticketingsystem.models.CreateProductGroup.getProductGroupDTO(CreateProductGroup.java:46)
at com.asstec.ticketingsystem.components.wdp.IPublicProductGroupService$IProductGroupDTONode.doSupplyElements(IPublicProductGroupService.java:549)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:406)
... 71 more
I dont have any idea what is wrong. I´ve added the jar with the classes to the java build path as well as to project references.
Please help me.
Regards
Flo
Edited by: Florian Schäuble on Nov 20, 2008 12:01 PM
Hi Florian,
did you get your issue solved already?
I yes, could you pleae post your solution?
Thank you in advance and kind regards, Patrick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.