Thank you so much....i need to grab msmxl 4.0 and I should be good to go... Now....to complete this darn conversion...
~~ Stephenie Hamilton -----Original Message----- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 5:48 PM To: CF-Community Subject: Re: CF equiv to objXMLhttp? Hmmm how many ways are there to say cfhttp sucks...let me count the ways. Just use the xmlhttp object from CF. Here is some code. This assumes you have msxml 4.0...which you should download if you haven't already (IE6 comes with v3 iirc). <cfscript> xmlDoc = '<?xml version="1.0" encoding="UTF-8"?><AvailableRequest><AvailableRequestHeader><VERSION_2_1 /></AvailableRequestHeader><Body><VerifyDomainName>' & url.d & '</VerifyDomainName></Body></AvailableRequest>'; objXMLHTTP = CreateObject("COM", "MSXML2.ServerXMLHTTP.4.0"); objXMLHTTP.open("POST","https://partners.ote.networksolutions.com:8010/i nvok e/verisign.transactionproxy.Inbound/XMLAvailableProxy",false); objXMLHTTP.setRequestHeader("Content-Type","text/xml"); objXMLHTTP.send(xmlDoc); xml = objXMLHTTP.responseXML; </cfscript> <cfset avail = false> <cfloop collection="#xml.selectNodes('AvailableResponse/Body/Available')#" item="i"> <cfset domain = i.selectSingleNode("DomainName")> <strong><cfoutput>#domain.text#</cfoutput></strong> is Available <cfset avail = true> </cfloop> <cfif avail EQ false> <strong><cfoutput>#url.d#</cfoutput> </strong>not Available </cfif> jon ----- Original Message ----- From: "Stephenie Hamilton" <[EMAIL PROTECTED]> To: "CF-Community" <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 5:04 PM Subject: CF equiv to objXMLhttp? > Is there a CF equiv to the asp objXMLhttp? > I am trying to send the xml data to the netsol server, but cfhttp does > not seem to be doing the trick.... Please, any help greatly > appreciated! > > ~~ > Stephenie Hamilton > Macromedia Certified ColdFusion Professional > CFXHosting > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
