Initially, we wanted to open a browser window to a web page (which we
were able to do thanks to the code that Booth provided in a prior
response). The web page is actually a log-in screen on a server inside
our firewall, where we are storing PDF's of customer bills (using a
product called COVUS Presenter).
Eventually, I would like to pass the userid & password parameters to the
page, so the user is automatically logged into the page, and a customer
account number to enable the user to access the customer's billing
information automatically.
Terri Accardo
Sr. Business Application Developer
NJR Service Corp.
1415 Wyckoff Rd.
Wall, NJ 07719
(732) 919-8242
Fax: (732) 919-1784
taccardo@xxxxxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces+taccardo=njresources.com@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces+taccardo=njresources.com@xxxxxxxxxxxx] On
Behalf Of Scott Klement
Sent: Friday, May 18, 2007 12:32 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Calling a URL from RPG
In your mind, when you "call a URL" what happens? The problem with your
question is that "call a URL" can be interpreted many different ways.
Are you looking to view a web page on the user's screen?
Or download a web page to the IFS, so that your program can try to
interpret it's contents?
Or download something else from an HTTP server?
Or upload something to an HTTP server?
Or call a program on an HTTP server and pass data to/from that program?
(e.g. a web service)
Accardo Teresa wrote:
I need some help getting started with a project where I need to call a
URL via a function key on the AS/400 using an RPG program. Is there
an
API that would do this? Or would STRPCCMD be better suited to this
type
of functionality?
As an Amazon Associate we earn from qualifying purchases.