Hi, if you want to have a Consumer as a standalone Java application and are willing to go with Axis2, then you should see for the SimpleHTTPServer of Axis2.
Axis2 can be started without any Servlet engine, see in the bin directory of Axis2 for some start scripts for the SimpleHTTPServer. Of course this server doesn't scale well :-( Best regards Matthias -----Ursprüngliche Nachricht----- Von: Callner, David A. [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 9. Mai 2007 17:23 An: [email protected] Betreff: RE: SimpleNotificationConsumer So I can't have a Consumer that's NOT a servlet. I just want to have a Consumer that is a stand alone Java Application. No Web Server for the Consumer. -----Original Message----- From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 10:13 AM To: [email protected] Subject: RE: SimpleNotificationConsumer The SNC is one capability in a consumer resource - to make an EPR for the consumer resource, you want to follow the instructions at the bottom of this page: http://ws.apache.org/muse/docs/2.2.0/tutorial/08-test-client.html If you generated the consumer resource with wsdl2java and have not modified it at all, just making an EndpointReference object with the right address (URI) will work. If you have multiple instances of the consumer resource[1], you'll need to use EndpointReference.addParameter() to complete the EPR. Dan [1] Instructions here: http://ws.apache.org/muse/docs/2.2.0/manual/how-to/create-resource-pers istence.html "Callner, David A." <[EMAIL PROTECTED]> wrote on 05/09/2007 07:23:05 AM: > I am, but I want the EPR to be a SimpleNotificationConsumer. > > -----Original Message----- > From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 08, 2007 3:43 PM > To: [email protected] > Subject: Re: SimpleNotificationConsumer > > I believe you want to use the NotificationProducerClient to subscribe() > to > notifications from a producer. In the call to subscribe(), you can > specify > the EPR of the consumer, which may or may not be the piece of code that > is > calling subscribe(). The NotificationConsumer just processes messages > that > are sent once the subscription is in place. > > Dan > > > "Callner, David A." <[EMAIL PROTECTED]> wrote on 05/08/2007 03:39:29 > PM: > > > I'm trying to use the SimpleNotificationConsumer but when I go to > > subscribe the consumer to a producer I need the URI and it returns > > null. How can I use the SimpleNotificationConsumer and subscribe to > a > > producer with it? > > > > David Callner > > Senior Software Systems Engineer > > The MITRE Corporation > > Center for Advanced Aviation System Development > > 7515 Colshire Dr. > > McLean, VA. 22102 > > [EMAIL PROTECTED] <mailto:[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]
