Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

Eclipse WebService

Thread view: 
Peter K - 01 Oct 2007 08:59 GMT
Hi

is there a "webservice plugin" for Eclipse?

I would like to find a plugin where I can declare a class and its methods
as a web-service, and then select a menu item "make webservice" or
something, and have all the necessary xml/wsdl created.

Thanks,
Peter
Tomek - 01 Oct 2007 09:52 GMT
> is there a "webservice plugin" for Eclipse?
>
> I would like to find a plugin where I can declare a class and its methods
> as a web-service, and then select a menu item "make webservice" or
> something, and have all the necessary xml/wsdl created.

Try Eclipse STP http://www.eclipse.org/stp/
Manish Pandit - 01 Oct 2007 19:59 GMT
> Hi
>
[quoted text clipped - 6 lines]
> Thanks,
> Peter

What you are trying to achieve is called Bottom-up Java Bean Web
Service. If you have eclipse with WTP (Web-Tools Platform), you can
click New -> Other-> Web Services -> Web Service. This will open up a
dialog where you can select the Java Bean to be used as the interface.
Click OK, and Eclipse will create a new web services project with the
WSDL, stubs and the other housekeeping code. It will even prompt to
start a server to deploy the generated service :)

You might want to include other libraries and projects to this project
for the code to work right (like the dependencies, etc.).

-cheers,
Manish
Peter K - 02 Oct 2007 08:12 GMT
> What you are trying to achieve is called Bottom-up Java Bean Web
> Service. If you have eclipse with WTP (Web-Tools Platform), you can
[quoted text clipped - 6 lines]
> You might want to include other libraries and projects to this project
> for the code to work right (like the dependencies, etc.).

Thanks for the advice. I found "WTP" on the net, after "Tomek" mentioned
"STP" (which I still haven't yet investigated).

It does seem WTP will achieve what I need (in fact much more I think) -
although it doesn't really seem "intuitive" to use yet. I have managed to
get a couple of do-nothing web-services compiled and installed under
Tomcat, but sometimes when I try to create a web-service I get a "class not
found" error.... probabaly some setup step or something I forget to perform
on occasion.

Thanks,

Peter


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.