{
File confFile = new File("resources/common/config/jaxrpc-endpoint-config.xml");
assertTrue(confFile.exists());
JBossWSConfigFactory factory = JBossWSConfigFactory.newInstance();
ConfigRootJAXRPC config = (ConfigRootJAXRPC)factory.parse(confFile.toURL());
assertNotNull("Null config", config);
assertEquals(3, config.getEndpointConfig().size());
EndpointConfigJAXRPC epc1 = (EndpointConfigJAXRPC)config.getEndpointConfig().get(0);
EndpointConfigJAXRPC epc2 = (EndpointConfigJAXRPC)config.getEndpointConfig().get(2);
assertEquals("Standard Endpoint", epc1.getConfigName());
assertNull(epc1.getPreHandlerChain());
assertNull(epc1.getPostHandlerChain());
assertFalse("MTOM should not be enabled" , epc1.hasFeature("http://org.jboss.ws/mtom"));