]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - soap/SoapTypes.php
Release 6.5.11
[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-2013 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             'details'=>array('name'=>'details', 'type'=>'tns:name_value_list'),
285                 )
286 );
287
288 $server->wsdl->addComplexType(
289     'entry_list',
290         'complexType',
291          'array',
292          '',
293           'SOAP-ENC:Array',
294         array(),
295     array(
296         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:entry_value[]')
297     ),
298         'tns:entry_value'
299 );
300
301
302 $server->wsdl->addComplexType(
303          'get_mailmerge_document_result',
304          'complexType',
305          'struct',
306          'all',
307           '',
308         array(
309                 'html' => array('name'=>'html', 'type'=>'xsd:string'),
310                 'name_value_list'=>array('name'=>'name_value_list', 'type'=>'tns:name_value_list'),
311                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
312         )
313 );
314
315 $server->wsdl->addComplexType(
316     'link_name_to_fields_array',
317         'complexType',
318          'struct',
319          'all',
320           '',
321                 array(
322                         'name'=>array('name'=>'name', 'type'=>'xsd:string'),
323                                 'value'=>array('name'=>'value', 'type'=>'tns:select_fields'),
324                 )
325 );
326
327 $server->wsdl->addComplexType(
328     'link_value',
329         'complexType',
330          'array',
331          '',
332           'SOAP-ENC:Array',
333         array(),
334     array(
335         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:name_value_list[]')
336     ),
337         'tns:name_value'
338 );
339
340 $server->wsdl->addComplexType(
341     'link_array_list',
342         'complexType',
343          'array',
344          '',
345           'SOAP-ENC:Array',
346         array(),
347     array(
348         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:link_value[]')
349     ),
350         'tns:link_value'
351 );
352
353 $server->wsdl->addComplexType(
354     'link_name_value',
355         'complexType',
356          'struct',
357          'all',
358           '',
359                 array(
360                 'name'=>array('name'=>'name', 'type'=>'xsd:string'),
361                         'records'=>array('name'=>'records', 'type'=>'tns:link_array_list'),
362                 )
363 );
364
365 $server->wsdl->addComplexType(
366     'link_list',
367         'complexType',
368          'array',
369          '',
370           'SOAP-ENC:Array',
371         array(),
372     array(
373         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:link_name_value[]')
374     ),
375         'tns:link_name_value'
376 );
377
378 $server->wsdl->addComplexType(
379     'link_lists',
380         'complexType',
381          'array',
382          '',
383           'SOAP-ENC:Array',
384         array(),
385     array(
386         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:link_list[]')
387     ),
388         'tns:link_list'
389 );
390
391 $server->wsdl->addComplexType(
392          'get_entry_result_version2',
393          'complexType',
394          'struct',
395          'all',
396           '',
397         array(
398                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:entry_list'),
399                 'relationship_list' => array('name' =>'relationship_list', 'type'=>'tns:link_lists'),
400         )
401 );
402
403 $server->wsdl->addComplexType(
404          'return_search_result',
405          'complexType',
406          'struct',
407          'all',
408           '',
409         array(
410                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:link_list'),
411         )
412 );
413
414 $server->wsdl->addComplexType(
415          'get_entry_list_result',
416          'complexType',
417          'struct',
418          'all',
419           '',
420         array(
421                 'result_count' => array('name'=>'result_count', 'type'=>'xsd:int'),
422                 'next_offset' => array('name'=>'next_offset', 'type'=>'xsd:int'),
423                 'field_list'=>array('name'=>'field_list', 'type'=>'tns:field_list'),
424                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:entry_list'),
425                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
426         )
427 );
428
429 $server->wsdl->addComplexType(
430          'get_entry_list_result_version2',
431          'complexType',
432          'struct',
433          'all',
434           '',
435         array(
436                 'result_count' => array('name'=>'result_count', 'type'=>'xsd:int'),
437                 'next_offset' => array('name'=>'next_offset', 'type'=>'xsd:int'),
438                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:entry_list'),
439                 'relationship_list' => array('name' =>'relationship_list', 'type'=>'tns:link_lists'),
440         )
441 );
442
443 $server->wsdl->addComplexType(
444          'get_entry_result',
445          'complexType',
446          'struct',
447          'all',
448           '',
449         array(
450                 'field_list'=>array('name'=>'field_list', 'type'=>'tns:field_list'),
451                 'entry_list' => array('name' =>'entry_list', 'type'=>'tns:entry_list'),
452                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
453         )
454 );
455
456 $server->wsdl->addComplexType(
457          'get_server_info_result',
458          'complexType',
459          'struct',
460          'all',
461           '',
462         array(
463                 'flavor' => array('name'=>'id', 'type'=>'xsd:string'),
464                 'version' => array('name'=>'id', 'type'=>'xsd:string'),
465                 'gmt_time' => array('name'=>'id', 'type'=>'xsd:string'),
466         )
467 );
468
469
470 $server->wsdl->addComplexType(
471          'set_entry_result',
472          'complexType',
473          'struct',
474          'all',
475           '',
476         array(
477                 'id' => array('name'=>'id', 'type'=>'xsd:string'),
478                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
479         )
480 );
481
482 $server->wsdl->addComplexType(
483          'new_set_entry_result',
484          'complexType',
485          'struct',
486          'all',
487           '',
488         array(
489                 'id' => array('name'=>'id', 'type'=>'xsd:string'),
490         )
491 );
492
493 $server->wsdl->addComplexType(
494          'new_set_entries_result',
495          'complexType',
496          'struct',
497          'all',
498           '',
499         array(
500                 'ids' => array('name'=>'ids', 'type'=>'tns:select_fields'),
501         )
502 );
503
504 $server->wsdl->addComplexType(
505          'set_entries_result',
506          'complexType',
507          'struct',
508          'all',
509           '',
510         array(
511                 'ids' => array('name'=>'ids', 'type'=>'tns:select_fields'),
512                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
513         )
514 );
515
516 $server->wsdl->addComplexType(
517          'id_mod',
518          'complexType',
519          'struct',
520          'all',
521           '',
522         array(
523                 'id' => array('name'=>'id', 'type'=>'xsd:string'),
524                 'date_modified' => array('name' =>'date_modified', 'type'=>'xsd:string'),
525                 'deleted' => array('name' =>'deleted', 'type'=>'xsd:int'),
526         )
527 );
528
529 //these are just a list of fields we want to get
530 $server->wsdl->addComplexType(
531     'ids_mods',
532         'complexType',
533          'array',
534          '',
535           'SOAP-ENC:Array',
536         array(),
537     array(
538         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:id_mod[]')
539     ),
540         'tns:id_mod'
541 );
542
543 $server->wsdl->addComplexType(
544          'get_relationships_result',
545          'complexType',
546          'struct',
547          'all',
548           '',
549         array(
550                 'ids' => array('name'=>'ids', 'type'=>'tns:ids_mods'),
551                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
552         )
553 );
554
555
556
557
558 $server->wsdl->addComplexType(
559     'set_relationship_value',
560         'complexType',
561          'struct',
562          'all',
563           '',
564                 array(
565                         'module1'=>array('name'=>'module1', 'type'=>'xsd:string'),
566                         'module1_id'=>array('name'=>'module1_id', 'type'=>'xsd:string'),
567                         'module2'=>array('name'=>'module2', 'type'=>'xsd:string'),
568                         'module2_id'=>array('name'=>'module_2_id', 'type'=>'xsd:string'),
569
570                 )
571 );
572
573 $server->wsdl->addComplexType(
574     'set_relationship_list',
575         'complexType',
576          'array',
577          '',
578           'SOAP-ENC:Array',
579         array(),
580     array(
581         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:set_relationship_value[]')
582     ),
583         'tns:set_relationship_value'
584 );
585
586 $server->wsdl->addComplexType(
587     'new_set_relationhip_ids',
588         'complexType',
589          'array',
590          '',
591           'SOAP-ENC:Array',
592         array(),
593     array(
594         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:select_fields[]')
595     ),
596         'tns:select_fields'
597 );
598
599 $server->wsdl->addComplexType(
600          'new_set_relationship_list_result',
601          'complexType',
602          'struct',
603          'all',
604           '',
605         array(
606                 'created' => array('name'=>'created', 'type'=>'xsd:int'),
607                 'failed' => array('name'=>'failed', 'type'=>'xsd:int'),
608         )
609 );
610
611 $server->wsdl->addComplexType(
612          'set_relationship_list_result',
613          'complexType',
614          'struct',
615          'all',
616           '',
617         array(
618                 'created' => array('name'=>'created', 'type'=>'xsd:int'),
619                 'failed' => array('name'=>'failed', 'type'=>'xsd:int'),
620                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
621         )
622 );
623
624 $server->wsdl->addComplexType(
625     'document_revision',
626     'complexType',
627     'struct',
628     'all',
629     '',
630     array(
631         "id" => array('name'=>"id",'type'=>'xsd:string'),
632                 "document_name" => array('name'=>"document_name",'type'=>'xsd:string'),
633                 "revision" => array('name' => "revision", 'type'=>'xsd:string'),
634                 "filename" => array('name' => "filename", 'type'=>'xsd:string'),
635                 "file" => array('name'=>"file",'type'=>'xsd:string'),
636     )
637 );
638
639 $server->wsdl->addComplexType(
640          'get_entry_list_result_encoded',
641          'complexType',
642          'struct',
643          'all',
644           '',
645         array(
646                 'result_count' => array('name'=>'result_count', 'type'=>'xsd:int'),
647                 'next_offset' => array('name'=>'next_offset', 'type'=>'xsd:int'),
648                 'total_count' => array('name'=>'total_count', 'type'=>'xsd:int'),
649                 'field_list' => array('name'=>'field_list', 'type'=>'tns:select_fields'),
650                 'entry_list' => array('name'=>'entry_list', 'type'=>'xsd:string'),
651                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
652         )
653 );
654
655 $server->wsdl->addComplexType(
656          'get_sync_result_encoded',
657          'complexType',
658          'struct',
659          'all',
660           '',
661         array(
662                 'result' => array('name'=>'result', 'type'=>'xsd:string'),
663                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
664         )
665 );
666
667 $server->wsdl->addComplexType(
668          'get_quick_sync_result_encoded',
669          'complexType',
670          'struct',
671          'all',
672           '',
673         array(
674                 'result' => array('name'=>'result', 'type'=>'xsd:string'),
675                 'result_count' => array('name'=>'result_count', 'type'=>'xsd:int'),
676                 'next_offset' => array('name'=>'next_offset', 'type'=>'xsd:int'),
677                 'total_count' => array('name'=>'total_count', 'type'=>'xsd:int'),
678                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
679         )
680 );
681
682 $server->wsdl->addComplexType(
683     'return_document_revision',
684     'complexType',
685     'struct',
686     'all',
687     '',
688     array(
689         "document_revision"=>array('name'=>'document_revision', 'type'=>'tns:document_revision'),
690                 "error"=> array('name'=>'error', 'type'=>'tns:error_value'),
691     )
692 );
693
694 $server->wsdl->addComplexType(
695     'new_return_document_revision',
696     'complexType',
697     'struct',
698     'all',
699     '',
700     array(
701         "document_revision"=>array('name'=>'document_revision', 'type'=>'tns:document_revision'),
702     )
703 );
704
705 $server->wsdl->addComplexType(
706     'name_value_operator',
707     'complexType',
708      'struct',
709      'all',
710       '',
711         array(
712             'name'=>array('name'=>'name', 'type'=>'xsd:string'),
713             'value'=>array('name'=>'value', 'type'=>'xsd:string'),
714             'operator'=>array('name'=>'operator', 'type'=>'xsd:string'),
715             'value_array'=>array('name'=>'value_array', 'type'=>'tns:select_fields')
716         )
717 );
718
719 $server->wsdl->addComplexType(
720     'name_value_operator_list',
721     'complexType',
722      'array',
723      '',
724       'SOAP-ENC:Array',
725     array(),
726     array(
727         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:name_value_operator[]')
728     ),
729     'tns:name_value_operator'
730 );
731 $server->wsdl->addComplexType(
732     'newsletter',
733     'complexType',
734      'struct',
735      'all',
736       '',
737         array(
738             'name'=>array('name'=>'name', 'type'=>'xsd:string'),
739             'prospect_list_id'=>array('name'=>'prospect_list_id', 'type'=>'xsd:string'),
740             'campaign_id'=>array('name'=>'campaign_id', 'type'=>'xsd:string'),
741             'description'=>array('name'=>'description', 'type'=>'xsd:string'),
742             'frequency'=>array('name'=>'frequency', 'type'=>'xsd:string'),
743         )
744 );
745
746 $server->wsdl->addComplexType(
747     'newsletter_list',
748     'complexType',
749      'array',
750      '',
751       'SOAP-ENC:Array',
752     array(),
753     array(
754         array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType'=>'tns:newsletter[]')
755     ),
756     'tns:newsletter'
757 );
758
759
760 $server->wsdl->addComplexType(
761      'get_subscription_lists_result',
762      'complexType',
763      'struct',
764      'all',
765       '',
766     array(
767         'unsubscribed' => array('name'=>'unsubscribed', 'type'=>'tns:newsletter_list'),
768         'subscribed' => array('name'=>'subscribed', 'type'=>'tns:newsletter_list'),
769         'error' => array('name' =>'error', 'type'=>'tns:error_value'),
770     )
771 );
772 // generic type for an array of strings
773 $server->wsdl->addComplexType(
774         'str_array',
775         'complexType',
776         'array',
777         '',
778         'SOAP-ENC:Array',
779         array(),
780         array(
781         array(
782                 'ref' => 'SOAP-ENC:arrayType',
783                 'wsdl:arrayType' => 'xsd:string[]'
784         )
785     ),
786         'xsd:string'
787 );
788
789 $server->wsdl->addComplexType(
790         'name_value_lists_error',
791         'complexType',
792         'struct',
793         'all',
794         '',
795         array(
796                 'name_value_lists' => array(
797                         'name' => 'panels',
798                         'type' => 'tns:name_value_lists'
799                 ),
800                 'error' => array(
801                         'name' => 'error',
802                         'type' => 'tns:error_value'
803                 )
804         )
805 );
806
807 $server->wsdl->addComplexType(
808          'get_entries_count_result',
809          'complexType',
810          'struct',
811          'all',
812           '',
813         array(
814                 'result_count'=>array('name'=>'result_count', 'type'=>'xsd:int'),
815                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
816         )
817 );
818
819 $server->wsdl->addComplexType(
820          'set_entries_detail_result',
821          'complexType',
822          'struct',
823          'all',
824           '',
825         array(
826                 'name_value_lists' => array('name'=>'name_value_lists', 'type'=>'tns:name_value_lists'),
827                 'error' => array('name' =>'error', 'type'=>'tns:error_value'),
828         )
829 );
830
831 ?>