On Jul 3, 2006, at 3:51 PM, Anne Thomas Manes wrote:

> - POST Account1 (decrement by 100)
> - POST Account2 (increment by 100)

No, this is hidden RPC via POST. If you want to put the accounts in  
other states, you need PUT:

--->
GET /accounts/1/balance

<---
200 Ok

<balance currency="EUR">150</balance>

and then
--->
PUT /accounts/1/balance

<balance currency="EUR">50</balance>

<---
200 Ok


(ETag header can prevent lost updates).

I will try to think of a solution for the whole example, just no time  
now.

Jan








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/service-orientated-architecture/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to