You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Adam Edgar <ae...@research.att.com> on 2009/06/16 01:36:06 UTC
Get parameter value from services.xml
Is there a way to get the value of a parameter set in the services.xml
file from within the class handling the requests? I've looked through
the documentation and seem to be going in circles.
Basically I'd like to see something like this:
String param = (String) service.getParameterValue("param-name");
ASE
Re: Get parameter value from services.xml
Posted by Deepal jayasinghe <de...@gmail.com>.
You can get that from the MessgeContext, and you can get the
messagecontext from almost any place, once you have that you can read
the parameter as;
msgctx.getParameter("name");
Thanks,
Deepal
> Is there a way to get the value of a parameter set in the services.xml
> file from within the class handling the requests? I've looked through
> the documentation and seem to be going in circles.
>
> Basically I'd like to see something like this:
>
> String param = (String) service.getParameterValue("param-name");
>
> ASE
>
--
Thank you!
http://blogs.deepal.org
http://deepal.org