You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by solracson <ti...@hotmail.com> on 2008/10/05 17:45:07 UTC

wsn2005 - unsubscribe

is there an example of how to unsubscribe using servicemix-wsn2005
-- 
View this message in context: http://www.nabble.com/wsn2005---unsubscribe-tp19825857p19825857.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: wsn2005 - unsubscribe

Posted by solracson <ti...@hotmail.com>.
forget it i figured it out

header must contain wsa:action with this exact URI

header must contain wsa:to must contain the http url that was returned in
the wsn:SubscribeResponse/wsn:SubscriptionReference/wsa:Address

body must contain a wsnt:Unsubscribe message

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
	xmlns:wsa="http://www.w3.org/2005/08/addressing">
	<env:Header>
		<wsa:Action>
http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/UnsubscribeRequest
</wsa:Action>
<wsa:To>
 
http://servicemix.org/wsnotification/Subscription/ID-ws-solrac-55803-1223217953049-0-3
</wsa:To>
	</env:Header>
	<env:Body>
		<wsnt:Unsubscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
			xmlns:wsa="http://www.w3.org/2005/08/addressing">
		</wsnt:Unsubscribe>
	</env:Body>
</env:Envelope>


solracson wrote:
> 
> is there an example of how to unsubscribe using servicemix-wsn2005
> 

-- 
View this message in context: http://www.nabble.com/wsn2005---unsubscribe-tp19825857p19826144.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.