pear php使用soap_客户端提取soap文件附件

pear php使用soap_客户端提取soap文件附件,php,soap,get,attachment,pear,Php,Soap,Get,Attachment,Pear,我正在使用PHP pearSoap\u客户端获取mime类型数据。 代码是 $soapclient = new SOAP_Client($url_rec); $msg = $soapclient->_call('query', $params_rec, $options); if($msg) { var_dump($soapclient->_soap_transport->attachments); } 如果我使用var\u dump($msg)它返回Soap\u f

我正在使用PHP pear
Soap\u客户端
获取mime类型数据。 代码是

$soapclient = new SOAP_Client($url_rec);
$msg = $soapclient->_call('query', $params_rec, $options);
if($msg)
{
    var_dump($soapclient->_soap_transport->attachments);
}
如果我使用
var\u dump($msg)
它返回
Soap\u fault
error对象。 我翻了一遍,在文件附件的情况下,它给了我解析错误。
如果没有文件附件,则可以。

错误是什么?它返回Soap\u Fault error object至少,发布错误消息。