cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a new web service...

david_fryda2
Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

david_fryda2
Participant
0 Kudos

Thanks Bhavik for the explanations.

Answers (4)

Answers (4)

Former Member
0 Kudos

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.

Former Member
0 Kudos

hai i am facing the same problem while creating a webservice for a java class. it is saying that no methods in vi and ian m using NWDS version 2.0.11 till i am getting the same problem. can u help me in solving this plz.

thanks and regards

guru

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

I thought you had to have an EJB to convert to a web service ?

david_fryda2
Participant
0 Kudos

What EJB are you talking about ?