iTx Technologies offre gratuitement
cet espace pour SugarCRM !

title

Body

[fermer]

/soap/ -> SoapTypes.php (source)

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


Generé en: Thu Mar 4 09:44:50 2010 | Cross-referenced par PHPXref 0.7