Questions tagged [savon]

Savon is a SOAP client for the Ruby programming language.

Savon is a SOAP client for the Ruby community.

508 questions
0
votes
1 answer

Passing Rails SOAP response error from model back to controller

I have a rails application in development that is taking a submitted form, sending it via a SOAP call using the SAVON gem, and is then receiving back an error message. My question is: how do I pass that returned error message received in the model…
Stephen Sprinkle
  • 1,015
  • 11
  • 14
0
votes
1 answer

Rails console error - savon gem

i try this comand on rails console: client = Savon.client("http://www.webservicex.net/uszip.asmx?WSDL") but this erros appears: TypeError: can't convert String into Hash and i already have add 'savon' gem to my gemfile and the version of savon is…
0
votes
1 answer

Ruby on Rails 3.2.11 Savon v2.0.2 breaks my app

I upgraded to Savon v2.0.2 from 1.1.0 and it broke my app. I made the necessary adjustments to the code to account for the changes in the Error callbacks (Savon::SOAP::Fault to Savon::SOAPFault, Savon::HTTP::Error to Savon::HTTPError, etc) and…
hackerkatt
  • 165
  • 11
0
votes
2 answers

NameError (uninitialized constant Savon::Request)

I'm trying to use this Ruby wrapper https://github.com/mattetti/Pvwatts but I have an issue with my controller app/controllers/projects_controller.rb (relevant excerpts) require 'rubygems' require 'savon' class ProjectsController <…
rh4games
  • 962
  • 2
  • 15
  • 38
0
votes
2 answers

Savon HTTP::ERROR but no more information?

I am trying to configure my rails app to talk to a soap webservice using this code: client = Savon::Client.new do wsdl.document = "http://services.carsolize.com/BookingServices/dynamicdataservice.svc?wsdl" end response = client.request…
hso
  • 345
  • 3
  • 19
0
votes
1 answer

Convert this XML request to a proper Savon request

Can somebody convert this:
Test Test
  • 2,831
  • 8
  • 44
  • 64
0
votes
1 answer

savon nested non unique tags

Im making a savon client to consume the Canada Post web service I need to produce im building this all via a ruby hash, and the…
drfrog
  • 347
  • 2
  • 9
0
votes
1 answer

GET WSDL file using Savon SOAP GEM

I am trying to establish a connection using the ruby gems Savon and execute SOAP requests and responses. The thing is that I am getting the file each time by doing this: client = Savon.client("http://www.webservicex.net/uszip.asmx?WSDL") Now in the…
Test Test
  • 2,831
  • 8
  • 44
  • 64
0
votes
1 answer

Savon and SoapUI

I always use SoapUI before moving on with Savon to see if my URL is correct. Now this time I was given a URL that (probably from a project developed and hosted on a Windows machine), let's say it is this…
Test Test
  • 2,831
  • 8
  • 44
  • 64
0
votes
1 answer

Using SOAP Savon gem and Rails

I am trying to establish a connection using the SOAP gem, called Savon. I can't make sense from the documentation on the website, I have this URL: "https://www.example.com/loginWeb/rvu.aspx", and this credentials username: "user", password:…
Test Test
  • 2,831
  • 8
  • 44
  • 64
0
votes
1 answer

ruby savon - only xsd no wsdl

i've successfully used savon with a site that has wsdl but now i have a site that only supplies the xsd so i can't execute client = Savon.client("http://service.example.com?wsdl") Can savon import and use for data extraction? I think there would be…
Charles F
  • 11
  • 1
0
votes
2 answers

savon ruby colon inside hash

Is it possible somehow in Ruby to write in hash something like this: "xmlns:soap" So it will something like :xmlns:soap
saikek
  • 1,099
  • 1
  • 8
  • 15
0
votes
1 answer

Savon with Builder::Xmlmarkup is not escaping the smaller/greater signs

the below code, generates the following xml. as you may see the the smaller/greater signs are not showing as '<' or '>' and the server is not happy about this. any hint/suggestions are appreciated. Thanks!
Volkan
  • 48
  • 6
0
votes
1 answer

Enforcing XML structure order in Savon

I'm currently trying to build a provisioning service of a kind for a local instance of Open-Xchange, using Rails 2.3.8, Savon and OX's SOAP API. Via the console, I can issue the following commands that will work; >> client =…
qweet
  • 562
  • 6
  • 11
0
votes
1 answer

OpenSSL error savon nginx unicorn, sslv3 alert unexpected message

Having a hard time getting up and running with rails (3.1) app on private vps (Ubuntu 10.04.4 LTS). Getting error below when using savon to call a soap service OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello…
Max
  • 764
  • 7
  • 14
1 2 3
33
34