Using URLEncodedFormat around the XML fixed the problem! > I have been pulling my hair out [at least what is left] trying to get > this USPS rate calculation test to work on BD JX 6.2 as this is my > main development platform. I thought to try it on CF and see what > happens and it fails on CF5, but works on CFMX 6.1. So here are three > links to show my test results: > > BD 6.2 FAILS > http://www.aftershockweb.net/bd/Test/USPS_test.cfm > > CFMX 6.1 WORKS! > http://www.aftershockweb.net/cf6/Test/USPS_test.cfm > > CF5 FAILS > http://www.aftershockweb.net/cf5/Test/USPS_test.cfm > > Here is the code (you need to use your own username/password supplied > by http://www.usps.com/webtools/): > > <cfsavecontent variable="requestXML">http://testing.shippingapis. > com/ShippingAPITest.dll?API=Rate&XML=<RateRequest USERID="xxxxx" > PASSWORD="xxxxx"><Package ID="0"><Service>Express</Service><ZipOrigination>20770</ZipOrigination><ZipDestination>20852</ZipDestination><Pounds>10</Pounds><Ounces>0</Ounces><Container>None</Container><Size>Regular</> Size><Machinable></Machinable></Package></RateRequest></cfsavecontent> > > > <cfhttp method="get" url="#requestXML#" resolveurl="false" > timeout="20"></cfhttp> > <cfdump var="#cfhttp#"> > <hr> > <cfdump var="#tostring(cfhttp.FileContent)#"> > > Could someone who has a USPS account please let me know if this is a > BD/CF5 issue? Or if someone is able to get it to work on BD, let me > know what they did. > > Thank you, > Aftershock Web Design, Inc. > by: Stan Winchester > President/Developer > [EMAIL PROTECTED] > http://www.aftershockweb.com/ > Phone 503-244-3440 > Fax 503-244-3454
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218124 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

