1.安装php_soap.dll扩展
2.代码写法(wcfservice与webservice差不多)
$client = new SoapClient( 'http://www.explome.com/WCFService.svc?wsdl' ); //'wsdl'一定要添加
$params = array( 'id'=>2, 'name'=>'aaa' );
$res = $client->UserCard_SavePass($params); //wcf的方法
$result = $res->UserCard_SavePassResult; //方法名Result, $result返回过来的是对象