How to resolve schema validation errors while integrating CIM with Tibco BusinessWorks?
book
Article ID: KB0087459
calendar_today
Updated On:
Products
Versions
TIBCO Collaborative Information Manager
-
Not Applicable
-
Description
Resolution: In the out-of-box CatalogAction.xsd, the Date element comes after the MasterCatalog element which causes parsing errors as the Date element comes before the MasterCatalog element in the mlXML message. To correct this in the CatalogAction.xsd, CatalogActionHeader element needs to be modified as follows: <xs:complexType name="CatalogActionHeader"> <xs:annotation> <xs:documentation> Date Catalog Dates. Supplier: Partner information Buyer: Partner information Contact: Order contact information like shipping contact, receiving contact Reference: Other reference documents associated with this document, e.g. Contract etc. Instructions: Any comments or any header level instructions Attachment: Information about one or more files associated with the order (xCBL) The Order of the next elements is important. Extension - To extend the description of other elements PackageData - Head node of where to store package Data. CatalogActionHeaderAck - Acknowledgement Information for Header. </xs:documentation> </xs:annotation> <xs:sequence> <xs:element ref="EventInfo" minOccurs="0"/> <xs:element ref="ThisDocID" minOccurs="0"/> <xs:element ref="ActionCode" minOccurs="0" maxOccurs="unbounded"/>