I wrote a basic intro here: https://techchannel.com/SMB/02/2016/creating-web-services-rest <https://techchannel.com/SMB/02/2016/creating-web-services-rest>

I also gave a live presentation on deploying an RPG program via IWS (Service program works the same way). If you are only interested in that aspect and don't need all the intro stuff you can find it here: https://us02web.zoom.us/rec/play/WlQ6Zz6s7BU8Wn9QXvCh0pfDzMVzELoGzqYr9INcQncI0RQ2mKPlTvThe2XLBSYz6_VaF38YFBugsP-K.0XKkSIYQMYyAQNQ6?autoplay=true&startTime=1604418587000 <https://us02web.zoom.us/rec/play/WlQ6Zz6s7BU8Wn9QXvCh0pfDzMVzELoGzqYr9INcQncI0RQ2mKPlTvThe2XLBSYz6_VaF38YFBugsP-K.0XKkSIYQMYyAQNQ6?autoplay=true&startTime=1604418587000> start at around the 42 minute mark for just the program stuff.

Scott Klement has presentations on developing web services on his presentations area. In particular this one https://www.scottklement.com/presentations/#PROVIDING <https://www.scottklement.com/presentations/#PROVIDING>

For micro services you should look at ILEastic https://github.com/sitemule/ILEastic <https://github.com/sitemule/ILEastic> which is blazingly fast and does not require Apache or any other server software.


Jon Paris

On Sep 15, 2021, at 12:08 PM, smith5646midrange@xxxxxxxxx wrote:

Thanks Tim for including the youtube videos. They never turned up in my google searches. I did a quick skim of them and they might be more of what I was looking for because I am after the down and dirty, not the overview of what is can do. I will review them closer over the next week or two.

Using the fast forward method (clicking and jumping ahead), it looks like the one is for SQL not programs and I couldn't tell for sure what the second one did. Do either of these show how to configure a new service using *PGM or *SRVPGM objects where source is also available for the programs? That will allow me to look at both sides to understand how they talk to each other.

So you know, the docs that I was referring to as being old and out of date are located here... https://developer.ibm.com/tutorials/i-rest-web-services-server2/. This is part 2 of a 3 part series posted in 2015.


-----Original Message-----
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Tim Rowe
Sent: Wednesday, September 15, 2021 10:55 AM
To: web400@xxxxxxxxxxxxxxxxxx
Cc: web400@xxxxxxxxxxxxxxxxxx
Subject: Re: [WEB400] Trying to learn about REST and IBM i services

Greetings.

The doc for the IWS support...the integrated Rest API engine is updated
regularly,
- [1]https://www.ibm.com/support/pages/integrated-web-services-ibm-i-web-services-made-easy

Near the bottom of the page is a link to the Red book like doc that has
lots of details.

Additionally, there are a couple of youtube vides on this support that
could be helpful.
[2]https://www.youtube.com/watch?v=Q-hp0_a6ka8
[3]https://www.youtube.com/watch?v=tMPUbsrRXnk


Tim

Tim Rowe, timmr@xxxxxxxxxx
Business Architect Application Development & Systems Management for IBM i
IBM i ISV Council
IBM i Development Lab, Rochester, MN
(507) 253-6191 (Tie) 553-6191

http://www-03.ibm.com/systems/power/software/i/are/index.html
http://ibm.biz/IBMi_ACS



----- Original message -----
From: smith5646midrange@xxxxxxxxx
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>
To: "'Web Enabling the IBM i\(AS/400 and iSeries\)'"
<web400@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [WEB400] Trying to learn about REST and IBM i
services
Date: Wed, Sep 15, 2021 9:11 AM

From the responses that I'm getting, I should have been a little
clearer in
my request.

I have been writing C#.Net REST services for a while and wanted to play
with
RPGLE. I already understand REST services, I just can't figure out how
to
configure the service on the IBM i. I am the type of developer that
needs a
working example so I can play with it and learn from it what I need to
do to
make it do what I want it to do. I have tried to go through the
configuration but nothing I have found matches up with the screens my
system
provides so I'm not sure what parts of the config are doing what and now
to
do the config. The IBM developer pages are from 2015 and aren't even
close
to the current version. I am running V7.3.

-----Original Message-----
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Brad Stone
Sent: Tuesday, September 14, 2021 8:53 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
<web400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] Trying to learn about REST and IBM i services

Are you looking to consume web service or provide them (sounds like the
latter).

Have you any CGI experience with RPG? There's not a lot of difference
if
you want to use RPG and Apache for it.

On Mon, Sep 13, 2021 at 9:41 PM <smith5646midrange@xxxxxxxxx> wrote:

I'm not sure this is the correct list for this. Please let me know if
there is a better list.



I am trying to learn how to build a REST web service using RPGLE and
all I can find is outdated information on the sites that show how to
add / configure the site. Are there any websites with instructions
that are not from 2015?

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: [4]https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please
take a moment to review the archives at
[5]https://archive.midrange.com/web400 .


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: [6]https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please take
a
moment to review the archives at
[7]https://archive.midrange.com/web400 .

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [8]https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [9]https://archive.midrange.com/web400 .




References

Visible links
1. https://www.ibm.com/support/pages/integrated-web-services-ibm-i-web-services-made-easy
2. https://www.youtube.com/watch?v=Q-hp0_a6ka8
3. https://www.youtube.com/watch?v=tMPUbsrRXnk
4. https://lists.midrange.com/mailman/listinfo/web400
5. https://archive.midrange.com/web400
6. https://lists.midrange.com/mailman/listinfo/web400
7. https://archive.midrange.com/web400
8. https://lists.midrange.com/mailman/listinfo/web400
9. https://archive.midrange.com/web400
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please take a moment to review the archives at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.