You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Paul Fremantle <pz...@gmail.com> on 2006/11/21 15:20:08 UTC

specifying rest or soap

A while back I added a mediator that sets the isRest() flag in
MessageContext to help switch between soap and rest/pox.

I think a more logical place to specify this is in the endpoint
definition. So I propose we add two optional attributes to <endpoint>

rest - means force rest on (mc.setRest(true))

soap - means force rest off (mc.setRest(false))

Ant also pointed out it would be good to add soap11 and soap12
alternatives. I'm going to wait until after the RC for that.

If neither rest/soap is specified it won't change the current value.

And you can't specify both :-)

-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: specifying rest or soap

Posted by David Illsley <da...@gmail.com>.
+1

On 22/11/06, Paul Fremantle <pz...@gmail.com> wrote:
> Sanjiva
>
> I completely agree --- I would love Axis2 to change it as well!!!
>
> Paul
>
>
> On 11/22/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> > +1, except s/rest/pox/ or s/rest/xmlhttp/.
> >
> > We are continuing the confusion started by Axis2 by using the loaded
> > "REST" word.
> >
> > Sanjiva.
> >
> > On Tue, 2006-11-21 at 21:46 +0530, Asankha C. Perera wrote:
> > > Yes, this is better than the previous suggestion and +1 to do this after
> > > the RC
> > >
> > > asankha
> > >
> > > Paul Fremantle wrote:
> > > > Actually I'm not sure I like this. Sorry for the indecision :-)
> > > >
> > > > The problem is there are three possibilities: force rest on, force
> > > > soap on, or leave alone. I was trying to capture those, and also allow
> > > > further options.
> > > >
> > > > I think maybe the right syntax is:
> > > >
> > > > force="rest|soap|soap11|soap12"
> > > >
> > > > Since the word force implies that you are overriding the default.
> > > >
> > > > Paul
> > > >
> > > >
> > > > On 11/21/06, Paul Fremantle <pz...@gmail.com> wrote:
> > > >> A while back I added a mediator that sets the isRest() flag in
> > > >> MessageContext to help switch between soap and rest/pox.
> > > >>
> > > >> I think a more logical place to specify this is in the endpoint
> > > >> definition. So I propose we add two optional attributes to <endpoint>
> > > >>
> > > >> rest - means force rest on (mc.setRest(true))
> > > >>
> > > >> soap - means force rest off (mc.setRest(false))
> > > >>
> > > >> Ant also pointed out it would be good to add soap11 and soap12
> > > >> alternatives. I'm going to wait until after the RC for that.
> > > >>
> > > >> If neither rest/soap is specified it won't change the current value.
> > > >>
> > > >> And you can't specify both :-)
> > > >>
> > > >> --
> > > >> Paul Fremantle
> > > >> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> > > >>
> > > >> http://bloglines.com/blog/paulfremantle
> > > >> paul@wso2.com
> > > >>
> > > >> "Oxygenating the Web Service Platform", www.wso2.com
> > > >>
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> > >
> > --
> > Sanjiva Weerawarana, Ph.D.
> > Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
> > Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> > Director; Open Source Initiative; http://www.opensource.org/
> > Member; Apache Software Foundation; http://www.apache.org/
> > Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >
> >
>
>
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
> http://bloglines.com/blog/paulfremantle
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
David Illsley - IBM Web Services Development

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: specifying rest or soap

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
We can work on that .. but since Synapse hasn't shipped yet let's get
Synapse fixed correctly first!

Sanjiva.

