Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Computing
Conference & Expo
November 2-4, 2009 NYC
Register Today and SAVE !..
SYS-CON.TV
Today's Top SOA 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.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

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

SYS-CON Featured Whitepapers
ADS BY GOOGLE