Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » How to generate a *.wsdl from Java class?
How to generate a *.wsdl from Java class? [message #632522] Wed, 13 October 2010 06:00 Go to next message
Eclipse UserFriend
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 11:12 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 23:48:16 EDT 2025

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

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

Back to the top