Re: Looking for UPS Shipping code snippets

2008-09-30 Thread Kevin Cully
Thanks to Whil and Brian. I'll let you know how it's going. -Kevin CULLY Technologies, LLC Brian Erickson wrote: > PROCEDURE cls_msxml > LPARAMETERS lcURL, lcXMLDOC, llUpper, lcPactrcno as String, lcType as String > > IF PARAMETERS() = 0 OR EMPTY(lcURL) OR EMPTY(lcXMLDoc) OR ISNULL(lcURL) > O

Re: Looking for UPS Shipping code snippets

2008-09-29 Thread Brian Erickson
You can go to UPS.com to get how for the XML and read the response. This is the code that I used to send the request to UPS. There are different urls for tracking and for time in transit and for costing. This code pushes about 4 to 6 requests to UPS's web server an hour. Of course this was

Re: Looking for UPS Shipping code snippets

2008-09-29 Thread Whil Hentzen
Kevin Cully wrote: > Cool. If hitting the UPS site is just a matter of formatting a URL > address, or populating some post variables and then reading the XML > response, that's pretty easy then. > > I was afraid that they had gone to a full Web Service XML request and > response scenario. You CA

Re: Looking for UPS Shipping code snippets

2008-09-29 Thread Kevin Cully
Cool. If hitting the UPS site is just a matter of formatting a URL address, or populating some post variables and then reading the XML response, that's pretty easy then. I was afraid that they had gone to a full Web Service XML request and response scenario. Thanks, -Kevin CULLY Technologies, LL

Re: Looking for UPS Shipping code snippets

2008-09-29 Thread Kevin Cully
They're currently using historical data for shipping. They're fully capable of hitting the web site real time but they just haven't gotten to it yet. The goal is for greater accuracy in an automated fashion. Right now, it's almost manual for the UPS calc and they manually compare it to their othe

Re: Looking for UPS Shipping code snippets

2008-09-29 Thread Brian Erickson
I have built a tracking, and time in transit system for UPS, FedEx and DHL. All three use some kind of web service. I can share with you the jist of how I did it. Like Stephen said you can pass all the info to UPS and they will calculate the cost and when it should be there. Kevin Cully wro

Re: Looking for UPS Shipping code snippets

2008-09-29 Thread Stephen Russell
On Mon, Sep 29, 2008 at 5:24 PM, Kevin Cully <[EMAIL PROTECTED]> wrote: > Hello all. I'm currently beginning work on a WWWC Shopping Cart that > ships really large products. They ship via the truck lines and via UPS > in some cases. They're not happy with what they're doing > programmatically wi

Looking for UPS Shipping code snippets

2008-09-29 Thread Kevin Cully
Hello all. I'm currently beginning work on a WWWC Shopping Cart that ships really large products. They ship via the truck lines and via UPS in some cases. They're not happy with what they're doing programmatically with UPS and are looking to improve that area. I did this a long time ago for a p