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



I'm not sure that I understand, how does the http clob functions allow
you to provide a web service. I haven't actually used them yet, but they
look to be clients to me, not servers.




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Jose
Perez
Sent: Tuesday, April 25, 2017 9:37 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Providing web services using HTTPS

Sql has a lot easier way to access resources on the web, its
functions are
powerful enough to access and consume data from many sources. for
example httpGetClob retrieve resources from a given URL using the get
method and httpPutClob Create textual resources in a given URL using
the
put method, your don't even need to create REST or SOAP services on
the
web.

On Tue, Apr 25, 2017 at 8:29 AM, Kevin Bucknum
<Kevin@xxxxxxxxxxxxxxxxxxx>
wrote:

You have to config the server side to serve it as HTTPS. It's more
than just changing the URL. In the IBM Web Administrator for i
screens, Find the HTTP server that is serving your web service. You
can either select it from the HTTP Servers tab, or if you go to your
server in the Application Servers tab, there is a link on the left
that will take you to your http server. Click on the Security link
on
the left hand side once you are in your http server config page,
enable SSL, and fill out all the required fields. The SSL advanced
tab
lets your control the TLS versions and ciphers that you will accept.




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Douglas Handy
Sent: Monday, April 24, 2017 7:22 PM
To: RPG programming on the IBM i / System i
Subject: Providing web services using HTTPS

I am setting up a web service following the methods described by
Scott Klement in his presentation at:


http://www.scottklement.com/presentations/Providing%20RPG%20Web%2
0Services%20on%20IBM%20i.pdf

I can get everything to work when using http:// but I'd like the
traffic to
happen of TLS 1.x instead of plain text. The web service runs on
its
own port,
not 80 or 443. This works:

http://myserver.com:xxxx/yada/yada/yada

This does not work:

https://myserver.com:xxxx/yada/yada/yada

Nothing in the server instance httpd.conf seems to be related,
other
than
the listen port of xxxx.

I also can't find discussion of this in the XMLHttpRequest docs
at:

https://xhr.spec.whatwg.org/

I can control both the client and server side, so one option would
be
for me
to do my own encrypt / decrypt (and EBDIC conversion) and pass
binary
data
instead of trying to piggy back off https support.

But is there a way to have the web service traffic just take
advantage
of the
HTTPS support?
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please
take
a moment to review the archives at
http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email:
RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take
a
moment to review the archives at
http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD

--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.