Hi Thad,
My undeply.wsdd (which is the one generated automatically by WSDL2Java)
is as follows:
<!-- 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 DummyBalanceEnquiryService WSDL service -->
<service name="DummyBalanceEnquiry"/>
</undeployment>
In case it is of any use, the deploy.wsdd is as follows:
<!-- Use this file to deploy some handlers/chains and services -->
<!-- Two ways to do this: -->
<!-- java org.apache.axis.client.AdminClient deploy.wsdd -->
<!-- after the axis server is running -->
<!-- or -->
<!-- java org.apache.axis.utils.Admin client|server deploy.wsdd -->
<!-- from the same directory that the Axis engine runs -->
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<!-- Services from DummyBalanceEnquiryService WSDL service -->
<service name="DummyBalanceEnquiry" provider="java:RPC" style="rpc"
use="encoded">
<parameter name="wsdlTargetNamespace" value="urn:BalEnq"/>
<parameter name="wsdlServiceElement"
value="DummyBalanceEnquiryService"/>
<parameter name="schemaUnqualified"
value="http://valueobj.prepaid.webservices.cortex.com"/>
<parameter name="wsdlServicePort" value="DummyBalanceEnquiry"/>
<parameter name="className"
value="com.cortex.webservices.prepaid.interfaces.DummyBalanceEnquirySoap
BindingSkeleton"/>
<parameter name="wsdlPortType" value="DummyBalanceEnquiry"/>
<parameter name="typeMappingVersion" value="1.2"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Request"/>
<typeMapping
xmlns:ns="http://valueobj.prepaid.webservices.cortex.com"
qname="ns:BalanceEnquiryRspsInfo"
type="java:com.cortex.webservices.prepaid.valueobj.BalanceEnquiryRspsInf
o"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
<typeMapping
xmlns:ns="http://valueobj.prepaid.webservices.cortex.com"
qname="ns:BalanceEnquiryRqstInfo"
type="java:com.cortex.webservices.prepaid.valueobj.BalanceEnquiryRqstInf
o"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
</service>
</deployment>
In fact, if I try to run the undeploy before I actually deploy the
service, rather than complaining because the service is not yet
deployed, it just simply says Ok and when the service is actually
deployed it complains, quite funny.
Thanks
-----Original Message-----
From: Thad Humphries [mailto:[EMAIL PROTECTED]
Sent: 10 August 2005 22:00
To: [email protected]
Subject: Re: Problems undeploying a service and with SOAPMonitor
Juan,
What does your undeploy.wsdd look like? The ones in the samples
directory
that I've looked at are like
<undeployment name="test" xmlns="http://xml.apache.org/axis/wsdd/">
<service name="MyService"/>
</undeployment>
I use this ant script:
<target name="undeploy">
<java classname="org.apache.axis.client.AdminClient">
<arg value="resources/undeploy.wsdd" />
<classpath>
<path refid="axis-classpath" />
<pathelement path="../lib/axis" />
</classpath>
</java>
</target>
Perhaps there are additional parts to <undeployment> but I don't know
them.
On Wednesday 10 August 2005 12:38, Juan Cervera wrote:
> Thanks for the suggestion Thad,
>
> I've tried to undeploy and deploy the Axis WAR and even bouncing WAS,
> but still have the same problem, so it does not look that the problem
is
> produced by "hung" processes in my case. The only way I have managed
to
> undeploy services is by manually modifying the server-config.wsdd.
>
> Does anyone have more suggestions on this problem?