标签: .net proxy wse3.0
有没有办法在配置文件中指定WSE3代理而不是代码。 我想出了如何使它在代码中工作如下:
valservice.Proxy = new System.Net.WebProxy("http://10.192.xx.xx:8080", true);
详细信息:我有一个调用WSE3外部供应商Web服务的WCF包装器Web服务。从表单调用时,WSE3代码工作正常,但在IIS下作为另一个Web服务运行时则不行。
答案 0 :(得分:1)
为什么你不能使用正常的appSettings?
查看example here。