assertEquals(4, service.getBindings().size());
assertNotNull(service.getBinding(SoapHttpTransport.SOAP11_HTTP_BINDING));
assertNotNull(service.getBinding(SoapHttpTransport.SOAP12_HTTP_BINDING));
assertEquals(1, service.getEndpoints().size());
Endpoint ep = (Endpoint) service.getEndpoints().iterator().next();
assertNotNull(ep);
assertEquals("http://localhost/TestService", ep.getUrl());
assertEquals(3, service.getInHandlers().size());
Handler testHandler = (Handler) service.getInHandlers().get(2);
assertTrue(testHandler instanceof TestHandler);
assertEquals(testHandler.getAfter().size(),1);