The wsn-consumer resource uses the NotificationConsumer portType in 
WS-BaseNotification-1_3.wsdl file - this is mapped in muse.xml, under the 
<resource-type><wsdl> element. The sample has nothing but WSN 
NotificationConsumer in its interface.

All you need to do to add NotiifcationConsumer to your app is to add the 
contents of NotificationConsumer portType (which is just the Notify 
operation) to your own WSDL's portType. Be sure to include the <message/> 
and XSD definition for Notify, just as WS-BaseNotification-1_3.wsdl does. 
When you run wsdl2java, it will notice the WSN Notify operation and add 
Muse's NOtificationConsumer capabilty to your resource definition.

Dan



"Callner, David A." <[EMAIL PROTECTED]> wrote on 03/22/2007 07:45:59 AM:

>  There is an example of the wsn-producer and wsn-consumer.  I want to
> deploy a web service that is a producer and I want clients to be able
> to create wsn-consumer's on there own.  Could somebody explain to me
> how the wsn-consumer was created?  The wsdl for the wsn-producer does
> not show in a browser and I see no way to generate the code from the
> wsdl from the wsn-producer.  I can generate the code for the
> wsn-producer from the wsdl, but how does one create a consumer.  Is
> everybody expected to start with a wsn-consumer and hack up there own
> wsn-consumers?  This obviously can't be the case but I see no other
> way. 
> 
> Thanks for your help.
> 
> David Callner
> Senior Software Systems Engineer
> The MITRE Corporation
> Center for Advanced Aviation System Development
> 7515 Colshire Dr.
> McLean, VA. 22102
> [EMAIL PROTECTED] 
> 703.983.6431 (work) 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to