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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
> >>>>>>
> >>>>>>> Hi Samir,
> >>>>>>>
> >>>>>>> Yes, although I have not used the mar or jar
> >> yet
> >>>>>>> so I dont know if it has any problems.
> >>>>>>>
> >>>>>>> In the trunk/java directory I did the
> >> following
> >>>>>>> command:
> >>>>>>> mvn package
> >>>>>>> The mar shows up in:
> >>>>>>>
> >> trunk/java/modules/mar/target/savan-SNAPSHOT.mar
> >>>>>>> The jar (for the service and client API)
> shows
> >> up
> >>>>> in
> >> trunk/java/modules/core/target/savan-SNAPSHOT.jar
> >>>>>>> The sample code gets compiled and shows up
> in:
> >>>>>>>
> >
>
trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar
> >>>>>>> This requires that you have maven installed.
> >> I'm
> >>>>>>> also
> >>>>>>> using java 1.5.
> >>>>>>>
> >>>>>>> I hope this helps.
> >>>>>>>
> >>>>>>> Maybe tomorrow I'll actually try my own
> >> service
> >>>>> and
> >>>>>>> client/service
> >>>>>>> to see if I can get it to work.
> >>>>>>>
> >>>>>>> Other than the javadocs I have not found any
> >>>>> other
> >>>>>>> documentation
> >>>>>>> so you are on your own there unless someone
> >> tells
> >>>>> us
> >>>>>>> where to find
> >>>>>>> some documentation. Looking at the javadocs
> >> and
> >>>>> the
> >>>>>>> example the API
> >>>>>>> does not look too hard to figure out though.
> >>>>>>>
> >>>>>>> leon
> >>>>>>>
> >>>>>>> samir shaikh wrote:
> >>>>>>>> Hi Leon,
> >>>>>>>>
> >>>>>>>> Are you able to build the mar module file?
> >>>>>>>>
> >>>>>>>> Thanks,
> >>>>>>>> Samir
> >>>>>>>>
> >>>>>>>> --- Leon Searl <[EMAIL PROTECTED]> wrote:
> >>>>>>>>
> >>>>>>>>> Hi Samir,
> >>>>>>>>>
> >>>>>>>>> I just did this today.
> >>>>>>>>>
> >>>>>>>>> Go to
> >>>>>>>>>
> >> http://ws.apache.org/savan/source-repository.html
> >>>>>>>>> and do the Anonymouse access svn checkout.
> 
=== message truncated ===



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


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

Reply via email to