php向java webservice传递xml格式的字符串
header("Content-Type: textml;charset=utf-8");
$client = new SoapClient('http://171.12.5.86:83/DataInteractonWbs/webservice/wbs?wsdl');
$client->soap_defencoding = 'utf-8';
$client->xml_encoding = 'utf-8';
$xml=getOrderXml();
$param = "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>...";
$postArray=array(array("data"=>$xml));
$result = $client->payParse($param);
我执行这段代码 报错 说 传递的参数为空?? 大神指教下 谢谢
请问问题解决了吗?