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();
topLevelObjectType.setLEADresource(leadResourceType);
OperationResponseDocument outputMsg = stub.createProjects(inputMsg);
OperationResponseType outputType = outputMsg.getOperationResponse();
StatusEnumType.Enum statusType = outputType.getStatus();
String[] resourceIDs = outputType.getResourceIDArray();
if (!statusType.equals(StatusEnumType.SUCCESS)) {