The Sample Server
The Sample Adapter provides the following:
1. Sample Server. Backend resource delivered as a Java executable.
Simulates a banking system.
Communicates with the
Sample Adapter using the TCP/IP protocol.
Uses a document-based messaging scheme to exchange data with the
SampleAdapter.
Executes as a separate process on any networked computer.
2. SampleClient.jar. Provides the classes necessary to perform the following:
Implement a document-based messaging scheme to exchange data with the
Sample Adapter. These messages provide access to a set of business services, queries, and alerts that are supported by the
Sample Server.
Provide a metadata repository lookup feature that allows the
Sample Adapter to retrieve a list of the available services, queries, and alerts, and to obtain details of the data fields used in each one.
Sample Server Client APIs
WmSampleConnection communicates with the Sample Server using the Sample Server client API. Javadocs for the API are available in the Integration Server_directory \instances\<instance_name>\packages\WmSampleAdapter\backendResource\doc directory.
Transaction Control
You can configure the client connection for either no transaction control (auto commit mode) or local transaction control across multiple service invocations. The SampleAdapter allows the adapter user to select the transaction type for each WmSampleConnection node.
Customizing Sample Server
You can control the behavior of the Sample Server using SampleServer.properties property file, located in the Integration Server_directory \instances\<instance_name>\packages\WmSampleAdapter\backendResource\doc directory. You can edit the file to suit your needs, and then restart the server.
You can move the SampleServer.jar and the SampleServer.properties file to any platform that has a JVM installed so that these files can be accessed through a network connection.