/**
  * sample_GetProducts::dispatchCall()
  * 
  * Dispatch the call
  *
  * @param array $params array of parameters for the eBay API call
  * 
  * @return boolean success
  */
 public function dispatchCall($params)
 {
     $req = new GetProductsRequestType();
     $ProductSearch = new ProductSearchType();
     $ProductSearch->setQueryKeywords($params['QueryKeywords']);
     $req->setProductSearch($ProductSearch);
     $res = $this->proxy->GetProducts($req);
     if ($this->testValid($res)) {
         $this->dumpObject($res);
         return true;
     } else {
         return false;
     }
 }
 /**
  * @return GetProductsResponseType
  * @param GetProductsRequestType $request 
  */
 function GetProducts($request)
 {
     $request->setVersion(EBAY_WSDL_VERSION);
     return $this->call('GetProducts', $request);
 }