I am trying to get a simple ruby script to send requests to a SOAP API but I am not able to get responses back.
This is what I am trying to do:
require 'date'
require 'savon'
# Create the client
client = Savon::Client.new do
wsdl.document =…
Is there a way to write middleware in Savon like Rack middleware or Faraday middleware?
The only thing a found was Observers but its not what I looking for because savon observer getting called only once before request was made.
In Faraday for…
I am attempting to access a SOAP service using the Ruby gem Savon. I can connect to the service and make a request and receive the response, but I cannot parse the response.
The response contains multiple href references to multiRef elements. When I…
I am trying to make a SOAP request to a remote SOAP Server using the Savon gem in rails. The SOAP Server is replicated on three instances with different IP Addresses, i.e. XXX.XXX.XXX.1, XXX.XXX.XXX.2 and XXX.XXX.XXX.3.
I am able to explicitly…
The mentioned error comes calling an API behind a firewall but and I am trying to access the API from an EngineYard instance. The EngineYard instances IPs are white listed in their firewall.
client = Savon.client(wsdl:…
I'm working on an old project using Savon to connect to the SalesForce api. I'm getting this error:
UNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https
How do I…
I would like to generate following soap header with SAVON but cannot really find any proper documentation for it any help would be appreciated.
4.0*******
…
I am a beginner with ruby on rails and a little confused as to the best authentication approach to take for:
1) Securely pass login credentials user has entered in browser to the web service call (using http basic auth in the savon gem).
2) Use the…
I am just starting out in the ruby on rails world and have managed to get the below model to make a request and return a response. It uses the 'savon_model' gem which has 'savon', 'httpi' and 'httpclient' gems as dependencies.
class…
I try to connect soap via savon, I get an error:
(a:InternalServiceFault) Object reference not set to an instance of an object.
Extracted source (around line #85):
def raise_soap_and_http_errors!
raise soap_fault if soap_fault?
…
In order to do some investigative and debugging work, I would like to find out about the required and optional methods for a SOAP with WSDL.
In that WSDL, all required and optional parameters foor each SOAP action, as well as their type and form,…
i am having problems forming my soap document for the following. this is also my first time using soap. after some research and recommendations, savon seems the way to go.
require 'savon'
client =…
I am using savon 2.11.1 gem to get soap request and responses in my rails application. I am creating client Object using
Savon.client(wsdl: "sample_url", ssl_verify_mode: :none)
and invoking
client.call(:method_name, hash)
When I invoke call…