Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to generate a *.wsdl from Java class?
How to generate a *.wsdl from Java class? [message #632522] Wed, 13 October 2010 10:00 Go to next message
Ben StoverFriend
Messages: 104
Registered: January 2010
Senior Member
What is the easiest way to generate a *.wsdl from an already existing java class?

Which steps (menu clicks, options to enable, parameter settings) do I have exactly to perform to generate a *.wsdl?

Ben
Re: How to generate a *.wsdl from Java class? [message #634407 is a reply to message #632522] Thu, 21 October 2010 15:12 Go to previous message
Ivan Castro is currently offline Ivan CastroFriend
Messages: 8
Registered: February 2010
Junior Member
Hi Ben,

Try creating a Web Service.

Right click on your java class, select

Web Services -> Create Service

The Create Web Service Wizard will come up, the you'll need to chose the project in which you would like to create the service and the runtime you would like to target it to, then you can go to the next wizard page by clicking on Next. There, you should be able to see an option to include/copy the wsdl in your project.

After the service gets created, your wsdl will be under the following directory <project name>/Web Content/WEB-INF/wsdl.

That's the easiest way I can think of to get your wsdl generated.

Hope that helps,

Ivan Castro
Previous Topic:Throwing an exception from a web service
Next Topic:Prevent Error Log Activation
Goto Forum:
  


Current Time: Wed Nov 26 07:02:42 GMT 2014

Powered by FUDForum. Page generated in 0.02167 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software