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>
|