Hi,
I have an ANT task:
<axis-wsdl2java
output="${build.home}/generated"
verbose="true"
url="${basedir}/wsdl/x.wsdl" >
</axis-wsdl2java>
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.
Thanks,
Maarten
Axis tools are not supported. They don't generate WS4EE artifacts. You should use wscompile (see the FAQ wiki). jbossws-1.0 will come with its own tools.