File: testit.sh

package info (click to toggle)
xml-soap 2.2-6
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 2,492 kB
  • ctags: 1,934
  • sloc: java: 15,895; xml: 740; jsp: 580; cpp: 561; sh: 235; makefile: 127
file content (18 lines) | stat: -rw-r--r-- 1,034 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
echo This test assumes server URLs of http://localhost:8080/soap/servlet/rpcrouter
echo and http://localhost:8080/soap/servlet/messagerouter
echo Deploying the messaging service...
java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml
echo
echo Verify that it\'s there
java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list
echo
echo Sending some messages...
java samples.messaging.SendMessage http://localhost:8080/soap/servlet/messagerouter msg1.xml
java samples.messaging.SendMessage http://localhost:8080/soap/servlet/messagerouter msg2.xml
java samples.messaging.SendMessage http://localhost:8080/soap/servlet/messagerouter msg3.xml
echo 
echo Undeploy it now
java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter undeploy urn:po-processor
echo 
echo Verify that it\'s gone
java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list