{"id":67,"date":"2005-12-14T17:39:32","date_gmt":"2005-12-15T00:39:32","guid":{"rendered":"http:\/\/kennyw.com\/indigo\/67"},"modified":"2005-12-14T17:39:32","modified_gmt":"2005-12-15T00:39:32","slug":"diagnosing-mismatched-bindings-dual-http","status":"publish","type":"post","link":"https:\/\/kennyw.com\/?p=67","title":{"rendered":"Diagnosing mismatched bindings (Dual Http)"},"content":{"rendered":"<p>Something we do a pretty poor job of in the November CTP but are actively working on fixing is helping users diagnose when their client and server have mismatched bindings. I often get teased that all we get back is &#8220;connection was aborted&#8221; which can mean anything from mismatched binding to my hard drive exploded.  One particular exception that came up today was:<\/p>\n<p>ProtocolException(&#8220;The HTTP response in the SOAP-over-HTTP one-way binding must not contain an entity body.&#8221;)<\/p>\n<p>This likely means that you have WsDualHttpBinding on the client, but WsHttpBinding on the server. So your client is expecting a &#8220;202 Accepted&#8221; to signal that the one-way message was accepted, but the server is sending the method response on this back channel. We detect the mismatch and throw. Of course, our error message isn&#8217;t all that helpful.  But now if someone does a web search for the exception, hopefully they can find out what went wrong \ud83d\ude42  Look for a better exception message in a future drop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Something we do a pretty poor job of in the November CTP but are actively working on fixing is helping users diagnose when their client and server have mismatched bindings. I often get teased that all we get back is &#8220;connection was aborted&#8221; which can mean anything from mismatched binding to my hard drive exploded. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-indigo"],"_links":{"self":[{"href":"https:\/\/kennyw.com\/index.php?rest_route=\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kennyw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kennyw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kennyw.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kennyw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":0,"href":"https:\/\/kennyw.com\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"wp:attachment":[{"href":"https:\/\/kennyw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kennyw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kennyw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}