Project Server 2010 WCF services through SSL

Pertanyaan Project Server 2010 WCF services through SSL

  • 19 April 2012 19:59
     
     

    I'm trying to get the WCFHelloProject demo to work with a development instance of Project Server 2010.  I haven't worked with web services since before WCF came out so I'm a bit in the dark here.  I suspect I need to get our server administrator (I do not have logon access to the development server) to make some changes to the web.config file in "c:\program files\Microsoft Office Servers\14.0\WebServices\Shared\ProjectServer\PSI" on that server, but I'm not sure what settings to change.  I'm trying to get up to speed as fast as possible on WCF, but could someone tell me what settings to change to enable SSL?

    I've already changed the Binding Security Mode to "Transport" in the app.config for the demo, but all I get is an "Unhandled Communication Fault" when I try to run it.

    Thanks,

    Brian

    
    
    

    Brian McCool

Semua Balasan

  • 20 April 2012 14:58
     
     

    This is the error I get when I try the ProjTool sample.  The 400 level is received when I use http and I can understand that.  The other error is what I get when using https and it gives me precious little to go on...


    Brian McCool

  • 24 April 2012 19:57
     
     

    OK, so I am trying to see if I can hit the Project Server through the asmx/wsdl interface using PowerShell.  I can create a webservice proxy and query the methods and properties, but as soon as I try to execute a method, I get the "Unhandled Communication Fault".  This is only happening when I try against a server running ssl; against a non-ssl server my samples and PowerShell scripts work fine.  What am I missing???

    
    

    Brian McCool

  • 17 Mei 2012 16:17
     
     

    I was just about to give up on this mess when I tried a different approach.  We are running Nintex workflow on SharePoint and it has the ability to consume web services.  I pointed it to the Project Server Web Services and it gave me this error:

    The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

    Now I have something to go on!

    Brian McCool