On Wed, 2006-11-22 at 11:38 +0000, Paul Fremantle wrote:
> Sanjiva
> 
> I completely agree --- I would love Axis2 to change it as well!!!
> 
> Paul
> 
> 
> On 11/22/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> > +1, except s/rest/pox/ or s/rest/xmlhttp/.
> >
> > We are continuing the confusion started by Axis2 by using the loaded
> > "REST" word.
> >
> > Sanjiva.
> >
> > On Tue, 2006-11-21 at 21:46 +0530, Asankha C. Perera wrote:
> > > Yes, this is better than the previous suggestion and +1 to do this after
> > > the RC
> > >
> > > asankha
> > >
> > > Paul Fremantle wrote:
> > > > Actually I'm not sure I like this. Sorry for the indecision :-)
> > > >
> > > > The problem is there are three possibilities: force rest on, force
> > > > soap on, or leave alone. I was trying to capture those, and also allow
> > > > further options.
> > > >
> > > > I think maybe the right syntax is:
> > > >
> > > > force="rest|soap|soap11|soap12"
> > > >
> > > > Since the word force implies that you are overriding the default.
> > > >
> > > > Paul
> > > >
> > > >
> > > > On 11/21/06, Paul Fremantle <pz...@gmail.com> wrote:
> > > >> A while back I added a mediator that sets the isRest() flag in
> > > >> MessageContext to help switch between soap and rest/pox.
> > > >>
> > > >> I think a more logical place to specify this is in the endpoint
> > > >> definition. So I propose we add two optional attributes to <endpoint>
> > > >>
> > > >> rest - means force rest on (mc.setRest(true))
> > > >>
> > > >> soap - means force rest off (mc.setRest(false))
> > > >>
> > > >> Ant also pointed out it would be good to add soap11 and soap12
> > > >> alternatives. I'm going to wait until after the RC for that.
> > > >>
> > > >> If neither rest/soap is specified it won't change the current value.
> > > >>
> > > >> And you can't specify both :-)
> > > >>
> > > >> --
> > > >> Paul Fremantle
> > > >> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> > > >>
> > > >> http://bloglines.com/blog/paulfremantle
> > > >> paul@wso2.com
> > > >>
> > > >> "Oxygenating the Web Service Platform", www.wso2.com
> > > >>
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> > >
> > --
> > Sanjiva Weerawarana, Ph.D.
> > Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
> > Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> > Director; Open Source Initiative; http://www.opensource.org/
> > Member; Apache Software Foundation; http://www.apache.org/
> > Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >
> >
> 
> 
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: specifying rest or soap

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
We can work on that .. but since Synapse hasn't shipped yet let's get
Synapse fixed correctly first!

Sanjiva.

On Wed, 2006-11-22 at 11:38 +0000, Paul Fremantle wrote:
> Sanjiva
> 
> I completely agree --- I would love Axis2 to change it as well!!!
> 
> Paul
> 
> 
> On 11/22/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> > +1, except s/rest/pox/ or s/rest/xmlhttp/.
> >
> > We are continuing the confusion started by Axis2 by using the loaded
> > "REST" word.
> >
> > Sanjiva.
> >
> > On Tue, 2006-11-21 at 21:46 +0530, Asankha C. Perera wrote:
> > > Yes, this is better than the previous suggestion and +1 to do this after
> > > the RC
> > >
> > > asankha
> > >
> > > Paul Fremantle wrote:
> > > > Actually I'm not sure I like this. Sorry for the indecision :-)
> > > >
> > > > The problem is there are three possibilities: force rest on, force
> > > > soap on, or leave alone. I was trying to capture those, and also allow
> > > > further options.
> > > >
> > > > I think maybe the right syntax is:
> > > >
> > > > force="rest|soap|soap11|soap12"
> > > >
> > > > Since the word force implies that you are overriding the default.
> > > >
> > > > Paul
> > > >
> > > >
> > > > On 11/21/06, Paul Fremantle <pz...@gmail.com> wrote:
> > > >> A while back I added a mediator that sets the isRest() flag in
> > > >> MessageContext to help switch between soap and rest/pox.
> > > >>
> > > >> I think a more logical place to specify this is in the endpoint
> > > >> definition. So I propose we add two optional attributes to <endpoint>
> > > >>
> > > >> rest - means force rest on (mc.setRest(true))
> > > >>
> > > >> soap - means force rest off (mc.setRest(false))
> > > >>
> > > >> Ant also pointed out it would be good to add soap11 and soap12
> > > >> alternatives. I'm going to wait until after the RC for that.
> > > >>
> > > >> If neither rest/soap is specified it won't change the current value.
> > > >>
> > > >> And you can't specify both :-)
> > > >>
> > > >> --
> > > >> Paul Fremantle
> > > >> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> > > >>
> > > >> http://bloglines.com/blog/paulfremantle
> > > >> paul@wso2.com
> > > >>
> > > >> "Oxygenating the Web Service Platform", www.wso2.com
> > > >>
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> > >
> > --
> > Sanjiva Weerawarana, Ph.D.
> > Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
> > Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> > Director; Open Source Initiative; http://www.opensource.org/
> > Member; Apache Software Foundation; http://www.apache.org/
> > Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >
> >
> 
> 
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: specifying rest or soap

Posted by Paul Fremantle <pz...@gmail.com>.
Sanjiva

I completely agree --- I would love Axis2 to change it as well!!!

