1 Reply Latest reply on Dec 9, 2005 1:44 PM by Thomas Diesler

    Generate code with AXIS and ANT problem

    Maarten Roosendaal Newbie


      I have an ANT task:

      url="${basedir}/wsdl/x.wsdl" >

      In the axis lib i have the jars from:
      * C:\jboss-4.0.2\server\default\deploy\jboss-ws4ee.sar folder
      * and the jboss-jaxrpc.jar from the default\lib folder.
      I also have the axis-ant.jar for the ant tasks wsdl2java.

      When i run the target i get the following message:
      taskdef A class needed by class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be found: org/apache/axis/utils/DefaultAuthenticator. It's not in any of the jar-files but it is in the axis.jar.

      When i use that one i get a java.lang.NoClassDefFoundError: org/apache/axis/wsdl/toJava/FactoryProperty message

      Which jar files do i need to use to make this happen? It seems that the JBoss jars are not sufficient enough and are not compatible with the axis-ant.jar.

      Hope someone has an idea.