Search the web
Sign In
New User? Sign Up
rest-discuss · REST Discussion Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
REST Tutorial   Message List  
Reply | Forward Message #1286 of 14031 |
Re: [rest-discuss] REST Tutorial

Paul Prescod wrote:
>
> Interesting point.

Whoah!

Are the lines of communication cracking open, if even a tiny bit?

;-)

> For instance if I
> do a createStockTicker("RUBY") message, can any existing SOAP toolkit
> return:
>
> <NewTickerURI>http://www...../RUBY</NewTickerURI>
>
> And then have the client do method calls against the newly created
> endpoint.

Would Axis count? When Axis is deployed as a servlet, one can map a
url-pattern to the AxisServlet. One can then deploy a transport specific
handler which obtains the relative path and does something appropriate with
that information.

> WSDL certainly does not support strongly and statically type
> declaring this interaction. That's its biggest flaw when it comes to
> REST.

Several points. First, WSDL need not be strongly typed. I provide a
complete and working example of this in
http://radio.weblogs.com/0101679/stories/2002/02/15/aBusyDevelopersGuideToWsdl11\
.html.


Second, it is possible that a WSDL could be generated dynamically for such
URLs. And finally, WSDL is not required.

> I've thought about the idea of a REST-on-SOAP
> and found a few problems

I won't go point by point through these at this time. I feel that you do
have a legitimate beef about SOAP over HTTP, but continue to make
distracting and somewhat irrelevant points, and I would like to focus first
on the core issues. For example, a position that SOAP over HTTP should
never be used is one that I see as internally self consistent, but not one
that says that HTTP should have a default port, but SOAP over HTTP should
not.

The next step is to discuss the relationship between HTTP and REST. There
are not synonymous. In particular, there are quite a number of uses of
HTTP that are inconsistent with REST, including most CGI based
applications, and by implication most servlets, ASPs, ColdFusion
applications, PHP applications and the like. And don't even begin to
mention cookies...

Yet none of these seem to inspire the vitriol that SOAP has received.

> Actually, I am interested in this also, but I have a feeling that we
> would disagree on the virtues of SOAP. Nevertheless, it would be
> illuminating for me to hear your list of what SOAP has to offer REST.

Again, I think we need to separate REST and HTTP first. And establish that
HTTP is not the one answer to every question.

A good place to start that discussion is with Don Box's observations:
http://zdnet.com.com/2100-1105-845220.html

- Sam Ruby




Mon May 20, 2002 12:41 am

sa3ruby
Offline Offline
Send Email Send Email

Forward
Message #1286 of 14031 |
Expand Messages Author Sort by Date

I have posted my first release of a tutorial on REST[1]. I would appreciate it if you would notify me if you notice any mistakes, or have suggestions on...
Roger L. Costello
costello@...
Send Email
May 18, 2002
10:05 pm

Looks like an excellent summary! I'll just go through some nits. Here are some points to consider. Slide 5: "http://www.parts-depot.com/parts-list?flavor=xml" ...
Paul Prescod
paul@...
Send Email
May 19, 2002
5:14 am

Thanks a lot Paul! I have incorporated all of your suggestions, as well as added new material. I think that my Parts Depot example is now in line with your ...
Roger L. Costello
costello@...
Send Email
May 19, 2002
4:54 pm

... I'm very interested in reading your tutorial. Unfortunately I haven't worked out how to view ppt files in Linux yet, nor do I think I should have to. So...
xemplify
Offline Send Email
May 19, 2002
5:09 pm

... I agree you shouldn't have to, but if you want to, StarOffice/OpenOffice and KPresenter have PowerPoint import filters. I haven't used them a whole lot,...
Matt Gushee
mcgushee
Offline Send Email
May 19, 2002
5:50 pm

Hi ... I didn't have any luck with it either using OpenOffice (got the lines and boxes but no text). Generally I find that the free office viewers from MS...
Chris Croome
chriscroome
Offline Send Email
May 19, 2002
6:43 pm

... Or Google could expose a REST interface to their PPT->HTML rendering engine. ;) Paul Prescod...
Paul Prescod
paul@...
Send Email
May 19, 2002
5:47 pm

First the nits: * a more "RESTful" version of the xlink:href would expose the part as a part of the path and not merely as a query expression. In other...
Sam Ruby
sa3ruby
Offline Send Email
May 19, 2002
6:36 pm

... Interesting point. ... True. But HTTP defines a way to transform a URI into bit stream (GET $URI). SOAP does not. ... That is certainly true for URLs known...
Paul Prescod
paul@...
Send Email
May 19, 2002
7:29 pm

... Whoah! Are the lines of communication cracking open, if even a tiny bit? ;-) ... Would Axis count? When Axis is deployed as a servlet, one can map a ...
Sam Ruby
sa3ruby
Offline Send Email
May 20, 2002
12:42 am

... So far, so good, but ... ... Where do you get that idea? I don't claim to be a REST wizard, but I've been following this discussion for 3 months, and I...
Matt Gushee
mcgushee
Offline Send Email
May 20, 2002
2:04 am

... ASP.NET webforms for one always use POST regardless of whether its apropriate. Cheers Simon...
simonfell99
Offline Send Email
May 20, 2002
3:30 am

... http://lists.w3.org/Archives/Public/www-tag/2002Apr/0181.html This was written by the same Roy T. Fielding that wrote: ...
Sam Ruby
sa3ruby
Offline Send Email
May 20, 2002
2:14 am

... Is this simple or rocket science? Maybe you could write a tutorial one day. ... WSDL is not required in a theoretical sense but it is in a practical sense....
Paul Prescod
papresco
Offline Send Email
May 20, 2002
2:14 am

... My current feeling is that whatever I write - even if it directly addresses a question or concern you have expressed - you will pick it apart and call it...
Sam Ruby
sa3ruby
Offline Send Email
May 20, 2002
2:53 am

... From: "Sam Ruby" <rubys@...> ... of ... I don't think that many architectures define representations. You know - 'architecture' 'design'...
S. Mike Dierken
mdierken
Offline Send Email
May 20, 2002
3:23 am

... Agreed. I am actually trying to tease out the distinction between REST and HTTP. I see people outraged when SOAP uses POST when it could have equally...
Sam Ruby
sa3ruby
Offline Send Email
May 20, 2002
4:20 am

... From: "Sam Ruby" <rubys@...> ... I would like to see these two in counterpoint also. Comparisons of other systems to the facets of REST can help...
S. Mike Dierken
mdierken
Offline Send Email
May 20, 2002
5:00 am

... Care to comment on frames and cookies? - Sam Ruby...
Sam Ruby
sa3ruby
Offline Send Email
May 20, 2002
6:26 am

... I was only trying to get a more accurate sense of whether it was feasible to use SOAP in a URI-sensible manner in the real world. Everything I've heard so...
Paul Prescod
papresco
Offline Send Email
May 20, 2002
7:21 am

... From: "Sam Ruby" <rubys@...> ... Frames are an issue with a particular representation language (html) and the client(s) built to handle it. I don't...
S. Mike Dierken
mdierken
Offline Send Email
May 20, 2002
4:52 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help