similar to: somebody is calling my setters in the webservices!!!

Displaying 20 results from an estimated 300 matches similar to: "somebody is calling my setters in the webservices!!!"

2006 May 31
0
web service parameters
Can I return an structure array from a web service in rails? I have this: class CLL_Metadata < ActionWebService::Struct member :key, :string member :type, :string end and I want to do this: class UnifiedLoginApi < ActionWebService::API::Base api_method :GetMetadata, :returns => [ [CLL_ Metadata] ] but when I do:
2006 May 24
2
array parameters in web services
I''m working in a web service, actually, I have: class UnifiedLoginApi < ActionWebService::API::Base class CLL_Metadata < ActionWebService::Struct member :key, :string member :type, :string member :value, :string member :webapplication_id, :string member :user_tenfold_id, :string member :login_username, :string
2006 May 31
0
web services datat types
Ok, this is the model (just two structs) class CLL_Answer < ActionWebService::Struct member :server_status, :bool member :answerDescription, :string member :answer, :string member :metadata, CLL_Metadata end class CLL_Metadata < ActionWebService::Struct member :key, :string member :type, :string member :value,
2006 May 17
3
WebServices: execution expired
1 hour spent and I can''t got explanation why I have "execution expired" when I trying to test this web service: Pointed to: http://localhost:3000/news/list class NewsService < ActionWebService::Base web_service_api NewsApi def list [NewsTopic.new, NewsTopic.new] end end class NewsController < ApplicationController wsdl_service_name ''news''
2006 Sep 11
5
WebServices & controllers
Hi, I am having problems with REST web-service support. I have a simple controller: class DocumentsController < ApplicationController wsdl_service_name ''Documents'' web_service_api DocumentsApi web_service_scaffold :invoke def list @docs = Document.find(:all) respond_to do |wants| wants.html wants.xml { return @docs .to_xml } end end end
2006 May 07
1
Overwriting setters for associated objects
Hi all, I''m trying to overwrite a setter method, but am running into some difficulties. This is normally really easy when overwriting a setter for a table column, but in this case it is the setter for an associated object. Here''s a hypothetical example: class User < ActiveRecord::Base has_many :posts end class Post < ActiveRecord::Base belongs_to :user
2015 Nov 20
1
Good practice for naming classes, builders, attributes, getters/setters for object composition
Hey everyone, I am developing a package and I am wondering if there is a good practice for naming classes, builders, attributes getters and setters when dealing with object composition. I know that it is usually a good practice to give to the builder the same name as the class and, if possible, to avoid to use upper case letters. My problem is that, when I build an object containing an other
2004 Apr 26
7
TRW: getters and setters
Hi all, I mentioned this on the forum but wasn''t sure if anyone was paying attention. I was just wondering if it would be possible to replace the get_something/set_something style methods with the more Rubyish something/something= style (i.e. uniform access). For example, the Button class currently has button.get_label and button.set_label("foo"). It would give me warm,
2007 Nov 26
6
Model setters, override attribute=(attribute)?
Hi, I have a model similar Basket shown below. If customer_type is set then it should also set customer to nil. Likewise, if I set customer, it should inspect the customer_type attached to the customer and set accordingly within Basket. However implementing it as below doesn''t seem to work. Am I missing a better way to achieve this? I had also considered using a before_save
2006 Apr 03
7
Getters and setters problem?
Hi list, first evening of playing with rails, so please forgive me if I ask something stupid. ;-) I created a User model and tried to use ActiveRecord callbacks to convert the password to sha1 just before saving it. For some reason postgresql gives me a error because the given password is null. To test even further I tried to change :login too, same error happens, :login is empty too. I am sure
2010 Nov 02
0
webservice - get client ip address
Hi I have the following problem in my application I have in the controller: class XmlrpcController < ApplicationController web_service_dispatching_mode :layered wsdl_service_name ''weblogUpdates.ping'' web_service_scaffold :invoke web_service :weblogUpdates, WeblogUpdates.new end in the api definition file: ------- class WeblogUpdatesApi <
2006 Jan 31
0
webservice problem (cant make client)
hey, i have made a webservice http://twodecode.pilot.localhost.be:3000/backend/wsdl here i can see the wsdl file i have a method string Authenticate(string twa, string login, string pass) when i do /invoke i can test it, this all works backend_api.rb class BackendApi < ActionWebService::API::Base api_method :authenticate, :expects => [{:twa =>:string},{:login
2009 Aug 07
0
Wine release 1.1.27
The Wine development release 1.1.27 is now available. What's new in this release (see below for details): - New version of the Gecko engine. - New GSM 06.10 codec support. - Improved support for the disk volume APIs. - Support for XShm pixmaps for better performance. - Various bug fixes. The source is available from the following locations:
2006 Jul 13
0
webservices and date time error - part 2
Hello, When I am trying to receive an array of objects, retrieved by ActiveRecord from table with datetime column, while using using ActionWebServices I get the error: ArgumentError: 3 elements of civil date are necessary Daniel Berger, posted that this might be fixed by changing the timezone format in the Windows registry.
2006 May 06
0
Caching webservices?
Is there any way to do this? I know that you can cache controllers (described at http://scottstuff.net/blog/articles/2005/10/04/rails-caches_action_with_params), but I can''t find anything in the docs about caching web services. Thanks, Ben -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 18
2
rails and .net webservices
Hello. I am novice in ruby. How can i use .net webservice method from ruby. Thanks. -- Posted via http://www.ruby-forum.com/.
2006 May 18
0
Re: WebServices and DateTime - 3 elements of civil date are
> -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of > Chris Goodwin > Sent: Thursday, May 18, 2006 2:24 PM > To: rails@lists.rubyonrails.org > Subject: [Rails] Re: WebServices and DateTime - 3 elements of > civil date are > > > Are you using Windows? I ran into the same problem.
2008 May 21
1
Testing REST webservices? (Not Rails)
Hi, I am new to RSpec and BDD. I was wondering if RSpec specifications are a good solution for testing REST webservices (not implemented in Rails). If so, what would be a good way to test something like the API described below? =========== GET http://localhost/workflow text/xml Result: 200 OK <?xml version="1.0"?> <workflows>
2008 May 21
2
RSpec for testing REST webservices? (Not Rails)
Hi, I am new to RSpec and BDD. I was wondering if RSpec specifications are a good solution for testing REST webservices (not implemented in Rails). If so, what would be a good way to test something like the API described below? =========== GET http://localhost/workflow text/xml Result: 200 OK <?xml version="1.0"?> <workflows>
2006 Jan 23
1
How to call C# webservices
hey, i have created some webservices in C# with vb.net and IIS. i can go to them with http://localhost/Twodecode.Webservices/webservices.asmx Like: [Webservice] AddCity(string zip, string city) { ...do some stuff return "SUCCES"; } How must i call this from ruby?? I save an object, and then call the services. city = City.new() if city.save //call webservice else //do