search for: datanoise

Displaying 20 results from an estimated 86 matches for "datanoise".

2011 Sep 07
0
Ruby Webservice giving "POST not supported" error when using datanoise-actionwebservice gem
I have written SOAP web service in ruby using datanoise-actionwebservice gem but webservice sends following error in response: Exception of type System.InvalidOperationException: Client found response content type of ''text/html; charset=utf-8'', but expected ''text/xml''. The request failed with the error message: -- PO...
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel and apache and I looked into lighttpd and fastcgi and found both to be too time consuming and not well enough documented for what I''m doing. My question is, how do I set up apache and fcgid to actually work? I got apache installed. I think I got fcgid installed (I read somewhere all I have to do is move the
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 Aug 16
7
ActionWebService: XMLRPC Server Multicall possible?
Hi all, I have a question concerning ActionWebService XMLRPC servers: Is it possible to send multicall requests to the Web service? I tried to use multicall and get the error message: no such method ''system.multicall'' on API [MyAPI] In Changeset 2021 there is the following commit message: add ''system.multicall'' support to XML-RPC. boxcarred methods must
2006 Jul 25
3
about ERB sample
Hi list: I run the ri''s ERB doc 1st sample 1. require ''erb'' 2. x = 42 3. template = ERB.new <<-EOF 4. The value of x is: 5. EOF 6. puts template.result(binding) the doc say it will print "The value of x is: 42" but my irb print "nil" and there is a "=> #<ERB:0x2970b24
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 Jul 12
11
ruby-debug 0.1.3
...g.rb brings your application to its knees, you might find this small extension useful. INSTALL It''s a usual procedure: $ gem install ruby-debug DOCS This library has almost identical interface with the standard debug.rblibrary. Also you can check out my little tutorial at http://www.datanoise.com/articles/2006/07/12/tutorial-on-ruby-debug Cheers, Kent. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060712/67d45198/attachment.html
2006 Feb 16
9
association not inserted automatically.
Hello, I am trying to write a sample application. I have class LineItem< ActiveRecord::Base belongs_to : order end && class Order < ActiveRecord::Base has_one :line_item end Now in the controller i am trying : def add @ord = Order.new(params[:ord]) @ord.line_item = LineItem.new(params[:lineitem]) if @ord.save redirect_to :action => ''list'' else render
2006 Apr 03
11
Runaway FCGI Processes with Debian, Apache
Hi all. There is an issue with Rails, FastCGI and Apache2 on Debian that I''ve been dealing with since I started Rails development in late 2005. I''ve developed various workarounds but have not been able to solve the problem at the root. Every so often, for reasons I''ve never been able to determine, a load of dispatch.fcgi processes get spawned and take over my whole
2006 Feb 17
7
Create and then show
I am attempting to redirect to the show method after creating a new object. So, for example, once a new post is created the user is presented with the new post in a show view. The problem is I can''t get the correct <at> post.id to send to the show method. Rails always returns 0 for this value. Here''s what I have so far: class ContentController < ApplicationController
2006 Jul 17
1
ruby-debug 0.2
Hello Everyone, ruby-debug 0.2 is now available. Changes: - Remote debugging - Bugfixes Big thanks to Max Muermann for providing win32 binary for this release. Installation: $ gem install ruby-debug For more information: http://datanoise.com/articles/2006/07/17/changes-in-version-ruby-debug-0-2 Enjoy. -- Kent --- http://www.datanoise.com
2006 Apr 06
2
Directory for ActionWebService classes?
Hi all, If ApplicationController subclasses live in app/controllers, and ActionWebService::API::Base subclasses live in app/apis, do subclasses of ActionWebService::Base live in app/services? This may be a "duh" question, but I couldn''t find an explicit mention of it anywhere. Thanks, Dan
2006 Feb 17
2
form_tag with protocol => ''https'' help
Hi, I am not having much luck using the form_tag with a protocol. I try the following in my view: index.rhtml <%= form_tag({:controller => ''home'',:action => ''login'',:protocol => ''https''},{:method => ''post''}) %> hoping it would generate <form action=''https://myhost.com/home/login''
2006 Feb 17
2
console doesn''t work
any one know this problem? when i try to run console #--------------------------------------------------------------- >ruby script/console >Loading development environment. >/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file to load -- readline >(LoadError) > from /usr/local/lib/ruby/1.8/irb/completion.rb:10 > from
2006 Feb 17
2
validate uniqueness of two fields
I have Proposals and Members and Members can vote for a proposal only once. So, I have "Vote belongs_to :member, :proposal", but to make sure a member only votes once, I want to make sure that there isn''t a vote in the db with that member_id and proposal_id. I can just put the appropriate find in a vote.valid? but I wanted to make sure I wasn''t missing a nice rails
2008 Nov 24
2
Actionwebservice as a SOAP client to .NET services.
I have read the (scant) documentation on the datanoise actionwebservice gems and can''t figure out how you are supposed to structure the SOAP client. Has anybody ever used actionwebservice as a client? If so could somebody please put a sample someplace? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message...
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 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 Apr 10
2
using web service for authenitcation
I am writting a web service for authenitcation of users and was using web_service_scaffold :invoke for testing it out...and was able to consume it using .NET. But my question is, whats the simplest method using which i can use the same web service in the current Web App. I mean, not from an external application or something but from the current web apps itself. I found one method in AWDR, and
2006 Sep 09
3
Per field analyzer
Is there a way to add per-field analyzer? I can''t seem to find a way to do that. Thanks -- Kent --- http://www.datanoise.com