萨翁身体问题
require "savon"
client = Savon::Client.new "http://www.brenda-enzymes.org/soap2/brenda.wsdl"
response = client.request (:get_km_value) do |soap|
soap.body = {'ecNumber' => '1.1.1.1'}
end
x = response[:get_km_value_response][:return]
puts x
给出结果 {"@xsi:type"=>"xsd:string"}
Expected Result:
"ecNumber*string#kmValue*string#kmValueMaximum*string#substrate*string#commentary*string#organism*string#ligandStructureId*string! ecNumber*string#kmValue*string#kmValueMaximum*string#substrate*string#commentary*string#organism*string#ligandStructureId*string! ecNumber*string#kmValue*string#kmValueMaximum*string#substrate*string#commentary*string#organism*string#ligandStructureId*string! ..."
require "savon"
client = Savon::Client.new "http://www.brenda-enzymes.org/soap2/brenda.wsdl"
response = client.request (:get_km_value) do |soap|
soap.body = {'ecNumber' => '1.1.1.1'}
end
x = response[:get_km_value_response][:return]
puts x
Gives results {"@xsi:type"=>"xsd:string"}
Expected Result:
"ecNumber*string#kmValue*string#kmValueMaximum*string#substrate*string#commentary*string#organism*string#ligandStructureId*string! ecNumber*string#kmValue*string#kmValueMaximum*string#substrate*string#commentary*string#organism*string#ligandStructureId*string! ecNumber*string#kmValue*string#kmValueMaximum*string#substrate*string#commentary*string#organism*string#ligandStructureId*string! ..."
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我终于通过使用 SOAP::Lite Perl 库 使其工作,启用 调试输出 并从其网站执行示例请求。
I finally got it working by using the SOAP::Lite Perl library, enabling debug output and executing a sample request from their website.