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
6
votes
4 answers

Ruby/Rails and Sharepoint Web Services

I'm trying to consume Sharepoint webservices with ruby. I've basically given up trying to authenticate with NTLM and temporarily changed the Sharepoint server to use basic authentication. I've been successful getting a WSDL using soap4r but still…
Kevin Colyar
  • 818
  • 1
  • 8
  • 18
4
votes
2 answers

SOAP4R SOAPDateTime format based on GMT

App uses SOAP4r for consuming API/SOAP But SOAP::SOAPTimeFormat is returning 2015-11-15T16:59:521468.7999999999999545-04:00 chkout.add('purchasedDt ', SOAP::SOAPDateTime.new(basket.purchase_Date)) Using strftime('%Y-%m-%dT%H:%M:%S') is giving the…
Fransis
  • 275
  • 1
  • 5
  • 15
4
votes
1 answer

is there a version of soap4r / wsdl2ruby that works with ruby 1.9.2?

As suggested in Ruby soap4r wsdl2ruby.rb errors, I loaded the soap4r gem from git://github.com/felipec/soap4r.git and made the change at line 66 in xmlparser.rb c.downcase == name to c.to_s.downcase == name But when I run: wsdl2ruby.rb --wsdl…
fearless_fool
  • 33,645
  • 23
  • 135
  • 217
4
votes
1 answer

Ruby Soap4R Web Service, .NET Consumer

How do I generate WSDL from a Web Service in Ruby using Soap4R (SOAP::RPC::StandaloneServer) that would be consumed from .NET?
Gleb Popoff
  • 171
  • 2
  • 7
3
votes
1 answer

soap4r custom headers

I've been working with soap4r and trying to use the SOAP::Header::SimpleHandler, I'm trying to get it to put a custom header on the outgoing message, but I can't work out how to get it to include attributes rather than as subelements: class…
Luke Chadwick
  • 1,648
  • 14
  • 24
3
votes
4 answers

sslv3 alert unexpected message when using soap4r

I am working against the level3 SOAP API. Everything was working wonderfully until recently when OpenSSL was updated. Here is the full output of the error message: OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv2/v3 read server…
Geoff Lanotte
  • 7,490
  • 1
  • 38
  • 50
3
votes
3 answers

Successfully calling a WCF Service from Ruby? Anyone?

I'm trying to integrate a rails application with a WCF service. I've tried soap4r and Savon with no love at all. As far as I can tell, none of the Ruby libraries support the newest version of SOAP. The error that I was getting was: Cannot process…
Case
  • 1,848
  • 21
  • 32
3
votes
4 answers

iconv will be deprecated in the future, use String#encode instead

Am getting the following deprecated warnings with ruby 1.9.3-p125 when i run rspec. But there are no deprecated warnings with ruby 1.9.2. /gems/ruby-1.9.3-p125@cs/gems/soap4r-1.5.8/lib/xsd/iconvchars et.rb:9:in `': iconv will be…
diya
  • 6,938
  • 9
  • 39
  • 55
2
votes
0 answers

How do I use add_document_method in soap4r

I am looking for a complete example of how to use Soap4r to send a request to document/literal style web service request? The very same question on SOAP::RPC::Driver formatting problems. How can I change it? on Stackoverflow is there, but I couldn't…
user1177489
  • 157
  • 2
  • 7
2
votes
2 answers

How to create sub category on Magento APi

I am currently using Magento ver. 1.5.0.1. Can anyone tell me how do i create a sub category using soapv2. Here my code format category_data = { "name" => "LIGHTING", "is_active" => 1 } soap.call('catalogCategoryCreate',session,4,category_data,1,…
demonchand
  • 11,091
  • 6
  • 21
  • 25
2
votes
1 answer

How do I add a name.value to the header when generating a soap message from ruby with soap4r

I've created a driver from wsdl When I invoke my request, I would like the header to contain an element, i.e, I want to see something like the following: REPLACE_WITH_ACTUAL blah blah blah However, looking around, everyone…
David Jameson
2
votes
3 answers

Mongrel cluster and multi-applications problem

we're running in this issue. We're using a web service (using soap4r) to run some kind of searches and the problem appears when the webservice server is down and our aplication is trying to connect to it. At that point the application is…
Roberto
  • 1,450
  • 1
  • 15
  • 32
2
votes
3 answers

Webservice with a method named "type". How to consume it using ruby?

I am consuming a web service using ruby (1.8.7) and soap4r (1.5.8). The web service has a method named "type" and I am not able to get the value. @driver=SOAP::WSDLDriverFactory.new(WSDL_URL).create_rpc_driver result = @driver.GetJob(:jobid =>…
MPK
  • 133
  • 2
  • 9
2
votes
1 answer

soap4r - uninitialized constant REXML::Element

i am trying to use soap4r and jira4r in my rails project (ruby version 1.9.3) in Gemfile i have: gem 'soap4r', :git => 'git://github.com/felipec/soap4r.git' gem 'jira4r-jh' when i try to run in my model require "jira4r/jira-tool" model Mymodel …
Pavel K.
  • 6,697
  • 8
  • 49
  • 80
1
vote
2 answers

Ruby SOAP proxy classes

I am working with a complicated SOAP service and I was wondering if there is a ruby tool that allows you to generate proxy classes with all the methods pre-generated. NetBeans does a pretty good job of providing intellisence for classes and I'd love…
mikebz
  • 3,277
  • 8
  • 37
  • 50
1
2 3 4