@Override
 protected void stopListeningForService(AxisService service) {
   try {
     dispatcher.removeEndpoint(endpoints.get(service.getName()));
   } catch (IOException ex) {
     log.error("I/O exception while stopping listener for service " + service.getName(), ex);
   }
   endpoints.remove(service.getName());
 }
 @Override
 protected void stopEndpoint(E endpoint) {
   try {
     dispatcher.removeEndpoint(endpoint);
   } catch (IOException ex) {
     log.error(
         "I/O exception while stopping listener for service " + endpoint.getServiceName(), ex);
   }
 }