UWS POST PHASE=RUN
Patrick Dowler
patrick.dowler at nrc-cnrc.gc.ca
Mon Nov 3 18:11:01 CET 2014
IIRC, document-based JDL used the jobInfo part of the UWS document
(which allows an xs:any child element do be defined and store the
document as-is (e.g. a vospace <transfer> document). That predated the
addition of <parameters> which was, as Paul outlined, which was added to
support DAL services...
I think the intent was that mixing document + parameters was not
allowed, which does make sense. Maybe it should have been defined such
that <parameters> is a document to stick under <jobInfo>. In hindsight
that would be more clear on the "or" usage, but may have obscured that
little xs:any that allows other kinds of documents.
Pat
On 03/11/14 04:29 AM, Paul Harrison wrote:
>> > * When an XML document is submitted as single parameter, how must it be stored in the UWS service: as one parameter (with byReference=true) or as some individual parameters which has been extracted from the XML document?
> I think that it should be stored as a single “parameter” - there should be no attempt by the generic UWS to interpret the document.
>
> I think that it would probably be a good convention that if the initial POST has a application/x-www-form-urlencoded encoding, then the UWS can assume that the parameter/value pair mechanism can be used.
>> >
>> > * In the case where a submitted XML document must be stored as one parameter, what must be its name/id (the id which must be written in the "id" attribute of the XML node "parameter")? Since it has been submitted alone, I presume that no name has been given, and so that one must be invented and associated to it by the UWS service. That method could work because it is not possible to create parameters after the job creation. Is it correct?
> It would probably be a good idea to give a conventional name to this parameter - e.g. JDL, and the UWS 1.1 document should specify what the conventional name should be.
>
>> >
--
Patrick Dowler
Canadian Astronomy Data Centre
National Research Council Canada
5071 West Saanich Road
Victoria, BC V9E 2E7
250-363-0044 (office) 250-363-0045 (fax)
More information about the grid
mailing list