Hi all: I'm writing a PEAR::SOAP server, and I need to return an array of instances of Item; in turn, each Item has a list of related items. I'm stuck in trying to fugure out how to write the __typedef and __dispatch_map: $this->__typedef['{http://www.domain.com}Item'] = array( 'name' => 'string', 'description' => 'string', // etc. 'relatedItems' => ???? How do I specify array of Item ??? ); $this->__dispatch_map['GetItems'] = array( 'in' => array('query' => 'string'), 'out' => array('return' => ?????? array of Item ????) ); Any help would be appreciated Manu. -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php