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

Rails Savon HTTPClient::KeepAliveDisconnected Issue

it's my first time posting on stack overflow, so here it goes... I'm having an issue when I try to make an api call using rails, but I keep getting a HTTPClient::KeepAliveDisconnected error. Since I am new to Ruby and rails, I don't know where to…
0
votes
0 answers

How to return a list of objects from soap webservice with rails

I'm using Savon to access a soap webservice, but I can only ever return a single result, when what I want is an array of results. Here is my call: response = client.call(:get_events, message: { username: "xxxx", password: "xxxxxxxx", company_code:…
jfdimark
  • 2,239
  • 1
  • 14
  • 27
0
votes
1 answer

savon gem example_body not coming properly

I have a wsdl url to give request and get response this is my code(using savon gem for this) client = Savon.new('http://services.chromedata.com/Description/7a?wsdl') service = :Description7a port = :Description7aPort operation =…
Anbazhagan p
  • 943
  • 1
  • 14
  • 27
0
votes
0 answers

consume custom binding oracle WFC web service with ruby / savon

I am trying to consume a wfc web service with a non basicthttp binding with ruby and savon. The provider of the WS implemented the oracle/wss11_username_token_with_message_protection_service_policy (which is described…
0
votes
1 answer

similar gem like savon

i want to give request and get xml response so i'm using savon gem i am facing problem with savon gem. i tried version 3 and 2.2 with version 3 i face this problem …
Anbazhagan p
  • 943
  • 1
  • 14
  • 27
0
votes
2 answers

how to get / retrieve id from xml response

Im using savon gem to fetch xml information. The xml response is like this "
Anbazhagan p
  • 943
  • 1
  • 14
  • 27
0
votes
1 answer

Parse a faultString from response of AdWords API

I am developing an AdWords API client on Ruby using Google's gems google-adwords-api and ads-common (which utilizes savon). When some AdWords policy is violated, Savon raises an exception with violation description in its message. For example, on…
Hnatt
  • 5,767
  • 3
  • 32
  • 43
0
votes
2 answers

Adding namespace in version 2 of Savon

What is the analogy of this Savon version 1 code in Savon version 2? client = Savon::Client.new do wsdl.endpoint = "http://..." wsdl.namespace = "http://..." # target namespace end
Daniil Shevelev
  • 11,739
  • 12
  • 50
  • 73
0
votes
1 answer

SOAP requests using Savon

I dug as deep as I could but could not find a solution to my problem: I want to send SOAP requests to ExactTarget API. I am trying to use Savon, but the requests it creates are different from those that worked with ExactTarget's API (I used Java…
Daniil Shevelev
  • 11,739
  • 12
  • 50
  • 73
0
votes
1 answer

How do I use the Savon gem to make a currency converter in a Rails application?

I am trying to integrate a currency converter into my Ruby on Rails application using the Savon gem to fetch data from http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. I was following the tutorial at…
ben
  • 6,000
  • 5
  • 35
  • 42
0
votes
1 answer

Savon appends "Input" to the operation that I'm calling

I've been tasked with writing some checks around a soap api, and I'm having a bit of trouble. I've imported the wsdl into SoapUI to test with. SoapUI parsed out the wsdl and generated a sample request for the operation I want to call…
0
votes
0 answers

Change Savon's output when WSDL requires (complexType - sequence) containing multiple elements

I'm trying to use Savon to access a SOAP API with a WSDL available. In the WSDL, it defines a complexType as follows:
bdx
  • 3,316
  • 4
  • 32
  • 65
0
votes
2 answers

SOAP REQUEST USING Savon Gem

I have savon version =>1 and my code is here require 'savon' client = Savon::Client.new "http://midoffice.makemytrip.com/MMT_Webs_CreateIncident/MMT_Webs_CreateIncident.asmx" response = client.do_simple do |soap| soap.body = { :FirstName…
Ravendra Kumar
  • 1,072
  • 10
  • 29
0
votes
1 answer

Savon create matched XML pattern

I am trying to get the pan info from the income tax of india web API. The standard XML for the request is this
user1683039
  • 75
  • 1
  • 8
0
votes
1 answer

Savon soap request ruby format

I currently working on new project and I am pretty much new to savon. I am currently using ruby-1.8.7 and savon-1.0.0 and I have below SOAP XML request