【发布时间】:2011-04-07 14:11:31
【问题描述】:
我们正在尝试使用 CF 盒子中的 ASP.NET Web 服务,但遇到了奇怪的问题。
<cfinvoke webservice="http://myserver.mine.com/myservice.asmx?WSDL" method="ImportData" returnvariable="ImportDataCompleted">
<cfinvokeargument name="importJobName" value="job1">
<cfinvokeargument name="force" value="false">
如果我们在版本 9 的机器上运行它,它会正常工作,但是,当我在 MX 上运行时,我会收到以下错误:
无法执行 Web 服务调用“ImportData”,因为 AxisFault faultCode:{http://schemas.xmlsoap.org/soap/envelope/}VersionMismatch faultSubcode:faultString:可能的 SOAP 版本不匹配:Envelope 命名空间http://www.w3.org/2002/12/soap-envelope 是意外的。期待http://schemas.xmlsoap.org/soap/envelope/。 faultActor:faultNode:faultDetail:{http://xml.apache.org/axis/}stackTrace:AxisFault faultCode:{http://schemas.xmlsoap.org/soap/envelope/}VersionMismatch faultSubcode:faultString:可能的 SOAP 版本不匹配: 信封命名空间http://www.w3.org/2002/12/soap-envelope 出乎意料。期待http://schemas.xmlsoap.org/soap/envelope/。 faultActor:faultNode:faultDetail:可能的 SOAP 版本不匹配:信封命名空间 http://www.w3.org/2002/12/soap-envelope 出乎意料。期待http://schemas.xmlsoap.org/soap/envelope/。在 org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260) 在 org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169) 在 org.ap...
我已经在管理员中清除了 Web 服务,它们确实会重新填充,但仍然是错误。有什么想法吗?!
【问题讨论】: