DotNetUser
DotNetUser

Reputation: 239

Consuming a Web Service using https in .NET

I am consuming a web service from https://www.abc.com/def.asmx?WSDL. This is HTTPS. How can I consume a web service using HTTPS from a .NET client. Note: I am already consuming this web service over http. What additional steps do I need to take to make it secure. I am passing in username and password in SOAP header. What extra steps do I need to take.

Upvotes: 0

Views: 627

Answers (1)

MethodMan
MethodMan

Reputation: 18843

There are no additional steps you need to do except for when you are consuming that web service make sure that you point it to a https:// url vs a http:// Should be as simple as adding a new web reference and pointing to that https url.

Upvotes: 1

Related Questions