{"id":1117,"date":"2005-11-03T09:50:00","date_gmt":"2005-11-03T13:50:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/2005\/11\/03\/restful-echo\/"},"modified":"2005-11-03T09:50:00","modified_gmt":"2005-11-03T13:50:00","slug":"restful-echo","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2005\/11\/restful-echo\/","title":{"rendered":"RESTful Echo"},"content":{"rendered":"<p>Tony hits the\n<a href=\"http:\/\/www.parand.com\/say\/index.php\/2005\/11\/03\/simple-recipe-for-soap-echo-service\/\">nail on the head<\/a><\/p>\n\n<blockquote cite=\"http:\/\/www.parand.com\/say\/index.php\/2005\/11\/03\/simple-recipe-for-soap-echo-service\/\">\nWhat is SOAP? It&#8217;s an HTTP POST containing XML, and an HTTP response containing XML. You can make an echo server by &#8211; here it is &#8211; simply serving a static XML file. That&#8217;s it. Just put an XML file on your http server and you&#8217;re done.\n<\/blockquote>\n\n<p>Indeed.<p>\n\n<p>Alternately, if you feel the need, you can POST the content to the echo service.\nIf you want to wrap it in SOAP too, even that&#8217;d be fine.  Just watch that immediate\nchild of soapenv:Body, because what you\n<em>ABSOLUTELY<\/em> do not need, is an\n&#8220;<a href=\"http:\/\/cafe.bevocal.com\/resources\/voicexml_samples\/echo\/svc_echo.html\">echo<\/a>\n<a href=\"http:\/\/builder.com.com\/5100-6389-1046624.html\">operation<\/a>&#8220;.  You\njust need the content to be echoed, and the address of the service;\ndocument in, document out.<\/p>\n\n<p><em>That&#8217;s<\/em> document exchange.  <em>That&#8217;s<\/em> REST.<\/p>\n\n<p>Can we get some real work done now, <em>please<\/em>?<\/p>","protected":false},"excerpt":{"rendered":"Tony hits the nail on the head What is SOAP? It&#8217;s an HTTP POST containing XML, and an HTTP response containing XML. You can make an echo server by &#8211; here it is &#8211; simply serving a static XML file. That&#8217;s it. Just put an XML file on your http server and you&#8217;re done. Indeed. [&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,40],"class_list":["post-1117","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-soap","tag-xml"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/1117","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=1117"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/1117\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=1117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=1117"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=1117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}