code: @Override
      public boolean unregisterService(URI serviceUri) throws SalException {
  
          // Check the URI is correct and belongs to the server
          if (serviceUri == null ||
                  !UriUtil.isResourceLocalToServer(serviceUri, this.getIserveUri())) {
              return false;
          }
  
          if (this.serviceManager.deleteService(serviceUri)) {
              // delete documents
              Set<URI> docs = this.serviceManager.listDocumentsForService(serviceUri);
              for (URI doc : docs) {
                  this.docManager.deleteDocument(doc);
              }
              // Some documents may not have been deleted properly. TODO: handle properly this case
              return true;
          }
  
          return false;
      }
docs: Unregisters a service from the registry. Effectively this will delete the service description and remove any
  related documents on the server.
  
  @param serviceUri the URI of the service to unregister
  @return true if it was properly unregistered, false otherwise.
  @throws SalException