I'm relatively new to Web services, ANT and NetBeans (although an old hat to J2EE, make and vi), so I figure I learn all 3 simultaneously for my prototype project.

I can run java2wsdI manually from the commandline, but I cannot get the java2wsdl ant task to run properly under netbeans.  This is what I've done:

1)  put axis-ant.jar in NETBEANS_HOME/lib
2)  added the following entry to build.xml:
  <target description="java2wsdl">
    <axis-java2wsdl classname="${my_service}" location="${my_url}"/>
  </target>

When I build this target, I get "Could not create task or type of type: axis-java2wsdl".  So next I tried adding the following

3) added at beginning of build.xml:
  <taskdef name="axis-java2wsdl" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"/>

Now I get "taskdef class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be found".  Help!  Am I placing axis-ant.jar in the wrong place?  Or is my build.xml syntax horribly wrong?  Thanks!

Gene

 

Reply via email to