cancel
Showing results for 
Search instead for 
Did you mean: 

Interaction between two webDynPro components

Former Member
0 Kudos

Dear All,

I have two webDynPro components in a DC.

1. DataComp: This comp has only model nodes and code for the model execution.

2. UserComp: This comp has only views and view level validation codes.

I have added DataComp as used component in UserComp. All the data required for the model execution is passed from the UserComp to the DataComp through interface controller via context mapping.

In the UserComp, the LifeCycle for the used component DataComp is given as "manual". In the init of UserComp i am creating the instance of the DataComp as: wdThis.wdGetDataCompComponentUsage().createComponent();

All the required DCs for the runtime are added as Used DC.

But creating this instance it gives me the error as:

java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/model/webservice/gci/WSTypedModelClassExecutable

Is it to do something with the model classes or something else.

Hope to get the solution soon.

Cheers,

Manoj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

go through this doc:[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/100fbcd6-7512-2a10-7283-bc94957d0b1e]

[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60132577-7801-2b10-c9b1-b13b2f78f23b]

hpe it hlps..

Regards

Khushboo

Answers (2)

Answers (2)

former_member201361
Active Contributor
0 Kudos

Hi Manoj,

java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/model/webservice/gci/WSTypedModelClassExecutable

from the above error trace, it is very clear that , there is no problem with compentization . better check the service in the web service navigator.

Thanks and Regards

Former Member
0 Kudos

Hi Manoj,

1) Go through the following link to check whether you are following all the steps required to be able to communicate between 2 components:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60132577-7801-2b10-c9b1-b13b2f78...

2) Check whether there is no change in the model structure at the backend.

3) The problem can also be due to incorrect mapping.

4) Check you have added all the jars as told here:

http://help.sap.com/saphelp_nw04s/helpdata/en/5a/2e2f4234135433e10000000a155106/content.htm

Regards.

Rajat