php调用webservice

$client = new SoapClient("http://localhost:8080/axis2/services/HelloService?wsdl",array('encoding'='UTF-8')); 必须要用数组的方式传递参数 $param1 =" hello" $param = array('inPara'=$param1); $arr = $client-HelloService($param); 参数名inPara也要和wsdl中定义的一致

转载于:https://www.cnblogs.com/lsai/p/5199832.html

最新回复(0)
/jishuySm_2FAuTpI1Pxy3EPr5xoe0kQvO3OqYlJzZeNLA_3D_3D4488180
8