Comments (3)
Sorry, to be clear, the exception occurs on the GetRates call:
// Setup package and destination/origin addresses
var packages = new List<Package>();
// Package(length, width, height, weight, insured value)
packages.Add(new Package(8, 8, 6, weight, 100));
string shipToCountry = GetCountry(shipZip.Replace(" ", string.Empty));
var origin = new Address("", "", originZip, "US");
var destination = new Address("", "", shipZip, shipToCountry);
// Create RateManager
var rateManager = new RateManager();
rateManager.AddProvider(new UPSProvider(upsLicenseNumber, upsUserId, upsPassword));
// Call GetRates()
var shipment = rateManager.GetRates(origin, destination, packages);
from shippingrates.
Does it work if you open the production or development URL in your browser on the development machine?
https://wwwcie.ups.com/ups.app/xml/Rate for dev
https://onlinetools.ups.com/ups.app/xml/Rate for production
from shippingrates.
When you say, "Does it work...". I entered those URL's into Firefox on my dev system and got back a response for each (see attached file). My code is just calling the library's GetRates(origin, dest, packages) method. Nothing has changed there, but it has been a long time since I've worked on this app and for whatever reason I'm seeing the timeout. I plan to publish the code to my Azure staging server and confirm things are still working in that environment, but I'd love to be able to debug locally...
Thanks for the help! I really appreciate it.
UPS URL Responses.txt
from shippingrates.
Related Issues (20)
- No saturday delivery option HOT 4
- Negotiated Rates HOT 10
- Incorrect shipping rates for FedEx Japan to Singapore
- USPS_Domestic_Saturday_Delivery test fails HOT 1
- Missing FedEx Europe service codes HOT 1
- Missing option to request quote in some currency HOT 6
- FedEx provider exception on .NET Framework 4.8 HOT 3
- UPS user friendly errors are not being returned HOT 1
- Negotiated Rates and Freight HOT 2
- Add optional USPS special services HOT 1
- FedEx One Rate HOT 1
- Support for UK shipping HOT 5
- Errors: 250003 Invalid Access License number HOT 1
- Will it support create label?
- Another carrier. HOT 1
- DotNetShipping: The request was aborted: Could not create SSL/TLS secure channel. Canada orders yield errors
- UPS deprecating xml API on June 5,2024 HOT 11
- DHL Tests are not working HOT 1
- UPS ServiceDescription Bug HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shippingrates.