带有HTTP代理的WSHttpBinding [英] WSHttpBinding with http proxy

查看:103
本文介绍了带有HTTP代理的WSHttpBinding的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在尝试使用带有HTTP代理的WSHttpBinding访问WCF服务.我无法成功完成请求.当我使用代理时,我会收到端点的404错误消息.另外,我需要指定代理用户名和密码.我正在使用net4.0.请帮助我解决此问题.

从回复移至此处:



我收到以下消息

在可以接受该消息的https://gate2b.intranet/Auth/Services/AuthenticationService.svc?wsdl上没有侦听任何终结点的端点.这通常是由不正确的地址或SOAP操作引起的.有关更多详细信息,请参见InnerException(如果存在).

该端点URL是正确的.在绕过proxy

Hi,
I am tring to access WCF service using WSHttpBinding with http proxy. I am not able to sucessfully complete the request. When I am using proxy, I am getting the 404 error meessage for endpoint. Also I need to specify the proxy username and password. I am using net4.0. Please help me to solve this issue.

Moved from reply to here:

Hi,

I am getting below message

There was no endpoint listening at https://gate2b.intranet/Auth/Services/AuthenticationService.svc?wsdl that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

This endpoint url is correct. I am accessing this while in the case of bypass proxy

推荐答案

的情况下,我正在访问此消息,确切的错误消息是什么?您是否正确设置了端点?服务网址正确吗?

更新:您不应在端点配置中添加?wsdl".另外,请使用评论"链接,而不要添加回复.
What is the exact error message you are getting? Have you set up endpoint correctly? Is the service URL correct?

Update: You should not add "?wsdl" in the endpoint configuration. Also, please use "comment" link rather than adding replies.


这篇关于带有HTTP代理的WSHttpBinding的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