从客户端访问Web服务时会出现SOAP异常 [英] SOAP exception is coming when accessing a web service from client
问题描述
您好,
我创建了一个Web服务和一个客户端Web应用程序。在我创建这两个的机器中,它们工作正常。我能够访问Web服务并获得对客户端应用程序的响应。
但是当我使用IIS 6将我的客户端应用程序部署到其他计算机(Intranet)时,出现以下错误即将到来..
System.Web.Services.Protocols.SoapException:服务器无法识别HTTP标头SOAPAction的值:http://10.235.1.187/IssueList / Service1 / Status。
状态是我在网络服务中的功能..
任何帮助PLZ。 。
谢谢..
Hello,
I have created a web service and a client web application. In my machine where I created these two, they are working fine. I am able to access the web service and get response to client app.
But when I deployed my client application to other machine(intranet) with IIS 6, following error is coming..
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://10.235.1.187/IssueList/Service1/Status.
status is my function in web service..
Any help plz..
thanks..
推荐答案
我更改了reference.vb中的SOAP操作头和工作正常。
I have changed the SOAP action header in the reference.vb and its working fine.
这篇关于从客户端访问Web服务时会出现SOAP异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!