My code worked fine if I just use 

$endpoint=http://testmantis.server/api/soap/mantisconnect.php in the $client=new soapclient($endpoint);

I can use service that mantis provide to update issue, add project ...etc etc..

But If i add "?wsdl" in the end the url, that is =>$endpoint=http://testmantis.server/api/soap/mantisconnect.php?wsdl

I just keep getting error msg like =>

Array ( [faultcode] => SOAP-ENV:Client [faultactor] => [faultstring] => method 'mc_version'('mc_version') not defined in service('' '') [detail] => )

and the 'mc_version' can be replaced with anyother service I tried to call .

However, others seem alwasys add "?wsdl" in their code and codes work fine still... does that mean something wrong with my code or my environment?

Because now I put my code in other server and I got "Parsing WSDL: Couldn't load from 'http://mymantis server/api/soap/mantisconnect.php' " this type msg

Sorry about it if the question sound stupid.... I tried to google around but I couldn't find why we have to add ?wsdl in the end but everyone seem have it =( but when I add it ... my code crash .