Displaying 1 result from an estimated 1 matches for "excelsoap".
Did you mean:
excelsa
2012 Mar 28
0
Performance for SOAP and HTTP
...worked fine, but the performance was bad. The following code
client = Savon::Client.new
client.http.headers["Content-Type"] = "application/soap+xml;
charset=utf-8"
client.wsdl.endpoint = "http://localhost:22234/calculator"
client.wsdl.namespace = "http://excelsoap.local.com/"
response = client.request :wsdl, "validate" do
soap.version = 2
soap.body ={ "code" => "some data as value" }
end
requires about 1000 ms to execute.
So I switched to http and tried the Restclient. But the following code
api_call =...