The web service I deployed with Axis 1.2RC_3 and Tomcat 5.0 has been
ruuning for a few weeks. However, while I was
trying to undeploy those two services, I got back
InvocationTargeException. Interestingly, I am still able to deploy AND
undeploy the SOAPMonitor service from Axis user guide. 

Here is what I did for undeploy :

java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient undeploy.wsdd
.

The undeploy.wsdd is very simple, it looks as below:

<!-- Use this file to undeploy some handlers/chains and services    -->
<!-- Two ways to do this:                                           -->
<!--   java org.apache.axis.client.AdminClient undeploy.wsdd        -->
<!--      after the axis server is running                          -->
<!-- or                                                             -->
<!--   java org.apache.axis.utils.Admin client|server undeploy.wsdd -->
<!--      from the same directory that the Axis engine runs         -->

<undeployment
    xmlns="http://xml.apache.org/axis/wsdd/";>

  <!-- Services from ProvisionIF_Service WSDL service -->

  <service name="SystemDataMgrPort"/>
  <service name="SubscriberDataMgrPort"/>
</undeployment>


Meanwhile, I checked the server-config.wsdd, it does have following
lines :
<service name="SystemDataMgrPort" provider="java:RPC" style="document"
use="literal">
<service name="SubscriberDataMgrPort" provider="java:RPC"
style="document" use="literal">

What could be wrong ?

Any hint would be appreciated.

Feng

Reply via email to