search for: faultexcept

Displaying 6 results from an estimated 6 matches for "faultexcept".

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 Oct 18
19
Creating client certificates
I testing Puppet 0.19.3. If we decide to use it, we''d deploy it across several thousand hosts. The method described for creating client certificates described in the documentation - running "puppetd --server <server> --waitforcert 60 --test" and "puppetca --sign <client>" - is not practical for our installation. I''ve tried creating
2006 Jan 04
5
Webservice External XMLRPC
...re "xmlrpc/client" server = XMLRPC::Client.new("10.0.0.132", "/api/directspool", 3003) begin param = server.call(''add'',:html=>''sadfdsaf'',:from=>''dsafdsaf'') puts "4 + 5 = #{param}" rescue XMLRPC::FaultException => e puts "Error:" puts e.faultCode puts e.faultString end I get the following error : no such method ''add'' on API DirectSpoolAPI The rails loggins says : Processing ApiController#directspool (for 10.0.0.1 at 2006-01-04 22:04:03) [POST] Parameters: {&qu...
2006 Feb 18
0
activerecord connections with xmlrpc
...) end # given a user id get the user name def get_username(id) u = User.find(id) return u.username end s = XMLRPC::Server.new(8080) s.add_handler("get_username") do |user_id| get_username(user_id) end s.set_default_handler do |name, *args| raise XMLRPC::FaultException.new(-99, "Method #{name} missing" + " or wrong number of parameters!") end --------------------------------------------------------------------- client code: ------------------------------------------------------ require ''xmlrpc/cli...
2006 May 19
1
Getting a list of available methods from ActionWebService
Hi all, I dug around a bit, may have missed it. Is there a method automatically generated by ActionWebService (or XMLRPC::Server) that a client can use to list all available service methods (perhaps along with docs)? Or do I have to roll that myself? Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this
2007 Apr 17
0
rflickr: invalid auth token when uploading
...cation which uses rflickr to upload images to flickr. I''ve generated and cached an auth token as described in the GETTING STARTED document in the rflickr tree. However, when I call the API, I receive an error stating "ERR: Invalid auth token (98)". The extended error is: XMLRPC::FaultException (Invalid auth token): /vendor/plugins/rflickr-2006.02.01/lib/flickr/upload.rb:70:in `error'' /vendor/plugins/rflickr-2006.02.01/lib/flickr/upload.rb:179:in `upload_image'' Any insight into this error will be greatly appreciated. Here is the action that gets executed on...