on 09-03-2008 2:10 PM
Hi Experts,
I imported an XSD in to XI. But when I used it in the message mapping (target), the sequence of the XML attributes is changed. I looked at the text for the XSD in the import and it looks OK.
The message mapping somehow reorders them. The XSD has the <xsd:sequence> around the tags.
Am I missing something? Please help.
Thank you.
Did you add xsd:complexType outside the xsd:sequence ??
The Root Element must be defined as a Complex Type because there are one or more elements under the root element.
eg:
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SSN="xsd:string>
<xsd:element name="Name" type="xsd:string"/>
<xsd:element name="DateOfBirth" type="xsd:date"/>
<xsd:element name="EmployeeType" type="xsd:string"/>
<xsd:element name="Salary" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.