as i explore site code i have added a function name: dolphin.getMatchProfiles in index.php in xmlrpc folder.
"dolphin.getMatchProfiles" => array(
"function" => "BxDolXMLRPCSearch::getMatchProfiles",
"signature" => array (array ($xmlrpcArray, $xmlrpcString, $xmlrpcString, $xmlrpcString, $xmlrpcString)),
"docstring" => "get search results by location",
),
also i implemented this function in a file which i included. (BxDolXMLRPCSearch.php)
function getMatchProfiles($sUser, $sPwd, $sNick, $sLang)
{
$iIdProfile = BxDolXMLRPCUtil::getIdByNickname ($sNick);
if (!$iIdProfile || !($iId = BxDolXMLRPCUtil::checkLogin ($sUser, $sPwd)))
return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "struct"));
BxDolXMLRPCUtil::setLanguage ($sLang);
require_once( BX_DIRECTORY_PATH_INC . 'match.inc.php' );
$sRet = getMatchProfiles($iIdProfile,false,'none');
return new xmlrpcval ($sRet, "array");
}
but when i try to use this function in iPhone app, it says response is not xml.
please let me know if I need to declare or implement in any other files to have it work?