Exemplo n.º 1
0
 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');
 }
Exemplo n.º 2
0
 /**
  * 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')));
 }