Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] Where the web services will live

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] Where the web services will live

Chronological Thread 
  • From: Scotty Logan <>
  • To: Chris Hyzer <>
  • Cc: Grouper Dev <>
  • Subject: Re: [grouper-dev] Where the web services will live
  • Date: Fri, 18 Jan 2008 15:57:48 -0800

On Jan 18, 2008, at 12:05 AM, Chris Hyzer wrote:
Yeah, its not strictly restful, but it is loose-rest (i.e. http/xml non-soap web services).

It's far from even being loose REST; REST is a bit more than "http/xml non-soap web services".

I updated the docs with examples, readme, xml input output for 4 cases: addMember SOAP, addMember Rest, addMemberSimple SOAP, addMemberSimple REST:

This is the request that's passed to the "REST" endpoint:

<ns1:addMember xmlns:ns1=" ">

Which looks more like a set of nested function calls than a representation of a group.

Please take a look at the notes from the UW meeting - Jim Fox posted this link earlier:

That's what a RESTful interface to Grouper should look like.

I understand why HTML wants GET/POST to be for different things, (GET should be idempotent), and browsers do the back button differently for GET and POST. But Im not sure why REST cares what HTTP method is used... If REST uses a post, then you cant make a link to it, must be a form. That's fine, but if you use PUT and DELETE, you cant use it with browsers, even with forms (right?)

You can't fully utilize a RESTful interface with a plain browser, which is fine, since that's not the intent of REST. REST is for service to service communication, not browser+HTML to service (but browser+HTML+JavaScript with a conforming XMLHttpRequest implementation can be RESTful - see .

Anyways, I don't think we need to worry about it since Axis/HTML doesn't support them PUT and DELETE...

Then Axis/HTML is an incredibly poor choice for a RESTful implementation. That's like saying it's OK to use a SQL database implementation that doesn't support INSERT or DELETE, but that some syntax for SELECT achieves the same result.


Archive powered by MHonArc 2.6.16.

Top of Page