I am making a SOAP call with using a Ruby On Rails gem Savon and when making a request, I get this error message:
Bad Request - Invalid Header
HTTP Error 400. The request has an invalid header name.
It sounds pretty descriptive, but I am still not…
after upgrading to Debian Buster, Savon fails with:
SSL_connect returned=1 errno=0 state=error: dh key too small
/var/www/ws/capistrano/shared/bundle/ruby/2.5.0/gems/httpi-2.4.4/lib/httpi/adapter/net_http.rb:51:in `rescue in…
I've been using Savon as my SOAP client to request different APIs from Rails application. I've noticed that sometimes the response xmls are showing in multiple lines[see the pic] in console. But I want to get the response xml shown in one line. I've…
When requesting data from my remote server it responds with a value inside a node with the following token , making the parsing process to fail. I manually removed the guilty string and it started working.
i'm using savon gem for SOAP request building, i need snake_case_elements, but when i inspect it seems converted to CamelCase, am i missing something here? Here is a result
And how i did it:
gls_url =…
I try to update the permissions on a field created from the API so that it is visible and usable.
so I do this via the salesforce metadata API.
responses = client.call(:update_metadata, message_tag: :updateMetadata, message: {metadata: { fullName:…
Maintaining a gem to wrap bing ads api, I am using this wsdl from bing.
Most api calls work fine so far, but I am stumbling upon the get_ad_extensions_associations one.
What I type is:
client.call(
:get_ad_extensions_associations,
message: {…
I am creating a class to wrap around a Savon SOAP connection, as follows:
class SOAPConnection
attr_reader :url, :namespace
def initialize(url, namespace)
@url = url
@namespace = namespace
@client = Savon::Client.new do
…
I created wsdl server with soap4r but facing unicode problems with it.
so thought of trying savon or handsoap.
Is there any resource where i can find how to define services and
start a server(may be thin or something similar) with them?
In my RubyOnRails application I'm connecting to an external WebService (provided by the customer) through the excellent Savon gem.
The provider is asking to me which cihpering method method I'm using because he doesn't want the AES256-SHA256…