Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 可能的SOAP版本不匹配:信封命名空间_Visual Studio_Web Services_Soap - Fatal编程技术网

Visual studio 可能的SOAP版本不匹配:信封命名空间

Visual studio 可能的SOAP版本不匹配:信封命名空间,visual-studio,web-services,soap,Visual Studio,Web Services,Soap,我们已经实现了一个Web服务(使用Visual Studio.asmx文件),当我们尝试发布客户端给定的XML(使用Firefox Poster)时,我们会得到以下错误: <soap:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Possible SOAP version misma

我们已经实现了一个Web服务(使用Visual Studio.asmx文件),当我们尝试发布客户端给定的XML(使用Firefox Poster)时,我们会得到以下错误:

<soap:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Possible SOAP version mismatch: Envelope namespace client.Namespace was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/.
soap:VersionMismatchSystem.Web.Services.Protocols.SoapException:可能的soap版本不匹配:信封命名空间客户端。命名空间意外。期望http://schemas.xmlsoap.org/soap/envelope/.
在VisualStudioWebServices中是否有方法更改验证xsd或完全忽略验证? 有没有办法通过VisualStudio更改下面的Webservice行

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

请记住,客户端无法更改xml请求….

可能的重复