try {
log.info("Testing proxy sample.");
log.info("Testing deployment...");
// deploy the proxy service
String[] args = { "samples/proxy/deploy.wsdd" };
AdminClient.main(args);
log.info("Testing server-side client deployment...");
// deploy the proxy service
String[] args2 = { "samples/proxy/client_deploy.xml" };
AdminClient.main(args2);
log.info("Testing service...");
doTest();
log.info("Test complete.");
}
catch( Exception e ) {
e.printStackTrace();
throw new Exception("Fault returned from test: "+e);
}