I have a webservice -somewhere- to validate passwords and stuff, and a module using SAVON that makes the corresponding questions in order to verify someone. The thing is, I don't have the login to work with my module. I was trying to use DEVISE to…
Two days ago, I started seeing this error on the production server of my app (on staging everything works fine). I found a lot of topics here on SO, but none of them solved this issue for me.
Here's the piece of code that's causing this error…
Perhaps I'm just not writing idiomatic code for savon, so please feel free to straighten me out, but I was trying to make multiple requests on the same client, as demonstrated in
client=Savon::Client.new {
…
I'm new to Savon, getting configure_headers': undefined method%' for nil:NilClass (NoMethodError) error when trying to send a soap request
my code looks like this
client = Savon.client do
wsdl…
I'm using Savon Ruby gem to call a SOAP API, I have the request almost ready but one thing is bugging still.
savonclient = Savon.client(wsdl: 'test.wsdl',
endpoint: 'http://endpoint.biz/',
log: true,
log_level:…
I want to pass the object as a parameter in Savon call. I am passing hash with type as follows
require 'savon'
class Test
def operation
client = Savon.client(wsdl:'Web service wsdl link for eg http://google.com?wsdl')
//in this case p_request is…
I tested a SOAP API in SoapUI and it worked just fine.
I then implemented the same request in my Rails 5 app using Savon. It worked for a few weeks and then stopped working. SoapUI still works so the API provider of course tells me that the error is…
I have a ruby/thor script that uses savon to make a soap request. If I run the script on my desktop with:
thor my_script:my_action
everything works fine. If I run the script with:
bundle exec thor my_script:my_action
I get an error when savon…
I'm working with ruby and Savon 2. I have been given the following SOAP example:
POST /WebApi/Services/b2bapi.asmx HTTP/1.1
Host: api.nationsphotolab.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction:…
When calling to an API for retrieving labels for post parcels I get frustrated with how hard it is to set up a SOAP call with ruby.
I know that the following works from a sandbox environment:
this is the SHOULD BE call
I need to hit a SOAP service, however, the server won't accept my request but throws an error due to the below header and footer in the request.
As per the logs, the request/response looks like below:
SOAP **request**:…
Is it possible to disable authentication (basic_auth) when Savon attempts to retrieve the WSDL?
It appears that this changed somewhere around 2.0 or 2.1 and now the authentication headers are always being sent, which the server I am calling throws…
I'm consuming a simple SOAP web service to get a small piece of HTML to be included in a Rails site. Unfortunately, I'm not particularly familiar with SOAP.
I need to call the TopHtml() SOAP method on the endpoint below but I need to also pass an ID…