Hi Mitch,

The field names are case sensitive (they must match what is in the PCML).
If they do match, then please send me an example PCML file or source code,
properties file, and how you are invoking the script.





From: Mitch Gallman <mgallman@xxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxx>
Date: 06/20/2017 03:14 PM
Subject: [WEB400] IWS installWEbService.sh & Properties
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>



I have a properties file setup per the IWS manual that lists my fields
indicating their usage (input/output).

e.g. ws.properties:
PROCEDURE.field1.usage=input
PROCEDURE.field2.usage=output
PROCEDURE.field3.usage=output
PROCEDURE.field4.usage=output
PROCEDURE.field5.usage=output

In my script call to installWebService.sh I am using the -propertiesFile
parameter with '/home/mgallman/ws.properties'. However, I am still forced
to add the -parameterUsage parameter with the 'PROCEDURE:i,o,o,o,o,o'
specification. If I leave it out then it tries to deploy based on the
PCML which results in it trying to set the usage to "inputoutput" which
fails. It doesn't appear to look to the properties file at all.

Am I doing something incorrect or what would I need to do in order to get
the usage settings from the properties file to be used?

Thanks!

Mitch Gallman | U.S. Xpress, Inc.
IBM i Applications Developer


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.