You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Wagle, Shriniwas" <Sh...@sra.com> on 2004/08/19 19:58:56 UTC
java2wsdl: ClassNotFoundException
Running axis 1.1
Getting following error while running the java2wsdl ant task:
[axis-java2wsdl] Java2WSDL com.abc.systemsigner.service.HSMService
[axis-java2wsdl] java.lang.ClassNotFoundException:
com.abc.systemsigner.service.HSMService
The compiled interface and class files
com.abc.systemsigner.service.HSMService,
com.abc.systemsigner.service.HSMServiceSoapBindingImpl do exist.
I'm specifying the axis ant tasks as follows:
<!-- Define Axis tasks -->
<path id="axis.classpath">
<fileset dir="${axis.home}/lib">
<include name="**/*.jar" />
</fileset>
<pathelement location="${build.dir}"/> </path> <taskdef
resource="axis-tasks.properties"
classpathref="axis.classpath" />
I'm invoking the axis ant task as follows:
<axis-java2wsdl output="${build.dir}/HSMService.wsdl"
location="${hsmservice.location}"
namespace=" <http://www.abc.com/HSMService>
http://www.abc.com/HSMService"
implclass="com.abc.systemsigner.service.HSMServiceSoapBindingImpl"
classname="com.abc.systemsigner.service.HSMService">
<classpath refid="axis.classpath" />
<mapping package="com.abc.systemsigner.service" namespace="
<http://www.abc.com/HSMService> http://www.abc.com/HSMService" />
</axis-java2wsdl>
Would appreciate some help.
What classpath does axis-java2wsdl use to look for the interface file? How
can that be specified?
Thanks