similar to: Creating a web service with AWS

Displaying 20 results from an estimated 900 matches similar to: "Creating a web service with AWS"

2005 Mar 19
2
routing problem 1.8.2/0.10.1/webrick?
I seem to have come to a strange problem getting started on rails. I had everything working in a virtual machine and then set up a seperate machine just for rails developement. It now seems something is broken a little. ruby 1.8.2, rails 0.10.1, postgres, using webrick: i created a table "users", then "generate scaffold User" view localhost/users works fine, shows the
2006 Feb 25
20
Agile Rails book code fails page 32
Starting Agile Web Development with Rails, page 32, everything has worked well so far but on (book not pdf) page 32 I don''t get the "Template Is Missing" error. I get Routing Error Cannot load config/routes.rb: No such file to load -- ./demo/script/../config/../config/routes.rb There is a file at e:\ruby\ror\work\demo\config\routes.rb It''s all greek to me and
2006 Jun 15
2
AWS Client - There has to be a better way
I''m working on building a SOAP client with AWS, i.e: class PersonAPI < ActionWebService::API::Base api_method :find_all, :returns => [[Person]] end soap_client = ActionWebService::Client::Soap.new(PersonAPI, "http://...") persons = soap_client.find_all This works well but I think it breaks down quickly when you try to do real world work. Lets take a moderately
2007 Feb 21
6
Problem with url_for and https - overrides all options
I have a piece of code like this in one of my views: <%=link_to "link here", :action=>''my_action'', :id=>1 %> It works fine on my local development machine, running Webrick over http and it works fine on my testing server which is running single mongrel instance behind Apache 1.3 as a proxy. On both the outcome link is this: <a
2006 Jun 02
7
Unit Tests crashing out for a table without an ID
I''m having problems unit testing my model- I have a kind of quiz functionality user table and a question table and a user_question_response table that contains the id for the user, the id for the question and the user''s response. The user_question_response has it''s own model belongs_to/has_many with users and questions and it works fine in the actual application but
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t seem to get anywhere. Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503: Service Temporarily Unavailable''. There''s no error being logged anywhere, afaik. Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs out,
2006 Feb 03
3
My associations are coming out nil.
I''ve got a fairly simple system with a table for my Users that includes a CountryId field which looks up to the CountryId field of my Country table. What I would like to happen is for my Rails application, which contains models for both User and Country, to be able to draw the dropdown list of available countries on the edit page, like it does in all the tutorials. My model classes look
2006 Jan 11
1
HELP!! - ActiveRecord derivates in AWS :expects method
Hi, I have a strange problem while using WebService API which expects an ActiveRecord derivate. This is the code of the API ... ------ class HarvesterApi < ActionWebService::API::Base api_method :send_measurand, :expects => [{:measurand => Measurand}, {:eaiSystemName => :string}] end ------ ... and this of my Model ------ class Measurand < ActiveRecord::Base
2006 Mar 22
12
RJS page.replace(_html) problems
For some time now I try to get my code working. This Monday I switched to RJS (first with 1.0 + plugin) and yesterday to Edge Rails, so I guess I''ve been using the most recent version. I have a div with id="detail" which I want to update with a partial. If I''m using page.replace_html the content will be replaced with text, i.e. the javascript won''t become
2008 Aug 26
3
shadow_copy for homes share
I have successfully setup shadow_copy for normal shares on our samba test server. However, I cannot get it working for the homes share because of its uniqueness. Here is the homes share: [homes] comment = Home Directories read only = No create mask = 0700 directory mask = 0700 browseable = no fstype = XFS 1.2 vfs object = shadow_copy
2012 Dec 13
4
[PATCH V3] libxenstore: filter watch events in libxenstore when we unwatch
XenStore puts in queued watch events via a thread and notifies the user. Sometimes xs_unwatch is called before all related message is read. The use case is non-threaded libevent, we have two event A and B: - Event A will destroy something and call xs_unwatch; - Event B is used to notify that a node has changed in XenStore. As the event is called one by one, event A can be handled before
2002 Jul 31
2
Patronizing the exclude * option
I need to get around the requirement of --exclude=* to have all the parent directories of the files and directories that are to be included. So given the file.. /startdirectory/subdirectory1/subdirectory2/filetobecopied I need to include / /subdirectory1 /subdirectory1/subdirectory2 I could just include the entire directory structure , but alternatively just include the needed paths. So the
2006 Jul 19
1
Session management with SOAP and AWS
I''m working on a rails app where I''d like to have a session-based SOAP API. That is, I''d like to connect via SSL and have a ''login'' method followed by one or more other methods. I''m using the ActionWebService::Client::Soap class to connect to my app, but each method invocation results in a new session on the server (WEBrick, at the
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 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
2008 May 09
1
SSOAP: arguments passed as
Hi, I have a SOAP service, provided by BioMoby which I'd like to call via SSOAP. My service breaks during genSOAPClientInterface() genSOAPClientInterface(def=service, verbose = TRUE) Operation MassBank_Simple_2 Error: Cannot resolve SOAP type in empty context Problem seems to be that there are no <types> defined in the WSDL, and that the service passes input/output as a single
2005 Dec 21
1
ActionWebService and WSDL
The suggested approach for developing a web service using ActionWebService appears to be start by defining the API you want and then you can generate WSDL. I want to start from WSDL. I''ve tried wsdl2ruby but the Ruby code it generates does not appear to play well with Rails. Is there a way I can get what I want? I''m new at this so if the answer is a forehead slapper,
2006 Jul 24
1
XMLRPC WebService and Structs
Hi First off, I apologise if this is covered somewhere and I just don''t get it... I''ve looked far and wide .... As a part of my current project I need to hook up to a particular XMLRPC webservice that won''t be available for me to use until close to launch date... So I am trying to recreate the webservice that mirrors the live one so I can test my application
2005 May 17
7
Basecamp API
Seeing as how the new Basecamp API reflects a similar use of RoR that I have been working on I''m curious as to what we can expect to be extracted from there in 0.13? Was the API written as an ActionWebService or just as a set of controllers? Any generic AR xml parsing/output methods that we may see in 0.13? Any reason you decided to do everything with HTTP Get instead of utilizing
2008 Feb 27
7
older version of rails -- Unknown action error
Hi, I''m using Rails 1.2.3 (constraint of the hosting company). I''m getting this error Unknown action No action responded to subscriber upon visiting http://mydomain.com/super_admin/subscriber/search I have these files: app/controllers/super_admin_controller.rb app/controllers/super_admin/subscriber_controller.rb app/views/super_admin/subscriber/search.rhtml and below is my