on 06-12-2007 8:00 AM
Hi all,
Facing a wierd problem here , I have a data type and it has a node like below under which there are attributes defined.
<Product>
-
ID (Attribute)
-
NAME(Attribute)
-
Visibility(Attribute)
-
Transaction.(Attribute)
<Product/>
Now when i try to use this Message type in my Message Mapping the sequence of the Attributes are getting mixed up like below...
<Product>
-
ID (Attribute)
-
Transaction.(Attribute)
-
Visibility(Attribute)
-
NAME(Attribute)
<Product/>
I am unable to figure out what could be the reason, The Sequence of these attributes is crucial, and anybody throw some light on this if u have faced a similar kind of problem.
I have tried using External def also of XSD type, still the same.
Hi Tiger,
XML attributes do not have a sequence!
Elements have but not attributes, you can identify them only by their name.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
XI message mapping does not perform schema validations. I am not sure of the correct reason for the problem but even i have faced it once. Not when using in Message mapping but when taking the schema from message mapping. In the MM, the sequence of the attributes is different from that of the XSD i have obtained after exporting the strcuture. But I was using XSLT and hence there was no problem in getting the sequence. When i used the XSLT in interface mapping, i did not get any mapping error as is expected in normal cases where schema validation is done. Instead the mapping was successful. Hence though i do not know your entire problem or the complexity of the mapping, i think it is not a problem as long as your interface mapping works fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi tiger,
The sequence is not important.Mapping does matter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.