I can find no information about *PATH_PARM beyond the Help page, and frankly I couldn't figure out that section.  Let me ask specifically....

Web service is WEEKDAY, an SQLRPGLE *PGM.  The program has two parms, DATEIN and DAYOUT, both 10/char.

I put a default date in the IWS Wizard for the service with *QUERY_PARM.  That, using a browser, returns the correct day-name as JSON.  So the service works.  It just doesn't recognize DATEIN.

However I can't figure out how to use *PATH_PARM.  What is the correct URI path template?

I tried

* /{DateIn}
* /{DATEIN}
* /DATEIN/{DateIn}
* /WEEKDAY/{DATEIN}

and a few more permutations but none work.


On 11/19/2018 1:41 PM, Kevin Bucknum wrote:
Step 2-5 figure 10 shows the config for the web service where the it sets the input source. The screens look a little different on my box, but all the relevant fields are there.


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.