File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes RESTful Web Services supports only bottom-up(approach) ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "RESTful Web Services supports only bottom-up(approach) ?" Watch "RESTful Web Services supports only bottom-up(approach) ?" New topic
Author

RESTful Web Services supports only bottom-up(approach) ?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1373
Whether RESTful Web Services supports only bottom-up(approach)- creating java binding classes first then expose it as a WebService because no need of WSDL-SOAP bindiing and type checking thru XSD?
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Theoretically, both WADL and WSDL 2.0 can be used to describe RESTful web services.
As far as I have seen, practical use is limited, as is tool support.
There are a number of other options in, for instance NetBeans, that allow you to create a RESTful web service from an entity class, a database table etc etc. Perhaps these may be considered as different compared to the bottom-up approach you describe.
Finally, I still find the use of XML schemas in connection to RESTful web services perfectly valid. In some cases, you may require stronger checking of message payloads than JSON schema can offer.
Best wishes!

My free books and tutorials: http://www.slideshare.net/krizsan
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1373
Finally, I still find the use of XML schemas in connection to RESTful web services perfectly valid. In some cases, you may require stronger checking of message payloads than JSON schema can offer.

How XML schemas in connection to RESTful web services without SOAP bindings in RESTful web services ?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1373
Ivan, Any udpate ?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RESTful Web Services supports only bottom-up(approach) ?