Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Project Server 2010 web service proxy giving error

$
0
0

I am trying to connect to PSI through PowerShell (script). The shell is taking window's command but gives error while trying to connect to project server PSI through web proxy. The error message is :

New-WebServiceProxy : Unable to import binding 'ProjectSoap' from namespace 'http://schemas.microsoft.com/office/project/server/webservices/Project/'.
At D:\Folder\filename.ps1:2 char:34
+ $svcPSProxy = New-WebServiceProxy <<<<  -uri "http://servername/pwa/_vti_bin/PSI/Project.asmx?wsdl" -useDefaultCredential
    + CategoryInfo          : NotSpecified: (:) [New-WebServiceProxy], Invalid OperationException
    + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.NewWebServiceProxy

If I give the project.asmx file uri directly in the address bar it is opening fine.

How can we avoid the error message?


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>