Exemplo n.º 1
0
 /**
  * This method registers all the complex types
  *
  */
 protected function registerTypes()
 {
     parent::registerTypes();
     $this->serviceClass->registerType('link_list2', 'complexType', 'struct', 'all', '', array('link_list' => array('name' => 'link_list', 'type' => 'tns:link_list')));
     $this->serviceClass->registerType('link_lists', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:link_list2[]')), 'tns:link_list2');
     $this->serviceClass->registerType('link_array_list', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:link_value2[]')), 'tns:link_value2');
     $this->serviceClass->registerType('link_value2', 'complexType', 'struct', 'all', '', array('link_value' => array('name' => 'link_value', 'type' => 'tns:link_value')));
     $this->serviceClass->registerType('field_list2', 'complexType', 'struct', 'all', '', array("field_list" => array('name' => 'field_list', 'type' => 'tns:field_list')));
     $this->serviceClass->registerType('entry_list2', 'complexType', 'struct', 'all', '', array("entry_list" => array('name' => 'entry_list', 'type' => 'tns:entry_list')));
 }
Exemplo n.º 2
0
 /**
  * This method registers all the complex types
  *
  */
 protected function registerTypes()
 {
     parent::registerTypes();
     $this->serviceClass->registerType('md5_results', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'xsd:string[]')), 'xsd:string');
     $this->serviceClass->registerType('module_names', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'xsd:string[]')), 'xsd:string');
     $this->serviceClass->registerType('upcoming_activities_list', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:upcoming_activity_entry[]')), 'tns:upcoming_activity_entry');
     $this->serviceClass->registerType('upcoming_activity_entry', 'complexType', 'struct', 'all', '', array("id" => array('name' => "id", 'type' => 'xsd:string'), "module" => array('name' => "module", 'type' => 'xsd:string'), "date_due" => array('name' => "date_due", 'type' => 'xsd:string'), "summary" => array('name' => "summary", 'type' => 'xsd:string')));
     $this->serviceClass->registerType('last_viewed_list', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array(array('ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:last_viewed_entry[]')), 'tns:last_viewed_entry');
     $this->serviceClass->registerType('last_viewed_entry', 'complexType', 'struct', 'all', '', array("id" => array('name' => "id", 'type' => 'xsd:string'), "item_id" => array('name' => "item_id", 'type' => 'xsd:string'), "item_summary" => array('name' => "item_summary", 'type' => 'xsd:string'), "module_name" => array('name' => "module_name", 'type' => 'xsd:string'), "monitor_id" => array('name' => "monitor_id", 'type' => 'xsd:string'), "date_modified" => array('name' => "date_modified", 'type' => 'xsd:string')));
     $this->serviceClass->registerType('field', 'complexType', 'struct', 'all', '', array('name' => array('name' => 'name', 'type' => 'xsd:string'), 'type' => array('name' => 'type', 'type' => 'xsd:string'), 'group' => array('name' => 'group', 'type' => 'xsd:string'), 'label' => array('name' => 'label', 'type' => 'xsd:string'), 'required' => array('name' => 'required', 'type' => 'xsd:int'), 'options' => array('name' => 'options', 'type' => 'tns:name_value_list'), 'default_value' => array('name' => 'name', 'type' => 'xsd:string')));
 }