简体   繁体   English

在.NET中使用https消费Web服务

[英]Consuming a Web Service using https in .NET

I am consuming a web service from https://www.abc.com/def.asmx?WSDL . 我正在使用来自https://www.abc.com/def.asmx?WSDL的Web服务。 This is HTTPS. 这是HTTPS。 How can I consume a web service using HTTPS from a .NET client. 如何使用来自.NET客户端的HTTPS使用Web服务。 Note: I am already consuming this web service over http. 注意:我已经通过http使用了此Web服务。 What additional steps do I need to take to make it secure. 我需要采取哪些其他步骤来确保它的安全。 I am passing in username and password in SOAP header. 我在SOAP标头中传递用户名和密码。 What extra steps do I need to take. 我需要采取哪些额外的步骤。

除了在使用该Web服务时,无需执行其他步骤,确保将其指向https:// url和http://即可。应该像添加新的Web参考并指向一样简单。该https网址。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM