Methods Summary |
---|
public void | doTestDeploy()
String[] args = {"samples/stock/deploy.wsdd"};
AdminClient.main(args);
|
public void | doTestGetQuoteMain()
String[] args = {"-uuser1", "-wpass1", "XXX"};
GetQuote1.main(args);
|
public void | doTestGetQuoteXXX()
String[] args = {"-uuser1", "-wpass1", "XXX"};
float val = new GetQuote1().getQuote1(args);
assertEquals("Stock price is not the expected 55.25 +/- 0.01", val,
55.25, 0.01);
|
public void | doTestUndeploy()
String[] args = {"samples/stock/undeploy.wsdd"};
AdminClient.main(args);
|
public static void | main(java.lang.String[] args)
TestJAXRPCSamples tester = new TestJAXRPCSamples("tester");
tester.testHello();
tester.testAddress();
|
public void | testAddress()
log.info("Testing JAX-RPC Address sample.");
samples.jaxrpc.address.AddressClient.main(new String[]{});
log.info("Test complete.");
|
public void | testGetInfo()
log.info("Testing JAX-RPC GetInfo sample.");
log.info("Testing deployment...");
doTestDeploy();
log.info("Testing service...");
String[] args = {"-uuser3", "-wpass3", "IBM", "symbol"};
GetInfo.main(args);
args = new String[] {"-uuser3", "-wpass3", "MACR", "name"};
GetInfo.main(args);
args = new String[] {"-uuser3", "-wpass3", "CSCO", "address"};
GetInfo.main(args);
log.info("Testing undeployment...");
doTestUndeploy();
log.info("Test complete.");
|
public void | testHello()
log.info("Testing JAX-RPC hello sample.");
samples.jaxrpc.hello.HelloClient.main(new String[]{});
log.info("Test complete.");
|