[OGSA-BES-WG] GetActivityDocuments doesn't

Peter G. Lane lane at mcs.anl.gov
Wed Dec 20 17:06:49 CST 2006


In trying to finish up some stuff before I leave I noticed a discrepancy in the factory schema. The 
GetActivityDocumentsResponseType doesn't in fact return ActivityDocumentTypes.

Here is the message type:

     <xsd:complexType name="GetActivityDocumentsResponseType">
         <xsd:sequence>
             <xsd:element name="Response"
                 type="bes-factory:GetActivityDocumentResponseType"
                 minOccurs="0" maxOccurs="unbounded"/>
         </xsd:sequence>
     </xsd:complexType>

And here is the response array element type:

   <xsd:complexType name="GetActivityDocumentResponseType">
     <xsd:sequence>
       <xsd:element ref="bes-factory:ActivityIdentifier"/>
       <xsd:element ref="jsdl:JobDefinition" minOccurs="0"/>
       <xsd:element name="Fault" type="xsd:anyType" minOccurs="0"/>
     </xsd:sequence>
   </xsd:complexType>

The activity documents are more than just the JobDefinition:

   <xsd:complexType name="ActivityDocumentType">
     <xsd:sequence>
       <xsd:element ref="jsdl:JobDefinition"/>
       <xsd:any namespace="##other" processContents="lax"
           minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
   </xsd:complexType>


The ref to jsdl:JobDefinition ought to be a ref to ActivityDocument as so:

   <xsd:complexType name="GetActivityDocumentResponseType">
     <xsd:sequence>
       <xsd:element ref="bes-factory:ActivityIdentifier"/>
       <xsd:element ref="bes-factory:ActivityDocument" minOccurs="0"/>
       <xsd:element name="Fault" type="xsd:anyType" minOccurs="0"/>
     </xsd:sequence>
   </xsd:complexType>

Just returning the JobDefinition means that any 'any's, such as the subscription or idempotent 
creation ID extensions, in the ActivityDocuments used in CreateActivity will be irretrievable.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3980 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.ogf.org/pipermail/ogsa-bes-wg/attachments/20061220/7be4cdc5/attachment.bin 


More information about the ogsa-bes-wg mailing list