I am trying to integrate rails application with WCF service. I tried soap4r and Savon without love. As far as I can tell, none of the Ruby libraries support the latest version of SOAP.
The error I was getting was:
Cannot process the message because the content type is' text / xml; charset = UTF-8 'was not the expected type' Applications / soap + XML; encoding = UTF-8 'applications / soap + XML.'; encoding = UTF-8 '.
I managed to beat this error by changing the WCF service binding from wsHttpBinding to basicHttpBinding, but then getting a new error:
A message with an action "cannot be processed at the receiver due to a ContractFilter mismatch in the EndpointDispatcher. This may be due to a contract mismatch (action mismatch between the sender and the recipient) or a binding / security mismatch between the sender and the recipient. Make sure the sender and the recipient have the same contract and the same binding (including security requirements, such as message, transport, no). (SOAP :: FaultError)
Now this error leaves me puzzled because I see no way to configure endpoints in any of the Ruby libraries. Somebody knows?
Has anyone successfully called WCF services from Ruby? 'application / soap + xml; encoding = UTF-8 '.