setSoapVersion(SOAP_1_1); parent::__construct($wsdl, $options); } /** * Perform arguments pre-processing * * My be overridden in descendant classes * * @param array $arguments */ protected function _preProcessArguments($arguments) { // Do nothing return array($arguments); } /** * Perform result pre-processing * * My be overridden in descendant classes * * @param array $arguments */ protected function _preProcessResult($result) { $resultProperty = $this->getLastMethod() . 'Result'; return $result->$resultProperty; } } } // end if (extension_loaded('soap')