× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Try Brad Stone's GETURI utility. I think it's about 250 USD. You can find it
at:
http://www.bvstools.com/geturi.html
If you don't want to pay for a utility, there are some source examples
either at Search400.com or iSeriesNetwork.com that will allow you to
retrieve web pages in an RPGLE program.
If you can't find them, e-mail me directly and I will send you some of my
old source that does it. I don't remember if I have any that handles SSL,
but at least this will get you started.
John Brandt
iStudio400.com
(pgmr@xxxxxxxxxxxxxxx)



-----Original Message-----
From: Chris Spirinckx [mailto:Chris3.Spirinckx@xxxxxxxxxx]
Sent: Saturday, August 30, 2003 3:11 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Is it possible to retrieve the webpage content in a program ?




Greetings All,


One of our core businesses is the ability of our customers to place orders
on
the AS400 via internet.

I'm in the middle of creating a program that allows our AS400-operator to
check
if everything is up and running and if necessary point out where there are
possible problems.

In a nutshell, the following is involved in the process :
1) An AS400-subsystem where specific jobs have to be active
2) Integrated Netfinity-card with mandatory Services and programs running
3) An external Webserver where the customer needs to logon before they get a
webpage where they can order/inquire our articles.

Checking this external Webserver is the missing link at this moment.

In order to check the whole process I need to :
1)Check if the start-page can be reached (http).
2)Check if the logon-page can be reached (https)
3)Enter a user and password (https)
4)Check if I get the order/inquiry page returned (https)
5)Logout

It's not the purpose of displaying these webpages in the program, 
just to investigate the returned content.

Is this possible from within a (RPG-)program ?

BTW, we're still using V4R5.



Any suggestions are more than welcome.



TIA,

Chris


          .                        \\|//                        .
 ._O_.   . ________________________(o o)________________________ .   ._O_.
/_\o/_\ .                    -oOOO--(_)--OOOo-                    . /_\o/_\
  /H\  .          live : Chris.Spirinckx@xxxxxxxxxx                .  /H\
 (=O=).           ICQ  : 14033396                                   .(=O=)
   U .            work : chris_spirinckx@xxxxxxxxxxxxxx              . U

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.514 / Virus Database: 312 - Release Date: 8/28/03
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.