The WSDL fragment below represents all of the code you need to provide for 
WSN Notify, save for the WSDL <binding/>. It's the same XML from 
WS-BaseNotification-1_3.wsdl, which is used in the wsn-consumer project.

<wsdl:types>
  <xsd:schema>
    <xsd:import
         namespace="http://docs.oasis-open.org/wsn/b-2"; 
         schemaLocation="WS-BaseNotification-1_3.xsd"/>
  </xsd:schema>
</wsdl:types>

<wsdl:message name="Notify">
  <wsdl:part name="Notify" element="wsnt:Notify"/>
</wsdl:message>

<wsdl:portType name="NotificationConsumer">
  <wsdl:operation name="Notify">
    <wsdl:input 
 
wsa:Action="http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest";
 

          message="wsntw:Notify" />
  </wsdl:operation>
</wsdl:portType>



"Callner, David A." <[EMAIL PROTECTED]> wrote on 03/23/2007 11:03:44 AM:

> Dan,
> If you could just give me the wsdl you used to create the wsn-consumer
> I should be able to figure it out from there.  Why isn't that
> distributed in the examples? 
> 
> -----Original Message-----
> From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 23, 2007 11:00 AM
> To: [email protected]
> Subject: RE: Publisher Consumer
> 
> Your attachments didn't come through - can create a JIRA item and
> attach 
> the files there?
> 
> Thanks,
> Dan
> 
> 
> 
> "Callner, David A." <[EMAIL PROTECTED]> wrote on 03/23/2007 10:37:25
> AM:
> 
> > This doesn't seem to work for me.  I've attached my files.  I've
> > stripped them down to just have the Notify Consumer info that you
> > describe below but when I can get it to create the code it only
> creates
> > code like that of the producer. 
> > 
> > -----Original Message-----
> > From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, March 22, 2007 10:20 AM
> > To: [email protected]
> > Subject: Re: Publisher Consumer
> > 
> > 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]
> > 
> > 
> > ---------------------------------------------------------------------
> > 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]
> 
> 
> ---------------------------------------------------------------------
> 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