The following links provide a summary of Muse's NotificationConsumer 
implementation, as well as the practical instructions for setting up 
message-receiving code. You can see an example of this in the sample 
project named wsn-consumer (/samples/j2ee/wsn-consumer, in your 
distribution).

 http://ws.apache.org/muse/docs/2.2.0/manual/capabilities/wsn-nc.html

 
http://ws.apache.org/muse/docs/2.2.0/manual/how-to/receive-any-notification.html


For symmetry, here's how you can publish notifications on your producer 
(after you've added WSN to your WSDL and generated code):

 
http://ws.apache.org/muse/docs/2.2.0/manual/how-to/publish-any-notification.html


If you have a WSDL with WSN definitions and you generate a client using 
the -proxy flag, it will include the WSN operations you need.

Not sure what you mean by handcode a web service with Muse... do you mean 
you want to learn how to put an application together without wsdl2java? Or 
do you just want to provide your own implementation of the WSN operations?

Dan





"Gul Onural" <[EMAIL PROTECTED]> wrote on 04/02/2007 08:33:10 AM:

> Hi,
> 
> I was reading through the WS-Notification spec. and in the meantime I am
> trying to understand how a NotificationConsumer can be created using
> Muse. 
> 
> Basically, supporting WS-Notification requires changes in my existing
> wsdl to be a NotificationProducer.
> 
> However, I am not sure what a web services client should do in order to
> be a NotificationSubscriber.
> 
> Can I generate client stubs with Muse ? 
> 
> By the way, is there a way to handcode a web service using Muse ?  I had
> to hand code my existing web service using
> XMLRPCMessageReceiver of Axis2 (wsdl2java had quite a bit buggy at the
> time of my coding). Is there similar API for muse to handcode the web
> service supporting WS-Notification?
> 
> Gul
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to