1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
   | $server->wsdl->addComplexType(
    'client',
    'complexType',
    'struct',
    'all',
    '',
    array(
 
        'id' => array('name'=>'id','type'=>'xsd:string'),
        'civilite' => array('name'=>'civilite','type'=>'tns:civilite'),
        'adresse' => array('name'=>'adresse','type'=>'xsd:string'),
        'cp' => array('name'=>'cp','type'=>'xsd:string'),
        'ville' => array('name'=>'ville','type'=>'xsd:string'),
        'retour' => array('name'=>'retour','type'=>'xsd:string')
       )
);
 
$server->wsdl->addComplexType(
    'civilite',
    'complexType',
    'struct',
    'all',
    '',
    array(
        'nom' => array('name' => 'nom', 'type' => 'xsd:string'),
        'prenom' => array('name' => 'prenom', 'type' => 'xsd:string')
    )
); | 
Partager