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
这是什么意思呢
帮顶
不清楚,帮顶。
他们
相关问答:
(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#中
这实现关键字的过滤的功能,
比如:"小泉",等等这些关键字都过滤掉.可以替换成"***"
网上全是用循环的方式,然后进行replace的方式,
这种方式是不是性能有 ......
如题:
C# code:
MySQLConnection con = new MySQLConnection( new MySQLConnectionString("localhost","beephpcms","root","root").AsString);
try
......
如题,用C#实现,验证码手工输入!我还有30分,都给大家了?
关注
继续问?
大家给意见吧!
很难实现。
学习
很难实现的,至少要过了腾讯那一关才可以....
能绕过验证那一道才行!!
......
我在form1中的某个方法让form2窗体出现
那么这个时候怎么关闭form1而不关闭form2呢?
Form2 f=new Form2();
f.Show();
this.Close();
引用
Form2 f=new Form2();
f.Show();
this.Close();
这样的话整个程 ......