|
|
Choosing A Webhost: |
Re: Getting defaults via XML-RPC: msg#00020cms.opengroupware.xmlrpc.devel
> On Thu, Jun 09, 2005 at 10:20:00AM -0400, Adam Tauno Williams wrote: > > I'm trying to read the defaults for SkyScheduler_defaultAppointmentTypes > > and SkyScheduler_customAppointmentTypes as specified in > > http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=384 > Looking at the date of Helge's comment, it's quite new. is the ogo > you're trying to do the call a recent svn checkout? ogo-xmlrpcd-1.0a-trunk_r1105.0 which I think would be new enough. > or is has the functionality been there for a long time and it's just > the comment, which is new? I think the default.* methods have been around awhile. > Unfortunately I only have an older installation... I pretty much track the current TRUNK. > > The getSignature method says the parameters for the defaults methods > > (defaults.arrayForKey, defaults.dataForKey, defaults.dictionaryForKey, > > defaults.objectForKey, defaults.stringForKey) is string, string > Hmm, > http://svn.opengroupware.org/viewcvs/trunk/XmlRpcAPI/Documentation/README.defaults?rev=542&view=markup > says, it's only 1 string-parameter. Yep, I see that now. > As for the type, getSignature afaIk reports string for everything :) > So, I wouldn't trust getSignature too much. I've wondered about that. > I believe the listing you get, when pointing a web-browser to > http://<ogo-server>/RPC2 is the same getSignature would return for each > method. > defaults.arrayForKey('Languages') seems to work. (returne ['English'] in > my case). Yes. throw:~ # xmlrpc_call http://throw/RPC2 defaults.arrayForKey Languages login: adam password: English > Unfortunately calling it with key SkyScheduler_defaultAppointmentTypes > just returns nothing. Same as here. -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Getting defaults via XML-RPC, Gerhard Pfeiffer |
|---|---|
| Next by Date: | Re: Getting defaults via XML-RPC, Gerhard Pfeiffer |
| Previous by Thread: | Re: Getting defaults via XML-RPC, Gerhard Pfeiffer |
| Next by Thread: | Re: Getting defaults via XML-RPC, Gerhard Pfeiffer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |