Is the endpoint is indicated in the element ReferenceSubscrition of the SubscribeResponse? Is it an internal endpoint? I would like to be able to send a message to unsubscribe from a remote client. Is it possible? Or you must write a service yourself (exposed by an HTTP binding for example) in order to send the unsubscribe message to the internal endpoint?
Thank you Guillaume. PS: I'm working a SOA composite application with SericeMix that will be able to send large files, and that uses WS-Notification messages to provide monitoring via web applications or Java SE applications (using Java 6 and JAX-WS 2). Bertrand. -----Message d'origine----- De : Guillaume Nodet [mailto:[EMAIL PROTECTED] Envoyé : mercredi 1 août 2007 15:01 À : [email protected] Objet : Re: Send a remote WS-Notification subscription It' s just a single element: <wnst:Unsubscribe /> but you have to send it to the endpoint that has been created for you subscription. On 8/1/07, bgoetzmann <[EMAIL PROTECTED]> wrote: > > 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. > > -- Cheers, Guillaume Nodet ------------------------ Principal Engineer, IONA Blog: http://gnodet.blogspot.com/
