使用$ lookup处理对象ID聚合的管道

时间:2018-10-16 07:18:34

标签: node.js mongodb mongoose mongodb-query

<?php 
$wsdl   = "http://abcddetails.org/InspectionServices.asmx?WSDL";
$client = new SoapClient($wsdl, array('trace'=>1));  // The trace param will show you errors stack

 $auth = array(
        'Username'=>'XXXXX',
        'Password'=>'XXXXX',
    );
$header = new SOAPHeader($wsdl, 'UserIdentifierSoapHeaderIn', $auth);        
$client->__setSoapHeaders($header);

// web service input params
$request_param = array(
    "SystemCode" => 4,
    "UserID" => "TEST",
    "ChassisNo" => '1N4AL3A9XHC214925'

);
$responce_param = null;
try
{
    $responce_param = $client->getVehicleDetails($request_param);
   //$responce_param =  $client->call("webservice_methode_name", $request_param); // Alternative way to call soap method
} 
catch (Exception $e) 
{ 
    echo "<h2>Exception Error!</h2>"; 
    echo $e->getMessage(); 
}

print_r($responce_param);

?>

我正在创建一个将用户模型连接到图像模型的管道,但是它没有从图像模型中获取所有图像。我正在将用户模型连接到要在用户列表中显示的图像,但是它不起作用。谁能帮我吗?

0 个答案:

没有答案