Paul


On 11/22/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> +1, except s/rest/pox/ or s/rest/xmlhttp/.
>
> We are continuing the confusion started by Axis2 by using the loaded
> "REST" word.
>
> Sanjiva.
>
> On Tue, 2006-11-21 at 21:46 +0530, Asankha C. Perera wrote:
> > Yes, this is better than the previous suggestion and +1 to do this after
> > the RC
> >
> > asankha
> >
> > Paul Fremantle wrote:
> > > Actually I'm not sure I like this. Sorry for the indecision :-)
> > >
> > > The problem is there are three possibilities: force rest on, force
> > > soap on, or leave alone. I was trying to capture those, and also allow
> > > further options.
> > >
> > > I think maybe the right syntax is:
> > >
> > > force="rest|soap|soap11|soap12"
> > >
> > > Since the word force implies that you are overriding the default.
> > >
> > > Paul
> > >
> > >
> > > On 11/21/06, Paul Fremantle <pz...@gmail.com> wrote:
> > >> A while back I added a mediator that sets the isRest() flag in
> > >> MessageContext to help switch between soap and rest/pox.
> > >>
> > >> I think a more logical place to specify this is in the endpoint
> > >> definition. So I propose we add two optional attributes to <endpoint>
> > >>
> > >> rest - means force rest on (mc.setRest(true))
> > >>
> > >> soap - means force rest off (mc.setRest(false))
> > >>
> > >> Ant also pointed out it would be good to add soap11 and soap12
> > >> alternatives. I'm going to wait until after the RC for that.
> > >>
> > >> If neither rest/soap is specified it won't change the current value.
> > >>
> > >> And you can't specify both :-)
> > >>
> > >> --
> > >> Paul Fremantle
> > >> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> > >>
> > >> http://bloglines.com/blog/paulfremantle
> > >> paul@wso2.com
> > >>
> > >> "Oxygenating the Web Service Platform", www.wso2.com
> > >>
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >
> --
> Sanjiva Weerawarana, Ph.D.
> Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
> Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> Director; Open Source Initiative; http://www.opensource.org/
> Member; Apache Software Foundation; http://www.apache.org/
> Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: specifying rest or soap

Posted by Paul Fremantle <pz...@gmail.com>.
Sanjiva

I completely agree --- I would love Axis2 to change it as well!!!

Paul


On 11/22/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> +1, except s/rest/pox/ or s/rest/xmlhttp/.
>
> We are continuing the confusion started by Axis2 by using the loaded
> "REST" word.
>
> Sanjiva.
>
> On Tue, 2006-11-21 at 21:46 +0530, Asankha C. Perera wrote:
> > Yes, this is better than the previous suggestion and +1 to do this after
> > the RC
> >
> > asankha
> >
> > Paul Fremantle wrote:
> > > Actually I'm not sure I like this. Sorry for the indecision :-)
> > >
> > > The problem is there are three possibilities: force rest on, force
> > > soap on, or leave alone. I was trying to capture those, and also allow
> > > further options.
> > >
> > > I think maybe the right syntax is:
> > >
> > > force="rest|soap|soap11|soap12"
> > >
> > > Since the word force implies that you are overriding the default.
> > >
> > > Paul
> > >
> > >
> > > On 11/21/06, Paul Fremantle <pz...@gmail.com> wrote:
> > >> A while back I added a mediator that sets the isRest() flag in
> > >> MessageContext to help switch between soap and rest/pox.
> > >>
> > >> I think a more logical place to specify this is in the endpoint
> > >> definition. So I propose we add two optional attributes to <endpoint>
> > >>
> > >> rest - means force rest on (mc.setRest(true))
> > >>
> > >> soap - means force rest off (mc.setRest(false))
> > >>
> > >> Ant also pointed out it would be good to add soap11 and soap12
> > >> alternatives. I'm going to wait until after the RC for that.
> > >>
> > >> If neither rest/soap is specified it won't change the current value.
> > >>
> > >> And you can't specify both :-)
> > >>
> > >> --
> > >> Paul Fremantle
> > >> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> > >>
> > >> http://bloglines.com/blog/paulfremantle
> > >> paul@wso2.com
> > >>
> > >> "Oxygenating the Web Service Platform", www.wso2.com
> > >>
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >
> --
> Sanjiva Weerawarana, Ph.D.
> Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
> Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> Director; Open Source Initiative; http://www.opensource.org/
> Member; Apache Software Foundation; http://www.apache.org/
> Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: specifying rest or soap

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
+1, except s/rest/pox/ or s/rest/xmlhttp/. 

