Initialize an engine with a single handler with a parameter set, and
another reference to that same handler with a different name.
Make sure the param is set for both the original and the reference
handler.
XMLStringProvider provider = new XMLStringProvider(doc);
AxisServer server = new AxisServer(provider);
SOAPService service = server.getService(SERVICE_NAME);
assertNotNull("Couldn't get service from engine!", service);
List roles = service.getRoles();
assertTrue("Service role not accessible",
roles.contains(SERVICE_ROLE));
assertTrue("Global role not accessible",
roles.contains(GLOBAL_ROLE));
roles = service.getServiceActors();
assertTrue("Service role not accessible from specific list",
roles.contains(SERVICE_ROLE));
assertFalse("Global role is accessible from specific list",
roles.contains(GLOBAL_ROLE));