Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UPS Tracking
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00561038
Message ID:
00561299
Views:
26
> I thought Steve Sawyer did a Devcon presentation on this (or was planning on one) - I know he was playing around with the UPS website and some of the automated (XML based) services. I talked to him a few months ago about this - he was having problems getting UPS's site to accept the XML string he was passing. It turns out the XML string isn't "well formed" (the Microsoft.XMLHTTP COM object chokes on it) so it would fail validation locally, but still be accepted by their site. He had better luck once he switched back to the format UPS was expecting.
>
> I also remember having major problems with the content header - the UPS site didn't use a standard "text/xml" content. It was expecting a urlencoded form header instead. They also didn't like CR/LF's in the XML.
>
> I don't have any real code to show you, since I didn't have any need for it at the time. They definitely make you jump through a lot of hoops to get signed up as a developer and get access to their docs. I only spent 3 or 4 hours playing with it to see if I could answer some of his questions.
>
> I think the hardest part is getting it to work initially. It definitely would be nice if all this stuff was wrapped up in a VFP object, though.

Paul,

I have some unwanted free time. I'm going to try and fill it by writing a VFP wrapper around the UPS XML tools. It took me awhile to get registered and recieve the plethora of keys and permissions just to get the tools, but now that I have them I'll play around and share them if I can wade through their documentation. I'll let you know how it goes.

Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform