|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
RE: How to unsubscribe a consumerWhen 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(AbstractResourceClient.java:298) at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:254) at org.apache.muse.ws.resource.remote.WsResourceClient.destroy(WsResourceClient.java:109) at WsnTestClient.main(WsnTestClient.java:304) > SubscriptionClient client = resource.subscribe( > source, new TopicFilter(someTopicQName), null); .. .. client.destroy() .. > --------------------------------------------------------------------- To unsubscribe, e-mail: muse-user-unsubscribe@... For additional commands, e-mail: muse-user-help@... |
|
|
RE: How to unsubscribe a consumerHi 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: luca.cavagnoli@... [mailto:luca.cavagnoli@...] Sent: Monday, May 05, 2008 3:16 AM To: muse-user@... 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: muse-user-unsubscribe@... For additional commands, e-mail: muse-user-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: muse-user-unsubscribe@... For additional commands, e-mail: muse-user-help@... |
| Free embeddable forum powered by Nabble | Forum Help |