Debian Codegraph @

samples/stock/testit.cmd

raw
1 rem this assumes webserver is running on port 8080
2
3 @echo First test the StockQuoteService.jws file
4 java samples.stock.GetQuote -uuser1 -wpass1 XXX -s/axis/StockQuoteService.jws %*
5
6 @echo Deploy everything first
7 java org.apache.axis.client.AdminClient deploy.wsdd %*
8
9 @echo These next 3 should work...
10 java samples.stock.GetQuote -uuser1 -wpass1 XXX %*
11 java samples.stock.GetQuote -uuser2 XXX %*
12 java samples.stock.GetInfo -uuser3 -wpass3 IBM address
13
14 @echo The rest of these should fail... (nicely of course)
15 java samples.stock.GetQuote XXX %*
16 java samples.stock.GetQuote -uuser1 -wpass2 XXX %*
17 java samples.stock.GetQuote -uuser3 -wpass3 XXX %*
18
19 @echo This should work but print debug info on the client and server
20 java samples.stock.GetQuote -d -uuser1 -wpass1 XXX %*
21
22 @echo Now undeploy everything
23 java org.apache.axis.client.AdminClient undeploy.wsdd %*