Web service standards question
Hans-Martin Adorf
adorf at mpe.mpg.de
Wed May 26 08:18:02 PDT 2004
Martin,
we are getting closer to what I want. So, you are saying that I should
have a look at the SkyNode WSDL. Where exactly would I find the latter?
Hans-Martin
Martin Hill wrote:
> Hans-Martin Adorf wrote:
>
>> Wil,
>>
>> your comments are appreciated. If, for the moment, I follow your
>> suggestion, how do I then specify that the result of calling a SOAP
>> service is a VOTable? Am I supposed to specify that the result will
>> be a String, and it will be up to the receiver to use the latest
>> VOTable parser in order to decode the VOTable?
>
>
> That's one way. You can also...
>
>>
>> OK, and then if SOAP by itself does not provide a table model, but we
>> in the VO community have one (implicitely through VOTable) or more
>> (excplicitly inside of Toptable, SAVOT or the GAVO table system), why
>> don't we go ahead and augment the SOAP standard? Id' really like to
>> download a WSDL and submit it to myWSDL2Java compiler, and start
>> using the client.
>
>
> ...you can also 'import' the VOTable schema into your WSDL definition
> (The SkyNode WSDL is, I think, an example), and then your WSDL2Java
> generator will build you a complete VOTable object model too. This is:
>
> Good) because your WSDL 'contract' defines that you expect the
> parameter to be a VOTable, not just a string.
>
> Iffy) because you get an object model built for you by the generator,
> but sometimes this needs some hand-tweaking
>
> Iffy) because you may not want the VOTable to be
> marshalled/unmarshalled into an object model. For example, if your
> service is going to transform it using XSLT, there is a big Waste of
> Power in converting it to an object model and back again, especially
> if it's a Really Big Huge table.
>
>
--
Dr. Hans-Martin Adorf . Max-Planck-Institut f. extraterrestrische Physik
. Giessenbachstr. 1 . D-85741 Garching b. München . Germany
Phone: +49-89-30000-3352 . Fax: +49-89-30000-3404 . E-Mail:
adorf at mpe.mpg.de . WWW: http://www.g-vo.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ivoa.net/pipermail/grid/attachments/20040526/41e3be79/attachment-0001.html>
More information about the grid
mailing list