docs: public void contextDestroyed(ServletContextEvent event) {
          // Output a simple message to the server's console
          System.out.println("The Simple Web App. Has Been Removed");
          ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
                  "/client.xml");
          LocatorService client = (LocatorService) context
                  .getBean("locatorService");
  
          String serviceHost = this.context.getInitParameter("serviceHost");
  
          try {
              client.unregisterEndpoint(new QName("http://talend.org/esb/examples/", "GreeterService"), serviceHost);
          } catch (InterruptedExceptionFault e) {
              e.printStackTrace();
          } catch (ServiceLocatorFault e) {
              e.printStackTrace();
          }
          this.context = null;
      }