获取webservice的地址解决方案
获取webservice的地址
我是winform程序引用的webservice,我要通过什么方式提取他的地址呢。
有人说在App.config里面,有<Add Key="" value =""/>,但是我的APP里面只有
------最佳解决方案--------------------
你把他看作一个XML
------其他解决方案--------------------
http://localhost:49727/Service1.asmx
------其他解决方案--------------------
嗯,我已经成功读取了。谢谢
我是winform程序引用的webservice,我要通过什么方式提取他的地址呢。
有人说在App.config里面,有<Add Key="" value =""/>,但是我的APP里面只有
<endpoint address="http://localhost:49727/Service1.asmx" binding="basicHttpBinding",这要怎么提取啊
bindingConfiguration="Service1Soap1" contract="My2.Service1Soap"
name="Service1Soap1" />
------最佳解决方案--------------------
你把他看作一个XML
------其他解决方案--------------------
http://localhost:49727/Service1.asmx
------其他解决方案--------------------
嗯,我已经成功读取了。谢谢