Ruby on rails (a:InternalServiceFault)对象引用未设置为对象的实例

Ruby on rails (a:InternalServiceFault)对象引用未设置为对象的实例,ruby-on-rails,ruby,soap,wsdl,savon,Ruby On Rails,Ruby,Soap,Wsdl,Savon,我试图通过savon连接soap,但出现错误: (a:InternalServiceFault) Object reference not set to an instance of an object. Extracted source (around line #85): def raise_soap_and_http_errors! raise soap_fault if soap_fault? raise http_error if http_error

我试图通过savon连接soap,但出现错误:

(a:InternalServiceFault) Object reference not set to an instance of an object.

Extracted source (around line #85):
    def raise_soap_and_http_errors!
      raise soap_fault if soap_fault?
      raise http_error if http_error?
    end
这是我的密码:

client = Savon.client(wsdl: 'http://moghim24.ir:8080/Moghim24Scripts/Moghim24Services.svc?wsdl')
response = client.call(:open_tempfllist) do
   message fd: '96/01/01'.to_s, ld:  '97/01/01'.to_s, cust:  '1005'.to_s, pass:  '233344'.to_s
end
render :json => response.body

如果出现soap错误,则此
引发soap错误?

哪一行引发此错误?。您是否尝试过在块中接收对象,例如:
response=client.call(:open_tempflist)do | locals |
,然后
locals.message fd:'96/01/01'。to_s,ld:'97/01/01'。to_s,cust:'1005'。to_s,pass:'233344'。to_s
?message dot正确发送参数@fantaOn发生了什么错误?请发布完整的错误消息,包括stacktrace。顺便说一句,您可以删除
to_s
调用,因为它们已经是字符串了。@spickermann问题现在更新了