Php Soap方法返回文件作为结果
我有以下web服务定义作为结果(): 我的方法调用有什么问题 编辑:代码:Php Soap方法返回文件作为结果,php,soap,Php,Soap,我有以下web服务定义作为结果(): 我的方法调用有什么问题 编辑:代码: $client = new SoapClient($account->profile_dl_ul_object_info . '?WSDL'); $data = $client->GetBookByMetaData(array( 'MetaDataID' => $identifier, 'Username' => $account->pro
$client = new SoapClient($account->profile_dl_ul_object_info . '?WSDL');
$data = $client->GetBookByMetaData(array(
'MetaDataID' => $identifier,
'Username' => $account->profile_dl_info_username,
'Password' => $account->profile_dl_info_password,
));
这个电话看起来没问题。您确定
$identifier
具有正确的值吗?能否向我们显示创建客户端和链接到web服务的代码
$data = $client->GetBookByMetaData(array(
'MetaDataID' => $identifier,
'Username' => '****',
'Password' => '****',
));
$client = new SoapClient($account->profile_dl_ul_object_info . '?WSDL');
$data = $client->GetBookByMetaData(array(
'MetaDataID' => $identifier,
'Username' => $account->profile_dl_info_username,
'Password' => $account->profile_dl_info_password,
));