Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Coldfusion - UPS Address Validation - Post working problem

Posted on 2009-07-08
6
417 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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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