MS Project PSI in java

M

Milind Joshi

Hello,
I am trying to use MS Project server PSI in java.
I could create java stubs by using the wsdl.
Now if I want to see all the projects, I couldn' find any API in the Project
Web Service.
I couldn't find any help related to the same.
Is there any way where I can get list of Projects availaible in MS Project
Server or do I need to go through the reporting database route?
I wanted to use the WEB SERVICE route as I dont have to worry about the
security.
Any help would be appreciated.

Thanks in advance,
Milind.
 
K

Krizz

Havent tried to use PSI with Java, but in C# it is done in the following way:
WS_PSProject is my webservice
the code is C#

WS_PSProject.ProjectDataSet projectds = project.ReadProjectList();
foreach (WS_PSProject.ProjectDataSet.ProjectRow prow in projectds.Project)
{
print(prow.PROJ_NAME);
}
 
M

Milind Joshi

Hello Krizz,
It doesn't work in java the way it work in C#.
Also, we need to maintain the session if we are using forms authentication.
This can be done easily in C#. I am not sure how it can be handled in Java.
If anybody has a working example using Java client, please let me know.

Thanks,
Milind.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top