Set up a basic Web Services (SOAP) Output adapter. This Web service has no security and
communicates over HTTP or HTTPS.
Prerequisites
The cluster database stores configuration information. Ensure that the
cluster is running, so that the adapter can interact with the projects on the
cluster.
Procedure
- Install Apache Tomcat.
- Add Apache Axis2™ to Tomcat. Copy axis2.war to
tomcat/webapps, and start Tomcat.
Axis2 is automatically unzipped.
- Ensure that the JDK_HOME environment variable is properly set. If it is not,
you can set it using set_example_env.bat or
set_example_env.sh.
- Remove any StockTraderService_messageUT.aar or
StockTraderService_transportUT.aar files from the adapter
examples/service directory if you previously ran those
examples.
- Copy the examples/service/StockTraderService_noSec.aar file to
the tomcat/webapps/axis2/WEB-INF/services directory under your
Web server.
- Modify the adapter_config.xml file by setting
<User> and <Password> to the
desired user name and password combination:
<EspProjects>
<EspProject>
<Name>StockTraderProject</Name>
<Uri>esp[s]://localhost:19011/w1/p1</Uri>
<Security>
<User>user</User>
<Password>password</Password>
<AuthType>user_password</AuthType>
- Modify set_example_env.bat or set_example_env.sh to
set ADAPTER_EXAMPLE_USERNAME and
ADAPTER_EXAMPLE_PASSWORD to the desired user name and password
combination, and set ADAPTER_EXAMPLE_CLUSTER_NODE_PROTOCOL to
esps if SSL is enabled or esp if SSL is disabled.
- Start the Web server.
- Start the node by running the
start_node.bat or start_node.sh
script.
- Start the project by running the start_project.bat or
start_project.sh script.
- Start the adapter by running the
start_adapter.sh or start_adapter.sh
script.
- Upload data to SAP Event Stream Processor by using the
streamingupload.bat or
streamingupload.sh script.
Look for output in the Web server's output log file to
verify whether the adapter is working.