Skip to main content


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
Member
Hello,

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= "com.mkyong.ws.ServiceInfo" >
<classpath refid="jaxws.classpath" />

</taskdef>
<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"/>
</path>
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: 4435
Registered: July 2009
Senior Member

Which class is not found? Are you sure this is the right forum in which to ask?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Extension Point for Adding CSS Content Assist?
Next Topic:Content Assist problem during XML editing
Goto Forum:
  


Current Time: Thu Apr 25 13:01:25 GMT 2024

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

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

Back to the top