/** * registerFunction * * Registers all the functions on the service class * */ protected function registerFunction() { $GLOBALS['log']->fatal('Begin: registry->registerFunction'); parent::registerFunction(); $this->serviceClass->registerFunction('Qget_entry_list', array('session' => 'xsd:string', 'module_name' => 'xsd:string', 'query' => 'xsd:string', 'order_by' => 'xsd:string', 'offset' => 'xsd:int', 'select_fields' => 'tns:select_fields', 'link_name_to_fields_array' => 'tns:link_names_to_fields_array', 'max_results' => 'xsd:int', 'deleted' => 'xsd:int', 'favorites' => 'xsd:boolean'), array('return' => 'tns:get_entry_list_result_version2')); $this->serviceClass->registerFunction('get_computation', array('session' => 'xsd:string', 'module_name' => 'xsd:string', 'query' => 'xsd:string', 'select_fields' => 'xsd:select_fields', 'operators' => 'xsd:select_fields'), array('return' => 'tns:entry_list')); }
protected function registerTypes() { parent::registerTypes(); $this->serviceClass->registerType('return_zuckerreports_resultset', 'complexType', 'struct', 'all', '', array('columnnames_list' => array('name' => 'columnnames_list', 'type' => 'tns:zuckerreports_resultset_columnnames_list'), 'rows_list' => array('name' => 'rows_list', 'type' => 'tns:zuckerreports_resultset_rows_list'))); $this->serviceClass->registerType('zuckerreports_resultset_columnnames_list', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'xsd:string[]')), 'xsd:string'); $this->serviceClass->registerType('zuckerreports_resultset_rowvalues_list', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'xsd:string[]')), 'xsd:string'); $this->serviceClass->registerType('zuckerreports_resultset_rows_list', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:zuckerreports_resultset_rowvalues_list[]')), 'tns:zuckerreports_resultset_rowvalues_list'); }
/** * This method registers all the complex types * */ protected function registerTypes() { parent::registerTypes(); $this->serviceClass->registerType('error_value', 'complexType', 'struct', 'all', '', array('number' => array('name' => 'number', 'type' => 'xsd:string'), 'name' => array('name' => 'name', 'type' => 'xsd:string'), 'description' => array('name' => 'description', 'type' => 'xsd:string'))); //modified_relationship_entry_list //This type holds the array of modified_relationship_entry types $this->serviceClass->registerType('modified_relationship_entry_list', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:modified_relationship_entry[]')), 'tns:modified_relationship_entry'); //modified_relationship_entry //This type consists of id, module_name and name_value_list type $this->serviceClass->registerType('modified_relationship_entry', 'complexType', 'struct', 'all', '', array('id' => array('name' => 'id', 'type' => 'xsd:string'), 'module_name' => array('name' => 'module_name', 'type' => 'xsd:string'), 'name_value_list' => array('name' => 'name_value_lists', 'type' => 'tns:name_value_list'))); //modified_relationship_result //the top level result array $this->serviceClass->registerType('modified_relationship_result', 'complexType', 'struct', 'all', '', array('result_count' => array('name' => 'result_count', 'type' => 'xsd:int'), 'next_offset' => array('name' => 'next_offset', 'type' => 'xsd:int'), 'entry_list' => array('name' => 'entry_list', 'type' => 'tns:modified_relationship_entry_list'), 'error' => array('name' => 'error', 'type' => 'tns:error_value'))); }
protected function registerFunction() { parent::registerFunction(); $this->serviceClass->registerFunction('find_beans_with_phone_number', array('session' => 'xsd:string', 'phone_number' => 'xsd:string', 'module_order' => 'xsd:string', 'stop_on_find' => 'xsd:bool'), array('return' => 'xsd:string')); $this->serviceClass->registerFunction('originate_call', array('session' => 'xsd:string', 'from_extension' => 'xsd:string', 'to_phone_number' => 'xsd:string')); }