Setting up the client side environment

To set up the client side environment for the CHA Formatter Service, you should add the external definitions to the tag CHAFormatterServiceClient in the file dse.ini. The parent tag of CHAFormatterServiceClient is the tag settings. You should add different parameter combinations for different CHA Formatter Service proxies. Below are the sample external definitions for the different CHA Formatter Service proxies. For details about the tags for these external definitions, see CHA Formatter Service client side external definition tags.

WSIF EJB Proxy:

<kColl id="settings">
...
  <kColl id="CHAFormatterServiceClient">
    <field id="CHAFormatterServiceProxyClass" value="com.ibm.btt.formatter.client.CHAFormatterServiceWSIFEjbProxy"/>
    <field id="WSIFEjbProxyWSDLPath" value="c:/com/ibm/btt/formatter/server/CHAFormatterServiceEJBService.wsdl"/>
  </kColl>
...
</kColl>

WSIF Java Proxy:

<kColl id="settings">
...
  <kColl id="CHAFormatterServiceClient">
    <field id="CHAFormatterServiceProxyClass" value="com.ibm.btt.formatter.client.CHAFormatterServiceWSIFJavaProxy"/>
    <field id="WSIFJavaProxyWSDLPath" value="c:/com/ibm/btt/formatter/server/CHAFormatterServiceJavaService.wsdl"/>
  </kColl>
...
</kColl>

Local Java Proxy:

<kColl id="settings">
...
  <kColl id="CHAFormatterServiceClient">
    <field id="CHAFormatterServiceProxyClass" value="com.ibm.btt.formatter.client.CHAFormatterServiceLocalJavaProxy"/>
  </kColl>
...
</kColl>

Pure EJB Proxy:

<kColl id="settings">
...
  <kColl id="CHAFormatterServiceClient">
    <field id="CHAFormatterServiceProxyClass" value="com.ibm.btt.formatter.client.CHAFormatterServicePureEJBProxy"/>
    <field id="PureEJBProxy_initialContextFactory" value="com.ibm.websphere.naming.WsnInitialContextFactory"/">
    <field id="PureEJBProxy_jndiName" value="com/ibm/btt/formatter/server/CHAFormatterServiceServiceHome"/">
    <field id="PureEJBProxy_providerURL" value="iiop://localhost:2809/"/">
  </kColl>
...
</kColl>
Related information
Defining decorators
Defining formatters