About Parameters in Parameter Templates

Parameter templates allow you more flexibility in specifying parameters. You can use variables to specify certain elements of a given parameter value. The following example shows how to specify a variable for a login password, rather than hard-coding a password into the parameter.

HTTPLoginURLTemplate = http://www.example.com/
login.jsp?Username=ronw&Password=$PWD$

where

PWD is 421ax7 (for example)

The business service, EAI HTTP Transport in this case, receives the parameter template. The token, shown here as $PWD$, indicates that the business service looks for a parameter called PWD from a user property or run-time parameter. Dollar signs ($) delimit the token in the template definition. The token specifies the actual password variable. The token is case-sensitive: Pwd is different from PWD or pwd.

The token must be defined as either a business service user property or as a run-time parameter in the input property set. For example, you could specify the HTTPLoginURLTemplate as a user property of the business service, and username and password as run-time properties. Any logins that specify the template always use the same template, but different users can specify unique user names and passwords at run time.