Midrange News for the IBM i Community


Posted by: Krishna Ganti
accessing UPS Connectship APIs from iseries
has no ratings.
Published: 26 Oct 2012
Revised: 23 Jan 2013 - 4108 days ago
Last viewed on: 22 Apr 2024 (5785 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

accessing UPS Connectship APIs from iseries Published by: Krishna Ganti on 26 Oct 2012 view comments(4)

Hello

 

We are going to implementing UPS ConnectShip, i tried to get some information from the web, regarding how it works with iseries applications.

I need to communicate with connectship APIs from iseries, do any one in this group had experience in working with connectship?

if yes, can you give me some insite on what to expect and how to implement?

if no, what options i have if the connectship does'nt provide APIs that sit on iseries and i need to access APIs running on unix/windows?

 

Regards

Krishna

 

 

 

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: accessing UPS Connectship APIs from iseries
Posted: 11 years 5 months 27 days 15 hours 7 minutes ago
Edited: Fri, 26 Oct, 2012 at 10:37:39 (4197 days ago)

You'll need a SOCKETS library. There are currently two that I know of:

iSockets (www.isockets.net) (I wrote this one).

HTTPAPI by Scott Klement

If you need SSL, then iSockets won't help you, but I've heard that Scott added SSL to his HTTPAPI.

Both packages are completely free.

Be aware that the HTTPAPI package, like most of Scott's work is very, very good and robust, however if anything has to be modified, it is reported to be somewhat challenging to customize his code. You typically can't change just one piece and have it recompile or operating the way it did originally, so be prepared for the dominos to fall.

 

Posted by: TFisher
Premium member *
Comment on: accessing UPS Connectship APIs from iseries
Posted: 11 years 5 months 27 days 14 hours 51 minutes ago

We use it here.  I personally have not worked on it but here is what someone here did.  They construct XML messages and using the HTTP_URL_POST API they send the XML to an HTTP address.

 

I know this is a very high-level de!--script--ion of what needs to be done, but it appears that generating the XML and determining what HTTP address to use is what you need to find out more details about. 

 

Oh, and I guess you need to make sure that you can use HTTP on your system. 

Posted by: clbirk
Premium member *
Comment on: accessing UPS Connectship APIs from iseries
Posted: 11 years 5 months 27 days 6 hours 23 minutes ago

another option would be to use the geturi by brad stone (bvstools.com), however it is not free. It has both a cl command and it has another that can be put into rpg.

 

 

Posted by: kganti
Premium member *
Comment on: accessing UPS Connectship APIs from iseries
Posted: 11 years 5 months 27 days 6 hours ago

Thank you Bob,Fisher, Birk for quick response.

 

i am still waiting for the connectship documentation, once i get it will review my options based on your feedback.

 

Regards

Krishna