× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



OK, I'll jump in :)

I think Richard puts it quite well:

To me RESTful is anything where I can pass a formatted URL with parms of
some sort and get data back in XML, JSON or whatever format I desire.

If XMLSERVICE allows you to format the URL such that it contains in itself
the entire definition of the data to be processed, then surely it's
RESTful? Now I don't know what Richard meant here by parms, but if they are
part of the URL (as a QUERY_STRING after a '?'), then do they automatically
disqualify XMLSERVICE as RESTful? What about if they are just part of the
URL - at that point it must surely qualify?

Of course, here we're only talking about GET (and maybe POST) rather than
PUT or DELETE, since XMLSERVICE is a 'retriever', but I'd say that a GET
with parms included as part of the URL is certainly RESTful (as long as the
other bits and pieces such as statelessness are fulfilled).

Just my $0.02...

Rory

On Fri, Jan 27, 2012 at 8:29 AM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:

Scott,

this is a meaningless discussion - like - what is CGI? - in old days it was
a slow running server script - on IBM I it is a very fast binary program
that can stay
active under a HTTP server job and respond in microseconds to various
requesters.

Most people in IBM I do se a RESTful service today as a CGI program that is
active
and just waits to serve incomming requests


On Fri, Jan 27, 2012 at 5:01 PM, Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx
wrote:

So... the definition of REST depends on the performance of your system?
If you have a fast system, all web services (including the SOAP ones)
are RESTful?

If you have a slow system, do you consider all web services to be SOAP?
:-)


On 1/27/2012 9:45 AM, Henrik Rützou wrote:
Scott,

you are right in the original definition of a REST service, but today
nobody
uses PUT or DELETE and the common understanding of a REST service is
a service that is active on the server and respond to a request like a
"blink
in the eye" ;-)


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.