axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva" <supu...@gmail.com>
Subject Re: Accessing Services.xml from within a running service?
Date Tue, 21 Oct 2008 04:23:05 GMT
Hi all,

At the moment we cannot access any of Axis2 configuration from the init
method. I believe this is a pretty useful feature. How about adding a field
to the axis2_svc_skeleton_t to hold the configuration context so that users
can access it when they are in the init method.

Any thoughts?

Supun..

On Mon, Oct 20, 2008 at 7:21 PM, Tony Hoyt <gmtonyhoyt@yahoo.com> wrote:

> --- On Thu, 10/16/08, Manjula Peiris <manjula@wso2.com> wrote:
> > From: Manjula Peiris <manjula@wso2.com>
> > Subject: Re: Accessing Services.xml from within a running service?
> > To: gmtonyhoyt@yahoo.com
> > > But, I'm a little confused how do I build the
> > > axis2_msg_ctx_t object.  It looks like I need a
> > > axis2_conf_ctx object and other information.  But, where
> > > does that all come from?
> >
> > You don't need to create it from your service. It is
> > passed in to your
> > service invoke method in the service skeleton.
>
> Now I see what your talking about, but the location is bad for me.  I need
> the parameters during my services init phase, not when I'm taking a service
> call.  So when my services axis2_get_instance() is called, I need to get
> access to the parameters.  Is that possible?
>
> "Opportunities multiply as they are seized." - Sun Tzu
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>


-- 
Software Engineer, WSO2 Inc
http://wso2.org

Mime
View raw message