|
|
Choosing A Webhost: |
apppointment.fetch/PHP: msg#00010cms.opengroupware.xmlrpc.devel
I've gotten fetch to work for tasks, accounts, etc... but can't seem to get appointments.fetch to work; I'm curious if I'm encoding the dates wrong, or making some other stupid mistake. A simple example - #!/usr/bin/php -c /home/awilliam/workspace/pogi <?PHP require_once("XML/RPC.php"); $client = new XML_RPC_Client('/RPC2', 'kohocton', 80); $client->setCredentials('adam', '*******'); $fSpec['qualifier']['startDate'] = new XML_RPC_Value( XML_RPC_iso8601_encode(mktime(0, 0, 0, 12, 31, 2003)), 'dateTime.iso8601'); $fSpec['qualifier']['endDate'] = new XML_RPC_Value( XML_RPC_iso8601_encode(mktime(0, 0, 0, 12, 31, 2004)), 'dateTime.iso8601'); $params = new XML_RPC_Value($fSpec, 'struct'); $message = new XML_RPC_Message('appointment.fetch', $params); $response = $client->send($message); print_r($response); ?> - returns - xml_rpc_response Object ( [xv] => xml_rpc_value Object ( [me] => Array ( [array] => Array ( ) ) [mytype] => 2 ) [fn] => [fs] => [hdrs] => Array ( [0] => T ) ) - empty. -- 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: Questions On Team Document, Adam Tauno WIlliams |
|---|---|
| Next by Date: | Re: apppointment.fetch/PHP, Helge Hess |
| Previous by Thread: | Questions On Team Document, Adam Tauno WIlliams |
| Next by Thread: | Re: apppointment.fetch/PHP, Helge Hess |
| 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 |