axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saminda Abeyruwan" <samin...@gmail.com>
Subject Re: [Axis2] Configuring default parameters
Date Thu, 24 May 2007 12:25:59 GMT
Hi,

May be rather introducing another file, should be introduce a
<properties></properties> section like in Maven2

<properties>
     <soap.version>1.2</soap.version>
     ...
</properties>

and the elements local name such as "soap.version" will be the key.

Thank you

Saminda

On 5/24/07, Deepal Jayasinghe <deepal@opensource.lk> wrote:
>
> Hi Chinthaka ,
>
> I do agree that the idea is cool and very useful , but introducing one
> more file make the problem bit more complicated. So I personally do not
> like to introduce new file to provide the properties. Why don't we use
> axis2.xml to specify those properties ?
>
> Thanks
> Deepal
> > (Yeah, I know the subject is weird but there is nothing else that came
> > to my mind)
> >
> > There was a question in the user mailing list asking about setting soap
> > version in axis2.xml. It brought up a nice possible feature in Axis2
> > (no-one please do not "volunteer" me for this for the time being :)).
> > The default SOAP version we use to send SOAP messages is SOAP 1.1. If
> > one needs to send using SOAP 1.2, they have to set that using
> > Options.seySOAPVersion. But how can we make this permanent? It is not
> > only this property. There are numerous properties like this that are
> > there inside the engine we might be setting using Options.
> > So how about having a properties file just like in maven 1.x. In maven
> > they have project.xml which captures all the mandatory fields, but they
> > also have the optional project.properties which captures the parameters
> > that override default ones.
> > For the time being some of these parameters are in axis2.xml. If we
> > introduce this properties file we can move them also. So there are two
> > kinds of settings. Things that are dafaulted within the code and things
> > that are not. For example, there is no default for http transport
> > listerner and sendStacktraceDetailsWithFaults has a default in the code.
> > My suggestion is to keep all the non-defaulted params in axis2.xml and
> > move and have all the other properties in to something like
> > axis2.properties, which is optional of course.
> >
> >
> > What do you all think about this? I assume no-one wants have all the
> > properties inside axis2.xml and clutter it.
> >
> > Thanks,
> > Chinthaka
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
>
>
> --
> Thanks,
> Deepal
> ................................................................
> "The highest tower is built one brick at a time"
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org

Mime
View raw message