Jess,

one option is to include a normal servlet in your Axis webapp.  Set it to 
load at startup, read init-params, and hang whatever variables you need in 
the ServletContext.  This isn't "pure" Axis, but it works.  You can get at 
the ServletContext like this:

MessageContext msgC = MessageContext.getCurrentContext();
ServletContext sc = 
((HttpServlet)msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext();

Andrew

At 12:26 PM 6/24/2002 -0400, you wrote:
>Is there any way in the current Axis system (nightly builds) to pass
>configuration parameters to a Web Service?
>
>I need to pass some filesystem path information which would normally be
>passed using init-params to servlets, but I'm unsure how to do a similar
>thing with Axis.
>
>What are my options?
>
>Thanks,
>--
>=======================================
>Jess Sightler
>Programmer
>Exim Technologies
>131 Falls Street
>Greenville SC 29601
>Phone: 864-679-4651
>=======================================



Reply via email to