FAQ : Frequently Asked Questions
FAQ Table of contents
blue line
32. Q:  How can I link from an HTML page to a page generated from IBM WebFacing tool?

A:  You can access specific webfaced components directly.
This is an enancement of WDSc 4.0 SP3.
You can read the documentation of this function in the README file that you find in the
C:\YourWDSCDirectory \install\help\readme.htm.
This is the topic you need:

Programmatic invocation support has been added for programmers who are writing Web applications that will call WebFacing applications running in the same Web session. The calling application can forward the following parameters to the WFLogon named servlet:
  • clcmd - CL command to be called
  • host - iSeries host name or IP address
  • port - port number that the WebFacing server is listening to
  • userid - user ID on the iSeries
  • password - password on the iSeries
  • inv - CL command .invocation properties file
For example, the above parameters can be forwarded by constructing a URI as follows:
  • WFLogon?clcmd=call%20ordentr&host=server1&port=4004
    &userid=myname&password=mypwd
where:
%20 - is used to represent a space in the URI.

The clmd, host, port, userid, and password properties will override specified in the .invocation and WFApp.properties files. If you specify invocation file name, you do not need to specify the other properties. If you do not specify an invocation file name, the CL command must be specified and any missing properties will be retrieved from the WFApp.properties file for the project.

(by courtesy of Nicoletta Bernasconi IBM Italy)

blue line