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
3
votes
0 answers

Soap wash_out gem disable nillable values

I am using wash_out gem in rails 3.2.22 When buiding a complex type ex: 'AuditCase' I use the following defenition: class AuditCase < WashOut::Type map :caseID => :long, :periodStart => :dateTime, end And it gives me the following…
3
votes
1 answer

How to access wash out soap actions directly with passing action name in query string?

Here is my problem: One of our client wants to access soap actions with passing action_name in query string. Is it possible to do it with wash_out gem? example url: http://example.com/dummy_soap/action?action_name=do_something Any help is…
emrahbasman
  • 2,003
  • 10
  • 19
2
votes
1 answer

How to test wash_out controller with Rspec in Rails 5

I am using wash_out to create a soap webservice, this is my controller: class SignerController < ApplicationController soap_service soap_action 'xmlSign', args: { xml: :string, certificate: :string }, return: { …
Lluís
  • 1,267
  • 1
  • 14
  • 36
2
votes
0 answers

Empty params hash in wash_out webservice

I get the following request to my webservice endpoint:
semaph0r
  • 305
  • 1
  • 2
  • 12
2
votes
1 answer

Why wash_out can't use identical data types in different soap actions?

I use wash_out from the master branch. Why I can't use identical data types in different soap actions? Sample: soap_action "get_groups", :args => {:page => :integer}, :return => {:data => [{:id => :integer, :name => :string}], :total =>…
Nick Nizovtsev
  • 233
  • 1
  • 10
2
votes
1 answer

how to add optional parameter in soap action request?

I want to add optional paramteter in soap_action(wash_out) request, here is the code soap_action "DeActivate_VAS_Request", :args => {:some_arguments}, :return => {:return_values} and operation is
mirfan899
  • 67
  • 1
  • 13
1
vote
0 answers

Could not reach the SOAP API action through washout gem

I am trying to integrate the salesforce with my rails 6 application with the help of Washout (0.12.0), and Savon The issue is that I am not able to reach any action within the web service I have created by Washout and Savon gem. Further code…
1
vote
0 answers

Create a specific SOAP action path. wash_out gem. Replace /action

When I make wash_out routes with wash_out :my_controller it generates two path: http://myip/my_controller/wsdl - default link to wsdl file http://myip/my_controller/action - default link to action I'd like to create specific links, because I…
1
vote
0 answers

How to call webservice in java that created by wash_out gem

i build a web service project by wash_out gem ,i can call functions use the Savon gem ,but when i tried to connect to my webservice server by soap.jar in java; its doesn't work , how to write the url of functions? and how to send actions by…
junk
  • 917
  • 3
  • 11
  • 29
1
vote
1 answer

Wash out gem add http_basic_authenticate_with occur an error

this is my error stack : > TypeError (no implicit conversion of nil into String): > > activesupport (5.0.0.1) lib/active_support/security_utils.rb:23:in `digest' lib/action_controller/metal/http_authentication.rb:71:in `block in >…
junk
  • 917
  • 3
  • 11
  • 29
1
vote
2 answers

How is header information and post data in rails tests set?

I'm running Ruby 1.9.3 and Rails 3.1. I can successfully manually test my usage of the Washout gem by sending myself XML payloads. I am trying to recreate the following bash command in a rails test: curl -H "Content-Type: text/xml; charset=utf-8"…
1
vote
2 answers

How do I un-namespace a ruby constant?

I am using a library that doesn't handle namespaced models. I have a rails engine that has all the ActiveRecord models that I need to use and as such I reference them with the namespace of the engine, ex: TableEngine::Posts. Is there a way in Ruby…
Nathan Hanna
  • 4,643
  • 3
  • 28
  • 32
1
vote
1 answer

How to quit a Ruby on Raily server?

Inside a test environment I am using the wash_out GEM within a Ruby on Rails server to run a SOAP service that serves as a Proxy between two different transfer protocols. At the end of the test run, I would like to quit the Rails server with a…
Felix Petriconi
  • 675
  • 5
  • 11
1
vote
0 answers

migrating costum data types from actionwebservice to wash_out

I am trying to migrate a old webservice in soap made for actionwebservice to a new soap gem. I found wash_out, it looks a great gem for me, but I am not understanding some things in the official page. https://github.com/inossidabile/wash_out I have…
fabio
  • 119
  • 10
1
vote
0 answers

handling soap message tag attributes with wash_out?

wash_out is a great gem for a soap service, but can't figure out how to read or set attributes on the SOAP message tag, as in:
vic700208
  • 41
  • 6
1
2 3