Previous Topic: Using the Java XML Agent Content Helper APINext Topic: Java XML-Enabled Agent Functional Flow


Implement the Java XML Agent Content Helper API

Note: For a list of operating systems, Java environments, and platforms that the XML Agent Content Helper API for Java supports, see the CA SiteMinder WSS Platform Matrix on the Technical Support site at http://ca.com/support.

Code an XML-Enabled Java Agent

To write the source code for a custom XML-enabled agent using the XML Agent Content Helper API for Java

  1. Review the required software as listed in the accompanying release notes.
  2. Review the sample code.
  3. Write source code for your client application.

More information:

SDK Samples

Java XML-Enabled Agent Functional Flow

Before You Compile an XML-Enabled Agent

Before you compile your agent application, ensure the following:

Compile an XML-Enabled Java Agent

Compile the custom XML-enabled agent application using javac.

For an example, see java-build.bat or java-build.sh in the sample directory smjavaagentapi.

Deploy an XML-Enabled Java Agent

To deploy a custom XML-enabled Java Agent:

  1. Do one of the following:
    Agent_inst_dir

    Is the installed location of a Web Agent (for example, C:\Program Files\CA\SOA Security Manager\webagent).

  2. Copy your custom agent JAR file to Agent_inst_dir\bin.
  3. Set the NETE_TXM_ROOT environment variable to specify the path to Agent_inst_dir\bin, the directory in which you placed your custom agent JAR file.
  4. Configure the Policy Server to use the custom XML-enabled agent application.

    Note: For detailed information about configuring agents, see the Web Agent Configuration Guide.

  5. Run the custom XML-enabled agent Application.

    For an example, see java-run.bat or java-run.sh in the sample directory smjavaagentapi.