Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-23 Thread Leon S. Searl
Hi Samir,
Embedded comments...
 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.

You have entered an area that I have not ventured into.
I can't help you here.


 What advantage did you get by moving from AXIOM to
 ADB.

All of the clients an services that I've written have been using
ADB so I wanted to continue using it for eventing. The
only advantage is the one of having the data bound for you
(by the stub and message receiver) instead of having to do it
yourself.

leon


 Samir

 --- Leon Searl [EMAIL PROTECTED] 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 [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 

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-22 Thread samir shaikh
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 [EMAIL PROTECTED] 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 [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
 
=== message truncated ===



  

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-21 Thread Leon Searl

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 [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 

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread Leon Searl

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
Subject: Is there WS Eventing for Axis2/Java
To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for

Axis2/C.
Is there any 

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential,

proprietary
or legally 

Privileged information. In case you are not

the
original intended 

Recipient of the message, you must not,

directly
or indirectly, 

use, disclose, distribute, print, or copy

any

part
of this message 

and you are requested to delete it and

inform

the

sender.

Any views expressed in this message are

those

of
the individual 

sender unless otherwise stated. Nothing

contained
in this message 

shall be construed as an offer or acceptance

of
any offer by 

Drishti-Soft Solutions Pvt Ltd (Drishti)

unless
sent with that 

express intent and with due authority of

Drishti.

Drishti has taken enough precautions to

prevent
the spread of 

viruses. However the company accepts no

liability
for any damage 

caused by any virus transmitted by this

email.


Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread Leon Searl

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, 

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread samir shaikh
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]



Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread samir shaikh
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 

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-18 Thread samir shaikh
Hi,

To run the Savan sample client you need to pass in the
client repository. What are valid values here and what
is this for?

Samir


--- samir shaikh [EMAIL PROTECTED] 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
   Subject: Is there WS Eventing for
 Axis2/Java
   To: axis-user@ws.apache.org
  
   Savan/C is WS-Eventing implementation for
   Axis2/C.
   Is there any  
   Java implementation of WS-Eventing for the
   Axis2/Java?
   -
  
   Prince Singh
   Drishti-Soft Solutions Pvt Ltd
  
  
   -- 
   Regards,
   Prince Singh
  
   Drishti-Soft Solutions Pvt Ltd
   SCO-36, Sector 31
   Gurgaon, INDIA-122001
  
   P: 91 124 4085120
   F: 91 124 4039120
   W: http://www.drishti-soft.com
  
   
   DISCLAIMER
  
   This message may contain confidential,
   proprietary
   or legally  
   Privileged information. In case you are
 not
   the
   original intended  
   Recipient of the message, you must not,
   directly
   or indirectly,  
   use, disclose, distribute, print, or copy
  any
   part
   of this message  
   and you are requested to delete it and
  inform
   the
   sender.
   Any views expressed in this message are
  those
   of
   the individual  
   sender unless otherwise stated. Nothing
   contained
   in this message  
 
=== 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]



Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-18 Thread Leon Searl

Hi Samir,

The client has to use addressing to talk with the
publisher service. The addressing module
is in the repository 'modules' directory. That
is why the client needs the repository path.

What I did was to unpack the axis binary distribution
in /opt/axis2-1.3 and then pass
/opt/axis2-1.3/repository as the repository path.

I also removed all services from /opt/axis2-1.3/repository/services.

leon

samir shaikh wrote:

Hi,

To run the Savan sample client you need to pass in the
client repository. What are valid values here and what
is this for?

Samir


--- samir shaikh [EMAIL PROTECTED] 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
Subject: Is there WS Eventing for

Axis2/Java

To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for

Axis2/C.
Is there any  

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential,

proprietary
or legally  

Privileged information. In case you are

not

the
original intended  

Recipient of the message, you must not,

directly
or indirectly,  

use, disclose, distribute, print, or copy

any

part
of this message  

and you are requested to delete it and

inform

the

sender.

Any views expressed in this message are

those

of
the individual  

sender unless otherwise stated. Nothing

contained
in this message  

=== 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]