axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ebert, Chris" <chris.eb...@hp.com>
Subject RE: Simple Axis2 service in transport session scope, which method is called with each request?
Date Mon, 25 Jun 2007 18:11:12 GMT
You should be able to get what you want by implementing a Handler and
adding it to the chain. I use Axis 1.2, so maybe it's a little out of
date, but in the ~.wsdd file you can configure handler objects that are
executed in sequence whenever a request comes in. There are a couple of
places, the 'requestFlow' and 'responseFlow' sections seem likely.

Chris 

-----Original Message-----
From: fat suze [mailto:fat.suze@gmail.com] 
Sent: Monday, June 25, 2007 10:59
To: axis-user@ws.apache.org
Subject: Simple Axis2 service in transport session scope, which method
is called with each request?

I sent this on Saturday but I'm pretty sure it didn't make it through to
the list.  I'm sorry if this is a repeat post.

---------- Forwarded message ----------
From: fat suze <fat.suze@gmail.com>
Date: Jun 23, 2007 9:28 PM
Subject: Simple Axis2 service in transport session scope, which method
is called with each request?
To: axis-user@ws.apache.org <mailto:axis-user@ws.apache.org> 


I'm trying to find a method that is called every time my service is
accessed.  There is init(ServiceContext) and destroy(ServiceContext)
that is called at the start of each session, but that doesn't help (at
least in transport scope - because that is called at the start/end of
each session I believe). 
 
After hours of googling, I've found mention of two things that don't
seem to actually exist anymore (I assume they did at some point in time)
- 
 
1) init(MessageContext), which was mentioned on
http://www.developer.com/open/print.php/10930_3589126_3 
 
and
 
2) public void setOperationContext(OperationContext operationContext)
which is mentioned at
http://www.developer.com/java/web/article.php/3620661
<http://www.developer.com/java/web/article.php/3620661> 
 
Neither of these seem to work, but obviously there is some simple way to
do something before each operation.... I just can't find the
documentation on it!
 
Please help, thanks
 
Susie

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message