Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating Web Service from WSDL File [closed]

Tags:

I want to generate Web Service Classes from WSDL File. I want server side code not client side. wsimport creates client sides. which tool do you use to create server side code from WSDL File?

like image 904
firstthumb Avatar asked Jul 05 '10 11:07

firstthumb


2 Answers

Use NetBeans or Eclipse. Both of them make it really easy to create a new web service from an existing WSDL.

Eclipse tutorial: http://www.eclipse.org/webtools/community/tutorials/TopDownAxis2WebService/td_tutorial.html

NetBeans tutorial:
http://weblogs.java.net/blog/2008/03/05/developing-webservices-wsdl-using-netbeans

like image 186
Catchwa Avatar answered Sep 18 '22 18:09

Catchwa


To complete Andreas_D response, I have used wsdl2java to generate Java Web Service client from WSDL document.

Download page wsdl2java (binary distribution is ready to use)

You can simply generate code with command line :

wsdl2java -d output_directory/ document.wsdl 

The code will be saved in output_directory folder.

Documentation for others arguments.

like image 31
Samuel Dauzon Avatar answered Sep 21 '22 18:09

Samuel Dauzon