This sample demonstrates how to receive incoming XML events that adheres to the WSO2 Event format via SOAP transport. This sample does not do any processing on the incoming event. The log event publisher is used to log the received events, and to verify the messages.
Set up the prerequisites required for all samples
Building the sample
Start the WSO2 CEP server with the sample configuration numbered 0014. For instructions, see Starting sample CEP configurations. This sample configuration creates the following.
- A stream with the ID
- An event receiver named
- An event publisher named name soap
Loggerto log the received messages
Executing the sample
Navigate to the
<CEP_HOME>/samples/cep/producers/soap/ directory, and execute the following Ant command using another tab in the CLI:
ant -Durl= -Dsn=0014
The other optional parameters that can be used in the above command are defined in the