Am trying to re-write written by savon body namespace - ins0
I have this client variable:
client = Savon.client(wsdl: "https://integcert.synxis.com/interface/Contracts/ChannelConnect2004.wsdl", log_level: :debug, log: true, pretty_print_xml: true,…
I have the lovely task of working with a hefty SOAP api with Rails. The SOAP service has three different bindings; wsHttpBinding, wsHttpBinding with x509, and a custom binding. I'm able to hit two of the end points with just wsHttpBinding, but the…
I can't record anything with vcr, I have such setup:
spec_helper.rb
require 'vcr'
VCR.configure do |c|
c.cassette_library_dir = 'spec/cassettes'
c.hook_into :webmock
c.configure_rspec_metadata!
c.default_cassette_options = { :record =>…
I am making calls to a SOAP based API for the first time, and I have the following info from the documentation:
In your client, construct your authorization header as follows:
1 Concatenate the user name and password, for example:
…
While running a cucumber test I am getting (in addition to the test results) a lot of debug/log related output in the form:
D, [2013-03-06T12:21:38.911829 #49031] DEBUG -- : SOAP request:
D, [2013-03-06T12:21:38.911919 #49031] DEBUG -- : Pragma:…
I need to create a ruby web service client(with Savon) to make a soap call to a web service which requires the EncodingType in the Nonce.
So the correct soap message will have the Nonce element like this:
......
I'm using Savon gem in Ruby on Rails to communicate with a wsdl WS. Everything is working fine, but I want to log the request XML using a custom log, i.e. not Rails or Savon logger. My code looks something like this:
response =…
First a little background:
I have already managed to connect to a Microsoft SOAP web service using C#. To use this web service, I have to supply a username and a password in the C# code. I also have to install a security certificate (in .cer format)…
I've run into an issue where the Savon Ruby Gem generates a SOAP API call that fails, however when I copy and paste the exact same XML message into SOAP-UI it succeeds.
I send this message:
Is it possible to override the "address location" value in a WSDL? I need to supply a dynamic user/password within the URL.
This certainly doesn't work:
client = Savon::Client.new("example.wsdl")
client.http.url = "https://foo:bar@example.com"
I am consuming webservices with Savon and the WSDL comes with 2 bindings. How do I specify which binding to use in Savon? One of them is http and the other one is https. I am trying to use the https service.
The information on wsdl
I am trying to send a pdf file along with a SOAP request using the Savon gem.
All the similar questions I found are either 5+ years old (Savon v1) or without any answer.
While testing the request in SoapUI I was able to successfully send a file with…
I am new to Savon2
and passing wsdl url to the Savon.Client, and getting proper response in header, but I am not getting how to pass multiple namespace to the body:
Savon.client(wsdl: 'https://someUrl.com/abcd?wsdl', ssl_verify_mode: :none,…
I'm having an issue with Ruby code posting SOAP using Savon
I have a parameter XML_BODY which apparently is not being sent, or, if it is, looks null to the Java code receiving it (if I try to return "TEST"+XML_BODY, the response shows "TEST…
I've tried changing the logging on Savon when running it against a WSDL, but have been unsuccessful in changing the logging level.
I read the docs: http://rubiii.github.com/savon/#global_configuration
I did this:
Savon.configure do |config|
…