Solved

Coldfusion - UPS Address Validation - Post working problem

Posted on 2009-07-08
6
411 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Coldfusion Datefield problem 2 96
Problem to get function 52 100
How to move and access a folder outside of the root folder 4 71
whm high memory usage in processes 7 69
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

912 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

19 Experts available now in Live!

Get 1:1 Help Now