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:
00561378
Views:
23
Hello Paul,

Thanks for the reply, sounds interesting. I will try and contact steve to see if he actually got it working smoothly. I know they have HTTP tool support as well if there are problems with the XML formatting. (aren't standards great ;) ) UPS certainly makes you jump through hoops though....

Bob



> 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.
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Reply
Map
View

Click here to load this message in the networking platform