196 IBM Workplace Forms: Guide to Building and Integrating a Sample Workplace Forms Application
Table 5-8 Examples for the generated actions in db2listing.jsp (Stage 2)
5.6 Form prepopulation using Web services
In this section we discuss the use of Web services for form prepopulation.
5.6.1 Where we are in the process: Building Stage 2 of the base scenario
The diagram in Figure 5-11 is intended to provide an overview of where we are within the key
steps involved to build Stage 2 of the base scenario. This focuses on adding storage
capabilities to DB2, incorporating Web services, modifying the JSPs and adding an approval
workflow.
Figure 5-11 Overview of major steps involved in building Stage 2 of base scenario application
Generated URL:
RAD6 test environment:
New form Not available (processed by dirlisting.jsp)
Open stored form http://vmforms1.cam.itso.ibm.com:9080/WPFormsRedpaper/Submissio
nServlet?action=showForm&orderNumber=1000044
Deployed application:
new form Not available (processed by dirlisting.jsp)
open stored form http://vmforms1.cam.itso.ibm.com:9080/WPFormsRedpaper/Submissio
nServlet?action=showForm&orderNumber=100009987
-Creating tables
-Populating
tables
-Form pre-
population
-Extraction of
form data
-Reading form
data from DB2
DB2 / Data
Storage
1
2
3
Servlet
Access to
Forms
Building the Base Scenario – Stage 2
Web
Services
-Common
scenario for
web services
in forms
-Web Service
Development
-Web Service
Runtime
-Modifying
index1.jsp
-Creating
JSP to view
DB2 data
4
Adjustments
to JSPs
-Importing
WSDL file
-Calling Web
Services
5
Form pre-
population w/
Web
Services
6
Approval
Workflow
-Designing
-Workflow

Get IBM Workplace Forms: Guide to Building and Integrating a Sample Workplace Forms Application now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.