Errors on web services deployment

Discussions

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.

    sithu
  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" />
    </copy>
    <java classname="org.apache.axis.client.AdminClient"
    fork="yes"
    classpathref="run.classpath"
    >
    <arg value="${soapserver.dir}/deploy.wsdd" />
    </java>
    </target>

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

    I hope that helps for you.

    sithu