Re: XML - USPS Lookups - UPS Lookups
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52003
interpreted = N
texte = We have allready done this in the StoreBuilder code. If fact, you can usethe UPS registration templates in the StoreBuilder admin to retrieve yourown UPS key. The registration templates are encrypted, as they contain ourUPS developers key, and encryption was required by UPS. But theStoreBuilder templates that actually use the UPS XML tools are notencrypted, so you can use those as a guide. Or just use the StoreBuildertemplates as they are.On a side note, those templates were delveloped pre 5.0, so they do not makeuse of the new WebDNA XML tags to parse the XML UPS results. But theTCPConnect/Send code to send XML data is still applicable.Here are the templtes to reference:in MASTER_STORE directory...tracking.incship_options.incthe admin/parse_tag.inc file is used to parse the UPS XML results. However,if you are using WebDNA 5.0, this could be re-written to use the new XMLWebDNA tags. Which would simplify the code tremendously.-----Original Message-----From: Velma KahnTo: WebDNA-Talk@talk.smithmicro.comSent: 7/30/03 11:46 AMSubject: Fwd: XML - USPS Lookups - UPS LookupsAnybody have an idea of how one submits an XML request via TCPConnect,to save me hours or days of blathering around trying to figure out where toget started?:-) Velma>Date: Mon, 28 Jul 2003 16:41:47 -0400>To: WebDNA-Talk@talk.smithmicro.com>From: Velma Kahn
>Subject: XML - USPS Lookups - UPS Lookups>>I want to implement real time UPS & USPS lookups for some of my sites.>>I searched the talk-list archive, and couldn't make much out of whatwas >there.>>I think I can follow both the UPS and USPS documentation, although if >anyone would care to share a working example, that would be great. Ican >both build the XML request in code and parse the response in code, >although maybe I'll venture into those new XML tools in WebDNA 5.1? (Is>there any good documentation on those new features?)>>But what I really don't seem to know is how I'm submitting the XML >request. Can I submit an XML request via TCPConnect? If so, a piece of >sample code that shows what that TCPConnect and TCPSend might look like>would be a great help. (And if not TCPConnect, how?)>>Thank you.>>Velma>>---------------------------------------->Velma Kahn>Glory Day Software Company>200 Tanager Ln NW, Floyd, Virginia 24091, U.S.A.>phone: 540-745-6469 * fax: 651-321-4884>email: vkahn@glorydaysoftware.com>http://www.glorydaysoftware.com>http://www.communitymade.com>http://www.floydcrafts.com----------------------------------------Velma KahnGlory Day Software Company200 Tanager Ln NW, Floyd, Virginia 24091, U.S.A.phone: 540-745-6469 * fax: 651-321-4884email: vkahn@glorydaysoftware.comhttp://www.glorydaysoftware.comhttp://www.communitymade.comhttp://www.floydcrafts.com -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
We have allready done this in the StoreBuilder code. If fact, you can usethe UPS registration templates in the StoreBuilder admin to retrieve yourown UPS key. The registration templates are encrypted, as they contain ourUPS developers key, and encryption was required by UPS. But theStoreBuilder templates that actually use the UPS XML tools are notencrypted, so you can use those as a guide. Or just use the StoreBuildertemplates as they are.On a side note, those templates were delveloped pre 5.0, so they do not makeuse of the new WebDNA XML tags to parse the XML UPS results. But theTCPConnect/Send code to send XML data is still applicable.Here are the templtes to reference:in MASTER_STORE directory...tracking.incship_options.incthe admin/parse_tag.inc file is used to parse the UPS XML results. However,if you are using WebDNA 5.0, this could be re-written to use the new XMLWebDNA tags. Which would simplify the code tremendously.-----Original Message-----From: Velma KahnTo: WebDNA-Talk@talk.smithmicro.comSent: 7/30/03 11:46 AMSubject: Fwd: XML - USPS Lookups - UPS LookupsAnybody have an idea of how one submits an XML request via TCPConnect,to save me hours or days of blathering around trying to figure out where toget started?:-) Velma>Date: Mon, 28 Jul 2003 16:41:47 -0400>To: WebDNA-Talk@talk.smithmicro.com>From: Velma Kahn >Subject: XML - USPS Lookups - UPS Lookups>>I want to implement real time UPS & USPS lookups for some of my sites.>>I searched the talk-list archive, and couldn't make much out of whatwas >there.>>I think I can follow both the UPS and USPS documentation, although if >anyone would care to share a working example, that would be great. Ican >both build the XML request in code and parse the response in code, >although maybe I'll venture into those new XML tools in WebDNA 5.1? (Is>there any good documentation on those new features?)>>But what I really don't seem to know is how I'm submitting the XML >request. Can I submit an XML request via TCPConnect? If so, a piece of >sample code that shows what that TCPConnect and TCPSend might look like>would be a great help. (And if not TCPConnect, how?)>>Thank you.>>Velma>>---------------------------------------->Velma Kahn>Glory Day Software Company>200 Tanager Ln NW, Floyd, Virginia 24091, U.S.A.>phone: 540-745-6469 * fax: 651-321-4884>email: vkahn@glorydaysoftware.com>http://www.glorydaysoftware.com>http://www.communitymade.com>http://www.floydcrafts.com----------------------------------------Velma KahnGlory Day Software Company200 Tanager Ln NW, Floyd, Virginia 24091, U.S.A.phone: 540-745-6469 * fax: 651-321-4884email: vkahn@glorydaysoftware.comhttp://www.glorydaysoftware.comhttp://www.communitymade.comhttp://www.floydcrafts.com -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Scott Anderson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WC 2.0 frames feature (1997)
[MATH] and Dates (1998)
flushdatabases (2000)
WebCat2b13MacPlugIn - [include] (1997)
WebCat2 as a chat server? (1997)
Signal Raised Error (Part III) (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Bulk Processing Offline (2004)
Max Record length (1997)
webcat page crashes MSIE 5 on mac (2000)
Searchable list archive (1997)
Displaying photo attached to first record (1997)
Changing RAM-cached browser values ... (2000)
Server Load Tester (2000)
multiple front end servers (2004)
2002 08 15 chat, reformatted (2002)
[WebDNA] unique words (2009)
WebCat for Unix?? (1997)
WebCat2b15MacPlugin - [protect] (1997)
Large sites (2003)