0

URLとwsdlが公開されているサードパーティのWebサービスと通信することになっているWCFクライアントがあります。サードパーティのWebService(.asmx)はhttpsを使用します。私がやっているのは、開発環境からサービス参照を追加しようとしているだけですが、成功することはできません。だから先に進み、SOAPUI を使用してサービスをテストし、リクエストを発行して応答を得ることができました。

VS2010 で、HTTPS Web サービスのメタデータにアクセスするためにサービス参照を追加することはできませんか? HTTPS を使用するのはこれが初めてなので、正しい方法を教えていただければ幸いです。

4

1 に答える 1

2

@Aron :I tried to get the same by using a web browser and i selected proceed anyway option then it takes me to the WSDL page.

I will assume that you are running your development server on your local dev machine. You should check the actual address that the IIS server is setup for. Open up the page in your web browser. You will have a page that asks you if you want to proceed anyway, DONT. View server certificate.

Google mail Certificate

Here is the GMail certificate. Notice the "issued to:". This means that the certificate is only for https://mail.google.com. If another server tried to use it for another address you would have the same error.

So you want to use whatever is in there as your https://{my issued to}/Webservice.asmx

于 2013-02-11T20:28:15.193 に答える