To aid in generating WSDL, you must provide a bunch of detailed information about your service. This is done via the dispatch map and the data type map.

Dispatch Keys
Dispatch Map Example

<?php $this->__dispatch_map['echoStructAsSimpleTypes'] =
    array(
        
'in' => 
            array(
'inputStruct' => 
                
'{http://soapinterop.org/xsd}SOAPStruct'),
                
        
'out' => 
            array(
'outputString' => 'string'
                  
'outputInteger' => 'int'
                  
'outputFloat' => 'float'),
        
        
'alias' => 'myEchoStructAsSimpleTypes'
        
);

$this->__dispatch_map['echoStringSimple'] =
    array(
        
'in' => 
            array(
'inputStringSimple' => 'string'),
        
        
'out' => 
            array(
'outputStringSimple' => 'string'),
        );
?>