code: public RequestCtx makeRequestCtx(String request)
              throws MelcoeXacmlException {
          RequestCtx reqCtx = null;
          try {
              ByteArrayInputStream is =
                      new ByteArrayInputStream(request.getBytes());
              reqCtx = BasicRequestCtx.getInstance(is);
          } catch (ParsingException pe) {
              throw new MelcoeXacmlException("Error parsing response.", pe);
          }
          return reqCtx;
      }
docs: Converts a string based request to a RequestCtx obejct.
  
  @param request
  the string request
  @return the RequestCtx object
  @throws MelcoeXacmlException