易截截图软件、单文件、免安装、纯绿色、仅160KB

C#调用WebService问题

最近做一个C#调用webservice的程序,我在企业内部网添加WEB引用成功,并实现了接口。但现在需要在公网调用,而他们提供的公网的地址无法直接引用,说是需要加一个header。我添加WEB引用的时候报错


<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
  <faultcode>SOAP-ENV:Client </faultcode>
  <faultstring>[ISS.0088.9109] SOAP is only supported using HTTP POST protocol </faultstring>
  <faultactor>http://10.60.12.92:6666/soap/proxy_ws </faultactor>
  </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

下载“http://test.datacenter.bsteel.net/soap/proxy_ws”时出错。
请求失败,错误信息为:
--
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchem
这是什么意思呢
帮顶

不清楚,帮顶。

他们


相关问答:

C# 连接SQL数据库常用的连接字符串该如何写?

(1)string ConnString = "server=localhost;integrated security=sspi;database=pubs;";   
(2)string strConnection="user uid=sa;pwd=123456;Database=test;Server=test;Connect ......

提问:用ASP.NET C#(高性能)过滤非法的关键字

我现在想在ASP.NET C#中
这实现关键字的过滤的功能,

比如:"小泉",等等这些关键字都过滤掉.可以替换成"***"
网上全是用循环的方式,然后进行replace的方式,
这种方式是不是性能有 ......

c#怎么读取mysql中 mediumtext类型的数据

如题:
C# code:
MySQLConnection con = new MySQLConnection( new MySQLConnectionString("localhost","beephpcms","root","root").AsString);
try
......

C#实现批量添加QQ好友

如题,用C#实现,验证码手工输入!我还有30分,都给大家了?
关注

继续问?


大家给意见吧!

很难实现。


学习

很难实现的,至少要过了腾讯那一关才可以....



能绕过验证那一道才行!! ......

c# winform窗体问题

我在form1中的某个方法让form2窗体出现
那么这个时候怎么关闭form1而不关闭form2呢?
Form2 f=new Form2();
f.Show();
this.Close();

引用
Form2 f=new Form2();
f.Show();
this.Close();
这样的话整个程 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号