similar to: How do can I use XmlRpc with my AWS?

Displaying 20 results from an estimated 8000 matches similar to: "How do can I use XmlRpc with my AWS?"

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
2006 Jan 20
1
XMLRPC::DateTime from AWS
When I do an XMLRPC webservice call to retrieve a single Product, my DateTime fields in the products table do not get converted to a valid DateTime value, but remain as XMLRPC::DateTime structures. So, say my webservice call is: @product = @aws.get_product(1) Then my @product object looks like this: name: My product last_updated: #<XMLRPC::DateTime:0x37c5338> description: This is my
2006 Jan 06
6
AWS and array of Model
Hi! I try to use a layered webservice and I want to get back an array of users; In the API I use: api_method :listUsers,:returns=>[[User]] in the service: def listUsers User.find(:all) end Result in soap mode: Don''t know how to cast TrueClass to Object Result in XML-RPC mode: You have a nil object when you didn''t expect it! You might have expected
2006 Jan 20
2
AWS and passing in a Model
Hi, I have a webservice. And I want to pass in, a model. So, for example: api_method :save_person, :expects => [Person] When I do this I get an error saying that I cannot have ActiveRecord objects as parameters. Fine. I can have AWS Structs as parameters. I don''t want to start ''maintaining'' a struct everytime I change the table structure od Persons. So, is
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/.
2006 Jan 04
5
Webservice External XMLRPC
Hello i have some trouble getting my webservice to run . I have the following webservice : class DirectSpoolAPI < ActionWebService::API::Base api_method :add, :expects => [{:html=>:string},{:from=>:string}], :returns => [Customer] end class DirectSpoolService < ActionWebService::Base web_service_api DirectSpoolAPI def add(html,from) Customer.find(:first) end
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 =
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
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
2007 Jan 18
2
How to use API from AWS -- help!
I''m building a users web service (direct dispatching) that will (I hope) allow several other applications to manage the same pool of users. Plus it will act as a single-sign-on solution for what I''m doing. But I''m having difficulty accessing the UserAPI. Here''s what I''ve done so far: $> rails usermanagement - "usermanagement" is the
2006 Apr 21
8
web services and dealing with before_filter
Hi all, I''ve got a Rails app with a ApplicationController that looks like this: class ApplicationController < ActionController::Base before_filter :authorize, :except => :login def authorize unless session[:user] flash[:notice] = "Please log in" session[:jumpto] = request.parameters redirect_to :controller =>
2006 Jan 12
8
Synching between Sqlite and MySql
Hi folks, I am running an offline Rails app that periodically connects to the Internet to download the latest catalogue, and upload any new orders. I am about to implement the synching bit - and was thinking whether there is any other solution other than writing webservices and code to do a manual sync of the data, or whether there is a more nifty and robust way using say replication?
2006 May 17
6
Problem Consuming a Web Service
I''m trying to consume a webservice from my rails application and have discovered an interesting problem. I can call webservice functions just fine, as long as they do not require any arguments, but function that do require arguments do not work. The arguments are sent as either null or an empty string. My API has these method definitions: api_method :otherFunction,
2014 Jul 22
3
Question: Publishing R/S objects with WebServices (SOAP/WSDL)
Hello, Can anyone tell me if there is a package which will allow me to write a package in R, then publish the package using WebServices? The idea is that I want to be able to pass a data set into R, have R perform the calculations, then send the result back to either a .Net application or a LIMS BASIC application. So far I see many packages that allow R to consume WebServices, but I haven't
2006 Mar 28
1
What if a webservice is not available = "execution expired" error
Hi, I''m using a webservice in my application. How can I make it so that my application will only try to connect to the webservice for a certain period of time and then give up? Right now my code is using a begin-rescue-else but sometimes I get a "execution expired" error if the webservice is not available or takes too long to respond. Thanks, Peter begin service =
2008 May 05
2
Geocoding and XMLRPC
Hello people, I''m implementing a geocoding feature in my web app, a classic feature, for showing registered user by location. For this purpose, I''ve inspired myself from the following tutorial : http://earthcode.com/blog/2006/04/rails_geocoding_and_google_map.html However, I''m getting this error from Rails : uninitialized constant SandboxController::XMLRPC Being a
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 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 Apr 21
3
Problem with Mongrel, Rails and web services using xmlrpc
Hi all, Ruby 1.8.4 Windows XP Pro / Solaris 10 Mongrel 0.3.12 Rails 1.1.2 I''ve got a fairly simple and straightforward layered dispatching web service setup for my Rails app. This simple xmlrpc script works fine with WEBrick, but chokes on Mongrel. Is there anything special I need to do to make web services work with Mongrel and Rails? Some Google searching indicates that there had
2007 Nov 06
1
Pass Array input to web service
Hello everybody, I'm using SSOAP and RCurl to call webservice. I got success in calling webservice with string as an input. Now i want to pass array as an input(can be single or multidimensional). When i do that i get error. unable to find an inherited method for function "toSOAP", for signature "data.frame", "textConnection", "NULL" When i remove