axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wagle, Shriniwas" <Shriniwas_Wa...@sra.com>
Subject java2wsdl: ClassNotFoundException
Date Thu, 19 Aug 2004 17:58:56 GMT
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

 

 


Mime
View raw message