createPDFEndpoint.addStatus(ok("the document was created"));
createPDFEndpoint.addStatus(badRequest("the xml document url is not a regular url"));
createPDFEndpoint.addStatus(badRequest("the xsl document url is not a regular url"));
createPDFEndpoint.addStatus(notFound("the xml document could not be accessed at the given address"));
createPDFEndpoint.addStatus(notFound("the xsl document could not be accessed at the given address"));
createPDFEndpoint.addRequiredParameter(new Parameter("xml", Parameter.Type.String, "URL to the xml document"));
createPDFEndpoint.addRequiredParameter(new Parameter("xsl", Parameter.Type.String, "URL to the xsl document"));
createPDFEndpoint.addOptionalParameter(new Parameter("parameters", Parameter.Type.String, "Parameters, formatted as 'a=b;c=d'"));
createPDFEndpoint.setTestForm(new TestForm());
docs.addEndpoint(Endpoint.Type.WRITE, createPDFEndpoint);