<?php
$ip = gethostbyname($SERVER_ADDR);
$wsdl = "http://$ip:8080/xjxl/services/QueryService?wsdl";
$client = new SoapClient($wsdl);
$onePhone = $client -> getQueryStudentList(
array(
'in0'=>$studentName,'in1'=>$gender,'in2'=>$enterDate,
'in3'=>$birthday,'in4'=>$collegeName,'in5'=>$majorName,
'in6'=>$trainLevel
));
print_r($onePhone);
?>
stdClass Object ( [out] => stdClass Object ( [string] =>com.xsoft.pojo.edu.student.StudentHistory@142c2af ) ) 调用webservice返回打印出上面的样式
我要如何取得里面的值呢
解决方案 »
- 【在线等】PHP+jQuery:500 Internal Server Error
- 在htdocs 下创建一个test.php,在IE中输入http://127.0.0.1:80/test.php 显示找不到网页呢
- string '54' (length=8)用什么函数能转换成int类型的?
- mysql + adodb 在unix下能用吗
- 用apache 的 ab 命令可以测试php程序的性能吗
- 有谁在windows2000下装过wamp5吗?1.7.0版的。
- apache+mysql+php+ssl环境下如何header一个附件下来
- 请教:PHP怎样读取Excel?
- session传递对象的问题
- 我想用php读取xml的三个值
- 急!!string经过zip之后存在SQL Server的image字段,PHP怎么取出字段显示呢
- 为什么程序运行后文件无法上载?
$output = $onePhone->out->string;
echo $output;这样行不?