C
Cramezul
Does anyone tried to use WCF to work with Project Server?
I'm new to WCF (also new to PSI). Since we're starting a new project using
the lastest technologies, I thought it would be nice to use WCF to call PSI.
I tried usign the default generated configuration and code from svcutil but
event calling LoginWindows.Login() wont work. I tried a few security config
and this one gives me better result:
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
I can now call Login succesfully but my next call fail. I try to call
Project.ReadProjectList() and get this Error:
System.ServiceModel.FaultException was unhandled
Message="System.Web.Services.Protocols.SoapException: ProjectServerError(s)
LastError=GeneralSecurityAccessDenied Instructions: Pass this into
PSClientError constructor to access all error information\n at
Microsoft.Office.Project.Server.WebService.Project.ReadProjectList()".
Anyone got beter results?
I'm new to WCF (also new to PSI). Since we're starting a new project using
the lastest technologies, I thought it would be nice to use WCF to call PSI.
I tried usign the default generated configuration and code from svcutil but
event calling LoginWindows.Login() wont work. I tried a few security config
and this one gives me better result:
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
I can now call Login succesfully but my next call fail. I try to call
Project.ReadProjectList() and get this Error:
System.ServiceModel.FaultException was unhandled
Message="System.Web.Services.Protocols.SoapException: ProjectServerError(s)
LastError=GeneralSecurityAccessDenied Instructions: Pass this into
PSClientError constructor to access all error information\n at
Microsoft.Office.Project.Server.WebService.Project.ReadProjectList()".
Anyone got beter results?