Hi,

services.xml can have parameter name, value pairs defined as this.

<service>
   <parameter name="name1">value1</parameter>
</service>

They can be accessed by

Parameter parameter = msgCtx.getParameter("name1");


Upul


On Fri, Mar 7, 2008 at 5:05 PM, Moley Harey <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have developed a web service using Axis2 and I would like to store in a
> file some common configuration parameters of my service.
>
> What is the best way to do so?
>
> I was thinking about doing an XML file by myself, store there the
> parameters and implement some methods to parse the file and retrieve the
> values...
> This file will be placed under WEB-INF folder, so how can I access this
> resource from my Java code?
>
> Does Axis2 provide any XML file and methods to store and retrieve service
> configuration parameters?
>
> Thanks in advance!
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Para atras, solo para tomar impulso!
>
> http://chromewaves.blogspot.com/

Reply via email to