This section contains the following topics:
Web Service Client API Members
How to Implement an Application Using the Web Service Client API
Sample Web Service Client API Java Application
This section provides a brief summary of the classes in the Java XML Agent API. Reference information on all the classes and methods, can be found in the Javadoc.
The Web Service Client API contains four classes that are contained in the package com.netegrity.tm.client.api.
The following table lists all four classes in the Web Service Client API.
Class/Interface |
Description |
---|---|
XMLDocument |
Wrapper class that encapsulates all XML document processing methods. |
Utils |
Wrapper class that encapsulates all utilities that assist in key and certificate generation. |
HTTPClient |
Class that provides methods to post XML documents over HTTP and obtain response message returned from a successful HTTP post. |
HTTPSClient |
Class that provides methods to post XML documents over HTTPS and obtain response message returned from a successful HTTPS post. |
Note: For a list of operating systems, Java environments, and platforms that the Web Service Client API supports, see the CA SiteMinder® Web Services Security Platform Matrix on the Technical Support site at http://ca.com/support.
To implement an application the Web Service Client API
SDK_Install_Dir\Java
SDK_Install_Dir\Java
Add soasmapi.jar to your CLASSPATH setting. When compiling, you can use the -classpath switch.
For an example, see java-build.bat or java-build.sh in the sample directory smjavaagentapi.
CA SiteMinder® Web Services Security provides a Sample Web Server Client Application that illustrates usage of the Web Service Client APIs. The Web Server Client Application is provided (along with its source code) to give you a better understanding of the APIs. It can also be used during development to test CA SiteMinder® Web Services Security policies and web services, by allowing you to post test XML documents to your protected web servers.
The following sections describes how to set up and run the Sample Web Service Client Application.
Before you run the Sample Web Service Client Application for the first time:
Optionally, you can specify values to be used to fill fields in the sample application by editing the txmclient.properties file. This can be particularly useful when you are using the sample application for testing purposes.
The txmclient.properties file can be found in:
To run the sample application
The sample application source code can be found in the following locations:
Copyright © 2013 CA.
All rights reserved.
|
|