On Thu, Oct 10, 2013 at 2:24 PM, Sumedha Rubasinghe <[email protected]>wrote:
> On Thu, Oct 10, 2013 at 2:15 PM, Afkham Azeez <[email protected]> wrote: > >> You will have to implement the rollback logic yourself (for example, >> making another call to rollback the affect of the first POST) >> > > What if rollback fails? :) > Without an external transaction controller, implementing this model is > impractical. Isn't it? > Yeah, perhaps, if Ratha explains what the real requirment is, instead of saying we want transactions in REST, we may think of another solution :) > > >> >> >> On Thu, Oct 10, 2013 at 2:10 PM, Sumedha Rubasinghe <[email protected]>wrote: >> >>> There is not. >>> >>> >>> On Thu, Oct 10, 2013 at 2:04 PM, Vijayaratha Vijayasingam < >>> [email protected]> wrote: >>> >>>> Hi; >>>> *Our requirement;* >>>> We have two POST requests which are related to each other. In this >>>> case, if one POST failed, how can we control it?(eg: a transaction >>>> rollback) >>>> >>>> Is there a way to define multiple statements as a single statement and >>>> do a RESTful transaction? >>>> Thanks >>>> -Ratha >>>> mobile: (+94)755906608 >>>> >>> >>> >>> >>> -- >>> /sumedha >>> m: +94 773017743 >>> b : bit.ly/sumedha >>> >> >> >> >> -- >> *Afkham Azeez* >> Director of Architecture; WSO2, Inc.; http://wso2.com >> Member; Apache Software Foundation; http://www.apache.org/ >> * <http://www.apache.org/>** >> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >> * >> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >> * >> * >> *Lean . Enterprise . Middleware* >> > > > > -- > /sumedha > m: +94 773017743 > b : bit.ly/sumedha > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>** email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
