|
From: Don Osmond <don.osmond@xxxxxxxxxxxxxx>u=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 06/19/2018 04:36 PM
Subject: RE: REST from V7R3
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Is there anything that would keep a V7R1 system (DEV box and PRD is
V7R3) would not support this line? I tried both with "" and <>.
#include "/QIBM/ProdData/OS/WebServices/V1/client/include/axis/Axis.h"
I get the following
Message . . . . : DPOLIB/QCSRC(SOMCLEPCCS), 52.11: CZM0296(30)
#include file
"/QIBM/ProdData/OS/WebServices/V1/client/include/axis/Axis.h" not
found.
The #include for these and others
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
Work just fine.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf
Of Nadir Amra
Sent: Tuesday, June 19, 2018 11:00 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: REST from V7R3
Hi, you are the client, so you do not need an integrated web
services server or any other server.
To consume a service, I would take a look at the integrated web
services client for ILE[1] - in particular, the transport APIs
(article for RPG[2]). Most examples are from the RPG perspective,
but you can extrapolate to do within C code since it is the same
APIs that are used by both C and RPG. The benefit of using
transport APIs is that it handles TCP/IP and HTTP and SSL for you.
[1] http://www.ibm.com/support/docview.wss?uid=isg3T1026868
[2]
http://www.ibm.com/developerworks/ibmi/library/i-send-receive-user-
defined-soap-rest-messages-trs/index.html
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 06/19/2018
09:19:49 AM:
From: Don Osmond <don.osmond@xxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 06/19/2018 09:22 AM
Subject: REST from V7R3
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
If this needs to go to another group please let me know. First a
little history, back in the day (2005) I had to write a PGM on the
i5 to send credit card requests to Vital (now known as TSYS) and that
has worked for years. All in C using a socket connection and the
gsk_. I learned a lot and pretty sure Scott K had some examples.
So now the powers to be want to move to Sage (known now as paya).
This is a POST/GET type process. Found an example of RPG (sorry now
in my skill set) but I need to do this in C or CBL (ILE). Maybe even
PHP (another one not in my skill set). So some of the documentation
indicated I need to setup Web Services Server. Is this correct? The
PGM will need to submit POST and GET to the URL
provided by "paya". Am I even close?
Thanks
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: INVALID URI REMOVED
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-ew&m=ZAxxO2uZU1oBnZ2pksz6X_me6RDbEnWVfZd5HDuCQVQ&s=d_ju6AB9P3RlPDQqRVeCbvCKL3Krl_T6P777CXyMv_c&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, pleaseew&m=ZAxxO2uZU1oBnZ2pksz6X_me6RDbEnWVfZd5HDuCQVQ&s=iqtrWgAIObNOV2lMcmtugjHAhOubciEdf00A3Z_ZCBI&e=
take a moment to review the archives at https://
urldefense.proofpoint.com/v2/url?
u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-
.questions.
Please contact support@xxxxxxxxxxxx for any subscription related
link:
Help support midrange.com by shopping at amazon.com with our affiliate
INVALID URI REMOVEDlist
u=http-3A__amzn.to_2dEadiD&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=1i-
jGlz0-JTK1aLHcsU-
ew&m=ZAxxO2uZU1oBnZ2pksz6X_me6RDbEnWVfZd5HDuCQVQ&s=E-25Ou-
pTxN2pZjWFHdIc4a90IZ-s75ORYbnP_qEdvg&e=
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxu=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-
To subscribe, unsubscribe, or change list options,
visit: INVALID URI REMOVED
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-ew&m=ZAxxO2uZU1oBnZ2pksz6X_me6RDbEnWVfZd5HDuCQVQ&s=d_ju6AB9P3RlPDQqRVeCbvCKL3Krl_T6P777CXyMv_c&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxxew&m=ZAxxO2uZU1oBnZ2pksz6X_me6RDbEnWVfZd5HDuCQVQ&s=iqtrWgAIObNOV2lMcmtugjHAhOubciEdf00A3Z_ZCBI&e=
Before posting, please take a moment to review the archives
at INVALID URI REMOVED
u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-
.questions.
Please contact support@xxxxxxxxxxxx for any subscription related
link:
Help support midrange.com by shopping at amazon.com with our affiliate
INVALID URI REMOVED
u=http-3A__amzn.to_2dEadiD&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=1i-
jGlz0-JTK1aLHcsU-
ew&m=ZAxxO2uZU1oBnZ2pksz6X_me6RDbEnWVfZd5HDuCQVQ&s=E-25Ou-
pTxN2pZjWFHdIc4a90IZ-s75ORYbnP_qEdvg&e=
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.