Hello.
Help me, please.
I need to get contact's ID by phone number.

My script:
PHP Code:
    $options = array(
        
'location' => 'http:// ... /soap.php',
        
'uri' => 'http:// ...',
        
'trace' => 1
    
);
    
    
$user_auth = array(
        
'user_name' => ' ... ',
        
'password' => ' ... ',
        
'version' => '.01'
    
);
    
    
$client = new SoapClient(NULL$options);
    
$response $client->login($user_auth,'test');
    
$session_id $response->id;
    
    
$response $client->get_entry_list($session_id'Contacts''phone_mobile LIKE "%380932222222%"');
    
    
print_r($response); 
I have:
Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document in C:\WWW\soapsite.com\htdocs\index.php:34 Stack trace: #0 [internal function]: SoapClient->__call('get_entry_list', Array) #1 C:\WWW\soapsite.com\htdocs\index.php(34): SoapClient->get_entry_list('22a443ba4b0e764...', 'Contacts', 'phone_mobile LI...') #2 {main} thrown in C:\WWW\soapsite.com\htdocs\index.php on line 34

If i replace string

PHP Code:
$response $client->get_entry_list($session_id'Contacts''"phone_mobile" LIKE "%380932222222%"'); 
(add double quotes around "phone-mobile") i have:

stdClass Object ( [result_count] => 0 [next_offset] => 0 [field_list] => Array ( ) [entry_list] => Array ( ) [error] => stdClass Object ( [number] => 0 [name] => No Error [description] => No Error ) )


Server configure where this script is located:
Windows XP
Apache/2.2.11 (Win32) PHP/5.2.10

Sugar server configure:
Linux
Apache
MySQL Client API version 5.0.89