Hi,

I am new to this list and new to axis. I hope someone here can help with my problem. I have a webservice I want to deploy using ant. The thing is it worked last friday and now it does not. I'll desribe my setup maybe someone can point me to my error. I know there are ant-tasks available for axis but I prefer to stick to core tasks so far (being a non-expert user of ant). I am not even sure that this is an ant problem :-(

1. axis is running under tomcat4 in the %CATALINA_HOME%/webapps/axis I
(Manager App says it is running, validate page is happy, can acces version service, services running says: Version and AdminService are up)


2. copied my MyService.jar to the WEB-INF/lib under axis

3. I generate a wsdl with java2wsdl

    <java classname="org.apache.axis.wsdl.Java2WSDL"               
          classpathref="lib.path" fork="yes">

      <arg value="-o${wsdlfile}"/>
      <arg value="-l${axishost}/axis/services/${webservice}"/>
      <arg value="-nurn:${namespace}"/>
      <arg value="-p${package}=urn:${namespace}"/>
      <arg value="${package}.${webservice}"/>
    </java>

Without the ant tags this is or should be:

  java org.apache.axis.wsdl.Java2WSDL
        -o service.wsdl
        -l"http://localhost:8180/axis/services/MyService";
        -nurn:myservice
        -p"mypackage"=urn:myservice
        mypackage.MyService

4. From the wdsl I generate java-code to get the deployment descriptor I need for deploying:

    <java classname="org.apache.axis.wsdl.WSDL2Java"                       
        classpathref="lib.path" fork="yes">
      <arg value="-o${clientdir}"/>
      <arg value="-s"/>
      <arg value="${wsdl}"/>
    </java>

  Without the ant tags this is:
  java org.apache.axis.wsdl.WSDL2Java -o somedir -s service.wsdl

5. I automatically replace all references to generated classes in the deploy.wsdd and then use it to deploy to axis - well I try to.

 <java classname="org.apache.axis.client.AdminClient"      
        classpathref="lib.path" fork="yes">
      <arg value="-p8180"/>
      <arg value="${clientdir}/${namespace}/deploy.wsdd"/>
 </java>

  java org.apache.axis.client.AdminClient
        -p8180  
        somedir/myservice/deploy.wsdd

The answer I get is:
deploy:
     [java] - Processing file ...../somedir/myservice/deploy.wsdd
     [java] - <Admin>Done processing</Admin>

This looks certainly nice but I am missing some feedback here, wether the deployment was successful or not.

The AxisServlet still says that only AdminService and Version are running and the server-config.wsdd does not have the service either.
The service's url is of course not working ...


Is there an error.log that I can take a look at? Do I have to name certain things in a different way? Is it easier to simply write my own deployment descriptor?

Thanx in advance for any help ...
without a testing environment my project cannot go forward

Ciao
Sonja


-- [EMAIL PROTECTED], Tel: 91374-370

Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut. --Ernest Hemingway



Reply via email to