Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 23276 invoked from network); 22 Feb 2008 18:36:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2008 18:36:15 -0000 Received: (qmail 75302 invoked by uid 500); 22 Feb 2008 18:36:00 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 75283 invoked by uid 500); 22 Feb 2008 18:36:00 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 75269 invoked by uid 99); 22 Feb 2008 18:36:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 10:36:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.147.97.120] (HELO web63905.mail.re1.yahoo.com) (69.147.97.120) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 22 Feb 2008 18:35:14 +0000 Received: (qmail 58029 invoked by uid 60001); 22 Feb 2008 18:35:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=rP2olhILIlp76paYlZzjimcDKXD6dSUhr17SyULZnSAH6Jgwk/XbFsBaeAQaBvpV2autu41MRmojJIzZkIM+dIFW+5vCaNrmeALRRn8hTYjNgxv6xdLyxDSiOkEJdXdo9yDrMyoNWOl/q3jYeB2sZ6o4LDHrZfab8NR54Q8RMoQ=; X-YMail-OSG: mWE4wpgVM1m0tGZ4S_wFGX29VeNDmUk3EHplr8m6PnpqQe1OQBhZfcsaqRurYaHmKyHciDO9vKlDZWGZo4R5BM6Bi0hHKmtcVjeUfWP__6xXSbY6SUKl20qXD6FbAHgqMPtGJZ2tg5E1EA-- Received: from [12.48.198.2] by web63905.mail.re1.yahoo.com via HTTP; Fri, 22 Feb 2008 10:35:34 PST Date: Fri, 22 Feb 2008 10:35:34 -0800 (PST) From: samir shaikh Subject: Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java To: axis-user@ws.apache.org In-Reply-To: <47BD97BE.9040704@ittc.ku.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <553670.57440.qm@web63905.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Leon, I was able to get around to the service not executing the function by defining a simple servlet as the event listeners vs. using the listener service in the sample code. I see a SOAP message as an event, do you of a way to tweek this to get a simple xml. What advantage did you get by moving from AXIOM to ADB. Samir --- Leon Searl wrote: > Hi Samir, > > No we are getting into an area that I am not very > familiar with. > > I saw the same behavior with the savan sample. > I turned on a whole bunch of debugging and found > out that the publication message within the > listener service was getting > through most of the phases but seemed to be > getting dropped at the point where > axis2 uses reflection to try to find the method > in the service implementation class to invoke for > the operation. I did not look any further > to try to determine what the problem was. > > I made a whole bunch of changes to savan to > support services and clients using ADB instead > of Axiom which > seems to have solved the problem for me. > > leon > > samir shaikh wrote: > > Leon, > > > > I was just hoping to include a payload in the > > subscribe request... but apparently as per the > > specification thats not the way this is supposed > to > > work. > > > > I also noticed that it looks like fireandforget > method > > is used for publishing events to the event > listener. > > In my case the event does not appear to be getting > > processed by the listener even though a Http > Status > > code is being returned by the ListenerService. > > > > I suspect this because I can see the same behavior > > when I do a fireandforget vs. a sendRecieve from > my > > subscriber client. > > > > Any ideas or configuration on the web server or on > > savan to get around to this? > > > > Samir > > > > > > --- Leon Searl wrote: > > > >> Hi Samir, > >> > >> I'm not sure what you mean. > >> I assume that what you want to do is add some > data > >> to the > >> subscription request that the publisher/eventing > >> service would then add > >> to the published data sent to a subscriber > service > >> when > >> an event occurs. > >> > >> If you take a look > >> at the specification for WS-Eventing you'll > >> see that there is not much extra that you can put > >> into the subscribe request. So I doubt that > >> it is possible to do what you ask. > >> > >> There is nothing to prevent you from adding more > >> operations to an eventing service where one > >> operation > >> would for storing the extra data that you want > >> sent out with event notifications. > >> > >> leon > >> > >> samir shaikh wrote: > >>> Hi Leon, > >>> > >>> Is there a way to put a payload in the subscribe > >>> request? I was hoping to call a service on the > >> server > >>> with the subscribe request. > >>> > >>> Thanks, > >>> Samir > >>> > >>> --- Leon Searl wrote: > >>> > >>>> Hi Samir, > >>>> > >>>> Please look at > >>>> https://issues.apache.org/jira/browse/SAVAN-4 > >>>> I've attached a couple of patches that should > fix > >>>> the > >>>> savan-config.xml issue that I described below. > >>>> > >>>> leon > >>>> > >>>> Leon Searl wrote: > >>>>> Hi Samir, > >>>>> > >>>>> I've made several changes. > >>>>> > >>>>> - There was a problem with the module class > >>>>> loader looking for the savan-config.xml > >>>>> file in the jar file. The config file does > not > >>>> get > >>>>> included in the jar if you do a clean build. > >>>>> Although it will get included in the jar if > >>>>> you do two builds in a row without a clean > >>>>> in between. > >>>>> I changed the module class init function to > >>>>> only look for the savan-config.xml in the > mar > >>>>> file. > >>>>> > >>>>> - It is redundant to have all of the classes > in > >>>>> both the jar and mar files. I made a change > >>>>> so that only the savan-module.class was in > the > >>>>> mar. > >>>>> > >>>>> - I made a change to support using ADB for the > >>>>> client, publisher and subscriber. > >>>>> > >>>>> - I was not able to make the sample work. I > >>>>> think that something must have changed > >>>>> in axis2 1.3 to stop it from working. > >>>>> Everything works until the published > messaged > >>>>> message gets to the subscriber. The message > is > >>>>> getting dropped somewhere just before the > >>>>> business logic would get invoked. I believe > >>>>> that it has something to do with addressing > >>>>> being 'on' on the publisher out side but > >>>> addressing > >>>>> not being 'on' in the subscriber. But > >>>>> I'm not sure about this. > >>>>> > >>>>> leon > >>>>> > >>>>> samir shaikh wrote: > >>>>>> Leon, > >>>>>> > >>>>>> I was able to make it work finally! > >>>>>> > >>>>>> Just curious, what changes are you making to > >>>> Savan... > >>>>>> anything that is needed to get WS-Eventing > >> going? > >>>>>> Samir > >>>>>> > >>>>>> --- Leon Searl wrote: > >>>>>> > >>>>>>> Hi Samir, > >>>>>>> > >>>>>>> I have significantly modified > >>>>>>> Savan so I don't have a stock jar and mar. > >>>>>>> I'm reluctant to give you my modified Savan > >>>>>>> since I'm sure it has bugs. > >>>>>>> > >>>>>>> leon > >>>>>>> > >>>>>>> samir shaikh wrote: > >>>>>>>> Leon, > >>>>>>>> > >>>>>>>> I'm having trouble getting maven to work > thru > >>>> my > >>>>>>>> proxy. > >>>>>>>> > >>>>>>>> Can you send me the compiled jar and mar > you > >>>>>>> mention > >>>>>>>> below? > >>>>>>>> > >>>>>>>> I'm assuming they'll be exactly the same if > i > >>>> were > >>>>>>> to > >>>>>>>> get mvn working also. > >>>>>>>> > >>>>>>>> Samir > >>>>>>>> > >>>>>>>> > >>>>>>>> --- Leon Searl wrote: > >>>>>>>> > >>>>>>>>> Hi Samir, > >>>>>>>>> > >>>>>>>>> Yes, although I have not used the mar or > jar > === message truncated === ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org