Web service standards question
Martin Hill
mch at roe.ac.uk
Wed May 26 08:34:42 PDT 2004
Attached is *a* version of the SkyNode WSDL as an example.
Hans-Martin Adorf wrote:
> 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
--
Martin Hill
www.mchill.net
+44 7901 55 24 66
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SkyNode0.7.3.1.wsdl
Type: text/xml
Size: 98828 bytes
Desc: not available
URL: <http://www.ivoa.net/pipermail/grid/attachments/20040526/68dea492/attachment-0001.xml>
More information about the grid
mailing list