I am trying to get wash_out working in a rails 4 application but no dice.
# tains_controller.rb
class TainsController < ActionController::Base
include WashOut::SOAP
soap_action :get_balance,
:to => :balance,
:args => {
…
I use Washout::SOAP in my Ruby Rails controller which has soap_action like this:
soap_action 'action_name',
:args => {:a => :string, :b => :string},
:return => {'tns:result' => StringArray},
:response_tag…
I'm developing a SOAP service using wash_out gem in Ruby. I have a soap request where I'll be getting duplicate elements (Unique ID in the request given below) in soap request. But I can't find a way to define these elements in the args…
I'm using wash-out gem (https://github.com/inossidabile/wash_out) for exposing a SOAP service.
Sample usage of wash-out documentation goes something like this:
# Params from XML attributes;
# e.g. for a request to the 'AddCircle' action:
# …
I'm having trouble getting an xml response from my SOAP service created using the wash_out gem. For now I just want a soap response that converts integer to string as done in the washout example code. Any ideas what I'm doing wrong here?
My…
I've created a simple web service, only concat two strings. I created this web service with the wash_out gem. So my web service is on my rails server.
controller with concat method:
class ContextserverController < ApplicationController
include…
I've used the Wash out gem to create some web services in ruby. So far so good. With savon gem it's no problem to get a response.
But I create a BPEL process and want to invoke the web service (it's just BPEL)!
The request is no problem, so know…
I'm trying to send soap request with basic authentication with savon gem
My soap server is set up with wash_out gem
class OrdersController < ApplicationController
soap_service namespace: 'sir:WashOut', wsse_username: SIRA[:auth][:username],…
wash_out(0.9.0) has been very helpful for me in implementing a SOAP service in my Rails(3.1) app. One little problem I am facing is that for XML payload in the SOAP body, < > are getting replaced by
< >
Here's my code snippet
render :soap…
I am new to WSDL.
Code (I have added in the view directly - for test): (Page: http://localhost:3000/ccapis )
require 'savon'
client = Savon::Client.new(wsdl: "http://localhost:3000/ccapis/wsdl")
result = client.call(:fetch_prizes, message:…
I need to emulate a soap service that receives authentication credentials through the soap header. Is there a way to access/parse the soap header using the wash_out gem?
…
Why wash_out (0.9.0) don't work with :wsse_auth_callback in parameters?
I used this initialization code:
soap_service :namespace => 'urn:SoapService', wsse_auth_callback: ->(username, password){
...
}
And I got this error:
The following keys…
here is the error when i try to send soap request, it can be syntax error of activerecord version
activerecord (3.1.3) lib/active_record/base.rb:1088:in `method_missing'
app/models/subscription.rb:16:in `log_remove_subscription'
…