Build the samples before
running them. Ensure that you have set the value of SERVICE_ADDRESS in
<sdk_install_dir>/samples/wsnt-was/sample-was.properties
file to the URL of the NotificationConsumerService Web
Services. The <sdk_install_dir>/samples/wsnt-was/build.xml
file has a target
named send.event.wsn10
which invokes the EventSource application.
To send a hard coded event to the Web Services, perform the following commands:
cd <sdk_install_dir>\samples\wsnt-was
%WAS_HOME%\bin\ws_ant send.event.wsn10 <WS-Notification 1.0 client>
%WAS_HOME%\bin\ws_ant send.event.wsn13 <WS-Notification 1.3 client>
cd <sdk_install_dir>/samples/wsnt-was
$WAS_HOME/bin/ws_ant send.event.wsn10 <WS-Notification 1.0 client>
$WAS_HOME/bin/ws_ant send.event.wsn13 <WS-Notification 1.3 client>
This will send a hard coded event to the Web Services running in the SERVICE_ADDRESS location.
To test the sample, perform the following steps:
samples/wsnt-was/sample-was.properties
file in the SDK and set the value of SERVICE_ADDRESS to be
http://adapter_hostname:8080/axis/services/NotificationConsumer10Soapor
http://adapter_hostname:8080/axis/services/NotificationConsumer13Soapfor WS-Notification 1.0 or WS-Notification 1.3, respectively
Parent topic
WebSphere Application Server samples
Related topics
WS-Notification sample
walkthrough
Building the samples