<?php 
 
namespace My\Project\ServiceType; 
 
use \WsdlToPhp\PackageBase\AbstractSoapClientBase; 
 
/** 
 * This class stands for Search ServiceType 
 * @package Api 
 * @subpackage Services 
 * @release 1.1.0 
 */ 
class ApiSearchProject extends AbstractSoapClientBase 
{ 
    /** 
     * Method to call the operation originally named Search 
     * @uses AbstractSoapClientBase::getSoapClient() 
     * @uses AbstractSoapClientBase::setResult() 
     * @uses AbstractSoapClientBase::getResult() 
     * @uses AbstractSoapClientBase::saveLastError() 
     * @param \My\Project\StructType\ApiSearchRequestProject $parameters 
     * @return \My\Project\StructType\ApiSearchResponseProject|bool 
     */ 
    public function Search(\My\Project\StructType\ApiSearchRequestProject $parameters) 
    { 
        try { 
            $this->setResult(self::getSoapClient()->Search($parameters)); 
            return $this->getResult(); 
        } catch (\SoapFault $soapFault) { 
            $this->saveLastError(__METHOD__, $soapFault); 
            return false; 
        } 
    } 
    /** 
     * Returns the result 
     * @see AbstractSoapClientBase::getResult() 
     * @return \My\Project\StructType\ApiSearchResponseProject 
     */ 
    public function getResult() 
    { 
        return parent::getResult(); 
    } 
    /** 
     * Method returning the class name 
     * @return string __CLASS__ 
     */ 
    public function __toString() 
    { 
        return __CLASS__; 
    } 
} 
 
 |