on 11-12-2008 4:48 AM
Hai ,
i Developed EJB module project and it contain Stateless session Bean , i Exposed it as webservice.
Its working fine.
Now i want to Add more methods to Bean,After adding the methods to Existing bean while again i deployed .jar file and .EAR file .the adding methods are not reflected in webservice.
what i need to do adding methods to bean are reflected to Webservice.
Hi Eswar,
Once you have modified the EJB and added you methods, you'll need to update the Web Service too.
There is no way, to update the Web Service directly from the NWDS. The simple thing will be to:
- Delete the Web Service from the Project
- and Create a New Web Service with the same name, and in the process of creation, Select all the methods that you need to add to the Web Service.
While deleting the Web Service remeber to delete the Virtual Interface, Web Service Defn, andthe Web Service Configuration.
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eswar,
Delete the web service.
Build+ Deploy your project ejb & ear.
Just confirm through web service navigator. Those web services should not be visible there.
Now recreate the web service you need and check the methods you wanna expose in Web Service.
build + deploy again. Test the Web Service.
If successfull, then re-import in web dynpro from the context menu. It will show you the delta changes.
-Kunal Kotak
Hi
Undeploye your EJB module first and then deploye it ance agian.
after deployeing try to test Webserive on protal side see if it working over there or not.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.