
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
participants (1)
-
Peter G. Lane