This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/go/artf6128?nav=1 at Fri, 04 Nov 2022 23:07:03 GMT SourceForge : artf6128: Correct ActivityStatus example - use attribute for state enumeration

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin
Search Tracker
Project: OGSA-BES Working Group     Trackers > BES V1.0 > View Artifact
Artifact artf6128 : Correct ActivityStatus example - use attribute for state enumeration
Tracker: BES V1.0
Title: Correct ActivityStatus example - use attribute for state enumeration
Description:
Regarding the GetActivitiesStatus response, doesn’t the schema on p.26 of http://www.ogf.org/documents/GFD.108.pdf 
mandate that the status MUST be an attribute? 

<xsd:simpleType name="ActivityStateEnumeration">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Pending"/>
<xsd:enumeration value="Running"/>
<xsd:enumeration value="Cancelled"/>
<xsd:enumeration value="Failed"/>
<xsd:enumeration value="Finished"/>
</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="ActivityStatusType">
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="state" type="bes-factory:ActivityStateEnumeration" use="required"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>

So isn’t the example on page 40 wrong? 

<s11:Body>
<bes-factory:GetActivityStatusesResponse>
<bes-factory:Response>
<bes-factory:ActivityIdentifier>
<wsa:Address>http://tempuri.org/some-service</wsa:Address>;
<wsa:ReferenceParameters> <n00:id>D4A88953-FFFF-49F6-5145-AE21FF0438AE</n00:id>
</wsa:ReferenceParameters>
<wsa:Metadata>
<naming:EndpointIdentifier>urn:guid:B94C4186-FFFF-4dbb-AD9C-39DFB8B54388</name:EndpointIdentifier>
</wsa:Metadata>
</bes-factory:ActivityIdentifier>
<bes-factory:ActivityStatus>
<bes-factory:State>Running</bes-factory:State>
<n00:Staging-In/>
</bes-factory:ActivityStatus>
</bes-factory:Response>
</bes-factory:GetActivityStatusesResponse>
</s11:Body>


Submitted By: Steven Newhouse
Submitted On: 02/22/2008 4:58 PM EST
Last Modified: 02/23/2008 7:01 PM EST

Status / Comments Change Log Associations Attachments  
 (1 Item)
Field Old Value New Value Date Performed By
Status
Open
Fixed in Document
02/23/2008 7:01 PM EST Steven Newhouse

 
 


The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/go/artf6128?nav=1 at Fri, 04 Nov 2022 23:07:09 GMT