assertEquals("Got the wrong endpoint address", routerEndpoint.getAddress(),
"http://localhost:" + CXFTestSupport.getPort1() + "/CxfConsumerSoap12Test/router");
assertEquals("Got the wrong endpont service class",
"org.apache.hello_world_soap_http.Greeter",
routerEndpoint.getServiceClass().getName());
BindingConfiguration binding = routerEndpoint.getBindingConfig();
assertTrue("Got no soap binding", binding instanceof SoapBindingConfiguration);
assertEquals("Got the wrong soap version", "http://schemas.xmlsoap.org/wsdl/soap12/",
((SoapBindingConfiguration)binding).getVersion().getBindingId());
assertTrue("Mtom not enabled", ((SoapBindingConfiguration)binding).isMtomEnabled());
}