Displaying 20 results from an estimated 10000 matches similar to: "Updated Soap4r for use with Rails App on a host"
2008 Jan 29
4
Setting up release-1.0.1
Hello,
I am unable to get the backgroundrb server to run.
Initially I got:
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:263:in
`load_missing_constant'': uninitialized constant
BackgrounDRb::MasterProxy (NameError)
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:453:in
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
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 Feb 08
2
test_process.rb => LoadError
Line 4 and following of test_process.rb reads:
if defined?(RAILS_ROOT)
# Temporary hack for getting functional tests in Rails running under
1.8.2
class Object #:nodoc:
alias_method :require_without_load_path_reloading, :require
def require(file_name)
begin
require_without_load_path_reloading(file_name)
rescue Object => e
2007 Jan 29
1
SOAP4R Error in Rails
Hi all
I have a ruby script that calls a web service which works just fine,
However when i try to use the same code from a rails model I get the
following error:
uninitialized constant SOAP::Mapping::EncodedRegistry
I have tried to load the gem soap4r from both the model and the
config/environment.rb files but i still get the same error
Any ideas on what I''m doing wrong ???
Thanks
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 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:
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''
2006 Mar 29
2
Textdrive Rails 1.1 Error - Dependencies::LoadingModule
Textdrive upgraded to Rails 1.1 already.
I have an older rails app, and am now getting the following error:
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.0
/lib/active_support/depende
ncies.rb:112:in `const_missing'': uninitialized constant LoadingModule
(NameEr
ror)
from ./script/../config/environment.rb:91
from
2008 Feb 12
1
$:.unshift File.join(File.dirname(__FILE__),'..','lib')?
What this code lines mean? Especially $:. before the unshift?
$:.unshift File.join(File.dirname(__FILE__),''..'',''lib'')
Regards,
Mohsin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
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 Mar 04
0
soap4r in wrong format
Hi people,
I was wondering if anyone has any experience with using soap4r. I''ve
done the whole wsdl2ruby and basically evrything works fine, were it not
that the servive I am talking to has a different standard concerning the
XML I am sending.
-- What soap4r does
<xmlJob>
<Job>
<CBCustomApplyType>CANone</CBCustomApplyType>
2007 Sep 02
0
soap4r alternitives?
Hey chaps
I was just wondering if they are any alternatives to soap4r out there? I
have a SOAP service im using, and with soap4r it seems dang slow, but
when i access the same service with PHP it is vastly quicker?
Cheers all
Tim
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2007 Apr 04
2
unit tests?
Ezra et al:
I have this problem:
http://rubyforge.org/pipermail/backgroundrb-devel/2006-December/000578.html
Any progress on it? Or are unit tests simply impossible for now?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
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 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 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 Mar 03
1
starting webrick from ruby (tar2rubyscript.rb)
I am using tar2rubyscript to package up a rails application and run it
as one file from the server.
If you run script/server and have lighttpd install it will start lighty
instead of webrick. So, thanks to Erik Veenstra''s suggestion, I add
ARGV.unshift("webrick") to the init.rb file to force webrick to start:
ARGV.unshift("webrick")
load "script/server"
2007 Mar 26
0
soap4r for one controller
Is there a way to use soap4r for only one controller and use the
built-in ruby standard library for others?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2009 Jan 13
0
Accessing SharePoint using soap4r
I''m trying to access SharePoint using soap4r in my app. At the moment,
I can''t even authenticate. Has anyone had success with this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to