Methods Summary |
---|
public void | doClientDeploy()
String[] args1 = { "client", "test/wsdl/jaxrpchandlereval/client-deploy.wsdd" };
Admin.main(args1);
|
public void | doClientUndeploy()
String[] args1 = { "client", "test/wsdl/jaxrpchandlereval/client-undeploy.wsdd" };
Admin.main(args1);
|
public void | testClientReturnFalse()
doClientDeploy();
HandlerTracker.init();
try {
updateInfo("client-return-false");
} catch (RemoteException e) {
HandlerTracker.assertClientHandlerOrder(new String[] {
"clienthandler1.handleRequest", "clienthandler1.handleResponse" });
HandlerTracker.assertServerHandlerOrder(new String[] {});
} finally {
doClientUndeploy();
}
|
public void | testClientThrowJaxRpcException()
doClientDeploy();
HandlerTracker.init();
try {
updateInfo("client-throw-jaxrpcexception");
} catch (RemoteException e) {
HandlerTracker.assertClientHandlerOrder(new String[] {
"clienthandler1.handleRequest", "clienthandler2.handleRequest" });
HandlerTracker.assertServerHandlerOrder(new String[] {});
} finally {
doClientUndeploy();
}
|
public void | testHappyPath()
doClientDeploy();
HandlerTracker.init();
try {
updateInfo("Using the happy path");
HandlerTracker.assertClientHandlerOrder(new String[] {
"clienthandler1.handleRequest", "clienthandler2.handleRequest",
"clienthandler2.handleResponse", "clienthandler1.handleResponse" });
HandlerTracker.assertServerHandlerOrder(new String[] {
"serverhandler2.handleResponse", "serverhandler1.handleResponse" });
} finally {
doClientUndeploy();
}
|
public void | testServerReturnFalse()
doClientDeploy();
HandlerTracker.init();
try {
updateInfo("server-return-false");
} catch (RemoteException e) {
HandlerTracker.assertClientHandlerOrder(new String[] {
"clienthandler1.handleRequest", "clienthandler2.handleRequest",
"clienthandler2.handleResponse", "clienthandler1.handleResponse" });
HandlerTracker.assertServerHandlerOrder(new String[] {
"serverhandler2.handleResponse", "serverhandler1.handleResponse" });
} finally {
doClientUndeploy();
}
|
public void | testServerThrowSoapFaultException()
doClientDeploy();
HandlerTracker.init();
try {
updateInfo("server-throw-soapfaultexception");
} catch (RemoteException e) {
HandlerTracker.assertClientHandlerOrder(new String[] {
"clienthandler1.handleRequest", "clienthandler2.handleRequest",
"clienthandler2.handleResponse", "clienthandler1.handleResponse" });
HandlerTracker.assertServerHandlerOrder(new String[] {
"serverhandler2.handleFault", "serverhandler1.handleFault" });
} finally {
doClientUndeploy();
}
|
public java.lang.String | updateInfo(java.lang.String payload)
UserAccountServiceLocator locator = new UserAccountServiceLocator();
UserAccount port = locator.getUserAccount();
String retval = null;
try {
retval = port.updateInfo(payload);
} catch (Exception ex) {
throw ex;
}
return retval;
|