Questions tagged [wash-out]

Ruby gem for creating SOAP service providors

WashOut is a gem that greatly simplifies creation of SOAP service providers.

33 questions
1
vote
1 answer

wash_out "No route matches _action"

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 => { …
mhenrixon
  • 6,179
  • 4
  • 40
  • 64
0
votes
1 answer

WashOut::Soap parameters missing when upgrading to Rails 6 actionpack 6

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…
weijenli
  • 75
  • 1
  • 7
0
votes
0 answers

Use multiple namespace in wash_out gem in ruby

I have following request to be created in my SOAP API and using this gem https://github.com/inossidabile/wash_out/
0
votes
0 answers

Duplicate elements in soap request using wash_out gem in Ruby

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…
0
votes
1 answer

Map XML arguments to ruby class while using wash-out gem for SOAP request

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: # …
0
votes
1 answer

wash_out gem error accessing soap_config method

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…
0
votes
1 answer

Rails controller processing as HTML instead of SOAP by INVOKE (BPEL) activity

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…
Fezi32
  • 1
  • 6
0
votes
1 answer

Ruby on Rails WashOut GEM SOAP Defining events

I have this code: soap_action "relatorio", :args => {:a => :integer}, :return => :string, :response_tag => "Relatorios" def relatorio @relato = Relato.where(cliente_id: params[:a]).pluck(:projeto_id) …
0
votes
1 answer

No response by invoke web service in ruby via BPEL process

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…
Fezi32
  • 1
  • 6
0
votes
3 answers

rails pass soap basic auth with savon

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],…
Elmor
  • 4,775
  • 6
  • 38
  • 70
0
votes
2 answers

wash_out | XML in payload has < > instead of < >

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…
Sagar Arlekar
  • 464
  • 4
  • 13
0
votes
0 answers

undefined method `values_at' for nil:NilClass when I use WashOut gem

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:…
Mr H
  • 5,254
  • 3
  • 38
  • 43
0
votes
1 answer

wash_out: Accessing Soap Header

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?
luckyruby
  • 273
  • 1
  • 7
0
votes
1 answer

wsse_auth_callback don't work in wash_out soap service

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…
Nick Nizovtsev
  • 233
  • 1
  • 10
0
votes
0 answers

activerecord method missing error

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' …
mirfan899
  • 67
  • 1
  • 13