Hi Deb
I have JUST started looking into IWS myself, and finally have been successful - although I believe that I have just started scratching the surface
AND I also need to start to understand more about JSON
For IWS I had quite a lot of help from Scott Klement, Jon Paris, Nadir Amra amongst many others
The following web sites were very useful in learning about Integrated Web Services
Creating Web Services With Integrated Web Services
http://ibmsystemsmag.com/ibmi/developer/general/using_iws/
***NOTE*** There are a couple of hidden web pages in this document
Providing RPG Web Services on IBM i
https://scottklement.com/presentations/Providing%20RPG%20Web%20Services%20on%20IBM%20i.pdf
ftp://public.dhe.ibm.com/systems/support/i/iws/systems_i_software_iws_pdf_WebServicesServer_new.pdf
Building a REST service with integrated web services server for IBM i, Part 1, 2 and 3
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server1/
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server2/
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server3/
The pdf version of these 3 web pages are:-
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server1/i-rest-web-services-server1-pdf.pdf
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server2/i-rest-web-services-server2-pdf.pdf
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server3/i-rest-web-services-server3-pdf.pdf
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Debbie Panco
Sent: Thursday, February 28, 2019 1:44 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] RE: JSON Programming within RPG
What is a service program? Is that a program that interfaces between the web and the AS400? As in the AS400 calls the service program which writes the data to the web, receives it back and passes it back to the awaiting AS400 program?
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Booth Martin
Sent: Thursday, February 28, 2019 1:40 PM
To: RPG programming on IBM i
Subject: Re: JSON Programming within RPG
If, in the end, if you are going to be delivering a web services json product you might consider using the IWS web services wizard, which does all the json work for you. Your task is only to write the service program, using data structures that you already use.
On 2/28/2019 11:47 AM, Debbie Panco wrote:
I have very little knowledge of JSON and am researching how to code it
inside ibm rpg programs. Where would be my best resource for
information? For one is there a good json reference book I could
purchase that would be geared for newbies? Does IBM have any sort of
reference that would contain a lot of information on json coding?
Any information to point me in the right direction would be helpful.
Debbie
CONFIDENTIALITY NOTICE: This message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. This email and attachments has been scanned for viruses and malware.
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=MU1fgRvMIbC1JyDbGADOjQ&m=pEJitVAZNgBuHe-bFHnOeW65e9J4KhrmUk0ibteJtGo&s=dzVDqC7eQOQFn6U2jNHqmOnytNXgjwl6UA8VcRvu4WI&e=
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=MU1fgRvMIbC1JyDbGADOjQ&m=pEJitVAZNgBuHe-bFHnOeW65e9J4KhrmUk0ibteJtGo&s=QjhB3iynzjw5CST3z0z9rfTSha7y4NFZZXkXGvc8QKI&e=.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support
https://urldefense.proofpoint.com/v2/url?u=http-3A__midrange.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=MU1fgRvMIbC1JyDbGADOjQ&m=pEJitVAZNgBuHe-bFHnOeW65e9J4KhrmUk0ibteJtGo&s=28peuXLepP6Rqei5lggWmbcAuZK_c6e7mk7Xaam0jDQ&e= by shopping at
https://urldefense.proofpoint.com/v2/url?u=http-3A__amazon.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=MU1fgRvMIbC1JyDbGADOjQ&m=pEJitVAZNgBuHe-bFHnOeW65e9J4KhrmUk0ibteJtGo&s=PmFbGN21fkjEhaAQBUxsifn7oIYLVIq1JiOhZyUjPLg&e= with our affiliate link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=MU1fgRvMIbC1JyDbGADOjQ&m=pEJitVAZNgBuHe-bFHnOeW65e9J4KhrmUk0ibteJtGo&s=yYCUtNLAgNvt726WngcyF1tiU8G17sTjmNXQs-vSUxU&e=
CONFIDENTIALITY NOTICE: This message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. This email and attachments has been scanned for viruses and malware.
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://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:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.