We are continuing the confusion started by Axis2 by using the loaded
"REST" word.

Sanjiva.

On Tue, 2006-11-21 at 21:46 +0530, Asankha C. Perera wrote:
> Yes, this is better than the previous suggestion and +1 to do this after 
> the RC
> 
> asankha
> 
> Paul Fremantle wrote:
> > Actually I'm not sure I like this. Sorry for the indecision :-)
> >
> > The problem is there are three possibilities: force rest on, force
> > soap on, or leave alone. I was trying to capture those, and also allow
> > further options.
> >
> > I think maybe the right syntax is:
> >
> > force="rest|soap|soap11|soap12"
> >
> > Since the word force implies that you are overriding the default.
> >
> > Paul
> >
> >
> > On 11/21/06, Paul Fremantle <pz...@gmail.com> wrote:
> >> A while back I added a mediator that sets the isRest() flag in
> >> MessageContext to help switch between soap and rest/pox.
> >>
> >> I think a more logical place to specify this is in the endpoint
> >> definition. So I propose we add two optional attributes to <endpoint>
> >>
> >> rest - means force rest on (mc.setRest(true))
> >>
> >> soap - means force rest off (mc.setRest(false))
> >>
> >> Ant also pointed out it would be good to add soap11 and soap12
> >> alternatives. I'm going to wait until after the RC for that.
> >>
> >> If neither rest/soap is specified it won't change the current value.
> >>
> >> And you can't specify both :-)
> >>
> >> -- 
> >> Paul Fremantle
> >> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> >>
> >> http://bloglines.com/blog/paulfremantle
> >> paul@wso2.com
> >>
> >> "Oxygenating the Web Service Platform", www.wso2.com
> >>
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
> 
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: specifying rest or soap

Posted by "Asankha C. Perera" <as...@wso2.com>.
Yes, this is better than the previous suggestion and +1 to do this after 
the RC

asankha

Paul Fremantle wrote:
> Actually I'm not sure I like this. Sorry for the indecision :-)
>
> The problem is there are three possibilities: force rest on, force
> soap on, or leave alone. I was trying to capture those, and also allow
> further options.
>
> I think maybe the right syntax is:
>
> force="rest|soap|soap11|soap12"
>
> Since the word force implies that you are overriding the default.
>
> Paul
>
>
> On 11/21/06, Paul Fremantle <pz...@gmail.com> wrote:
>> A while back I added a mediator that sets the isRest() flag in
>> MessageContext to help switch between soap and rest/pox.
>>
>> I think a more logical place to specify this is in the endpoint
>> definition. So I propose we add two optional attributes to <endpoint>
>>
>> rest - means force rest on (mc.setRest(true))
>>
>> soap - means force rest off (mc.setRest(false))
>>
>> Ant also pointed out it would be good to add soap11 and soap12
>> alternatives. I'm going to wait until after the RC for that.
>>
>> If neither rest/soap is specified it won't change the current value.
>>
>> And you can't specify both :-)
>>
>> -- 
>> Paul Fremantle
>> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>>
>> http://bloglines.com/blog/paulfremantle
>> paul@wso2.com
>>
>> "Oxygenating the Web Service Platform", www.wso2.com
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: specifying rest or soap

Posted by Paul Fremantle <pz...@gmail.com>.
Actually I'm not sure I like this. Sorry for the indecision :-)

The problem is there are three possibilities: force rest on, force
soap on, or leave alone. I was trying to capture those, and also allow
further options.

I think maybe the right syntax is:

force="rest|soap|soap11|soap12"

Since the word force implies that you are overriding the default.

Paul


On 11/21/06, Paul Fremantle <pz...@gmail.com> wrote:
> A while back I added a mediator that sets the isRest() flag in
> MessageContext to help switch between soap and rest/pox.
>
> I think a more logical place to specify this is in the endpoint
> definition. So I propose we add two optional attributes to <endpoint>
>
> rest - means force rest on (mc.setRest(true))
>
> soap - means force rest off (mc.setRest(false))
>
> Ant also pointed out it would be good to add soap11 and soap12
> alternatives. I'm going to wait until after the RC for that.
>
> If neither rest/soap is specified it won't change the current value.
>
> And you can't specify both :-)
>
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
> http://bloglines.com/blog/paulfremantle
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org