Displaying 20 results from an estimated 100000 matches similar to: "soap4r for one controller"
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
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
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
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
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
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:
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
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
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 Jul 08
0
soap4r cannot access server application after soap server is started
I ve started soap r my application.
it works fine. But i m not getting from were to start soap server :0(
if i start it from controller then i m not able to access the server
application.
if i start from console then it works fine and also i can access
server application.
Please can anyone help me from where to start soap server?
currently my server side for starting soap server , code looks like
2007 Jan 24
2
Model.find(:first, :lock=>true) Unknown key(s) :lock
Rails 1.2.1
Has anyone ever gotten this error? According to the API, this is exactly
how you are suppose to use it
--
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
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
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
2006 Dec 08
19
HABTM join table quirk
I''ve been bringing up a good basica framework for applications at work.
To give decent security I''ve been implementing the Rails Recipie for
Authorization of function calls modeled on the book''s implementation.
(Changes for our environment were added..but are minor.)
Since I initially let Rails create the join table between two data
tables with a HABTM relationship....I
2008 Jul 10
5
Uninitialized constant (controller/model)
NameError in StoreController#add_to_cart
uninitialized constant StoreController::Cart
This is the controller:
class StoreController < ApplicationController
def index
@products = Product.find_products_for_sale
end
def add_to_cart
@cart = find_cart
product = Product.find(params[:id])
@cart.add_product(product)
end
private
def find_cart
session[:cart] ||=
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 Nov 06
0
problems with paypal plugin
hopefully there''s someone that can help me out... i am working with
paypal''s web payments pro for the first time. i went through all of the
steps in the readme and basically got everything to work on my testing
computer. however once i have the files uploaded to the server, i run
the same tests, and two fail and two have errors.
/usr/local/bin/ruby -Ilib:lib
2006 Dec 07
4
MassPay API with Ruby On Rails PayPal AARRRGH
Hey,
I''m trying to use Paypal to automatically pay customers, and I''ve heard
MassPay API is a good thing to use. But I cannot find any examples of
it for Ruby, nor do I know what steps to take to use it.
Does anyone have any information or experience with using MassPay API in
RoR? Any help is much appreciated
--
Posted via http://www.ruby-forum.com/.
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