[AXIS2] Builders and formatters for REST

2007-03-01 Thread keith chapman
Hi all, I have implemented messageformatters and messageBuilders for REST. The following message formatters have been set in the default axis2.xml. I have added builders for the respective content Types as well. I have not added the MultipartFormDataBuilder to the default axis2.xml because a

Re: [AXIS2] Builders and formatters for REST

2007-03-02 Thread Saminda Abeyruwan
Hi Keith, If the given default message formatters or message builders not given in the axis2.xml, would it still be available at runtime. Thank you Saminda On 3/1/07, keith chapman <[EMAIL PROTECTED]> wrote: Hi all, I have implemented messageformatters and messageBuilders for REST. The foll

Re: [AXIS2] Builders and formatters for REST

2007-03-02 Thread Thilina Gunarathne
Yes... The default builders & formatters will be available at the run time even if not given in the axis2.xml ~Thilina On 3/2/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote: Hi Keith, If the given default message formatters or message builders not given in the axis2.xml, would it still be ava

Re: [AXIS2] Builders and formatters for REST

2007-03-02 Thread Sanjiva Weerawarana
?? Then why do we bother to list them .. is there any way to change the defaults? (Not a likely case I agree but still.) I'm unclear why we wouldn't do these like xports .. you get what you list in axis2.xml or add dynamically via the AxisConfig object. Sanjiva. Thilina Gunarathne wrote: Ye

Re: [AXIS2] Builders and formatters for REST

2007-03-02 Thread Thilina Gunarathne
Hi, ?? Then why do we bother to list them .. is there any way to change the defaults? (Not a likely case I agree but still.) Yes.. Defaults can be overridden by the axis2.xml.. No need to specify them if you don't want to override that mapping... I'm unclear why we wouldn't do these like xport

Re: [AXIS2] Builders and formatters for REST

2007-03-04 Thread Sanjiva Weerawarana
Thilina Gunarathne wrote: I'm unclear why we wouldn't do these like xports .. you get what you list in axis2.xml or add dynamically via the AxisConfig object. My preference would be to specify all the builders & formatters via the axis2.xml.. But we had to make the SOAP, MIME, MTOM builders adde

Re: [AXIS2] Builders and formatters for REST

2007-03-04 Thread Davanum Srinivas
Sanjiva, My guess is Thilina did this so old axis2.xml's will still work w/o having to add these entries. -- dims On 3/4/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote: Thilina Gunarathne wrote: >> I'm unclear why we wouldn't do these like xports .. you get what you list >> in axis2.xml or

Re: [AXIS2] Builders and formatters for REST

2007-03-04 Thread Sanjiva Weerawarana
Davanum Srinivas wrote: Sanjiva, My guess is Thilina did this so old axis2.xml's will still work w/o having to add these entries. The new code will require users to use a nightly or upgrade to the upcoming 1.2. So I'm not sure its worth it .. because all of these things surprise users: someo

Re: [AXIS2] Builders and formatters for REST

2007-03-04 Thread Thilina Gunarathne
Hi, On 3/5/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote: Davanum Srinivas wrote: > Sanjiva, > > My guess is Thilina did this so old axis2.xml's will still work w/o > having to add these entries. Yes... That was the very reason.. The new code will require users to use a nightly or upgrade

Re: [AXIS2] Builders and formatters for REST

2007-03-04 Thread David Illsley
+1 I really dislike having some config hard-coded in. It's really counter-intuitive. David On 05/03/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote: Davanum Srinivas wrote: > Sanjiva, > > My guess is Thilina did this so old axis2.xml's will still work w/o > having to add these entries. The ne