pear::soap array return problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, I'm new here and saw that there wasn't archives for the group... so accept my apologies if this has been covered before.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux