public String createProject(String uid, String leadResource,
boolean assignNewResourceID) throws MyLeadException {
try {
CreateProjectsRequestDocument inputMsg = CreateProjectsRequestDocument.Factory
.newInstance();
CreateTopLevelObjectsRequestType params = inputMsg
.addNewCreateProjectsRequest();
AgentPortType stub = this.createStub(uid);
TopLevelObjectType topLevelObjectType = params.addNewObjectInfo();
topLevelObjectType.setAssignNewResourceID(assignNewResourceID);
LEADresourceDocument leadResourceDoc = LEADresourceDocument.Factory
.parse(leadResource);
LEADResourceType leadResourceType = leadResourceDoc
.getLEADresource();