code: private static String getBindingId(Server server) {
          Endpoint ep = server.getEndpoint();
          BindingInfo bi = ep.getBinding().getBindingInfo();
          return bi.getBindingId();
      }
docs: Extracts the bindingId from a Server.
  @param server
  @return