none
How to use psi to creat a project in projectonline RRS feed

  • Question

  • Hello All:

    I want to synchronize offline data to office365.

                  


      projectClient.Url = "https://highfarinfo.sharepoint.com/sites/pwa/_vti_bin/PSI/Project.asmx";
                    queueSystemSvc.Url = "https://highfarinfo.sharepoint.com/sites/pwa/_vti_bin/PSI/QueueSystem.asmx";
    
    
    
    
    
                projectClient.Credentials = new System.Net.NetworkCredential("xxx@xxx.onmicrosoft.com", "psaaword");
                queueSystemSvc.Credentials = new System.Net.NetworkCredential("xxx@xxx.onmicrosoft.com", "psaaword");
    
    
    
                        ProjectSvc.ProjectDataSet projectDs = new ProjectSvc.ProjectDataSet();
                        projectDs = projectClient.ReadProject(ProjectUid, ProjectSvc.DataStoreEnum.WorkingStore);
    

    but it tell me

    Unhandled Communication Fault occurred

    How can I do it?

    Thanks!

    Wednesday, April 29, 2015 6:58 PM

Answers