on 06-19-2005 8:19 AM
Hi everyone,
I created a simple Java class with a real simple method which is declared public.
I opened the web services perspective.
I right clicked on the class and selected "new web sevice". After filling the first window that appears, I clicked "Next" and no methods appear. It says "No methods available for vi".
How could ? Is it a system problem ?
Thanks in advance.
Hi David,
I was facing the same problem.
This is the problem faced in NWDS SP 11. So, use NWDS sp 10 for your work.
In NWDS SP 11, it doesn't give the methods in list.
I don't know its a bug or its one type of restriction added in this version.
regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Take in mind that all methods in web services must receive as parameters and return only built in types or serializable classes.
Also, you can't use, for example any java.sql.Date object as parameter or return type.
Thank you,
Sergio Fierens Bayo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Is this not coming for one specific class or for all classes you are facing the same problem?
Try creating a new project/java class and try to expose that as a webservice.
Which version of NWDS are you using?
I am using "NWDS Version : 2.0.10", I am not facing such problem.
Regards,
Santhosh.C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
take a look at the docs. It states, that one should you create a "Java DC project" for developing Web Services from a Java Class. Don't know exactly, if this helps.
tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I thought you had to have an EJB to convert to a web service ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.