Greetings.
I noticed the article was written in 2012... that was before we revamped
the IWS engine that is part of the IBM i operating system. We have
support REST in that engine now for several years. Have many using it.
Its support with the latest levels of the HTTP PTF Group.
Details at our product page -
[1]
https://www-01.ibm.com/support/docview.wss?uid=isg3T1026868
Near the bottom there are 2 links to very detailed docs on both side of
the Web services conversation, Creating a Web Services over your existing
RPG / COBOL program, or being able to call a REST api from your RPG/COBOL
program.
Additionally, here is a presentation that walks through the basics of
creating the REST API using this support.
[2]
https://www.youtube.com/watch?v=tMPUbsrRXnk
Tim
Tim Rowe, timmr@xxxxxxxxxx
Business Architect Application Development & Systems Management for IBM i
IBM i Development Lab, Rochester, MN
(507) 253-6191 (Tie) 553-6191
http://www-03.ibm.com/systems/power/software/i/are/index.html
----- Original message -----
From: Booth Martin <booth@xxxxxxxxxxxx>
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)" <web400@xxxxxxxxxxxx>
Cc:
Subject: Re: [WEB400] Is there a web services tutorial that is complete,
simple, and documented?
Date: Fri, Nov 2, 2018 12:32 AM
" You may find as we did that the further you dig the more confused you
get." - from the article. Reading that made me feel a little less
stupid. If Jon & Susan got confused then Booth stands in good company.
OK. One step at a time, starting at the end and working to the
beginning, because that keeps me from going in wildly off-track
directions.
I have a web page that asks for a date. Using javascript, my intention
is to find the day-name for that submitted date. I want the URL to be
[3]
http://10.190.90:10100/DoW with a date as a parm. The name of the day
will be returned by the web service. I believe the URL request will be
something like [4]
http://10.190.90:10100/DoW?2018-11-02 and the return
will
be Friday.
If that looks OK, then the previous steps would, I believe, be the Web
Server and the deployed Application Server?
On 11/1/2018 9:34 PM, Jon Paris wrote:
> Well it would probably be
[5]
http://Some.iSeries.com:10100/convertTemp/FtoC?90 <[6]
http://some.iseries.com:10100/convertTemp/FtoC?90>
Booth.
>
> I among others have pointed you fully working examples which include
downloadable code. I think the problem most of us following this thread
are having is that we don't know which of the various things you've been
pointed to you don't understand.
>
> Look at this article
[7]
http://ibmsystemsmag.com/ibmi/developer/rpg/web_service_rest <[8]
http://ibmsystemsmag.com/ibmi/developer/rpg/web_service_rest>
read it and tell me what you don't understand and I will gladly
elaborate so that you can.
>
> But ask the questions in steps. When there's something you don't
understand - ask. Use my personal email if you don't want to do it over
the list.
>
>
> Jon Paris
>
> www.partner400.com
> www.SystemiDeveloper.com
>
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [9]
https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [10]
https://archive.midrange.com/web400.
References
Visible links
1.
https://www-01.ibm.com/support/docview.wss?uid=isg3T1026868
2.
https://www.youtube.com/watch?v=tMPUbsrRXnk
3.
http://10.190.90:10100/DoW
4.
http://10.190.90:10100/DoW?2018-11-02
5.
http://some.iseries.com:10100/convertTemp/FtoC?90
6.
http://some.iseries.com:10100/convertTemp/FtoC?90
7.
http://ibmsystemsmag.com/ibmi/developer/rpg/web_service_rest
8.
http://ibmsystemsmag.com/ibmi/developer/rpg/web_service_rest
9.
https://lists.midrange.com/mailman/listinfo/web400
10.
https://archive.midrange.com/web400
As an Amazon Associate we earn from qualifying purchases.