axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RICHARD FEATHERSTONE <ricsho...@btinternet.com>
Subject Re: Obtaining Parameters in Handler
Date Thu, 03 Apr 2008 12:38:47 GMT
I don't want to read these parameters in the invoke method each time the handler is called.


I want to get the configuration information when the handler is initialised in the AbstractHandler.init(HandlerDescription)
method. 

When I call getParameter() from here I get null, when I call getParent().getParameter() I
get null.

I have tried placing the parameter details in the axis2.xml and the services.xml but am unable
to get them.

Thx

R



----- Original Message ----
From: Deepal jayasinghe <deepalk@gmail.com>
To: axis-user@ws.apache.org
Sent: Thursday, 3 April, 2008 12:24:51 PM
Subject: Re: Obtaining Parameters in Handler

RICHARD FEATHERSTONE wrote:
> Hi,
>  
> I want to be able to configure a module in the services.xml for each 
> for each service that uses the module and obtain the parameters in the 
> init method of each of the handers in the module.
Hmm ,you can not do this. What you can do that is do some processing on 
module engagement time.
>  
> Can anyone tell me how I can obtain the Parameters by name from the 
> HandlerDescription?
AxisService.getParamter() or messgeContext.getParameter().

-Deepal

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