Connection Failure.
>Have you tried connecting to other HTTPS sites using <cfhttp> as a test?
>For instance:
>
><cfhttp url= "" <https://www.verisign.com/> >
><cfdump var="#cfhttp#">
>
>Older versions of CFMX (ie 6.0) have had problems with the HTTPS protocal
>using <cfhttp>.
>
>
>-----Original Message-----
>From: Chunshen Li [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 12, 2004 9:21 AM
>To: CF-Talk
>Subject: Re:cfhttp tag failed
>
>
>Thanks, Mosh, here's code (objective, testing connection to eBay API box)
>
>code start
>----------
><cfset CompatibilityLevel = "311">
><cfset DeveloperName = "W9LA6MJ48O3GIDCE1N1JE3K15BY795">
><cfset ApplicationName = "DLC354PZ946F5GBKTIR4OA18U9CB3J">
><cfset CertificateName = "M59JS1K9Y61$E7XG26E92-872ZCEFK">
><cfset CallName = "GeteBayOfficialTime">
><cfset DetailLevel = "0">
><cfset SiteId = "0">
>
><cfset XMLRequest = "<?xml version=""1.0"" encoding=""iso-8859-1""?">
><request xmlns=""urn:eBayAPIschema"">
><request>
><RequestUserId>don9876</RequestUserId>
><RequestPassword>qwert1234</RequestPassword>
><DetailLevel>0</DetailLevel>
><ErrorLevel>1</ErrorLevel>
><SiteId>0</SiteId>
><Verb>GeteBayOfficialTime</Verb>
></request>
>
><cftry>
><cfhttp url="" method="POST">
>
><cfhttpparam name="X-EBAY-API-SESSION-CERTIFICATE"
>value="#DeveloperName#;#ApplicationName#;#CertificateName#" type="FORM">
><cfhttpparam name="X-EBAY-API-COMPATIBILITY-LEVEL"
>value="#CompatibilityLevel#" type="FORM">
><cfhttpparam name="X-EBAY-API-CALL-NAME" value="#CallName#" type="FORM">
><cfhttpparam name="X-EBAY-API-DEV-NAME" value="#DeveloperName#" type="FORM">
><cfhttpparam name="X-EBAY-API-APP-NAME" value="#ApplicationName#"
>type="FORM">
><cfhttpparam name="X-EBAY-API-CERT-NAME" value="#CertificateName#"
>type="FORM">
><cfhttpparam name="X-EBAY-API-SITEID" value="#SiteId#" type="FORM">
><cfhttpparam name="X-EBAY-API-DETAIL-LEVEL" value="#DetailLevel#"
>type="FORM">
><cfhttpparam name="request" value="#XMLRequest#" type="xml">
></cfhttp>
>
><cfcatch type="any"></cfcatch>
></cftry>
>
><h1>Return Vals:</h1><br>
><cfdump var="#XMLParse(CFHTTP.FileContent, 'no')#">
>
>---------
>code ends
>
>err msg:
>Element FILECONTENT is undefined in CFHTTP.
>
>The error occurred in C:\mywebsrvDocDir\eBay\test_james.cfm: line 38
>
>
>36 :
>37 : <h1>Return Vals:</h1><br>
>38 : <cfdump var="#XMLParse(CFHTTP.FileContent, 'no')#">
>
>Exceptions (from debugging output)
>
>09:46:19.019 - Application Exception - in
>C:\mywebsrvDocDir\eBay\test_james.cfm : line 23
> Attribute validation error for tag CFHTTPPARAM.
>
>(my comment, line 23 reads
><cfhttpparam name="X-EBAY-API-SESSION-CERTIFICATE"
>value="#DeveloperName#;#ApplicationName#;#CertificateName#" type="FORM">
>)
>
>09:46:19.019 - _expression_ Exception - in
>C:\mywebsrvDocDir\eBay\test_james.cfm : line 38
> Element FILECONTENT is undefined in CFHTTP.
>
>
>
>>In what way did the CFHTTP fail? What was the error message, what does the
>>code look like, and what are you trying to have it do?
>>
>>--
>>Mosh Teitelbaum
>>evoch, LLC
>>Tel: (301) 942-5378
>>Fax: (301) 933-3651
>>Email: [EMAIL PROTECTED]
>>WWW: http://www.evoch.com/ <http://www.evoch.com/>
>>
>>-----Original Message-----
>>From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, February 12, 2004 9:02 AM
>>To: CF-Talk
>>Subject: cfhttp tag failed
>>
>>
>>Hello,
>>
>>I'm using CFHTTP calling eBay sandbox. The EXACT code works fine with
>>another developer's box, he's on CF6.1 for Windows while I'm using CF6.0
>for
>>Windows as well.
>>
>>I do not want to upgrade to 6.01 at this point.
>>
>>Is that a bug in CF6.0 or ? Any one with eBay experience please advise.
>>
>>TIA
>>
> _____
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

