File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes ReST with HTTP POST Method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "ReST with HTTP POST Method " Watch "ReST with HTTP POST Method " New topic

ReST with HTTP POST Method

Bob Nedwor
Ranch Hand

Joined: Aug 17, 2005
Posts: 215

I certainly hope that not too many (preferably none) of the questions on the SCDJWS 6 exam pertain to ReST services that use the HTTP POST method. In fact, even as more of a SOAP fan, I can understand why some services are better off as ReST, when using the HTTP GET method.

But trying to code a decent client that sends and receives an HTTP POST to a ReST Service, using Dispatch<source>.invoke() seems overly complex, error prone, not to mention the handling of the request on the server side.

Bob N
SCJP - 1.4
SCJD - (B&S) Used 1.5 And It Runs On Solaris10
SCWCD - Thanks to HFSJ!!
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
Is this a question?


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Bob Nedwor
Ranch Hand

Joined: Aug 17, 2005
Posts: 215

Yes. Sorry. I should have asked if anyone agrees. Or is it simply my lack of experience with Java Web Services?
I agree. Here's the link:
subject: ReST with HTTP POST Method
It's not a secret anymore!