Default values for service interfaces

Matthew J. Graham mjg at cacr.caltech.edu
Mon Dec 13 17:50:57 PST 2004


Hi,

Can I make a request for the next iteration of VODataService.xsd that 
the Param type also has a <defaultValue> subelement so that it would be 
possible to specify default values for HTTP GET interfaces at least. 
This means that auto-generated clients for such services could be 
preloaded with example values.

For example, a ConeSearch interface might have:

<param>
   <name>RA</name>
   <defaultValue>180</defaultValue>
</param>
<param>
   <name>DEC</name>
   <defaultValue>-1</defaultValue>
</param>
<param>
   <name>SR</name>
   <defaultValue>0.1</defaultValue>
</param>

	Cheers,

	Matthew



More information about the registry mailing list