It seems that when one sends a remote WS-Notification subscribe to the 
NotificationBroker (exposed on HTTP), the response is a SubscribeResponse 
containing a SubscriptionReference that is an ServiceMix's internal endpoint, 
and that, if you want to unsubscribe from the topic you have to send an 
Unsubscribe messages to that internal endpoint.

So, it seems that if you want to use a remote WS-Notification unsubscribe 
message (in my case from a Java 6 SE application that receives Notify messages 
through an deployed JAX-WS web service), you have to deploy a HTTP binding SU 
for example in order to transmit the unsubscribe message to the ServiceMix's 
internal endpoint.

Is this correct?

Thank you.

Bertrand.
http://www.odelia-technologies.com/


-----Message d'origine-----
De : bgoetzmann [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 1 août 2007 09:02
À : [email protected]
Objet : Re: Send a remote WS-Notification subscription


Hello Guillaume,

What is the XML structure for a remote WS-Notification unsubscribe?

Thank you!

Bertrand.



gnodet wrote:
> 
> 
> Here is a sample html client page that I started some time ago.
> Not sure what's its exact state, but if someone want to update 
> and finish it ... ;)
> Anyway here it is:  http://www.nabble.com/file/p6660986/client.html
> client.html 
> 
> Cheers,
> Guillaume Nodet
> 
> 
> frederic.dreyfus wrote:
>> 
>> Hi 
>> 
>> You can find an example in the 3.0 release of servicemix. This is the
>> wsn-http-binding example.
>> In this example the WS-NotificationBroker is exposed through HTPP so that
>> you can subscribe to a topic from outside the JBI container.
>> The wsdl of the NotificationBroker service is (in the example) at this
>> address :  http://localhost:8192/Broker/main.wsdl
>> http://localhost:8192/Broker/main.wsdl 
>> When an event occurs on a WS resource, the subscriber will get notified.
>> The only thing missing in the example is how to use it ;), what kind of
>> soap request you should send to subscribe (the wsdl is not enough).
>> You can find documentation of WS-Notification at this address :
>> http://www-128.ibm.com/developerworks/grid/library/gr-ws-not/
>> http://www-128.ibm.com/developerworks/grid/library/gr-ws-not/ 
>> There are examples of such requests.
>> 
>> 
>> 
>> 
>> dadade wrote:
>>> 
>>> This sounds like what I want to do.  Where can I find the complete
>>> example?
>>> 
>>> Thanks
>>> 
>>> 
>>> frederic.dreyfus wrote:
>>>> 
>>>> I'll post a complete example (with the source code) of this use case
>>>> ASAP.
>>>> 
>>>> To answer your previous question, the consumer needs to expose a Notify
>>>> Web Service as well to get notifications from the Bus. As I said, the
>>>> code will follow...
>>>> 
>>>> Cheers,
>>>> 
>>>> Fred
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Send-a-remote-WS-Notification-subscription-tf1524232s12049.html#a11940728
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to