Hi Luca,

OMElement is an Axis 2 component not a Muse one.  Your code is correct
for how to unsubscribe a consumer.

The problem is on the server side, the SoapFault is what has been
returned from the server.  If its a Muse server could you reply with
some server logs and perhaps we can help.  

I assume however its an Axis 2 server and that this error is because the
Destroy function isn't implemented on the WS-N subscription resource.
This could be because the wsdl didn't have it, but my knowledge on Axis
2 is limited I'm afraid.

cheers,
Chris

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, May 05, 2008 3:16 AM
To: [email protected]
Subject: RE: How to unsubscribe a consumer

When I call client.destroy() I get the following exception:

org.apache.muse.ws.addressing.soap.SoapFault: ServiceClass does not
implement required method of the form OMElement Destroy(OMElement e)
        at
org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien
t.java:298)
        at
org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien
t.java:254)
        at
org.apache.muse.ws.resource.remote.WsResourceClient.destroy(WsResourceCl
ient.java:109)
        at WsnTestClient.main(WsnTestClient.java:304)


> SubscriptionClient client = resource.subscribe(  source, new 
> TopicFilter(someTopicQName), null); .. .. client.destroy() ..
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to