src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php
public function setSoapVersion($version)
    {
        if (!in_array($version, array(SOAP_1_1, SOAP_1_2))) {
            require_once 'Zend/Soap/Server/Exception.php';
            throw new Zend_Soap_Server_Exception('Invalid soap version specified');
        }

        $this->_soapVersion = $version;
        return $this;
    }
public function setSoapVersion($version)
    {
        if (!in_array($version, array(SOAP_1_1, SOAP_1_2))) {
            require_once 'Zend/Soap/Server/Exception.php';
            throw new Zend_Soap_Server_Exception('Invalid soap version specified');
        }

        $this->_soapVersion = $version;
        return $this;
    }
Set SOAP version

@param  int $version One of the SOAP_1_1 or SOAP_1_2 constants
@return Zend_Soap_Server
@throws Zend_Soap_Server_Exception with invalid soap version argument