Consuming a Web Service
About This Space
This app consumes a web service and display the information in a grid
Last updated on July 29, 2019
Public Permissions: View Open/Fork Run Comment
Consuming a Web Service Template
This template is a simple demonstration of how to consume a Web Service using Node.js. It retrieves currency exchange data and presents it in a sortable grid.
Async with No Callbacks
To simplify development, NodeRun provides pjs API to make asynchronous requests without having to code callbacks. These API reduce complexity allowing you to code business application logic in a straightforward top-down manner.
pjs API
- pjs.sendRequest() - Send a Web Services request from Node.js server-side code
- display.grid.replaceRecords() - Clear and add records to a Rich Display Grid
- pjs.defineDisplay() - Create a Rich Display object from json definition
- display.screen.execute() - Display a screen and wait for user to respond
More Spaces By klaw (@klaw)
Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.
6837
0
0
A Rich Display File application that stored the focus in a hidden field and uses that field to apply focus when the screen is re-drawn.
10658
0
2
A simple app to be called from RPG. It leverages the node-isbn package to resolve ISBN numbers and get the book title
6875
0
0
Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.
7625
0
0
Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.
7832
0
0
Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.
6175
0
0
7489
0
0
Be the first to comment:
Comments