Re: Web Service 'IPersist' Interface?
Mark Baker <[email protected]>
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 20, 2002 at 12:18:10PM -0700, David Ing wrote: > If this was 5 years ago I would be reaching for 'IPeristStreamInit' with > its Load/Save. I know that HTTP intrinsically has its GET/POST verbs but > we're looking for slightly more, i.e. Create, Load, Save, Update, Remove, > List, y'know the usual suspects. You can do those with GET/PUT/POST/DELETE, I believe. "Create" can be done in one of two ways; if the agent doing the creating knows the URI, then you can use PUT. If it doesn't know the URI, and wants the server to return one, it can POST the data to some container and then will receive a 201 response with the URI indicated in the Location header. "Load" is probably just GET. "Save" would be PUT, since presumably you know the URI of what it is you're saving - otherwise use POST as above. "Update" - is this different than save? "Remove" would be DELETE. MB -- Mark Baker, CTO, Idokorro Mobile (formerly Planetfred) Ottawa, Ontario, CANADA. [email protected] http://www.markbaker.ca http://www.idokorro.com You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other DevelopMentor lists at http://discuss.develop.com.