Hi please take a look at http://cvs.php.net/co.php/pear/SOAP/example/Attic/disco_server.php regards Dmitri "Manuel VáZquez Acosta" <manu@chasqui.cu> schrieb im Newsbeitrag 20040111215028.58815.qmail@pb1.pair.com">news:20040111215028.58815.qmail@pb1.pair.com... > 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