File: testit.cmd

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 (23 lines) | stat: -rw-r--r-- 859 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
22
23
rem this assumes webserver is running on port 8080

@echo First test the StockQuoteService.jws file
java samples.stock.GetQuote -uuser1 -wpass1 XXX -s/axis/StockQuoteService.jws %*

@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 %*

@echo Now undeploy everything
java org.apache.axis.client.AdminClient undeploy.wsdd %*