Parsing SOAP response using SAVON response.to_hash conversion method
问题 I am having trouble parsing a SOAP response. Here is my code: require 'rubygems' require 'savon' client = Savon::Client.new "http://1.2.3.4/xyz/abcd/fsds.wsdl" res = client.query_unpaid_assesments do |soap,wsse| soap.namespaces["xmlns:SOAP-ENV"] = "http://schemas.xmlsoap.org/soap/envelope/" soap.namespaces["xmlns:xsi"] = "http://www.w3.org/2001/XMLSchema-instance" soap.namespaces["xmlns:xsd"] = "http://www.w3.org/2001/XMLSchema" wsse.username="xyz" wsse.password="123" soap.body = {