开发者

Specify a Proxy in config vs code for a WSE/SOAP web service

Is there a way to specify a WSE3 proxy in the config file instead of code. I figured out how to get it working in code as follows:

valservice.Proxy = new System.Net.WebProxy("http://10.192.xx.xx:8080", true); 

Details: I have a WCF wrapper web service that is calling a WSE3 external vendor web serv开发者_StackOverflowice. The WSE3 code was working fine when called from a form, but not when running under IIS as another web service.


Any reason why you cannot use the normal appSettings for this?

See an example here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