Questions tagged [soap4r]

SOAP4R is a SOAP implementation for Ruby developed by Hiroshi Nakamura. It is part of the standard library of Ruby 1.8.7, but was removed from 1.9.2.

56 questions
0
votes
1 answer

How do I pass objects to RPC style web services when working with soap4r at runtime?

I am creating a proxy for a soap web service at runtime using soap4r. proxy = SOAP::WSDLDriverFactory.new("http://www.example.com/endpoint?wsdl").create_rpc_driver How do I execute a rpc with a object parameter?
Lee
  • 9,432
  • 3
  • 30
  • 34
0
votes
1 answer

SOAP using soap4r Ruby

I implemented a standalone server with the help of this tutorial: http://www.tutorialspoint.com/ruby/ruby_web_services.htm The code is : require "soap/rpc/standaloneserver" begin class MyServer < SOAP::RPC::StandaloneServer # Expose our…
0
votes
1 answer

'SSL not supported' when calling https web service in Ruby

I am trying to run the following code to call a webservice from ruby but get an error 'SSL not supported'. I have httpclient 2.1.5.2 installed. require 'soap/wsdlDriver' def validate_certificate(is_ok, ctx) cert = ctx.current_cert unless…
user204884
  • 1,745
  • 2
  • 19
  • 27
0
votes
2 answers

Passing a blank XSD::QName using soap4r

I have overridden the SimpleHandler to pass a username and password using soap4r. the problem is that I am forced to give a QName, and this is causing the result to fail because it's not in the right format. What soap4r is adding is something like…
Wayne Molina
  • 19,158
  • 26
  • 98
  • 163
0
votes
1 answer

Confused about soap4r custom headers

I am trying to set up a web service to Celltrust's SMS Gateway. I have their SDK and I'm trying to use soap4r to create the custom headers that it needs. I'm not sure exactly what I need to do to get it in their format, since they don't provide me…
Wayne Molina
  • 19,158
  • 26
  • 98
  • 163
0
votes
1 answer

How can i generate soap4r wsdl2ruby classes in a namespace to avoid name collisions?

I'm having a naming collision between my Address class used for db and the Address class generated using wsdl2ruby (and several other classes). I'm using soap4r. Is there anyway to generate the soap4r classes in their own namespace so all the soap4r…
Greg
  • 1,549
  • 1
  • 20
  • 34
0
votes
1 answer

Generate XML with soap4r without invoking the web service?

I have set up a soap4r client for a web service, and it's working fairly well. We're using it to send data from one database to another (don't bother asking about that... I know it's not optimal), but we're not entirely sure the mapping is correct,…
David N. Welton
  • 1,875
  • 18
  • 33
0
votes
2 answers

Connecting to Bing Maps SDK from a Rails app

I am attempting to connect to Bing Maps SDK through a RoR application. My goal is to calculate driving distance between two locations after geocoding them. I am new to SOAP and ROR so I may be making a simple mistake. Two days of Googling…
Kevin Dewalt
  • 757
  • 9
  • 24
0
votes
1 answer

Ruby's soap4r not providing namespace?

I'm attempting to use soap4r (from https://github.com/mumboe/soap4r) to write a SOAP Client for a product called SysAid. I have a working example of the SOAP client in Java and, for most methods, my Ruby client works too. The Java client is useful…
Christopher
  • 1,635
  • 5
  • 19
  • 30
0
votes
1 answer

soap4r SOAP::FaultError

I am new to soap and I am having the problems with it already! I am using soap4r gem. gem 'soap4r', :git => 'git://github.com/felipec/soap4r.git' require 'soap/wsdlDriver' require 'soap/rpc/driver' require 'soap/mapping/mapping.rb' And I initialize…
Sadiksha Gautam
  • 5,032
  • 6
  • 40
  • 71
0
votes
1 answer

undefined method `gsub'...(NoMethodError) for docusign

After installing the docusign gem and dependent soap4r gem via github (git://github.com/felipec/soap4r.git), I get this issue when trying to run the server user$ rails…
Jonathan Mui
  • 2,471
  • 3
  • 19
  • 27
1 2 3
4