SVCUTIL 憑證問題

摘要:SVCUTIL 憑證問題

 

To get around this problem I ended up using the following steps: 

  1. Download, Install & run Fiddler
  2. Navigate to Tools -> Fiddler Options…
  3. Click on the HTTPS tab
  4. Ensure that the option to Decrypt HTTPS traffic is checked
  5. Accept the prompt to install the Fiddler certificate (windows will ask)
  6. Restart Fiddler
  7. Run svcutil against your WSDL URL: 
    svcutil.exe https://someURL/NewsFeed.svc?wsdl

Unless some other issue comes up, svcutil should auto-generate the class and .config file you need to create your WCF client app


人生到處知何似
應似飛鴻踏雪泥