轉
SoapFault exception: [soap:Client] Not enough message parts were received for the operation.
Java服務端使用XFire
後來發現必須要用數組的方式傳遞參數
$param1 =" hello"
$param = array('inPara'=>$param1);
$arr = $client->HelloService($param);
如果直接用 $arr = $client->HelloService($param1);,上面的異常就會出現
參數名inPara也要和wsdl中定義的一致,否則會出其他問題。