search for: myapi

Displaying 5 results from an estimated 5 matches for "myapi".

Did you mean: mapi
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 still exist on the target service(s), value casting will still be performed, and recursive ''system.multicall'' calls are not allowed....
2006 May 31
2
Rails Bug when loading required files for API?
...have a WS API defined, communicating with a remote system that expects a stucture: When defined like this (all definitions in one file) it all works fine: /app/apis/myws_api.rb ---------- class SoapResponse < ActionWebService::Struct member :id, :int member :title, :string end class MyApi < ActionWebService::API::Base api_method :find_products_by_category, :expects => [:string], :returns => [[SoapResponse]] end ---------- Now when I try to isolate my API code and my structures into a module (listing below) things go wrong, but in a weird way. When I restart my Web...
2006 Jul 25
2
web services client problem
hi all, i have been trying to study web services using rails so far i succesful with server implementations in REST,SOAP,XML-RPC but the client code is troubling me. i have done most of the coding as per the rails book agile web development i.e implementations of the servers and when i invoke them they give result but when i try to acces them through another controller it gives time out error
2006 Jun 13
0
CDATA as api_method expected parameter
I''d like to know if there is any way to accept a CDATA block as a parameter to an ActionWebService API method. I''d like to have something like this, class MyAPI < ActionWebService::API::Base api_method :test, :expects => [:cdata] end The client would pass "<![CDATA[ ...blah blah... ]]>" as the parameter to the method, test. Perhaps I need to specify :string as the expected type and somehow tell the parsing library to interpret the...
2006 Jul 24
1
XMLRPC WebService and Structs
...ice API documentation and I am trying to reverse engineer a web service out of it... One of the webservice calls returns the following response which I need to consume. Sending >> <?xml version="1.0" encoding="UTF-8"?> <methodCall> <methodName>MyAPI.IsValid</methodName> <params> <param> <value> <struct> <member> <name>username</name> <value><string><!-- contract username --></ string>&...