0 pts.
 Help with ConnectShip and API from within RPGLE pgm.
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.

Software/Hardware used:
ASKED: April 6, 2005  4:07 PM
UPDATED: April 7, 2005  10:58 AM

Answer Wiki:
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
Last Wiki Answer Submitted:  April 7, 2005  10:58 am  by  JonP   0 pts.
All Answer Wiki Contributors:  JonP   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _