axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Vezain" <a.vez...@nancy.fnclcc.fr>
Subject RE: Java2WSDL via Ant - cannot get it to work!
Date Mon, 02 Aug 2004 12:28:20 GMT
Is your build script to the root of your projet ?  If it isn't, have you
changed the basedir property of the <project> element to point the root of
your project.

I had myself problems of NoClassdefFound with classpath and axis Ant
tasks. I wrote a script with an embeded classpath property like :

<axis-java2wsdl output="${service.ws.dir}/${service.wsdl}"
location="${service.location}" namespace="${service.nsmapping}"
namespaceimpl="${service.nsmapping}"
classname="${service.package}.${service.name}"
implclass="${service.package}.${service.name}SoapBindingImpl">
  <classpath>
    <pathelement location="${bin.dir}" />
    <path refid="axis.classpath" />
    <path refid="tomcat.classpath" />
  </classpath>
  <mappingset>
    <mapping namespace="${service.nsmapping}" package="${service.package}" />
  </mappingset>
</axis-java2wsdl>

It works for me.






Mime
View raw message