public function setEncodingMethod($use)
    {
        if (!in_array($use, array(SOAP_ENCODED, SOAP_LITERAL))) {
            require_once 'Zend/Soap/Client/Exception.php';
            throw new Zend_Soap_Client_Exception('Invalid message encoding method. Use SOAP_ENCODED or SOAP_LITERAL constants.');
        }

        $this->_use = $use;

        $this->_soapClient = null;

        return $this;
    }
public function setEncodingMethod($use)
    {
        if (!in_array($use, array(SOAP_ENCODED, SOAP_LITERAL))) {
            require_once 'Zend/Soap/Client/Exception.php';
            throw new Zend_Soap_Client_Exception('Invalid message encoding method. Use SOAP_ENCODED or SOAP_LITERAL constants.');
        }

        $this->_use = $use;

        $this->_soapClient = null;

        return $this;
    }
public function setEncodingMethod ( $ use ) { if ( ! in_array ( $ use , array ( SOAP_ENCODED , SOAP_LITERAL ) ) ) { require_once 'Zend/Soap/Client/Exception.php' ; throw new Zend_Soap_Client_Exception ( 'Invalid message encoding method. Use SOAP_ENCODED or SOAP_LITERAL constants.' ) ; } $ this -> _use = $ use ; $ this -> _soapClient = null ; return $ this ; }
Set message encoding method

@param  int $use One of the SOAP_ENCODED or SOAP_LITERAL constants
@return Zend_Soap_Client
@throws Zend_Soap_Client_Exception with invalid message encoding method argument
Set message encoding method