loadProject
Synopsis
string loadProject(
SessionId sessionId,
string uri,
LockingMode? lockMode,
)
throws ProjectServiceFault;
See also: SessionId, LockingMode
Instead of a session ID the operation can also be invoked with a session context ID as their first argument (see also §newSessionContext). If so, the session ID stored in the session context will be used as the actual session ID. When invoked with a session context ID, the operation sets the project key of the session context to the key of the new or loaded project, but never close the session context’s old ‘current project’, regardless of whether it had been identified by a project key stored in the session context or, in the absence of such a key, was (and remains) the session’s current project.
On the other hand, if these operations are invoked with a session ID, and if the new project can be created or loaded successfully, then the new project will always become the session’s current project, and the old current project is always closed, regardless of whether there is a session context referencing this project. If there is such a session context, operations invoked for this session context will subsequently fail if they require a valid project until the project key of the session context has been reset or is set to the key of one of the projects currently held open by the session.
lockMode
The default value of this argument is ‘Default’.