Use init method.

See org.apache.axis2.Service interface.

Chuan Guo wrote:
> Hi,
> i'd like get some customed configuration informations for my service
> from the "axis2.xml" or "services.xml".
> e.g. using Parameters.
> Then I need get the AxisConfiguration or the AxisService, right? (use
> getParameter(paramName))
> 
> my question is, how can i obtain AxisConfiguration or the AxisService at
> Construct/Loading time
> of my service?
> 
> What I only know to obtain this is inserting of this method in my service:
>        "setOperationContext(OperationContext opContext)"
> using OperationContext i can get all this. But it seems that it is
> called only at the time the operation called,
> it's too late. and it seems that this method is called every time when
> operation is called.
> 
> 
> Any Tips?
> Thank you very much!
> 
> does anyone knows, can I access the web.xml for axis2 (in
> webapps/axis2/WEB-INF/) in own service?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to