ruby-on-rails - SOAP 请求 : "The message with Action ' x' cannot be processed at the receiver. 中的 Savon 错误响应 .."

标签 ruby-on-rails web-services savon

我正在使用 Savon 实现 Web 服务客户端。

但是,我收到了这条消息:

(a:ActionNotSupported) The message with Action 'SearchCars' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

发送我的 soap 请求后。

我读到它与 httpBinding 或其他东西有关。

有什么想法吗?

最佳答案

您的工作客户端是否有其他机制(例如 curl)?

我发现有用的是查看 http 请求之间的差异,使用类似 Charles 的东西.

和/或 soapUI是检查 Web 服务和试用它们的便捷工具。您是否尝试过与之建立联系?

HTH,克里斯

关于ruby-on-rails - SOAP 请求 : "The message with Action ' x' cannot be processed at the receiver. 中的 Savon 错误响应 ..",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6522776/

相关文章:

ruby-on-rails - Rails 连接表命名约定

web-services - Yesod 持久性示例

java - 如何获取我的 WSDL 的 URL?

ruby - Savon 哈希数组

ruby - 使用 Savon SOAP 调查参数

ruby - 正确构造此 SOAP header 吗?

mysql - 如何使用 Rails 删除 MySQL 中的重复项?

ruby-on-rails - 如何让 memprof(在 rails 内)跟踪所有之前的过滤器,然后在转储输出之前进行操作?

ruby-on-rails - 按天对 Mongoid 对象进行分组

java - 使用 GET 调用带有数组参数的 JAX-WS Web 服务