2011-06-29 43 views
2

林指定basicHttpBinding的收到此錯誤:如何與薩翁(ROR)

(a:6016) The message with Action 'xxx' 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).

而且我注意到,使用的綁定我的供應商的WSDL是:

BasicHttpBinding_IxFlow

我想我需要在我的Savon控制器中指定。我怎樣才能做到這一點?

Thx。

回答

0

由於錯誤信息是不是真的有幫助(接受這一個各種錯誤)這裏有一些建議:

  • 嘗試從另一個客戶端調用服務(或只是生成xml),並記錄XML
  • 與Savonrb XML相比(它將它打印到控制檯,不是格式很好,但足夠好)
  • 發送從另一個客戶端通過savon捕獲的XML。這是否工作? (你可以指定客戶端#請求方法的塊版本的自定義XML)
  • 看(這是我的服務問題):
    • 的參數順序
    • 命名空間的參數
    • SOAPAction頭(你也可以在塊版本中指定它)