on 08-04-2008 11:08 AM
I have exposed a stateless session bean as a web service imported it through an adaptive web service model in Web Dynpro.
Now I have modified the api of the session bean (and thus the web service) and wish to reimport it in my Web Dynpro application. However the option "Reimport model" is disabled. How can I reimport the model?
Hi,
You need to re-create your model. Delete the older one and create the new one. Build and deploy the DC. After this re-start the server.
Hope this helps.
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoy
I have done it like that a few times already. However, this means I have to re-do the context mapping also. And worse, I had one model in which I had to change some node names upon import (because of namespace conflicts). In this case, I could not simply re-bind the model in the controller, but I had to completely clear the context in the controller and the view controller and then re-map everything. That does not not seem like a practical approach to me.
Note that I create my model in the same project in which I develop my application. Would it work better if I put my model in a separate project?
Kind regards
Steven
Hi,
Ya i know this drawback. But the better approach is that you take the snap-shot of model binding from model to component controller. Then while re-creating give the same name. This will not effect your coding but other binding you need to do.
This problem was less in my case because i had a seperate DC for model and my UI elements were mapped with value nodes. In your case if your UI elements are directly mapped with model nodes then you need to do this manually.
thanks & regards,
Manoj
Hi,
Please check the link below:
Hope this will clarify some of your doubt.
thanks & regards,
Manoj
Hi
Rather than Re importing model create a new model and do the process.
Thanks,
Tulasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.