DIdn't know that Tim - thanks for the post.

Must revisit the IWS thing. Have to see if you can make a fan out of me!


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Nov 6, 2018, at 9:19 AM, Tim Rowe <timmr@xxxxxxxxxx> wrote:

IWS does create the formats for you. But the WSDL or Swagger documents,
are editable. So you can go into those and make adjustments as needed.

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: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>
To: "Web400@Midrange. Web400" <web400@xxxxxxxxxxxx>
Cc:
Subject: Re: [WEB400] CNVRTTMP.RPGLE has no xml or json -
Date: Tue, Nov 6, 2018 8:08 AM

Correct as long as you can live with the SOAP/REST formats that IWS
uses.

You don't always have control of this. Sometimes the party needing to
use the service dictates the format of the message/response data and if
it does not match what IWS supplies then you have to build it yourself.

Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Nov 6, 2018, at 1:19 AM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

So, if I want to provide data with an RPGLE program as a web service I
do NOT need to use YAJL nor concern myself with JSON?

But if I want to write a JSON file to the IFS then yes, the RPGLE
program must use YAJL or some method of creating the JSON file?


On 11/5/2018 11:46 PM, Nadir Amra wrote:
Hi,

The beauty of integrated web services support... the ILE program or
service program does not have to deal with XML or JSON. It just
deals
with the parameters. The payload (whether XML or JSON) is handled by
the
integrated web services support.


--
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: [1]https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [2]https://archive.midrange.com/web400.


--
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: [3]https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [4]https://archive.midrange.com/web400.





References

Visible links
1. https://lists.midrange.com/mailman/listinfo/web400
2. https://archive.midrange.com/web400
3. https://lists.midrange.com/mailman/listinfo/web400
4. https://archive.midrange.com/web400
--
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: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.