PHP Classes

File: tests/resources/generated/ValidApiSearch.php

Recommend this page to a friend!
  Classes of WsdlToPhp   PHP SOAP Package Generator   tests/resources/generated/ValidApiSearch.php   Download  
File: tests/resources/generated/ValidApiSearch.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP SOAP Package Generator
Generate package to call SOAP services using WSDL
Author: By
Last change:
Date: 8 years ago
Size: 1,366 bytes
 

Contents

Class file image Download
<?php

namespace Api\ServiceType;

use \
WsdlToPhp\PackageBase\AbstractSoapClientBase;

/**
 * This class stands for Search ServiceType
 * @package Api
 * @subpackage Services
 * @release 1.1.0
 */
class ApiSearch extends AbstractSoapClientBase
{
   
/**
     * Method to call the operation originally named Search
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \Api\StructType\ApiSearchRequest $parameters
     * @return \Api\StructType\ApiSearchResponse|bool
     */
   
public function Search(\Api\StructType\ApiSearchRequest $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 \Api\StructType\ApiSearchResponse
     */
   
public function getResult()
    {
        return
parent::getResult();
    }
   
/**
     * Method returning the class name
     * @return string __CLASS__
     */
   
public function __toString()
    {
        return
__CLASS__;
    }
}