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
1
vote
1 answer

Change dependent gem

I need switching gem on which other gem relies. So in particular: i have adwords4r gem which relies to old soap4r(which has issues on 1.9.2). I want to change gem on which adwords4r relies to other one(that almost similar but has some tweaks on new…
Vadim Chumel
  • 165
  • 1
  • 5
1
vote
3 answers

soap service on the top of rails3

hello is there a way to create soap service with rails3 application. I have an old application with clients communicates via soap , and I need to create new analogue of service on rails 3 framework . I have no opportunity to change clients so I…
Fivell
  • 11,829
  • 3
  • 61
  • 99
1
vote
3 answers

Ruby: Soap4r: How do I get the raw request sent to my soap server?

I have a connection open and am doing: values = [1, 'test'] connection.return_response_as_xml = true response = connection.send(method_name.to_sym(), *values) and that works fine and all. but I want to see the raw request sent across... is this…
asdasd
  • 261
  • 1
  • 3
  • 3
1
vote
1 answer

no such file to load -- soap4r -- why?

I migrated to 1.8.7 Ruby and now I keep getting this error and it is driving me crazy. I try installing it manually using gem install soap4r and also include it as a config.gem 'soap4r' and rake gem:install and still nothing.... It's blowing up on…
Satchel
  • 16,414
  • 23
  • 106
  • 192
1
vote
1 answer

RegexpError in Ruby when parsing \p{IsBasicLatin} character property

I'm using JRuby 1.7.18 and have even tried this in JRuby 9000 (latest version) where I get the same error. I'm using the soap-4r and nokogiri libraries to parse a wsdl xml file. When the below part of the wsdl is parsed
Graham
  • 5,488
  • 13
  • 57
  • 92
1
vote
1 answer

How to use SSL Web Services in a Rails application

I having a hard time to consume this webservice https://www.arello.com/webservice/verify.cfc?wsdl in my rails application. I successfully generated the ruby files with the wsdl2ruby.rb but when un run the generated script I get the following…
Mathieu
  • 1,175
  • 4
  • 19
  • 34
1
vote
1 answer

Having issue while using soap4r, unable to add namespace, encoding style to soap envelope

I am having problems with one of the soap service I'm using. I am using soap4r for consuming the soap service. But somehow they are expecting something else than what I am sending. This is what I'm sending:
bhups
  • 14,345
  • 8
  • 49
  • 57
1
vote
1 answer

require "soap/wsdlDriver" can't load with soap4r gem

I am using ruby version 2.0.0, and Using soap4r (1.5.8). But i couldn't able to load require "soap/wsdlDriver". I am trying to use with in rails console, irb(main):001:0> require 'soap/rpc/driver' => false irb(main):002:0> require…
Pez
  • 1,091
  • 2
  • 14
  • 34
1
vote
1 answer

Accessing SOAP Service with soap4r not able to access contents of returned objects

So I need to access this service from my rails app. I'm using soap4r to read the WSDL and dynamically generate methods for accessing the service. From what I've read, I should be able to chain methods to access the nested XML nodes, but I can't…
raytiley
  • 684
  • 2
  • 7
  • 17
1
vote
0 answers

Ruby 1.8.7 with soap4r 1.5.8 does not understand xml group elements in WSDL schema

The WSDL document defining my SOAP API defines an XML type, say 'EchoRequest', containing an XML "group" element. Using soap4r, if I make the SOAP API call taking 'EchoRequest' as input, then soap4r doesn't understand the group element and gives…
1
vote
2 answers

Thread lockup in ruby with Soap4r

This is related to a question I asked here: Thread Locking in Ruby (use of soap4r and QT) However it is particular to one part of that question and is supported by a simpler example. The test code is: require 'rubygems' require 'thread' require…
nick
  • 1,055
  • 1
  • 10
  • 17
1
vote
2 answers

Exact Target integration with Ruby examples?

Anyone used Ruby or Rails to integrate with Exact Target's API or have a good example of using WSSE with SOAP4r?
Brian
1
vote
0 answers

soap4r authentication error

I am using soap4r with ruby 1.8.7p358 and I am facing a strange error. I have an endpoint_url, when I browse it, there is no authentication error message. It prints out the response. However, when I create a soap client and try to access the method…
Sadiksha Gautam
  • 5,032
  • 6
  • 40
  • 71
0
votes
1 answer

Rails 3: Soap4r returning "Assert: unknown array definition" for akamai request

Upgrading some things in our app, and now our soap requests to Akamai aren't firing. Unit tests instead cause a return of RuntimeError: Assert: unknown array definition Here's the akamai class: require 'rexml/document' class Akamai def…
Kevin Whitaker
  • 12,435
  • 12
  • 51
  • 89
0
votes
1 answer

Ruby webservices - xmlparser issue

After trying to set up webservice setup using Ruby I encountered problems with xmlparser. As I see - it is common problem (e.g. Ruby soap4r wsdl2ruby.rb errors), but it's solution, however simple, isn't successful to me. I'm trying to run code taken…
Mateusz Chromiński
  • 2,742
  • 4
  • 28
  • 45