Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » call wsgen from ant file(call wsgen from ant file)
call wsgen from ant file [message #1200701] Thu, 21 November 2013 11:15 Go to next message
Salwa Alzahmi is currently offline Salwa AlzahmiFriend
Messages: 37
Registered: June 2013

I am trying to generate WSDL programmatically of my Java interfaces class ..I currently generate java class from a "model " and compile them with ant built file. and then run wsgen command from the cmd . With this step i can generate wsdl ... however i want to automate the process by compiling the Java class and then generate wsdl progromaticaly using Axis API(calling wsgen progromaticaly from java code). I really couldn't find the starting code for this ??

another issue:
if I want to add wsgen to ant build file what the proper command of it as the below way is not working proberly : I keep getting the error-> ( classname is not found)

<taskdef name="wsgen" classname= "" >
<classpath refid="jaxws.classpath" />

<path id="jaxws.classpath">
<pathelement location="${javaEE.home}/lib/appserv-ws.jar"/>
<pathelement location="${javaEE.home}/lib/activation.jar"/>
<pathelement location="${javaEE.home}/lib/javaee.jar"/>
<pathelement location="${javaEE.home}/lib/javaws.jar"/>
<pathelement location="${javaEE.home}/jdk/jre/lib/rt.jar"/>
Re: call wsgen from ant file [message #1219430 is a reply to message #1200701] Tue, 03 December 2013 20:07 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2847
Registered: July 2009
Senior Member

Which class is not found? Are you sure this is the right forum in which to ask?
Previous Topic:How to create a project with own created moduleType
Next Topic:How to exclude Groovy plugin jars from Tomcat classpath
Goto Forum:

Current Time: Thu Apr 27 16:52:22 GMT 2017

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

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