Questions tagged [savon]

Savon is a SOAP client for the Ruby programming language.

Savon is a SOAP client for the Ruby community.

508 questions
3
votes
0 answers

Using SSL server authentication with Savon

I'm connecting to a biztalk SOAP API, and I've been given a public cert from the server to use to connect using ssl server authentication. I'm using: Ruby 1.9.2, Curb (0.7.15), Savon (0.9.1) HTTPi (0.9.2) I can't seem to get it to work properly, but…
Vanderkerkoff
  • 31
  • 1
  • 2
3
votes
2 answers

Use HTTP proxy with Savon

I need to access a service with an IP whitelist from Heroku, necessitating the need for an HTTP proxy. I configured the Proximo add on, and have a proxy url that looks approximately like http://proxy:secret-key@proxy-0-0-0-0.proximo.io In Savon, I…
AndrewH
  • 3,418
  • 2
  • 15
  • 27
3
votes
3 answers

Successfully calling a WCF Service from Ruby? Anyone?

I'm trying to integrate a rails application with a WCF service. I've tried soap4r and Savon with no love at all. As far as I can tell, none of the Ruby libraries support the newest version of SOAP. The error that I was getting was: Cannot process…
Case
  • 1,848
  • 21
  • 32
3
votes
1 answer

Using multiple parameters with arguments with Savon gem

I'm not getting the expected results with the savon gem passing multiple parameters and giving them attributes. Input: message: { parameterId: 'timePeriod', :query => [[:parameter=>{:@KeyId=>'geo', :@Value=>'528'}], …
Davidenko
  • 31
  • 1
3
votes
2 answers

Validate XML response against WSDL using Ruby Savon

I am using Ruby/Cucumber/Savon to automate Soap webservice. I need to validate the response against the wsdl file. Savon docs don't mention validating XML response anywhere. Does anyone know a good solution to doing this? Thanks, Harv Gill
Harv Gill
  • 41
  • 3
3
votes
2 answers

how to pass Security header in savon 2.7 with Rails 4

my require header is 123
jayesh
  • 2,422
  • 7
  • 44
  • 78
3
votes
1 answer

Ruby Savon Gem Invalid HTTPI Adapter

I am using savon ruby gem 2.4.0 on ruby 2.0.0 to call some wsdl web service and everything runs perfectly but if fails after compiling it as an .exe with ocra 1.3.1. Invalid HTTPI adapter: [:httpclient, :curb, :em_http, :excon, :net_http,…
Maverick
  • 1,293
  • 1
  • 19
  • 39
3
votes
1 answer

Savon: user not authorized

I am using savon gem for accessing abc financial web services. I am getting error message user not authorize. I am using this code for accessing …
vishu
  • 195
  • 2
  • 11
3
votes
1 answer

With rspec how do I test a method received a hash parameter in the correct order?

Unfortunately I'm needing to interact with a Soap API. If that's not bad enough, the API has parameter ordering turned on which means, regardless of the fact it's XML, it must be structured in the correct element order. I'm using Savon so I'm…
toxaq
  • 6,745
  • 3
  • 46
  • 56
3
votes
1 answer

Getting 'Error cannot find parameter' when creating category with Magento SOAP API v1 and Savon Ruby Gem v2

Background I'm trying to create a category through the Magento SOAP API using Savon. Before anyone suggests it, I can't use the Magento SOAP v2 or REST APIs. This code sets up my client and logs in: @client = Savon.client(wsdl:…
dannysmith
  • 391
  • 1
  • 3
  • 11
3
votes
1 answer

Ruby Savon authentication

I'm attempting to connect to a web service using Savon gem. What I know about service: wsdl file url ".../service.svc?wsdl" login "login" password "password" domain "domain" I successfully connected to the service via SoapUI. I entered wsdl url,…
3
votes
1 answer

Integration/request rspec test of my SOAP service

I have part of my rails 2 webservice application which is used as SOAP service (historical reasons, rest of app is REST). Just two operations AddLead and ShowLead, with wsdl on /soap/wsdl. I want to test this operations by Rspec integrations…
Foton
  • 1,197
  • 13
  • 24
3
votes
2 answers

Issue Sending SOAP requests with Savon gem in ruby

I am using the Savon gem to communicate to a soap api from a tax company called vertex. The api endpoints can be found here https://sandbox.ondemand.vertexinc.com/vertex-ws/listVertexServices.jsp. I had to switch the http adapter to use curb because…
BC00
  • 1,589
  • 3
  • 29
  • 47
3
votes
1 answer

Requests through another machine

Is it possible to make requests for example with Savon through something like ssh-tunnel. I can run this stuff from my stage server whose IP is whitelisted in the service I'm sending requests to. But of course I want to do the development on my…
3
votes
1 answer

How do I correctly call Magento SOAP API with Ruby Savon for Category Product Links?

I am trying to call the catalog_product_link.list API method using Savon. However, I keep receiving the error Error cannot find parameter. Here is what I am using, though I have tried several variations of the call and still cannot get it to go…
Carson Reinke
  • 713
  • 5
  • 16