//creates a Study object and sets parameters
Study s = dataObjectFactory.getStudy();
s.setProject(p);
s.setAlias("Submission Test Study");
s.setDescription("A test of the Submission XML generation process");
s.setSecurityProfile(new SecurityProfile());
Document submissionDocument = null;
try {
DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
submissionDocument = docBuilder.newDocument();