Help with ConnectShip and API from within RPGLE pgm.

0 pts.
Tags:
Development
ERP
We are in the process of implementing ConnectShip from Progistics. My job is to develop the RPGLE programs to create and receive XML documents using ConnectShip's API and load that data into our files. I will also need to send a manifest file (via the API) at the end of the day. How can I call this API from within an RPGLE program and what is the best XML parser so that I can read what is returned? ANY help would be appreciated.
ASKED: April 6, 2005  4:07 PM
UPDATED: April 7, 2005  10:58 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Without knowledge of the specific API it is impossible to tell you how to call it – other than to say “via a prototype”. If you provide details of the API we can probably give you a hint or two.

As to the “best” XML parser – well it depends. Best as in low cost? Best as in speed? Best as in …..

Check out Scott Klement’s recent series of articles on using expat from RPG (www.iSeriesNetwork.com and search for Expat). It is not a very sophisticated parser, but it is free and very fast.

Check out Aaron Bartell’s www.mowyourlawn.com for another option. He has wrappers for both a DOM and a SAX parser there.

There’s also IBM’s XML option including DB2 XML extender. These are all “for fee” options, but not very expensive – and you may already have them.

Jon Paris

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following