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