Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Which ID for person.getById: msg#00000

cms.opengroupware.xmlrpc.devel

Subject: Which ID for person.getById

Hello,

I have a question regarding the person.getById:

First, I got a list of alle persons via PHP with

$params = array(new XML_RPC_Value("name like '*'"));
$msg = new XML_RPC_Message("person.fetchIds", $params);
$response = $client->send($msg);
$v = $response->value();
$nSize = $v->arraysize();
for($nA = 0; $nA < $nSize; $nA++) {
$val = $v->arraymem($nA);
var_dump($val);

}


The List shows like
object(XML_RPC_Value)#4 (2) { ["me"]=> array(1) { ["string"]=>
string(42) "skyrix://bueckemeyer/bueckemeyer-ogo/10000" }
["mytype"]=> int(1) } object(XML_RPC_Value)#5 (2) { ["me"]=>
array(1) { ["string"]=> string(42) "skyrix://bueckemeyer/bueckemeyer-
ogo/10120" } ["mytype"]=> int(1) } object(XML_RPC_Value)#6 (2) {
["me"]=> array(1) { ["string"]=> string(42)
"skyrix://bueckemeyer/bueckemeyer-ogo/10570" } ["mytype"]=> int(1) }


When i then try to geht a person document from the User with the id
10570 with

$msg = new XML_RPC_Message("person.getById", new
XML_RPC_Message('10570'));

the result is NULL.

Do I need another ID? Does someone know whats's wrong?

Thanks for help!

Thomas
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

--
OpenGroupware.org XML-RPC
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo