第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

nginx .net webservice 無法負(fù)載均衡

nginx .net webservice 無法負(fù)載均衡

C#
牧羊人nacy 2018-07-26 12:23:35
場景:1.10個.NET webservice站點(diǎn)2.客戶端采用動態(tài)代理方式   訪問webservice。3.NGINX做負(fù)載均衡。靜態(tài)頁面訪問  測試正常(地址:http://localhost) 問題:1.動態(tài)代理訪問時會先根據(jù)wsdl生成臨時代理DLL2.但代理DLL當(dāng)中的<soap12:address location="http://localhost:8882/WebService.asmx"/>地址是隨機(jī)的生成時是那個地址 后面的代理就是那個地址  怎么修改這個地址了?
查看完整描述

3 回答

?
猛跑小豬

TA貢獻(xiàn)1858條經(jīng)驗(yàn) 獲得超8個贊

System.ServiceModel.BasicHttpBinding binding = new System.ServiceModel.BasicHttpBinding();
System.ServiceModel.EndpointAddress address = new System.ServiceModel.EndpointAddress("your nginx server address");
xxxSoapClient client = new xxxSoapClient(binding, address);


查看完整回答
反對 回復(fù) 2018-07-29
  • 3 回答
  • 0 關(guān)注
  • 1238 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號