You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by dadade <de...@lmco.com> on 2006/10/05 04:08:52 UTC
Re: Send a remote WS-Notification subscription
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-tf1524232.html#a6651636
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Send a remote WS-Notification subscription
Posted by Guillaume Nodet <gn...@gmail.com>.
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 <bg...@sophia.symag.com> 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/
Re: Send a remote WS-Notification subscription
Posted by bgoetzmann <bg...@sophia.symag.com>.
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.
Re: Send a remote WS-Notification subscription
Posted by dadade <de...@lmco.com>.
Hi,
I used ant to build and deploy the wsn-http-binding example. However, when
I ran the client.html, it gave me an error saying "open error".
I don't understand how the wsn-http-binding works or its purpose. Can
someone provide me with an explanation? Thanks. All I see is the
xbean.xml. I understand that the wsdl is
http://localhost:8192/broker/main.wsdl. How does the wsdl helps me to
understand that the consumer is going to subscribe a topic, and a producer
is going to notify the consumer who subscribes it when an event occurs?
>From what I read
http://www-128.ibm.com/developerworks/grid/library/gr-ws-not/ , there should
be a consumer service and a producer serveice, where are they in the
wsn-http-binding example?
Please help. I would like to know how to get started on the remote
WS-Notification example.
Thanks
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/294/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
>> 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/
>> 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-tf1524232.html#a6770832
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Send a remote WS-Notification subscription
Posted by gnodet <gn...@gmail.com>.
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/294/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
> 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/
> 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-tf1524232.html#a6660986
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Send a remote WS-Notification subscription
Posted by "frederic.dreyfus" <fr...@sungard.com>.
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
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/
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-tf1524232.html#a6660863
Sent from the ServiceMix - User mailing list archive at Nabble.com.