Solved

Coldfusion - UPS Address Validation - Post working problem

Posted on 2009-07-08
6
408 Views
Last Modified: 2013-12-24
This code has been working fine for some time now.  Not sure what happened.
I believe the problem must be on ups end.

It tells me the problem is here:
Connection Failure: Status code unavailable
<cfhttpparam name="requestAV" type="XML" value="#AV#">
Connection Failure: Status code unavailable 
 

316 : <cfhttp url="https://www.ups.com/ups.app/xml/AV" port="443" method="POST" throwonerror="yes">

317 :     <cfhttpparam name="requestAV" type="XML" value="#AV#">

318 : </cfhttp>

319 : <cfset VerifyAddress = XmlParse(CFHTTP.FileContent)>

Open in new window

0
Comment
Question by:michael_tzez
  • 3
  • 2
6 Comments
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24806575
it could be the UPS internal problem
0
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 24806619
A simple test seems to work fine for me.  Maybe the problem is on your end?

Response:
Statuscode: 200 OK  
Header: HTTP/1.1 200 OK
<cfxml variable="AV">

<test>Test</test>

</cfxml>
 

<cfhttp url="https://www.ups.com/ups.app/xml/AV" port="443" method="POST" throwonerror="yes">

<cfhttpparam name="requestAV" type="XML" value="#AV#">

</cfhttp>

<cfdump var="#cfhttp#">

Open in new window

0
 

Author Comment

by:michael_tzez
ID: 24806811
im restarting server...see if it is just CF not working properly.
If not that...can it be my firewall?  
i am getting the same error for rates too
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Author Comment

by:michael_tzez
ID: 24806840
restarted machine...now it is working!!!
wth???
CF letting me down from time to time.
0
 

Author Closing Comment

by:michael_tzez
ID: 31601253
it took a step out of my problem solving
0
 
LVL 52

Expert Comment

by:_agx_
ID: 24806855
It is hard to tell.  It could be anything from a transient firewall problem to a temporary problem on UPS's site.
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now