注意,WCF noobie警报的
Caution, WCF noobie alert
我需要创建一个WCF客户端来查询非WCF Web服务。
Web服务是不是一个WCF服务。此外,该网络服务需要的客户机身份验证证书。现在,我有证书,并可以创建一个非WCF客户端,完美的作品;我可以添加Web引用,开辟了让我来选择合适的证书的证书对话框,随后又在创建Web引用。力图打造通过添加服务引用WCF客户端则是另一回事,只不过没有一个403拒绝访问错误。
I need to create a WCF client to query a non-WCF web service. The web service is not a WCF service. Additionally, the web service requires a client authentication certificate. Now, I have the certificate, and can create a non-WCF client that works perfectly; I was able to 'Add Web Reference' and a certificate dialog box opened up to allow me to select the appropriate certificate, then went on to create the web reference. Trying to create a WCF client via 'Add Service Reference' is another story, it just fails with a 403 Access Denied error.
我对这个服务的WSDL,并在其上运行svcutil.exe的,但我不知道如何从那里继续。
I have the WSDL for the service, and have run svcutil.exe on it, but am not sure how to proceed from there.
感谢您的帮助!