|
From: Robert Rogerson <rogersonra@xxxxxxxxx><web400@xxxxxxxxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
Date: 11/17/2020 09:12 AMIWS...
Subject: [EXTERNAL] Re: [WEB400] Mixing sql and service program in
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>both?
Thanks Nadir, but I guess I wasn't clear in my question.
From what you said I create two web services students_srvpgm and
students_sql
Is there a way to do this so that the resource /students is used by
statement
So as i mentioned above (GET) /students executes a (SELECT *) SQL
(web service students_sql)
and (POST) /students to call an RPG service program (web service
students_srvpgm)
I guess what I'm trying to ask is can two web services point to the same
resource (/students) and if so how do I do it.
I tried creating the sql web service but I got an error saying that the
resource /students already existed.
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.