繁体   English   中英

SOAP 1.2 消息在发送到 SOAP 1.1 端点时无效 WSDL 中使用 SOAP 1.2 时出现错误

[英]A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint Error While Using SOAP 1.2 in WSDL

当我发送一个发布请求时,我收到这个错误“SOAP 1.2 消息在发送到 SOAP 1.1 端点时无效”,但问题是我的 Soap 版本已经是 1.2 并且所有定义都在 wsdl 文件中完成。 下面是两个示例请求标头:

当请求中的信封是 soapenv:"http://schemas.xmlsoap.org/soap/envelope/" 时,它工作得很好,我可以从我的应用程序中得到响应。

当请求中的信封是 xmlns:S="http://www.w3.org/2003/05/soap-envelope" 时,此问题的标题中会出现错误。

我使用的所有消息都必须使用第二个信封。 谁能让这成为可能?

评论: https://docs.oracle.com/cd/E24329_01/web.1211/e24965/faults.htm#WSADV633

替换所有事件:xmlns:S="http://www.w3.org/2003/05/soap-envelope"

对于:xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM