摘要: PHP是弱类型语言,转换非常不方便。< ?php//soap 客户端$client=newSoapClient('http://localhost:57710/servicestest.asmx?WSDL');$hello = $client->HelloWorld();echo $hello;//不可以直接输出会有以下错误提示,但在Java下却正常。//必须采用以下循环输出即可foreach ($hello as $h){echo $h;}?>调用多个参数$sum = $client->Test(array('a'=>5));fo 阅读全文
posted @ 2012-09-24 13:58 tokeep 阅读(225) 评论(0) 推荐(0) 编辑