{"id":429,"date":"2003-06-17T22:01:36","date_gmt":"2003-06-18T02:01:36","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=429"},"modified":"2003-06-17T22:01:36","modified_gmt":"2003-06-18T02:01:36","slug":"msxml2xmlhttp40","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2003\/06\/17\/msxml2xmlhttp40\/","title":{"rendered":"MSXML2.XMLHTTP.4.0"},"content":{"rendered":"<p>Worked around a nasty issue on an ASP site today, I&#8217;m was using the MSXML2.XMLHTTP.4.0 object to post an XML packet to a SOAP server.  Worked great on our development and staging servers, but I installed it (the app) on the client server today and get this&#8230; calling the send() method completely hangs IIS, you can&#8217;t stop the service, you can&#8217;t restart the service.  Here&#8217;s the code snippet in question:<\/p>\n<p>Dim objHTTP<br \/>\nSet objHTTP = Server.CreateObject(&#8220;Msxml2.XMLHTTP.4.0&#8221;)<br \/>\nobjHTTP.open &#8220;POST&#8221;, &#8220;http:\/\/yourhost\/endpoint.do&#8221;, false<br \/>\nobjHTTP.setRequestHeader &#8220;Content-Type&#8221;, &#8220;text\/xml&#8221;<br \/>\nobjHTTP.setRequestHeader &#8220;SOAPAction&#8221;, &#8220;urn:myserver\/soap:ThisName\/thisMethod&#8221;<br \/>\nobjHTTP.send xmlpacket<br \/>\nstrReturn = objHTTP.responseXML.xml<\/p>\n<p>The behavior I&#8217;m seeing is that the HTTP request doesn&#8217;t even get sent to the remote server, the IIS process becomes unusable, and restarting the W3\/IISAdmin services don&#8217;t work.    I&#8217;m using MSXML 4.0 Service Pack 2 (available <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&amp;displaylang=en\">here<\/a>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Worked around a nasty issue on an ASP site today, I&#8217;m was using the MSXML2.XMLHTTP.4.0 object to post an XML packet to a SOAP server. Worked great on our development and staging servers, but I installed it (the app) on the client server today and get this&#8230; calling the send() method completely hangs IIS, you &hellip; <a href=\"https:\/\/cephas.net\/blog\/2003\/06\/17\/msxml2xmlhttp40\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">MSXML2.XMLHTTP.4.0<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/429"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}