]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - soap/SoapTypes.php
Release 6.5.0
[Github/sugarcrm.git] / soap / SoapTypes.php
1 <?php
2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 /*********************************************************************************
4  * SugarCRM Community Edition is a customer relationship management program developed by
5  * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
6  * 
7  * This program is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU Affero General Public License version 3 as published by the
9  * Free Software Foundation with the addition of the following permission added
10  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13  * 
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
17  * details.
18  * 
19  * You should have received a copy of the GNU Affero General Public License along with
20  * this program; if not, see http://www.gnu.org/licenses or write to the Free
21  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22  * 02110-1301 USA.
23  * 
24  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26  * 
27  * The interactive user interfaces in modified source and object code versions
28  * of this program must display Appropriate Legal Notices, as required under
29  * Section 5 of the GNU Affero General Public License version 3.
30  * 
31  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32  * these Appropriate Legal Notices must retain the display of the "Powered by
33  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34  * technical reasons, the Appropriate Legal Notices must display the words
35  * "Powered by SugarCRM".
36  ********************************************************************************/
37
38
39 $server->wsdl->addComplexType(
40     'note_attachment',
41     'complexType',
42     'struct',
43     'all',
44     '',
45     array(
46         "id" => array('name'=>"id",'type'=>'xsd:string'),
47                 "filename" => array('name'=>"filename",'type'=>'xsd:string'),
48                 "file" => array('name'=>"file",'type'=>'xsd:string'),
49     )
50 );
51
52 $server->wsdl->addComplexType(
53     'new_note_attachment',
54     'complexType',
55     'struct',
56     'all',
57     '',
58     array(
59         "id" => array('name'=>"id",'type'=>'xsd:string'),
60                 "filename" => array('name'=>"filename",'type'=>'xsd:string'),
61                 "file" => array('name'=>"file",'type'=>'xsd:string'),
62                 "related_module_id" => array('name'=>"related_module_id",'type'=>'xsd:string'),
63                 "related_module_name" => array('name'=>"related_module_name",'type'=>'xsd:string'),
64     )
65 );
66
67 $server->wsdl->addComplexType(
68     'new_return_note_attachment',
69     'complexType',
70     'struct',
71     'all',
72     '',
73     array(
74         "note_attachment"=>array('name'=>'note_attachment', 'type'=>'tns:new_note_attachment'),
75     )
76 );
77
78 $server->wsdl->addComplexType(
79     'return_note_attachment',
80     'complexType',
81     'struct',
82     'all',
83     '',
84     array(
85         "note_attachment"=>array('name'=>'note_attachment', 'type'=>'tns:note_attachment'),
86                 "error"=> array('name'=>'error', 'type'=>'tns:error_value'),
87     )
88 );
89
90 $server->wsdl->addComplexType(
91          'user_auth',
92          'complexType',
93          'struct',
94          'all',
95           '',
96         array(
97                 'user_name'=>array('name'=>'user_name', 'type'=>'xsd:string'),
98                 'password' => array('name'=>'password', 'type'=>'xsd:string'),
99                 'version'=>array('name'=>'version', 'type'=>'xsd:string'),
100         )
101
102 );
103
104 $server->wsdl->addComplexType(
105     'field',
106         'complexType',
107          'struct',
108          'all',
109           '',
110                 array(
111                         'name'=>array('name'=>'name', 'type'=>'xsd:string'),
112                         'type'=>array('name'=>'type', 'type'=>'xsd:string'),
113                         'label'=>array('name'=>'label', 'type'=>'xsd:string'),
114                         'required'=>array('name'=>'required', 'type'=>'xsd:int'),
115                         'options'=>array('name'=>'options', 'type'=>'tns:name_value_list'),
116             'default_value'=>array('name'=>'name', 'type'=>'xsd:string'),
117                 )
118 );
119
120 $server->wsdl->addComplexType(
121     'link_field',
122         'complexType',
123          'struct',
124          'all',
125           '',
126                 array(
127                         'name'=>array('name'=>'name', 'type'=>'xsd:string'),
128                         'type'=>array('name'=>'type', 'type'=>'xsd:string'),
129                         'relationship'=>array('name'=>'relationship', 'type'=>'xsd:string'),
130                         'module'=>array('name'=>'module', 'type'=>'xsd:string'),
131                         'bean_name'=>array('name'=>'bean_name', 'type'=>'xsd:string'),
132                 )
133 );
134
135
136 $server->wsdl->addComplexType(
137     'field_list',
138         'complexType',
139          'array',
140          '',
141           'SOAP-ENC:Array',
142         array(),
143     array(
144         array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:field[]')
145     ),
146         'tns:field'
147 );
148
149 $server->wsdl->addComplexType(
150     'link_field_list',
151         'complexType',
152          'array',
153          '',
154           'SOAP-ENC:Array',
155         array(),
156     array(
157         array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:link_field[]')
158     ),
159         'tns:link_field'
160 );
161
162
163
164 $server->wsdl->addComplexType(
165     'name_value',
166         'complexType',
167          'struct',
168          'all',
169           '',
170                 array(
171                 'name'=>array('name'=>'name', 'type'=>'xsd:string'),
172                         'value'=>array('name'=>'value', 'type'=>'xsd:string'),
173                 )
174 );
175 $server->wsdl->addComplexType(
176     'name_value_list',
177         'complexType',
178          'array',
179          '',
180           'SOAP-ENC:Array',
181         array(),
182     array(
183         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:name_value[]')
184     ),
185         'tns:name_value'
186 );
187
188 $server->wsdl->addComplexType(
189     'name_value_lists',
190         'complexType',
191          'array',
192          '',
193           'SOAP-ENC:Array',
194         array(),
195     array(
196         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:name_value_list[]')
197     ),
198         'tns:name_value_list'
199 );
200
201
202 //these are just a list of fields we want to get
203 $server->wsdl->addComplexType(
204     'select_fields',
205         'complexType',
206          'array',
207          '',
208           'SOAP-ENC:Array',
209         array(),
210     array(
211         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'xsd:string[]')
212     ),
213         'xsd:string'
214 );
215
216
217
218 //these are just a list of fields we want to get
219 $server->wsdl->addComplexType(
220     'module_fields',
221         'complexType',
222          'struct',
223          'all',
224           '',
225                 array(
226                 'module_name'=>array('name'=>'module_name', 'type'=>'xsd:string'),
227                         'module_fields'=>array('name'=>'module_fields', 'type'=>'tns:field_list'),
228                         'error' => array('name' =>'error', 'type'=>'tns:error_value'),
229                 )
230 );
231
232 //these are just a list of fields we want to get
233 $server->wsdl->addComplexType(
234     'new_module_fields',
235         'complexType',
236          'struct',
237          'all',
238           '',
239                 array(
240                 'module_name'=>array('name'=>'module_name', 'type'=>'xsd:string'),
241                         'module_fields'=>array('name'=>'module_fields', 'type'=>'tns:field_list'),
242                         'link_fields'=>array('name'=>'link_fields', 'type'=>'tns:link_field_list'),
243                 )
244 );
245
246 // a listing of available modules
247 $server->wsdl->addComplexType(
248     'module_list',
249         'complexType',
250          'struct',
251          'all',
252           '',
253                 array(
254                         'modules'=>array('name'=>'modules', 'type'=>'tns:select_fields'),
255                         'error' => array('name' =>'error', 'type'=>'tns:error_value'),
256                 )
257 );
258
259 $server->wsdl->addComplexType(
260     'error_value',
261         'complexType',
262          'struct',
263          'all',
264           '',
265                 array(
266                 'number'=>array('name'=>'number', 'type'=>'xsd:string'),
267                         'name'=>array('name'=>'name', 'type'=>'xsd:string'),
268                         'description'=>array('name'=>'description', 'type'=>'xsd:string'),
269                 )
270 );
271
272
273
274 $server->wsdl->addComplexType(
275     'entry_value',
276         'complexType',
277          'struct',
278          'all',
279           '',
280                 array(
281                 'id'=>array('name'=>'id', 'type'=>'xsd:string'),
282                         'module_name'=>array('name'=>'module_name', 'type'=>'xsd:string'),
283                         'name_value_list'=>array('name'=>'name_value_list', 'type'=>'tns:name_value_list'),
284                 )
285 );
286
287 $server->wsdl->addComplexType(
288     'entry_list',
289         'complexType',
290          'array',
291          '',
292           'SOAP-ENC:Array',
293         array(),
294     array(
295         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:entry_value[]')
296     ),
297         'tns:entry_value'
298 );
299
300
301 $server->wsdl->addComplexType(
302          'get_mailmerge_document_result',
303          'complexType',
304          'struct',
305          'all',
306           '',
307         array(
308                 'html' => array('name'=>'html', 'type'=>'xsd:string'),
309                 'name_value_list'=>array('name'=>'name_value_list', 'type'=>'tns:name_value_list'),
310                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
311         )
312 );
313
314 $server->wsdl->addComplexType(
315     'link_name_to_fields_array',
316         'complexType',
317          'struct',
318          'all',
319           '',
320                 array(
321                         'name'=>array('name'=>'name', 'type'=>'xsd:string'),
322                                 'value'=>array('name'=>'value', 'type'=>'tns:select_fields'),
323                 )
324 );
325
326 $server->wsdl->addComplexType(
327     'link_value',
328         'complexType',
329          'array',
330          '',
331           'SOAP-ENC:Array',
332         array(),
333     array(
334         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:name_value_list[]')
335     ),
336         'tns:name_value'
337 );
338
339 $server->wsdl->addComplexType(
340     'link_array_list',
341         'complexType',
342          'array',
343          '',
344           'SOAP-ENC:Array',
345         array(),
346     array(
347         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:link_value[]')
348     ),
349         'tns:link_value'
350 );
351
352 $server->wsdl->addComplexType(
353     'link_name_value',
354         'complexType',
355          'struct',
356          'all',
357           '',
358                 array(
359                 'name'=>array('name'=>'name', 'type'=>'xsd:string'),
360                         'records'=>array('name'=>'records', 'type'=>'tns:link_array_list'),
361                 )
362 );
363
364 $server->wsdl->addComplexType(
365     'link_list',
366         'complexType',
367          'array',
368          '',
369           'SOAP-ENC:Array',
370         array(),
371     array(
372         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:link_name_value[]')
373     ),
374         'tns:link_name_value'
375 );
376
377 $server->wsdl->addComplexType(
378     'link_lists',
379         'complexType',
380          'array',
381          '',
382           'SOAP-ENC:Array',
383         array(),
384     array(
385         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:link_list[]')
386     ),
387         'tns:link_list'
388 );
389
390 $server->wsdl->addComplexType(
391          'get_entry_result_version2',
392          'complexType',
393          'struct',
394          'all',
395           '',
396         array(
397                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:entry_list'),
398                 'relationship_list' => array('name' =>'relationship_list', 'type'=>'tns:link_lists'),
399         )
400 );
401
402 $server->wsdl->addComplexType(
403          'return_search_result',
404          'complexType',
405          'struct',
406          'all',
407           '',
408         array(
409                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:link_list'),
410         )
411 );
412
413 $server->wsdl->addComplexType(
414          'get_entry_list_result',
415          'complexType',
416          'struct',
417          'all',
418           '',
419         array(
420                 'result_count' => array('name'=>'result_count', 'type'=>'xsd:int'),
421                 'next_offset' => array('name'=>'next_offset', 'type'=>'xsd:int'),
422                 'field_list'=>array('name'=>'field_list', 'type'=>'tns:field_list'),
423                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:entry_list'),
424                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
425         )
426 );
427
428 $server->wsdl->addComplexType(
429          'get_entry_list_result_version2',
430          'complexType',
431          'struct',
432          'all',
433           '',
434         array(
435                 'result_count' => array('name'=>'result_count', 'type'=>'xsd:int'),
436                 'next_offset' => array('name'=>'next_offset', 'type'=>'xsd:int'),
437                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:entry_list'),
438                 'relationship_list' => array('name' =>'relationship_list', 'type'=>'tns:link_lists'),
439         )
440 );
441
442 $server->wsdl->addComplexType(
443          'get_entry_result',
444          'complexType',
445          'struct',
446          'all',
447           '',
448         array(
449                 'field_list'=>array('name'=>'field_list', 'type'=>'tns:field_list'),
450                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:entry_list'),
451                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
452         )
453 );
454
455 $server->wsdl->addComplexType(
456          'get_server_info_result',
457          'complexType',
458          'struct',
459          'all',
460           '',
461         array(
462                 'flavor' => array('name'=>'id', 'type'=>'xsd:string'),
463                 'version' => array('name'=>'id', 'type'=>'xsd:string'),
464                 'gmt_time' => array('name'=>'id', 'type'=>'xsd:string'),
465         )
466 );
467
468
469 $server->wsdl->addComplexType(
470          'set_entry_result',
471          'complexType',
472          'struct',
473          'all',
474           '',
475         array(
476                 'id' => array('name'=>'id', 'type'=>'xsd:string'),
477                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
478         )
479 );
480
481 $server->wsdl->addComplexType(
482          'new_set_entry_result',
483          'complexType',
484          'struct',
485          'all',
486           '',
487         array(
488                 'id' => array('name'=>'id', 'type'=>'xsd:string'),
489         )
490 );
491
492 $server->wsdl->addComplexType(
493          'new_set_entries_result',
494          'complexType',
495          'struct',
496          'all',
497           '',
498         array(
499                 'ids' => array('name'=>'ids', 'type'=>'tns:select_fields'),
500         )
501 );
502
503 $server->wsdl->addComplexType(
504          'set_entries_result',
505          'complexType',
506          'struct',
507          'all',
508           '',
509         array(
510                 'ids' => array('name'=>'ids', 'type'=>'tns:select_fields'),
511                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
512         )
513 );
514
515 $server->wsdl->addComplexType(
516          'id_mod',
517          'complexType',
518          'struct',
519          'all',
520           '',
521         array(
522                 'id' => array('name'=>'id', 'type'=>'xsd:string'),
523                 'date_modified' => array('name' =>'date_modified', 'type'=>'xsd:string'),
524                 'deleted' => array('name' =>'deleted', 'type'=>'xsd:int'),
525         )
526 );
527
528 //these are just a list of fields we want to get
529 $server->wsdl->addComplexType(
530     'ids_mods',
531         'complexType',
532          'array',
533          '',
534           'SOAP-ENC:Array',
535         array(),
536     array(
537         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:id_mod[]')
538     ),
539         'tns:id_mod'
540 );
541
542 $server->wsdl->addComplexType(
543          'get_relationships_result',
544          'complexType',
545          'struct',
546          'all',
547           '',
548         array(
549                 'ids' => array('name'=>'ids', 'type'=>'tns:ids_mods'),
550                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
551         )
552 );
553
554
555
556
557 $server->wsdl->addComplexType(
558     'set_relationship_value',
559         'complexType',
560          'struct',
561          'all',
562           '',
563                 array(
564                         'module1'=>array('name'=>'module1', 'type'=>'xsd:string'),
565                         'module1_id'=>array('name'=>'module1_id', 'type'=>'xsd:string'),
566                         'module2'=>array('name'=>'module2', 'type'=>'xsd:string'),
567                         'module2_id'=>array('name'=>'module_2_id', 'type'=>'xsd:string'),
568
569                 )
570 );
571
572 $server->wsdl->addComplexType(
573     'set_relationship_list',
574         'complexType',
575          'array',
576          '',
577           'SOAP-ENC:Array',
578         array(),
579     array(
580         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:set_relationship_value[]')
581     ),
582         'tns:set_relationship_value'
583 );
584
585 $server->wsdl->addComplexType(
586     'new_set_relationhip_ids',
587         'complexType',
588          'array',
589          '',
590           'SOAP-ENC:Array',
591         array(),
592     array(
593         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:select_fields[]')
594     ),
595         'tns:select_fields'
596 );
597
598 $server->wsdl->addComplexType(
599          'new_set_relationship_list_result',
600          'complexType',
601          'struct',
602          'all',
603           '',
604         array(
605                 'created' => array('name'=>'created', 'type'=>'xsd:int'),
606                 'failed' => array('name'=>'failed', 'type'=>'xsd:int'),
607         )
608 );
609
610 $server->wsdl->addComplexType(
611          'set_relationship_list_result',
612          'complexType',
613          'struct',
614          'all',
615           '',
616         array(
617                 'created' => array('name'=>'created', 'type'=>'xsd:int'),
618                 'failed' => array('name'=>'failed', 'type'=>'xsd:int'),
619                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
620         )
621 );
622
623 $server->wsdl->addComplexType(
624     'document_revision',
625     'complexType',
626     'struct',
627     'all',
628     '',
629     array(
630         "id" => array('name'=>"id",'type'=>'xsd:string'),
631                 "document_name" => array('name'=>"document_name",'type'=>'xsd:string'),
632                 "revision" => array('name' => "revision", 'type'=>'xsd:string'),
633                 "filename" => array('name' => "filename", 'type'=>'xsd:string'),
634                 "file" => array('name'=>"file",'type'=>'xsd:string'),
635     )
636 );
637
638 $server->wsdl->addComplexType(
639          'get_entry_list_result_encoded',
640          'complexType',
641          'struct',
642          'all',
643           '',
644         array(
645                 'result_count' => array('name'=>'result_count', 'type'=>'xsd:int'),
646                 'next_offset' => array('name'=>'next_offset', 'type'=>'xsd:int'),
647                 'total_count' => array('name'=>'total_count', 'type'=>'xsd:int'),
648                 'field_list' => array('name'=>'field_list', 'type'=>'tns:select_fields'),
649                 'entry_list' => array('name'=>'entry_list', 'type'=>'xsd:string'),
650                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
651         )
652 );
653
654 $server->wsdl->addComplexType(
655          'get_sync_result_encoded',
656          'complexType',
657          'struct',
658          'all',
659           '',
660         array(
661                 'result' => array('name'=>'result', 'type'=>'xsd:string'),
662                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
663         )
664 );
665
666 $server->wsdl->addComplexType(
667          'get_quick_sync_result_encoded',
668          'complexType',
669          'struct',
670          'all',
671           '',
672         array(
673                 'result' => array('name'=>'result', 'type'=>'xsd:string'),
674                 'result_count' => array('name'=>'result_count', 'type'=>'xsd:int'),
675                 'next_offset' => array('name'=>'next_offset', 'type'=>'xsd:int'),
676                 'total_count' => array('name'=>'total_count', 'type'=>'xsd:int'),
677                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
678         )
679 );
680
681 $server->wsdl->addComplexType(
682     'return_document_revision',
683     'complexType',
684     'struct',
685     'all',
686     '',
687     array(
688         "document_revision"=>array('name'=>'document_revision', 'type'=>'tns:document_revision'),
689                 "error"=> array('name'=>'error', 'type'=>'tns:error_value'),
690     )
691 );
692
693 $server->wsdl->addComplexType(
694     'new_return_document_revision',
695     'complexType',
696     'struct',
697     'all',
698     '',
699     array(
700         "document_revision"=>array('name'=>'document_revision', 'type'=>'tns:document_revision'),
701     )
702 );
703
704 $server->wsdl->addComplexType(
705     'name_value_operator',
706     'complexType',
707      'struct',
708      'all',
709       '',
710         array(
711             'name'=>array('name'=>'name', 'type'=>'xsd:string'),
712             'value'=>array('name'=>'value', 'type'=>'xsd:string'),
713             'operator'=>array('name'=>'operator', 'type'=>'xsd:string'),
714             'value_array'=>array('name'=>'value_array', 'type'=>'tns:select_fields')
715         )
716 );
717
718 $server->wsdl->addComplexType(
719     'name_value_operator_list',
720     'complexType',
721      'array',
722      '',
723       'SOAP-ENC:Array',
724     array(),
725     array(
726         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:name_value_operator[]')
727     ),
728     'tns:name_value_operator'
729 );
730 $server->wsdl->addComplexType(
731     'newsletter',
732     'complexType',
733      'struct',
734      'all',
735       '',
736         array(
737             'name'=>array('name'=>'name', 'type'=>'xsd:string'),
738             'prospect_list_id'=>array('name'=>'prospect_list_id', 'type'=>'xsd:string'),
739             'campaign_id'=>array('name'=>'campaign_id', 'type'=>'xsd:string'),
740             'description'=>array('name'=>'description', 'type'=>'xsd:string'),
741             'frequency'=>array('name'=>'frequency', 'type'=>'xsd:string'),
742         )
743 );
744
745 $server->wsdl->addComplexType(
746     'newsletter_list',
747     'complexType',
748      'array',
749      '',
750       'SOAP-ENC:Array',
751     array(),
752     array(
753         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:newsletter[]')
754     ),
755     'tns:newsletter'
756 );
757
758
759 $server->wsdl->addComplexType(
760      'get_subscription_lists_result',
761      'complexType',
762      'struct',
763      'all',
764       '',
765     array(
766         'unsubscribed' => array('name'=>'unsubscribed', 'type'=>'tns:newsletter_list'),
767         'subscribed' => array('name'=>'subscribed', 'type'=>'tns:newsletter_list'),
768         'error' => array('name' =>'error', 'type'=>'tns:error_value'),
769     )
770 );
771 // generic type for an array of strings
772 $server->wsdl->addComplexType(
773         'str_array',
774         'complexType',
775         'array',
776         '',
777         'SOAP-ENC:Array',
778         array(),
779         array(
780         array(
781                 'ref' => 'SOAP-ENC:arrayType',
782                 'wsdl:arrayType' => 'xsd:string[]'
783         )
784     ),
785         'xsd:string'
786 );
787
788 $server->wsdl->addComplexType(
789         'name_value_lists_error',
790         'complexType',
791         'struct',
792         'all',
793         '',
794         array(
795                 'name_value_lists' => array(
796                         'name' => 'panels',
797                         'type' => 'tns:name_value_lists'
798                 ),
799                 'error' => array(
800                         'name' => 'error',
801                         'type' => 'tns:error_value'
802                 )
803         )
804 );
805
806 $server->wsdl->addComplexType(
807          'get_entries_count_result',
808          'complexType',
809          'struct',
810          'all',
811           '',
812         array(
813                 'result_count'=>array('name'=>'result_count', 'type'=>'xsd:int'),
814                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
815         )
816 );
817
818 $server->wsdl->addComplexType(
819          'set_entries_detail_result',
820          'complexType',
821          'struct',
822          'all',
823           '',
824         array(
825                 'name_value_lists' => array('name'=>'name_value_lists', 'type'=>'tns:name_value_lists'),
826                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
827         )
828 );
829
830 ?>