SOAPUI mockservice不接受命名空间为的请求

SOAPUI mockservice不接受命名空间为的请求,soap,namespaces,soapui,mockserver,Soap,Namespaces,Soapui,Mockserver,在SOAPUI中接收时,是否有人可以帮助忽略wsdl验证。事实上,我有两种相同要求的方法 Method 1:Generated out of SOAPUI using WSDL -------- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <perfmonCollectCounterData> <Host

在SOAPUI中接收时,是否有人可以帮助忽略wsdl验证。事实上,我有两种相同要求的方法

Method 1:Generated out of SOAPUI using WSDL
--------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">  <soapenv:Body>
<perfmonCollectCounterData>     
<Host></Host>
<Object></Object>
</perfmonCollectCounterData>
</soapenv:Body>
</soapenv:Envelope>

Method 2: This is with namespace
-------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:PerfmonCollectCounterData soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://schemas.cisco.com/ast/soap/">        
<Host xsi:type="xsd:string"></Host>
<Object xsi:type="ns1:ObjectNameType"></Object>
</ns1:PerfmonCollectCounterData>
</soapenv:Body>
</soapenv:Envelope>
方法1:使用WSDL从SOAPUI生成
--------
方法2:这是一个名称空间
-------
实际上,我想得到method2请求的响应。它无法验证WSDL。请有人帮助我进行验证,或者如何处理SOAPUI的模拟服务来响应给定的method2请求。我可以得到方法1的答案

更新评论中的问题以使其清晰

我们在soapUI响应中看到的错误如下:


服务器
soap版本为[soap 1.1]的soapAction[schemas.cisco.com/ast/soap/action/…和body元素[perfmonCollectCounterData]缺少操作

您是否添加了架构符合性断言,这就是它失败的原因?然后请删除架构符合性。断言。顺便说一句,问题不清楚。在SOAPUI中,我模拟了SOAP服务器。我正在尝试向模拟服务发送Method2请求,它以错误响应进行响应。我没有向模拟服务添加任何断言如果wsdl是正确的,我相信这不会发生。请与您的团队检查wsdl是否正确。您是否添加了架构符合性断言,这就是它失败的原因?然后请删除架构符合性。断言。顺便说一句,问题不清楚。在SOAPUI中,我模拟了SOAP服务器。我正在尝试发送d2请求模拟服务,它以错误响应进行响应。我没有向模拟服务添加任何断言。如果wsdl是正确的,我相信这不会发生。请与您的团队检查wsdl是否正确。