× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Tim has given you some good links to work with the wizards and simply deploy a program as a web service.

But with regard to your comment below - I would say that if you want to understand the web service process you are making your start point too complex. Including Javascript right from the get-go is an added level of complexity that you don't need.

Just create a web service that is effectively a browser page as I did in the article. Get that working. Then worry about how to invoke it from Javascript. Don't make life harder than it need be.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

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

" You may find as we did that the further you dig the more confused you get." - from the article. Reading that made me feel a little less stupid. If Jon & Susan got confused then Booth stands in good company.

OK. One step at a time, starting at the end and working to the beginning, because that keeps me from going in wildly off-track directions.

I have a web page that asks for a date. Using javascript, my intention is to find the day-name for that submitted date. I want the URL to be http://10.190.90:10100/DoW with a date as a parm. The name of the day will be returned by the web service. I believe the URL request will be something like http://10.190.90:10100/DoW?2018-11-02 and the return will be Friday.

If that looks OK, then the previous steps would, I believe, be the Web Server and the deployed Application Server?




On 11/1/2018 9:34 PM, Jon Paris wrote:
Well it would probably be http://Some.iSeries.com:10100/convertTemp/FtoC?90 <http://some.iseries.com:10100/convertTemp/FtoC?90> Booth.

I among others have pointed you fully working examples which include downloadable code. I think the problem most of us following this thread are having is that we don't know which of the various things you've been pointed to you don't understand.

Look at this article http://ibmsystemsmag.com/ibmi/developer/rpg/web_service_rest <http://ibmsystemsmag.com/ibmi/developer/rpg/web_service_rest> read it and tell me what you don't understand and I will gladly elaborate so that you can.

But ask the questions in steps. When there's something you don't understand - ask. Use my personal email if you don't want to do it over the list.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com


--
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 ...

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.