cancel
Showing results for 
Search instead for 
Did you mean: 

Activation Failed : context model error

Former Member
0 Kudos

Dear Experts,

I have developed a DC project and it consumes a webservice as a model. I have mapped the model class of that model to the custom controller in a normal way

when i activate the activity, i got the following error in the activation log.

[wdgen] [Error] <package_name.WebserviceModel_Name> --> ContextModelNode xxxx [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller).

[wdgen] [Error] <package_name.WebserviceModel_Name> --> ContextModelAttribute xxxx [referencedProperty]: The context model attribute has not been bound to a model property.

Please provide your valuable suggesstions to overcome this.

Kind regards

Karthik

Accepted Solutions (0)

Answers (2)

Answers (2)

Stefan-EA
Contributor
0 Kudos

I got the same error after modifying my Java bean model when I tried to checkin my activity.

To fix my error, I clicked on the model node that was updated in the component controller and selected "Edit Model Binding". I then clicked "Next" until the wizard was finished without making any changes.

Former Member
0 Kudos

Hello Karthikeyan,

the problem is in your controller context model. This error you get in case you have created an ModelNode, but didn't map it to a model class (structure defined in Models).

Solution:

1) Open your controller detail

2) Open it's Context tab

3) I'm pretty sure, the node is called "xxxx" (it can be even nested)

4) Delete it, or bind it (to a model class or model node of another controller).

Let me know if it helped.

regards.

mz

Former Member
0 Kudos

Hi Maxim Zalevski ,

The model node of the controller is already bound to the model class of the webservice model. So there is nothing to do with model class binding. Do you have any other idea?

Regards

Karthik

Former Member
0 Kudos

I'm almost sure the problem is as i described. Could you please send me your WD project? (see Busines Card mail)

regards.

mz