Displaying 20 results from an estimated 1000 matches similar to: "where is the ActionStruct::Base in rails???"
2005 May 29
1
Disabling logging for web service calls?
I''m using ActionWebService to allow users to upload files to my rails
app. I do this by encoding to Base64. The problem with this is that
rails logs the file data so my log file size spirals out of control. Is
there any way to selectively disable logging when the web api is
invoked? ActiveRecord::Base.silence doesn''t seem too useful here as it''s
only called AFTER
2006 Apr 10
3
Regarding using Web service to handle file uploads
I am trying to code a Web Service in rails that can handle file uploads. Now
as i read, SOAP 1.1 doesn''t support this yet..so i will have to use SOAP4R,
right?
This is fine from server side...but will this API will be compatible to .NET
clients, which will be using standard SOAP API perhaps.
Any idea, whats the way to go here?
2006 Jul 30
3
Returning custom error messages in ActionWebService
I want to return my own error messages from an API instead of letting
the client see the stack trace. I''m returning a custom structure so I
guess I could just put a member in that structure for the error
message, although that seems like kind of a hack. Any suggestions?
Chris
2007 Feb 06
0
yajb - java-ruby bridge
i was using rjb until some of the java libraries i was using started
misbehaving. now i''m giving yajb a shot which seems to behave the way
i expect it to and is a lot simpler to code. my problem:
i have a class that takes a constant, which is a member of the class,
so i have to do something like this to make it work:
const_accessor = jnew :SearchCriteria, "dfdfa",
2006 Apr 11
3
Web services and security
Hi all,
How do folks generally secure their Rails web services? A password in a config
file? A ''webservice'' user in a ''Users'' table with its own password? LDAP
authentication for every method? Only authenticate on the "important" methods?
Something else I''m not thinking of?
I''d like to be secure, yet practical, for the sake
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
This SystemStackError is driving me crazy. It only takes place when
testing with WEBrick - I can''t reproduce it with any tests. It is
caused by calling the "missing" id method (base.rb:2435) on my
ActiveRecord class.
WEBrick and my tests are running as the same user, with a `ulimit -s`
of 10240. Plus the query works sometimes so I don''t think this
matters.
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
2006 Mar 28
11
ActionWebService date casting error
I have defined a web service to return information from a database as follows.
class BackendApi < ActionWebService::API::Base
api_method :find_all_vobs,
:returns => [[:int]]
api_method :find_vob_by_id,
:expects => [:int],
:returns => [Vob]
class BackendController < ApplicationController
wsdl_service_name ''Backend''
2006 Apr 11
9
Rails failure after upgrade to 1.1.2
Greetings,
I tried upgrading Rails to 1.1.2 and now nothing is really working. In
connection to the Rails upgrade I upgraded my Ruby version to 1.9.0. I
also upgraded all my gem installs.
Since my old rails apps stopped working I tried generating a fresh one
, alas with the same result. Below I included the full trace when
trying to reach the app. Line 3 in application.rb is :
class
2006 Nov 21
2
before_filter in actionwebservice controller using direct dispatching
The docs say that for direct dispatching mode to use controller
filters, but when the controller is run I get the following error.
The authorize method is in application.rb. Works fine when it''s not a
web service api. Should I be using before_invocation instead even
with direct dispatching mode? Or can I not have the authorize method
in application.rb?
undefined method
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
2010 Oct 20
0
No subject
advanced in the printer-settings on windows)
But if the driver does not get copied over?
best regards
thomas
________________________________________
Von: "Daniel M=C3=BCller" <mueller at tropenklinik.de>
An: "Thomas Stegbauer" <mailingliste1 at stegbauer.info>, "Laurent Blume" =
<laurent at opensolaris.org>
CC: samba at lists.samba.org
Gesendet:
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:
2010 Oct 20
0
No subject
d in the printer-settings on windows)=20
But if the driver does not get copied over?=20
best regards=20
thomas=20
----- Urspr=C3=BCngliche Mail -----
Von: "Daniel M=C3=BCller" <mueller at tropenklinik.de>=20
An: "Thomas Stegbauer" <mailingliste1 at stegbauer.info>, "Laurent Blume" <lau=
rent at opensolaris.org>=20
CC: samba at lists.samba.org=20
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
2006 Apr 07
4
What to install for Rails development?
Hi, is there a list which helps new people as existing people to RoR
in regards to what to install and when to install it? I''m just
looking for a list must have components because I''m really lost at
this point with all the announcements. Finally, my hosting company is
currentlyhas the following version of rails installed:
rails 0.13.1 [rdoc] [www] - depends on actionmailer,
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
2006 May 02
1
SOAP client not seeing all of my AWS service methods
Hi all,
Ruby 1.8.4
Rails 1.1.2
I''m a newb when it comes to SOAP, but I thought I''d give it a shot. I
have several web services defined. However, when I try to connect with
a SOAP client it seems the client is only picking up one of the
services, called Hardware.
require ''soap/wsdlDriver''
wsdl_url =
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 Jun 07
1
Web Service: NoMethodError (missing attribute: featured) !?!?!?!?!
Hi all -
I have a Player model. The database looks like this:
+-------------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| fname |