code: public void unregisterEndpoint(String arg0, String arg1) {
          String endpointURL = null;
          QName serviceName = null;
          try {
              serviceName = QName.valueOf(URLDecoder.decode(arg0, "UTF-8"));
              endpointURL = URLDecoder.decode(arg1, "UTF-8");
          } catch (UnsupportedEncodingException e1) {
              throw new WebApplicationException(Response
                      .status(Status.INTERNAL_SERVER_ERROR)
                      .entity(e1.getMessage()).build());
          }
          if (LOG.isLoggable(Level.FINE)) {
              LOG.fine("Unregistering endpoint " + endpointURL + " for service "
                      + serviceName + "...");
          }
          try {
              initLocator();
              locatorClient.unregister(serviceName, endpointURL);
          } catch (ServiceLocatorException e) {
              throw new WebApplicationException(Response
                      .status(Status.INTERNAL_SERVER_ERROR)
                      .entity(e.getMessage()).build());
          } catch (InterruptedException e) {
              throw new WebApplicationException(Response
                      .status(Status.INTERNAL_SERVER_ERROR)
                      .entity(e.getMessage()).build());
          }
      }
docs: Unregister the endpoint for given service.
  
  @param input
  String encoded name of service
  @param input
  String encoded name of endpoint