Displaying 20 results from an estimated 800 matches similar to: "soap4r 1.5.5 seems to break actionWebService tests"
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
Hello.
I hope this is the right place to describe my problem ?
After upgrading to Rails version 1.1.2 from rails version 1.0.0, Web
Service functional tests seem broken.
I upgraded rails (as the root user / administrator) with:
# gem update rails --include-dependencies
then I upgraded my application (as myself) with:
? rake rails:update
% rake rails:update:configs
After these steps,
2005 Aug 23
8
Web Services testing... Agile Book p. 435
I am attempting to test the web services added during chapter 20 of the
Agile book. The code as written in the book yields 2 errors:
test_find_product_by_id(BackendControllerApiTest):
XMLParserError: syntax error
Anyone hit this yet and get it to work?
Thanks.
Ken
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jan 30
3
Arrays of objects as parameters to webservices
I think I am missing something terribly obvious. Is it possible to have
an :expects parameter for a webservice that is an array of objects? I
want to have a single webservice that expects all my line items (for an
order). Is this something that is possible?
--
Posted via http://www.ruby-forum.com/.
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:
2005 Feb 24
8
web services with ActionWebService
<noobalert>
Uh, yeah. So my noob self is showing through again. I''m trying to
write a simple hello-world type web service with the ActionWebService
thingy. I didn''t get very far. I''ve only done web services stuff in
.NET, so I''m not exactly used to this sort of thing.
Anyhow, I have a file, person_api.rb in my app/apis folder. I want to
take a single
2005 Dec 30
5
AWS api_method :returns not accepting ActiveRecord::Base
I''m trying to use the feature of AWS where it will take an object derived
from ActiveRecord::Base instead of an AWS::Struct object. Whenever I try
it, though, I get the craziest error:
NoMethodError: You have a nil object when you didn''t expect it!
The error occured while evaluating nil.new
/usr/lib/.../actionwebservice/lib/action_web_service/casting.rb:105:in
2006 Mar 05
1
TypeError in Rpc#invoke_submit
Hi!
I''m getting "TypeError in Rpc#invoke_submit" when trying to get access
my controller api via soap.
What do I have to do?
Here is the full trace:
/home/www/lib/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/home/www/lib/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
/home/www/lib/lib/ruby/1.8/soap/rpc/element.rb:116:in `set_param''
2007 Aug 17
1
Testing webservices in Integration Tests with Jamis Buck's recipe?
Hello,
I''m using Jamis Buck''s recipe to do integration tests on an
application, but I got a nil.recycle! error while doing a webservice
call.
This is the situation.
def test_uploading_data
invoke :upload, data
invoke :upload, even_more_data
real_user_session = new_session_as @real_user
real_user_session.press_magic_button_to_enable_more_uploads
invoke :upload,
2006 Jul 31
5
ActionWebService API
Hi *,
I need to pass a hash to a webservice, so I defined my API with:
api_method :search,
:expects => [{
:tags => :string,
:assignment => :string,
:resource => :string,
:lesson_plan => :string,
:subject => :string,
:all_types => :string
}], :returns => [[Resource]]
when I try to test the webservice with scaffold the
2006 Apr 17
5
XML-RPC Webservice API
Hi,
After following the excellent tutorials in the Agile Web Development
with Rails book, I was able to get my webservice working pretty much
perfectly :)
I can access it via SOAP and XML-RPC and look at service.wsdl to find
the API. What I can''t do however is get the API for the XML-RPC call. It
fails with :
Internal protocol error: NilClass is not a valid input stream. It must
2005 Dec 14
1
just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:
Hello there good rails people!
Just did a fresh install of rails on my new (old) Ubuntu machine. I am
running ruby 1.8.2 and have installed about five extra packages that do
not come with Ubuntu. I managed to install ruby-gems and used gems to
successfully install rails but I am getting an error message when I run
rails, it seems to be choking on a Tkl paren. Google has not turned up
much
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
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 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:
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 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
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
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi,
I''m interested in using a currency conversion web service in my rails
app. Does anyone have a free service that they use and like? I found
this one
http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10
I''ve tried to make a simple, plain Ruby script to connect to this and
get a conversion rate without success.
How do I integrate a webservice into my rails app? I
2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
OK, I''m finally starting to play around with the AWS part of Rails,
and I''m running into problems with the functional tests. If I use the
generator to create the web service as
./script/generate web_sevice MyTest do_it
and then run the unit tests without further editing the code, I get
the following error:
test_do_it(MyTestControllerApiTest):
ArgumentError: illegal
2006 Dec 27
2
DB-less rspec_on_rails
Hi!
I''m still struggling with RSpec to get it working with a Rails
application, that does not use a database. I removed all the db:*
dependencies from the RSpec targets, but it still wants to connect to a
database.
Any ideas?
bye,
Tobias
** Execute spec:models
/usr/bin/ruby1.8 -I"/var/lib/gems/1.8/gems/rspec-0.7.5/lib"