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! ..."