|
On Dec 30, 2018, at 10:42 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:
exactly. So, how do I get that same response with RPGLE? Do I use the web service URL in the RPGLE program in some way?
On 12/30/2018 8:07 PM, Don Brown wrote:
Booth, when you set up the web service in IWS you select either program or--
service program and then if service program you specify the procedure to
be called.
SRVPGM01 is the container if you like that has one or more procedures.
The web-service is the calling program so as you have in your test
program(s) you execute a service program procedure so does your call to
the web-service.
So if you had SRVPGM01 with two procedures: getTempCelcius and
getTempFarenheight
You would have two web-services created in IWS and these services your
requesting program would call.
Cheers
Don Brown
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
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: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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.
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.