updateProject

Purpose

Update an existing project.

Related Information

Operation: createProject

Input

The following inputs are required:

  • One of the following:

    • Project name

    • Project ID

  • ProjectType detail

Return

If the operation is successful, no results are returned to the client.

Java Examples

See webservice_toolkit:

java\client\src\examples\pm\ProjectServiceClient.java

updateProject()

UpdateProjectDocument updateProjDoc =
UpdateProjectDocument.Factory.newInstance();
UpdateProject up = updateProjDoc.addNewUpdateProject();
ProjectInputType pit = up.addNewProjectInput();
// Set the project name for update
pit.setProjectName(projectName);
ProjectType pb = up.addNewProjectBean();
// Update the project info
pb.addProjectManagerUserName("admin");
pb.setPlannedStartPeriodFullName("March 2007");
ProjectServiceStub stub = new ProjectServiceStub(ctx, WSURL);
stub.updateProject(updateProjDoc);