File: testit.sh

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (21 lines) | stat: -rw-r--r-- 737 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# this assumes webserver is running on port 8080

echo "Deploy everything first"
java org.apache.axis.client.AdminClient deploy.wsdd $*

echo "These next 3 should work..."
java samples.stock.GetQuote -uuser1 -wpass1 XXX $*
java samples.stock.GetQuote -uuser2 XXX $*
java samples.stock.GetInfo -uuser3 -wpass3 IBM address

echo "The rest of these should fail... (nicely of course)"
java samples.stock.GetQuote XXX $*
java samples.stock.GetQuote -uuser1 -wpass2 XXX $*
java samples.stock.GetQuote -uuser3 -wpass3 XXX $*

echo "This should work but print debug info on the client and server"
java samples.stock.GetQuote -d -uuser1 -wpass1 XXX $*

# Now undeploy everything
java org.apache.axis.client.AdminClient undeploy.wsdd $*