I'm building a Webservice with PEAR::SOAP and need to be able to return an unknown number of a particular result. So far I have this in my Class:
$this->__typedef['{http://lifesci.ibsb.arizona.edu/}publication'] = array('authors' => 'string', 'pub_date'=> 'string', 'title' => 'string', 'source'=> 'string', 'volume'=> 'string', 'pages'=> 'string' );
$this->__dispatch_map['getPubs'] = array('in' => array('netid' => 'string', 'publimit' => 'int'),
'out' => array( 'publications' => '{http://lifesci.ibsb.arizona.edu/}publications' ));
The problem is, I'm not sure how many publications will be returned from the getPubs() method. Any tips on I can handle this?
Thanks.
-- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php