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.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:
Does anyone have any sample code for
WS-Eventing
in
Axis2.. Some server and client sample code
will
be
great.


--- Michele Mazzucco
<[EMAIL PROTECTED]>
wrote:

http://ws.apache.org/savan/index.html, but
the
web
site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh
wrote:
---------- Forwarded message ----------
From: Prince Singh
<[EMAIL PROTECTED]>
Date: Dec 17, 2007 6:23 PM
=== 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]

--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820     Fax: 785-864-0387
http://www.ittc.ku.edu

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

Reply via email to