调用Web服务时出错 [英] Error while calling a Webservice
本文介绍了调用Web服务时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
先生,
我正在使用以下代码来调用Web服务:
Sir,
I am using below code to call the web service:
ApplicationItemEx[] items = proxy.GetApplicationsByCredentialsEx(credentials, Request.UserHostName, Request.UserHostAddress, new string[] { "icon", "icon-info" }, new string[] { "all" }, new string[] { "all" });
但是我用来调用Web服务的上述声明给了我如下所示的错误:
But the above declaration i use to call the webservice gives me an error shown below:
Error:
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction:
请让我知道还有其他方法可以调用Web服务吗?为什么会出现此错误?
-Basheer
Please let me know is there any another way to call the web service? Why I am getting this error?
-Basheer
推荐答案
您能提供更多信息吗? Web服务是否公开了SOAP接口?
您正在使用WSE3客户端吗?
Can you give more information? Is the webservice exposing a SOAP interface?
Are you using a WSE3 client?
这篇关于调用Web服务时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文