× 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.



This works with an HTTP request to the server (which listens on port 86)
SELECT cast(RESPO00001 as varchar(1000)),
cast(RESPO00002 as varchar(1000))
FROM TABLE(SYSTOOLS.HTTPGETCLOBVERBOSE
('http://baycorp1:86/www/wow.htm','') ) AS HTTPDATA

But not with an HTTPS (same server also listens on 443) for the same page.
SELECT cast(RESPO00001 as varchar(1000)),
cast(RESPO00002 as varchar(1000))
FROM TABLE(SYSTOOLS.HTTPGETCLOBVERBOSE
('https://baycorp1/www/wow.htm','') ) AS HTTPDATA

RESPO00002 returns the HTTP response header as
<?xml version="1.0" encoding="UTF-8" ?>
<httpHeader responseCode="403">
<responseMessage>Forbidden</responseMessage>
<header name="HTT P_RESPONSE_CODE" value="HTTP/1.1 403 Forbidden"/>
<header name="Server" value="squid/3.5.20"/>
<header name="Content-Language" value= "en"/>
<header name="X-Cache" value="MISS from npprlxpx001.corp.dmz"/>
<header name="Via" value="1.1 npprlxpx001.corp.dmz (squid/3.5. 20)"/>
<header name="Content-Type" value="text/html;charset=utf-8"/>
<header name="Date" value="Wed, 01 Mar 2017 08:32:20 GMT"/>
<head er name="Vary" value="Accept-Language"/>
<header name="X-Squid-Error" value="ERR_ACCESS_DENIED 0"/>
<header name="X-Cache-Lookup" val ue="NONE from npprlxpx001.corp.dmz:3128"/>
<header name="Content-Length" value="3612
header name="Connection" value="keep-alive"/
header name="Mime-Version" value="1.0"/>
</httpHeader>

The HTTPS request goes via a squid proxy server.
I have my SystemDefault.properties set as

java.version=1.7.0
os400.secureApplication=QIBM_HTTP_SERVER_SERVICES
javax.net.ssl.trustStore=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/security/cacerts_copy
javax.net.ssl.trustStorePassword=topsecret
https.proxyHost=10.9.31.37
https.proxyPort=3128


Anyone hazard a guess at the problem?
Can't find much that helps regarding proxies and SYSTOOLS.HTTPGETVERBOSE when I google it.

Regards, Peter

############################################################## This correspondence is for the named person's use only. It may contain confidential or legally privileged information, or both. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Veda. If you need assistance, please contact Veda :- Australia http://www.veda.com.au/contact-us New Zealand http://www.veda.co.nz/contact-veda ##############################################################

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.