private void dynamicEndpointAdditionScenario(String path) throws IOException, EndpointAdminEndpointAdminException, XMLStreamException { int beforeCount = endPointAdminClient.getDynamicEndpointCount(); endPointAdminClient.addDynamicEndPoint(path, AXIOMUtil.stringToOM(ENDPOINT_XML)); EndpointTestUtils.assertDynamicEndpointAddition(path, beforeCount, endPointAdminClient); }
private void dynamicEndpointDeletionScenario(String path) throws RemoteException, EndpointAdminEndpointAdminException { int beforeCount = endPointAdminClient.getDynamicEndpointCount(); endPointAdminClient.deleteDynamicEndpoint(path); EndpointTestUtils.assertDynamicEndpointDeletion(beforeCount, endPointAdminClient); }
private void cleanupEndpoints() throws RemoteException, EndpointAdminEndpointAdminException { EndpointTestUtils.cleanupDynamicEndpoint(ENDPOINT_PATH_1, endPointAdminClient); EndpointTestUtils.cleanupDynamicEndpoint(ENDPOINT_PATH_2, endPointAdminClient); }