Retrieving Project Hierarchy using PSI from Project Server 2007

D

dilipn123

Hi,

Greetings!

I'm trying to retrieve list of projects along with their sub-projects
in a custom C# application. I tried using standard PSI (Project
webservice) i.e.ReadProjectList() method. It lists out only the main
projects, the sub-projects aren't listed. I went ahead and tried PWA
webservice which has ProjectGetProjectHeirarchy() method, but the
results are not proper, it displays the project GUID which is passed
as the parameter, doesn't retreive the array of child GUID's
properly.

Is there any standard PSI webservices which I can use in this
scenarios? I tried but couldn't find now I'm thinking of writing my
own custom PSI. I have seen the "Hello World" PSI extension in SDK but
it doesn't talk about writing a full-fledged custom PSI for e.g. how
to retreive the data from the database and return it in a dataset. It
just shows how to use an existing PSI webservice from the custom
webservice. I want to write my custom PSI which will communicate with
the DAL and get me the list of projects along with the hirearchy
information.

Could you please let me know how to go about it?

Thanks and Regards,
Dilip
 
D

Dale Howard [MVP]

Dilip --

I would recommend that you repost this question in the
microsoft.public.project.developer newsgroup, as you are more likely to get
a reply in that newsgroup. Hope this helps.
 

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