code: public VOMSResponse parse(InputStream inputStream) {
  
      try {
  
        Document document = docBuilder.parse(inputStream);
  
        return new RESTVOMSResponse(document);
  
      } catch (Exception e) {
  
        throw new VOMSError(e.getMessage());
  
      }
    }
docs: Parse a response coming from a RESTFul VOMS service and builds a
  {@link VOMSResponse} object representing the response.
  
  @param inputStream
  the response coming from the service
  @return a {@link VOMSResponse} object representing the response.