savon肥皂请求执行已过期
我有一个非常简单的 ruby 脚本,如下所示:
require 'savon'
client = Savon::Client.new do
wsdl.document = "http://server/app/app.svc?wsdl"
end
如果我执行以下操作:
client.wsdl.operations
我从服务中获取所有操作,因此它可以正确连接和检索 wsdl。
但是,如果我尝试运行某个操作
response = client.request "Test"
,我会收到“HTTPClient::ReceiveTimeoutError: 执行已过期” 我也在查看 Fiddler,但没有看到提出任何请求。 我已通过其他技术(C#、JS)确认该服务正常工作,
您知道我做错了什么吗?
I have a very simple ruby script that looks like this:
require 'savon'
client = Savon::Client.new do
wsdl.document = "http://server/app/app.svc?wsdl"
end
If I then do something like:
client.wsdl.operations
I get all of the operations from my service, so it is connecting and retrieving the wsdl correctly.
However, if I try to run an operation
response = client.request "Test"
I get "HTTPClient::ReceiveTimeoutError: execution expired"
I am also looking at Fiddler, and don't see that any request was even made.
I have confirmed the service works correctly through other technologies (C#, JS)
Any idea what I'm doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论