Jon, thanks again for the info! I just cannot say how much I love this list!!
~~ Stephenie -----Original Message----- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 6:13 PM To: CF-Community Subject: Re: CF equiv to objXMLhttp? Yes. Although there are a couple other reasons why you might get that error...but if you dont have 4.0, try changing: MSXML2.ServerXMLHTTP.4.0 to MSXML2.ServerXMLHTTP I really really suggest hitting Microsoft's site and getting 4.0 though, it's the first reliable version. I'd also be remiss if I didn't say that if you ask Dave Watts this question he is going to say use TCPClient from http://www.intrafoundation.com/tcpclient.html :), but you have to construct the http headers yourself, so I prefer msxml. jon ----- Original Message ----- From: "Stephenie Hamilton" <[EMAIL PROTECTED]> To: "CF-Community" <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 6:02 PM Subject: RE: CF equiv to objXMLhttp? > Ok, one more thing, if I only have the v3 would it give me this error? > > Error trying to create object specified in the tag. > > COM error 0x800401F3. Invalid class string > > ~~ > 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><VERS ION_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 > > > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
