Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I was adding a web service via "Add Web Reference" to my project. The web service was only accessible on https with a client certificate.When I did "Add Web Reference" I got a "The underlying connection was closed: An unexpected error occurred on a send". I found an other way to add the web service via "Add Web Reference" but i don't know how to use this way ??

1-Save the WSDL to a location on your machine.

2-Copy the path.

3-Go to the Add Web Reference in your project.

4-Paste the path you copied into the URL.

6-Click on Add Reference


should i change all of addresses in the wsdl file to https ?


What I have tried:

my project build using visual studio 2015 and .net frame work 4.
Posted
Updated 8-Apr-18 9:48am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900