[jboss-user] [JBossWS] - wsconsume ant task

poyge394 do-not-reply at jboss.com
Mon Jun 18 10:27:48 EDT 2007


Hi, i try to use wsconsume with ant,


  | <target name="target" description="Generates classes">					
  | 	  	<path id="wscon.classpath">
  | 			<path path="${project.classpath}"/>
  | 		</path>  		
  | 		<taskdef name="wsconsume" classname="org.jboss.ws.tools.jaxws.ant.wsconsume">
  | 			<classpath refid="wscon.classpath"/>						
  | 		</taskdef>			
  | 		<wsconsume 
  | 		  fork="true"
  | 		  verbose="true"
  | 		  destdir="output"
  | 		  sourcedestdir="gen-src"
  | 		  keep="true"
  | 		  wsdl="http://api.tradera.com/v1/publicservice.asmx?WSDL">
  | 		</wsconsume>	
  | 	</target>
  | 
  | 

I get:





  | [wsconsume] Command invoked: org.jboss.ws.tools.jaxws.command.wsconsume -k -o C:\workspace\ipl_tradera\output -s C:\workspace\ipl_tradera\gen-src -t http://api.tradera.com/v1/publicservice.asmx?WSDL
  | [wsconsume] Exception in thread "main" java.lang.NoClassDefFoundError: gnu/getopt/LongOpt
  | [wsconsume] at org.jboss.ws.tools.jaxws.command.wsconsume.parseArguments(wsconsume.java:82)
  | [wsconsume] at org.jboss.ws.tools.jaxws.command.wsconsume.main(wsconsume.java:75)
  | 
  | 

anybody have using wsconsume ant task ?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055257#4055257

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055257



More information about the jboss-user mailing list