Definitive version of the VOTable schema for web services

Paul Harrison paul.harrison at manchester.ac.uk
Wed Jul 30 13:08:42 PDT 2008


On 2008-07 -30, at 01:18, Matthew Graham wrote:

> Hi,
>
> The VOTable schema that exists on the IVOA web site cannot just be  
> imported into a WSDL document. There are several web services, e.g.  
> Open SkyQuery, SkyNode, WESIX, which have produced their own version  
> of the schema to work with WSDL - essentially all the complexTypes  
> need to be named and globally defined instead of being anonymous  
> under the elements. I was wondering whether the VOTable group could  
> produce a sanctioned version of the VOTable 1.1 schema that will  
> work with WSDL?
>
> 	Cheers,
>
> 	Matthew

Hi,

Whilst agreeing with other comments that it is probably not a good  
idea to have an explicitly VOTable typed object in the soap message - 
what is wrong with just doing something like the attached WSDL -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VOTable.xsd
Type: application/octet-stream
Size: 16908 bytes
Desc: not available
URL: <http://www.ivoa.net/pipermail/grid/attachments/20080730/923e0254/attachment-0007.obj>
-------------- next part --------------
  - reusing via an element ref- even axis 1.4 manages to generate code  
from this - I believe that it is also WS-I compliant (so hopefully it  
works for most other systems too)- I think that most code generators  
will generate appropriate code from either global element definitions  
or global complex type definitions. I do agree however, that all those  
global element definitions in the VOTable schema are not nice  
stylistically mainly because they imply that a single TD is a valid  
VOTable document, and reuse of VOTable structures would be easier if  
they were complex types as then a new type could be derived.

Cheers,
	Paul.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2096 bytes
Desc: not available
URL: <http://www.ivoa.net/pipermail/grid/attachments/20080730/923e0254/attachment-0007.bin>


More information about the grid mailing list