[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: anyone willing to help the ILE Illiterate?



Dave,

The ILE that Scott used is pretty straight forward with the exception of the "callback" routines. Once you go through the examples, you will better understand the callback routines and how they are used.

Start with EXAMPLE1 in QRPGLESRC. It is the most straight forward example and has been well documented and "load and go". Compile it (if you didn't), call it and then look in the IFS (WRKLNK '/TMP/*'). Do you see the debug log and the pdf? You just successfully ran the HTTPAPI. No PDF? Copy the debug log and send it here. We'll tell you what to try next.

Some common beginner things...make sure you can get outside with your i. Try pinging yahoo.com. Did it resolve to an IP? Did you get a response? Do you use a proxy on port 80? Need to either make a hole in your firewall or, if possible, use the proxy commands in HTTP (EXAMPLE1 has sample code commented out).

Mike Krebs
 
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of davew@xxxxxxxxxx
> Sent: Tuesday, January 26, 2010 8:20 AM
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Subject: anyone willing to help the ILE Illiterate?
> 
> 
> My coworker and I are interested in implementing the HTTPAPI but are
> not
> versed in RPG ILE.
> If any one out there is willing to take a little time to discuss on the
> phone or via email, please contact me.
> Or, if you have written code which can be used as is (without all the
> writeups, just load and compile, or whatever) with simple RPG to call
> it
> (passing mayber, server and string, returning a string?)  that would be
> cool.
> 
> davew  AT  daserv dot com
> Thanks.
> 
> we'd really like to keep this functionality on the iSeries and not have
> it
> pushed to a pc platform for our project.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------