logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Functions with same name but different parameters: msg#00079

Subject: Functions with same name but different parameters
Hi list,
I've a problem with my php nusoap client. I'm
requesting coordinates  to a soap server interface
wich has two functions with the same name:
- getCoordinates(city, state, country)
- getCoordinates(country). 

Problem is that my client is returning the country
coordinates, even though a city and state are
specified:

ie:

$params = array('city' => 'Faridabad','state' =>
'Haryana','country' => 'India');
$result=$client->call('getCoordinates', $params);

returns only country coordinates.

Can anyone give me an explanation. Thanks a lot for
your help.
Ludovic



        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click


<Prev in Thread] Current Thread [Next in Thread>