Load up a server with a couple of handlers as spec'ed above,
then undeploy one of them. Confirm that all looks reasonable
throughout.
XMLStringProvider provider = new XMLStringProvider(deployDoc);
AxisServer server = new AxisServer(provider);
Handler handler = server.getHandler("other");
assertNotNull("Couldn't get handler", handler);
InputStream is = new StringBufferInputStream(undeployDoc);
WSDDDocument doc = new WSDDDocument(XMLUtils.newDocument(is));
WSDDDeployment dep = provider.getDeployment();
doc.deploy(dep);
server.refreshGlobalOptions();
handler = server.getHandler("other");
assertNull("Undeployed handler is still available", handler);
handler = server.getHandler(HANDLER_NAME);
assertNotNull("Couldn't get handler (2nd time)", handler);