on 04-25-2008 1:33 PM
Hi,
I have created a EJB project with Stateless Session Bean having just one method, Java persitence (connnection to MS SQL). I have added this project to the Enterprise project as well.From the context menu when I select to create Web Service. The method is not selectable.
What is going wrong?
Can somebody please help?
Best regards,
Dharmi
Hi Dharmi,
How did you do that? Create an EJB which connects to MS SQL?
Are there specific jars or something that have to be added to the EJB?
Did you also have to install a SQL server driver and such?
Can you provide a step-by-step for the creation of an EJB which gathers data from MS SQL?
Kind regards
Allan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you need to give a little more information here about the process you are following. I tend to:
1. Create an Local interface with my bean.
2. Write my bean method(s)
3. Right-click my methods in the outline view -> EJB Methods -> Add to Local Interfaces
4. Right-click my Bean in Project Explorer -> Web Services -> Create a web service
5. Follow the wizard and specify your local interface as the service endpoint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.