{"id":44,"date":"2002-10-25T19:16:00","date_gmt":"2002-10-25T23:16:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/?p=28"},"modified":"2002-10-25T19:16:00","modified_gmt":"2002-10-25T23:16:00","slug":"does-rest-need-wsdl","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2002\/10\/does-rest-need-wsdl\/","title":{"rendered":"Does REST need WSDL?"},"content":{"rendered":"<p><a href=\"http:\/\/www.razorsoft.net\/weblog\/\">Peter Drayton<\/a> writes that some folks have had <a href=\"http:\/\/www.razorsoft.net\/weblog\/2002\/10\/25.html#a365\">&#8220;RESTian awakenings&#8221;<\/a> as a result of his presentation, which is just awesome.  While reading up on one of his references though, I found this in <a href=\"http:\/\/radio.weblogs.com\/0112946\/2002\/10\/15.html#a46\">Alexis Smirnov&#8217;s blog<\/a> which suggests that at least some people still have a ways to go;<\/p>\n\n<blockquote>\nAfter his talk, Peter, Tim and Sam talked about a need to get a WSDL from a SOAP URI.\n<\/blockquote>\n\n<p>My response to that is, no, there is no need for WSDL.  The fundamental advancement of the Web over previous distributed object systems is that it doesn&#8217;t need an interface language because <em>all components expose a uniform interface<\/em>.<\/p>\n\n<p>An analogy; if you&#8217;re a Java programmer, think of it as working with all your objects after they&#8217;ve been downcast to <a href=\"http:\/\/java.sun.com\/j2se\/1.3\/docs\/api\/java\/lang\/Object.html\">java.lang.Object<\/a>.  Obviously java.lang.Object will only define methods which are common to all objects, so you wouldn&#8217;t expect it to have a method such as &#8220;buyBook&#8221; because not all objects are books.  This is what REST&#8217;s <a href=\"http:\/\/www.ics.uci.edu\/~fielding\/pubs\/dissertation\/rest_arch_style.htm#sec_5_1_5\">uniform interface constraint<\/a> is all about.<\/p>","protected":false},"excerpt":{"rendered":"Peter Drayton writes that some folks have had &#8220;RESTian awakenings&#8221; as a result of his presentation, which is just awesome. While reading up on one of his references though, I found this in Alexis Smirnov&#8217;s blog which suggests that at least some people still have a ways to go; After his talk, Peter, Tim and [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[22,26],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-rest","tag-soap"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}