Adam,
The spot in the program that I have commented out:
// If redirect (websense is active)
//If RetCode = 302;
// UrlRedirect = Http_Redir_Loc();
// Http_SetAuth(HTTP_AUTH_BASIC:'UserID ':'PassWord ');
// RetCode = Http_Url_Get(UrlRedirect : FileName );
// RetCode = Http_Url_Get(Url : FileName );
//EndIf;
Undo the comments and put in your network id and password.
Recompile, that may do it (and it may not).
It worked for WebSense
You can also try to set your authority before you try to go out to the web.
Craig
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Adam West
Sent: Thursday, July 10, 2008 1:58 PM
To: Midrange Systems Technical Discussion
Subject: RE: XML & IPRISM, FTP
I am willing to put this code in for the IPRISM logon but have no idea how
to proceed on that.
--- On Thu, 7/10/08, Chris Bipes <chris.bipes@xxxxxxxxxxxxxxx> wrote:
From: Chris Bipes <chris.bipes@xxxxxxxxxxxxxxx>
Subject: RE: XML & IPRISM, FTP
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date: Thursday, July 10, 2008, 5:15 PM
What is boils down to is He as access but the job running on the AS400 does
not pass HIS credentials, or any integrated Windows credentials that the
iPrism requires. Bet if they traced the HTTPAPI they would see the iPrism
logon window. They should build that into the application to get through
the iPrism proxy buy providing a valid logon when the iPrism window pops up.
This goes back to the Who I stated earlier.
Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Thursday, July 10, 2008 9:43 AM
To: Midrange Systems Technical Discussion
Subject: Re: XML & IPRISM, FTP
I agree with what you're saying Chris. However, in this circumstance, Adam
has stated that he can access the site with a browser on his PC, but he
can't access it with HTTPAPI from his RPG program.
To me, that implies that iPrism is blocking the System i, but is not
blocking his PC. Consequently, software running on his PC should work.
Thus his attempt at using VBA.
Frankly, their security model makes no sense. Block the i, but don't block
PCs? Umm... which one do you think is more likely to get infected by a
virus on a rogue web site? Gee... think about it.
--
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.
As an Amazon Associate we earn from qualifying purchases.