{"id":891,"date":"2005-08-10T14:39:00","date_gmt":"2005-08-10T18:39:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/2005\/08\/10\/dispatching-weakness-with-doclit-in-wsdl\/"},"modified":"2005-08-10T14:39:00","modified_gmt":"2005-08-10T18:39:00","slug":"dispatching-weakness-with-doclit-in-wsdl","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2005\/08\/dispatching-weakness-with-doclit-in-wsdl\/","title":{"rendered":"Dispatching &#34;weakness&#34; with doc\/lit in WSDL"},"content":{"rendered":"<p>On\n<a href=\"http:\/\/marc.theaimsgroup.com\/?l=axis-user&amp;r=1&amp;w=2\">axis-user<\/a>,\nsomebody just posted a link to an old but interesting article titled\n<a href=\"http:\/\/www-128.ibm.com\/developerworks\/webservices\/library\/ws-whichwsdl\/\">&#8220;Which style of WSDL should I use?&#8221;<\/a>.\nI had a chuckle at one part, when the author was describing the pros\nand cons of doc\/lit.  He used this example message;<\/p>\n\n<pre>\n&lt;soap:envelope&gt;\n    &lt;soap:body&gt;\n        &lt;xElement&gt;5&lt;\/xElement&gt;\n        &lt;yElement&gt;5.0&lt;\/yElement&gt;\n    &lt;\/soap:body&gt;\n\n&lt;\/soap:envelope&gt;\n<\/pre>\n\n<p>&#8230; and then wrote this as one of the &#8220;weaknesses&#8221; with it;<\/p>\n\n<pre>\nThe operation name in the SOAP message is lost. Without the name, dispatching can be difficult, and sometimes impossible.\n<\/pre>\n\n<p>Yes, heaven forbid that you might have to go to the extreme expense\nof <em>minting a new endpoint (URI)<\/em>!<\/p>\n\n<p>For those playing along on the home-game, that&#8217;s now at least\n<a href=\"http:\/\/www.coactus.com\/blog\/2005\/07\/towards-truly-document-oriented-web-services\/\">two folks<\/a>\nwho&#8217;ve stared <em>truly<\/em> document oriented services right in\nthe face, but blinked.<\/p>","protected":false},"excerpt":{"rendered":"On axis-user, somebody just posted a link to an old but interesting article titled &#8220;Which style of WSDL should I use?&#8221;. I had a chuckle at one part, when the author was describing the pros and cons of doc\/lit. He used this example message; &lt;soap:envelope&gt; &lt;soap:body&gt; &lt;xElement&gt;5&lt;\/xElement&gt; &lt;yElement&gt;5.0&lt;\/yElement&gt; &lt;\/soap:body&gt; &lt;\/soap:envelope&gt; &#8230; and then wrote this [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26],"class_list":["post-891","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-soap"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/891","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=891"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/891\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=891"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}