Displaying 20 results from an estimated 8000 matches similar to: "SOAP4R Error in Rails"
2011 Jan 03
4
How to get soap4r to not bother verifying SSL certificate (verify_mode none)?
Using Ruby 1.8.7, Rails 2.3.8. I don''t want it to verify the cert...
This is my backtrace:
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed):
httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `connect''
httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `ssl_connect''
httpclient
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi,
I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests
for the action_web_services fail as follows, any ideas what I did wrong?
Thanks
TypeError: can''t modify frozen object
/usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
2008 Dec 10
3
How to stop SOAP4R/OpenSSL requiring cert?
Hi
I want to consume some web services that are only available over HTTPS.
My method looks like this:
def lookup_id
myid=params[:id]
driver =
SOAP::WSDLDriverFactory.new("https://server.com/xxx.wsdl").create_rpc_driver
@p=driver.verifyId(AUTH_TOKEN, PIN, myid)
end
Although this works fine on my local box (with a warning), when deployed
to the staging server I get:
2006 Dec 04
0
Paypal and soap4r gems
WSDL conversion as proposed in the paypal plugin howto doesn''t work. Any
idea what goes wrong? See the output below.
rsp@hollerith:~/workspace/pptest/vendor/plugins/paypal$ wsdl2ruby.rb
--wsdl http://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl --type client
--force
F, [2006-12-04T16:30:43.136405 #11579] FATAL -- app: Detected an
exception. Stopping ... undefined method `new'' for
2008 Oct 23
4
Soap4R
The following two line code creates the issue:
factory =
SOAP::WSDLDriverFactory.new("http://aspire388:8080/ClubConcierge306/axis/LWFlowerService?wsdl")
soap = factory.create_rpc_driver
The error message is:
part: requestParams cannot be resolved
RAILS_ROOT: E:/Pavo/csat
Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:144:in
2008 May 22
3
SOAP client in Ruby/Rails
Hi all. I have a need to build a SOAP client using Ruby and Rails. I''m
accessing a document/literal style SOAP service. I''ve been poring over
documentation (well, there really doesn''t seem to be any, so that''s a
little misleading), blog posts, and outdated tutorials all day, and I
still don''t really have anywhere to begin. Every tutorial seems to
have a
2005 Mar 08
2
ActionWebService SOAP Faults aren''t schema valid
I''m working with an ActionWebService client
talking to an ActionWebService server through one of
DataPower''s XS40 XML Security Gateways. One of the
intrinsic functions of this gateway is automatic
SOAP schema validation.
When testing some failure cases, I noticed that SOAP
Faults returned by ActionWebService aren''t schema valid
to the SOAP 1.1 schema, specifically:
2006 Apr 07
3
How to consume XMLRPC/SOAP web services in Rails?
Hi,
does anybody know of any good HowTo for consuming XML-RPC and/or SOAP
web services in Rails?
I found some for Ruby (via soap4r/xmlrpc4r), but I was wondering whether
there is something built into Rails already. So far it looks like there
are methods to create web services, but not to consume them.
Ingo Weiss
2007 Aug 14
2
bizare soap4r problem
Hey chaps
I am using classes I generated from wsdl2ruby, and they work like a
charm when running somthing like:
ruby -d path/to/file.rb
and i get the result I expect. However, when I use them within rails,
the actual xml it puts together is different. Using wire dump i see that
(and this is a key part of the web service) looks like:
<n1:inRecipientIDs
2012 Feb 28
4
JIRA anyone?
I''m trying to evaluate what use I can make of JIRA with Rails/Ruby and am
getting frustrated.
The jira4r gem will install but the soap4r gem won''t load.
literally: ''irb -r soap4r'' returns :cannot load such file...
I also set this up in a Gemfile and tried to run this from the rails
console:
2006 Feb 17
4
PayPal WSDL API on Rails anyone ?
Hi !
Has anyone connected to the Mass Pay API of PayPal using Rails ? I
need to do this for a customer, and I wanted to know how easy/hard it
was. I have no experience using SOAP, WSDL, etc.
I saw soap4r[1] on the RAA[2]. This is probably what I''ll need to
use. One question I haven''t answered yet is whether soap4r will
accept PayPal''s certificates ?
Thanks for any
2006 Apr 11
2
Uploading files using a web service
i am writting a web service that will enable users to upload image
files...but then the problem is...i will have to use Soap4R, now my
question is....the API generated(or whatever you call it, wsdl file that
i get) will support standard SOAP implementation??...so i can use
Mono.NET to call this web service and upload files.
I ask this because as per my knowledge SOAP4R is different...so will
2006 Jun 15
2
AWS Client - There has to be a better way
I''m working on building a SOAP client with AWS, i.e:
class PersonAPI < ActionWebService::API::Base
api_method :find_all, :returns => [[Person]]
end
soap_client = ActionWebService::Client::Soap.new(PersonAPI,
"http://...")
persons = soap_client.find_all
This works well but I think it breaks down quickly when you try to do
real world work. Lets take a moderately
2005 Nov 19
1
Rails as SOAP client with .NET web service
Hi
For an application we need to obtain data from a .NET
based web service. I''ve been "playing" with some
sample code to invoke web services as a soap client.
They work ok with services that offer a .wsdl link.
However, .NET based services are called with
"*.asmx?WSDL".
The wsdlDriver (I guess SOAP4R) barfs on this.
Anybody have practical experience and willing/able
2010 Nov 27
6
invalid date
Hi!!
Somebody knows why throws me an exception??
invalid date
C:/Ruby/lib/ruby/1.8/date.rb:1482:in `civil''
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/
core_ext/string/conversions.rb:23:in
`to_datetime''
C:/Ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/xsd/datatypes.rb:
579:in
`screen_data''
2006 Jun 14
5
Rails SOAP tutorial
Hi all..
I new in Ruby/Rails.. Where could i get some good tutorial about SOAP
using Rails?
I''ve been googling yet still did''nt find good tutorial.
Thank you in advance.. :)
--
Regards,
Ananda Putra
2005 Dec 27
1
SOAP + HTTP authentication
Hey,
Just had a question. Been pulling out my hair all weekend trying to get SOAP
to work properly in Rails and even straight on Ruby. I started with Rails''
AWS and moved to Ruby''s internal libraries, after which I tried out SOAP4R.
Now, my question is, does Rails or even Ruby itself support SOAP client
calls through basic HTTP Authentication? From the research I''ve
2006 Dec 17
1
actionwebservice soap client
So I''ve created a few actionwebservice soap servers now and have been
accessing them from a stand alone ruby client using soap4r. Now I
have a rails app that needs to act as a client to one of my soap
servers. From what I can tell, I basically have to copy all the api
definitions from the server and put them on the client? Is that
correct? Makes sense and seems kind of strange all at
2008 Nov 03
3
Handling SOAP XML request and Response
Hi all,
I have a SOAP XML request coming from a VB6.0 application, which I
have to handle in my ROR application.
After the request is handled, i have to parse the request and check
the extracted values in the database according to the checking i have
to send a Response to the VB6.0 application.
Please tell me the procedure how can i used SOAP XML in ROR
application for handling these
2006 Sep 18
1
Updated Soap4r for use with Rails App on a host
I need to use the lastest build of the soap4r on my rails app hosted at
TextDrive. I have put the soap4r files into vendors and was hoping to
append the dir to the lookup path doing:
$:.unshift("#{RAILS_ROOT}/vendor/soap4r/lib")
Unfortunately, it seems to be using the files in
/usr/local/lib/ruby/1.8. Am I missing something here to get this
working?
Cheers,
Nicholas