Errors on web services deployment


XML & Web services: Errors on web services deployment

  1. Errors on web services deployment (2 messages)

    Hi, I have Tomcat 5.0.28, Axis 1.2 RC3, jdk 1.4.2 and when I try to deploy a web service using "java org.apache.axis.client.AdminClient deploy.wsdd", I obtain an error "java.lang.NoClassDefFoundError". Somebody have ideas?
  2. First, make sure %CLASSPATH% contains axis/lib.
    Second, check out happypage on Tomcat for axis delpoyment.
    Third, on the happypage, make sure all the required axis jars have been loaded.

  3. Here is the snippet of ant script

    <target name="deploy-SOAP" depends="compile-all">
     <echo message="Deploying SOAP..." />
     <copy todir="${catalina.dir}/webapps/axis/WEB-INF/classes">
       <fileset dir="${build.dir}/WEB-INF/classes" includes="**/*.class" />
    <java classname="org.apache.axis.client.AdminClient"
    <arg value="${soapserver.dir}/deploy.wsdd" />

    Prior to do that, double check with endpoint and WSDL.

    I hope that helps for you.