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.
Questions tagged [soap4r]
56 questions
0
votes
1 answer
Consuming Web Services with Ruby/Powershell
Currently I am using Ruby as the core programming language for Configuration Management support. Since the new release of Ruby (1.9.3) i was not able to use gem configuration to consume web services using NTLM authentication. This is my gem…

Maverick
- 1,293
- 1
- 19
- 39
0
votes
1 answer
Parse WSDL file with SOAP4R
Is there any example of WSDL Parser using SOAP4R? I'm trying to list all operations of WSDL file but I can't figure it out :( Can you post me some tutorial?
Thx

Mr Black
- 219
- 4
- 15
0
votes
1 answer
How to use SOAP::RPC::Driver with basic http authentication with SOAP4r
I am generating the stubs in runtime with driver=SOAP::RPC::Driver.new wsdl_path. How should I initialize/configure the driver in order to use http basic authentication? I have tried driver.options["protocol.http.basic_auth"] =…

Pedro Rolo
- 28,273
- 12
- 60
- 94
0
votes
1 answer
I get these errors trying to build a web service client in Ruby
I am trying to build a web service client in Ruby.
When I try to invoke the following soap4r ruby script to generate web service client code:
wsdl2ruby.rb --wsdl *[web_service_url]* --type client
I get the following error:
ignored attr:…

ATDeveloper
- 289
- 4
- 15
0
votes
1 answer
How to deal with Savon Responses?
I do not understand the people who prefer Savon to Soap4r.
How can I get the attributes of the returned object in a Savon response? With soap4r it's as clean as invoking a getter!
Apparently, in Savon I need to explicitly parse the response and walk…

Pedro Rolo
- 28,273
- 12
- 60
- 94
0
votes
1 answer
How to create a configurable products using Magento Core API
I have no problem importing simple products using Magento Core API (SOAP). How can I create configurable products using the same API? There is no documentation on this at all. A small example would be very useful.
Thank you.

demonchand
- 11,091
- 6
- 21
- 25
0
votes
3 answers
How to hide the soap4r gem warnings
I write the ruby code to access the magento core api, with the help of soap4r gem. When i run the code it works perfectly, but the problem is it should giving the lots of soap…

demonchand
- 11,091
- 6
- 21
- 25
0
votes
1 answer
How to I set a http header for a soap call in soap4r?
How to I set a http header for a soap call in soap4r ?
@drv = SOAP::RPC::Driver.new('x', 'y')
How do I set a http header "vmware_soap_session" to call the calls that are going out of @drv ?

Prakash Raman
- 13,319
- 27
- 82
- 132
0
votes
1 answer
How do I set a cookie in for a soap request?
This is the first time I am getting with soap (Ruby's soap4r). I am trying to develop and plugin for vShpere Client. (ruby sdk http://communities.vmware.com/thread/162318).
I would like to know how I can set a cookie for a SOAP request ?

Prakash Raman
- 13,319
- 27
- 82
- 132
0
votes
2 answers
Ruby: How to close a SOAP4R Connection?
I am making a client like this:
client = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
And I get a SOAP::RPC::Driver class...
how do i tell it to close itself?

asdasd
- 5,099
- 2
- 16
- 7
0
votes
0 answers
SOAP Endpoint url through ruby for Java SOAP Client
I'm trying to invoke a Ruby SOAP Web Service using Java SOAP Client. And I am unable to get the response for this url:
http://localhost:8080/calculation?wsdl
(I'm afraid if the above endpoint url is wrong for the below web service)
Ruby SOAP…

enigma
- 93
- 1
- 10
0
votes
1 answer
Ruby: How to load a WSDL file into some data structure?
I have a WSDL file and want to load it into ruby somehow so I can navigate through it.
Anyone know how to do this?

asdas
- 1
0
votes
1 answer
How can I generate attributes with obj2xml for ruby classes generated from xsd2ruby?
I've used the utility xsd2ruby utility provided with soap4r to generate the required classes from an XSD schema definition file. This works well, however when I try to generate an xml file using XSD::Mapping.obj2xml the attributes do not get created…

J. Rossiter
- 1
- 1
0
votes
1 answer
Rails : soap4r - Error while running wsdl2ruby.rb
when I execute
Mathieu$ /Users/Mathieu/.gem/ruby/1.8/bin/wsdl2ruby.rb path --wsdl https://www.arello.com/webservice/verify.cfc?wsdl --type client --force
I get
at depth 0 - 20: unable to get local issuer certificate
F, [2010-05-06T10:41:11.040288…

Mathieu
- 1,175
- 4
- 19
- 34
0
votes
1 answer
Soap4r : the requested address is not valid in the its context
I was wondering if somebody has seen this error before?
C:/Ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.5.2/lib/httpclient/session.rb:675:in `initialize': The requested address is not valid in its context. - connect(2) (://:0)…

konung
- 6,908
- 6
- 54
- 79