I just installed Savon 2.0.2 on Rails 3.2.11. When I try to create a new client in the console, I get TypeError: can't convert String into Hash:
1.9.3-p362 :003 > client = Savon::Client.new("http://www.webservicex.net/uszip.asmx?WSDL")
TypeError:…
I recently update on savon 2.0.2 and I'm using it for sending some xml via soap.
I have to use certificates but after updating the syntax of the new savon version the certificates are ignored. Could someone help me with the new syntax - I'm…
I'm doing soap requests on devices that have self signed certs. I set verify_mode :none, but I still get "at depth 0 - 18: self signed certificate" warnings. I know if I can set the verify_callback, I can suppress these warnings.
Can anyone tell me…
I'm using ruby 1.8.7 with rails 2.3.11, savon 1.1.0, wasabi 2.5.0, httpi 1.1.1, and httpclient 2.2.7
Whenever I run my script:
#!/usr/bin/env ruby
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
require…
I am trying to use a SOAP service that insists on HTTPS for credentials being passed to their :login.
Using Savon, I am not seeing how to setup for HTTPS and therefore it is failing. Can someone kindly point out how to use Savon to do calls over…
I'm consuming a SOAP service in Ruby using Savon which returns a response with identically named elements as single element instead of an Array. How do i retrieve it as Array?
```
…
I am a newbie to savon and SOAP.
I am trying to create a request to netsuite wsdl service. When I run it, I get the following error:
D, [2012-02-23T15:05:08.714815 #2284] DEBUG -- : HTTPI executes HTTP POST using the httpclient adapter
D,…
I'm writing a gem to add support for SOAP services to Ruby (I hate myself for doing this but, you know, legacy systems are feeling lonely and gotta talk to someone), and I'm wondering if there's a way I can write some tests using Savon as a client…
I have tried the savon gem and it works fine.
Unfortunately, I cannot use it for the actual application as we cannot use Nokogiri. I looked at soap4r and it seems to be very old. I also looked at handsoap and have yet to fully test it for my…
How would I remove the HTTP headers from a Savon request for example
client.request 'v5:ProcessShipments' do
client.http.headers["SOAPAction"] = "example_post"
end
This would generate
DEBUG -- : SOAPAction: example_post
And the server would…
I'm trying to use the Yodlee soap APIs. They give examples with Apache Axis
Any perspectives on using Ruby and Savon versus Java and Axis?
With Ruby/Savon, it seems that the best thing to do is to skip using the WSDL files and generate the requests…
I'm attempting to utilize the ruby gem Savon to connect to a web service provided by propertyware (http://propertyware.com/apidocs/Getting-Started). I've successfully connected to the service via SoapUI and executed an echoString request. When I…
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…