Hi!
$addLogData_sig=array(array($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcInt, $xmlrpcInt, $xmlrpcInt, $xmlrpcInt, $xmlrpcInt, $xmlrpcInt), array($xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcInt, $xmlrpcInt, $xmlrpcString, $xmlrpcInt, $xmlrpcInt));
$s=new xmlrpc_server();
$s->add_to_map("logbook.addLogData", "addLogData", $addLogData_sig, $addLogData_doc);
Im doing it this way.. Does this help you in any way?
Grtz,
Jip
DISCLAIMER: Berichten via e-mail en hun bijlage(n) zijn mogelijk vertrouwelijk en/of beschermd door auteursrechten en altijd uitsluitend bedoeld voor de geadresseerde(n). Gebruik van deze informatie door anderen dan de geadresseerde is niet toegestaan. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. Indien u niet de geadresseerde bent wordt u verzocht de afzender hiervan in kennis te stellen en deze e-mail en de bijlagen te vernietigen. Ik ben niet verantwoordelijk en wijs iedere aansprakelijkheid af voor of in verband met alle gevolgen en/of schade van de verzending, ontvangst en/of inhoud van deze e-mail. Ik betracht de grootst mogelijke zorgvuldigheid bij het voorkomen van virussen in (de bijlage(n) bij) dit bericht, doch aanvaar
geen aansprakelijkheid hiervoor. U dient dan ook zelf de bijlage(n) te controleren op de aanwezigheid van virussen.
From: Jeff Tupholme <[EMAIL PROTECTED]>
To: [email protected]
Subject: [phpxmlrpc] Multiple signatures
Date: Mon, 30 Jan 2006 17:44:38 +0000
>Hi,
>
>I'm trying to create a method with multiple signatures and having
>problems. I've tried both the following formats (for illustration, I
>actually have four variants):
>
>$xrs = new xmlrpc_server(array(
> 'examples.myFunc' => array(
> 'function' => 'foo',
> 'signature' => $mysig1array,
> 'signature' => $mysig2array
> )
>));
>
>$xrs = new xmlrpc_server(array(
> 'examples.myFunc' => array(
> 'function' => 'foo',
> 'signature' => array($mysig1array, $mysig2array)
> )
>));
>
>I can confirm the signature arrays themselves are OK by using them
>one at a time. When I combine them in the first form I get an error
>similar to:
>
>>Incorrect parameters passed to method: Wanted array, got string at
>>param 2
>
>... as it seems to get the various signatures confused. The second
>form yields:
>
>>Incorrect parameters passed to method: No method signature matches
>>number of parameters
>
>I'm using PHPXMLRPC 1.2.1 with PHP 5.1.1.
>
>Thanks in anticipation of any helpful suggestions.
>
>
>Regards,
>
>Jeff
>
>_______________________________________________
>phpxmlrpc mailing list
>[email protected]
>http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc
_______________________________________________ phpxmlrpc mailing list [email protected] http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc
