时间:2021-07-01 10:21:17 帮助过:30人阅读
的分号去掉,然后重启即可
x = 2; $obj->y = 3; $result= $client->Add ( $obj );//wcf 中add方法需要两int,你懂滴 echo $result->AddResult;//现在还没明白为啥结果集 $cc->AddResult $strParam->str="tianbang"; $str = $client->GetStr ( $strParam); echo $str->GetStrResult;//这里测试返回一个string,因为我想json,你懂滴 ?>
http://www.bkjia.com/PHPjc/440108.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/440108.htmlTechArticle的分号去掉,然后重启即可 Result $strParam-str="tianbang"; $str = $client-GetStr ( $strParam); echo $str-GetStr Result ;//这里测试返回一个string,因为我想json,你...