Check out ActiveResource.
Techno-Weenie has put up a nice intro. This is on Edge only at the moment and is not well documented.
http://weblog.techno-weenie.net/2006/12/12/taking-ares-out-for-a-test-drive
There are a couple of other blog posts regarding this but I don’t have any handy at the moment.
Hope that helps