YOUR FEEDBACK
Immo Huneke wrote: A well written article, an ingenious solution to a real problem often encountere...

SYS-CON.TV
TOP MICROSOFT .NET LINKS


PowerBuilder and UPS Shipping
PowerBuilder as a client for UPS Web Services

Does your shipping department have these problems? Extra charges due to incorrect addresses? Difficulty tracking packages? How about duplicateentries? If your shipping department is really ancient, you may even have rolls of pre-printed UPS shipping labels. Here’s how you can seamlessly integrate your printing function using PowerBuilder.

You could buy a third-party product, and that works okay, but these are often licensed per user and must be renewed yearly. They often have their own database, so it’s quite a bit of work to integrate it with your database. Finally, you have to install the package on every desktop where you’ll ship.

There is another way. UPS offers a totally free solution where you directly access their Web Service using XML. All data is secured via https. There’s no software to install, no expiration date, and no proprietary database. It’s a lightweight elegant solution. In case you have problems, UPS provides support. Imagine that, support for a free solution! This technology is mature – in three years, we’ve never had to change our application due to a change in the XML specs.

To get started, go to ups.com, Business Solutions, Portfolio of Services, and pick UPS Online Tools. This article covers the UPS Shipping Tool. You’ll need to get this tool from UPS and sign up with them.

Read their information carefully. You start with a “test” account and pass tests to move into “production.” But the real question is: how can you code this in PowerBuilder?

Your PowerBuilder program must do the following:

  1. Create an XML Message.
  2. Send the XML over the Internet to the UPS site securely.
  3. Receive XML back from UPS.
  4. Decode the label image.
  5. Print the label.

You can download a completed sample application in PowerBuilder 9 from the Sybase CodeXchange, under PowerBuilder Web Services. This demo uses two free controls:

  1. The XMLHTTP Com Control from Microsoft
  2. Base64.dll, from Alvaro Redondo
About Victor A Reinhart
Victor Reinhart is a PowerBuilder architect and developer at Maintstar.

MICROSOFT .NET LATEST STORIES
Midnight Coders has launched WebORB PDF Generator, a solution consisting of a SDK and runtime PDF generation engine that enables Flex, Flash, AJAX and Silverlight clients to create PDF documents from application data. The product is designed for organizations that need to support compl...
At the opening keynote of the Consumer Electronics Show (CES) Wednesday night, Microsoft CEO Steve Ballmer, making his first appearance at the show in a slot that used to be reserved for Bill Gates, announced the widely anticipated, feature-complete beta of the company’s new Windows ...
MYNAH Technologies has announced the release of its MiMiC v3.1.0 Simulation Software for operator training and automation system testing. This release includes enhancements to simulation dynamics, performance and ease-of-use. The new MiMiC Server release provides multi-user support to...
Micro Focus has announced the availability of Micro Focus COBOL for Eclipse, encompassing versions of Micro Focus' Net Express and Server Express solutions designed specifically for the Eclipse open source ecosystem. Micro Focus COBOL for Eclipse provides an integrated development en...
NewerTech has announced the new Voyager Q Hard Drive Docking Solution. The Voyager Q turns any 2.5" or 3.5" Serial ATA (SATA) I/II up to 2.0TB hard drive into a fully bootable and hot-swappable external drive solution and features four interfaces: FireWire® 800, FireWire 400, USB 2.0...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

Click Here

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE
BREAKING NEWS FROM THE WIRES
Microsoft Dynamics solutions, which serve as essential technology for manufacturers and distributors...