[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to get Shipping Cost (Ratequote) from UPS.com

Posted on 2004-09-02
7
Medium Priority
?
429 Views
Last Modified: 2011-10-03
I like to to create a small application for getting shipping rate/quote from UPS. I got support document from UPS and tried but not able to use it, As I am new to XML. I created xml string and passit to url, but did not get result. Here is url samples

https://www.ups.com/ups.app/xml/Rate?
<?xml version="1.0"?>
<AccessRequest xml:lang="en-US">
<AccessLicenseNumber></AccessLicenseNumber>
<UserId></UserId>
<Password></Password>
</AccessRequest><?xml version="1.0"?><RatingServiceSelectionRequest xml:lang="en-US"><Request><TransactionReference>
<CustomerContext>Bare Bones Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference>
<RequestAction>Rate</RequestAction><RequestOption>Rate</RequestOption></Request><PickupType>
<Code>01</Code></PickupType><Shipment><Shipper><Address><PostalCode>44129</PostalCode>
<CountryCode>US</CountryCode></Address></Shipper><ShipTo><Address><PostalCode>44129</PostalCode>
<CountryCode>US</CountryCode></Address></ShipTo><ShipFrom><Address><PostalCode>32779</PostalCode>
<CountryCode>US</CountryCode></Address></ShipFrom><Service><Code>01</Code></Service><Package>
<PackagingType><Code>02</Code></PackagingType><Dimensions><UnitOfMeasurement><Code>IN</Code>
</UnitOfMeasurement><Length>20</Length><Width>20</Width><Height>20</Height></Dimensions>
<PackageWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>23</Weight>
</PackageWeight></Package></Shipment></RatingServiceSelectionRequest>

I dont know whats wrong I am doing, can anyone help in this matter as well read XML response from UPS. I am stuck here. However I have successfully connected ABF/ROADWAY/FedexFreight and MyYello.

Looking forward to response from GURU's. This solution I am specially looking in ASP only.
0
Comment
Question by:sonashish
[X]
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
  • 3
  • 2
7 Comments
 
LVL 31

Expert Comment

by:seanpowell
ID: 11973024
This is a similar question that should solve your problem for you...
http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20581574.html

Note - I've removed your License Number, Username and Password from your post above, and also added some line breaks to keep the page here from scrolling :-)

Thanks,
Sean
0
 
LVL 2

Author Comment

by:sonashish
ID: 11973278
Sean

Thanks for the information. I think I should give you 100 points for this. Becuase I already did this excercise, except in suggested url give some focus me for how to read XML file or you can say xml response. But After I faced one more problem, that whenever I run my application in under Local Network it wont run, probably we are using Proxy services using 8080 port, but if I runt same application out of the of network machine, it works perfectly. Is there any way to handle this situtation?

Again Thanks for the help.

Ashish
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 11973460
Hi Ashish,

Please forgive me as I have some difficulty in understanding your comment. I assume (believe) it's because Microsoft.XMLHTTP needs to be run from a server, and so won't function locally - but that is not my area of expertise, so I may be mistaken. You may also want to post a question in one of the Network or Web Server TA's for help with this ...

Thanks,
Sean
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 2

Author Comment

by:sonashish
ID: 12179214
I have solver this problem with my own efforts. Dont think anyone will be awarded by reward point. I like to close this issue.
0
 
LVL 2

Author Comment

by:sonashish
ID: 12200668
Actually UPS is not allowing get rate quote for unregistered user in XML format, So I registered my self as registered user and test same url. It is working fine.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12220289
Question answered by asker or dialog valuable.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
Suggested Courses

656 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