on 09-26-2008 7:03 AM
Hi Gurus,
IF below mentioned is the target structure
XYZ 0...unbounded
A 1
B 1
C 1
Will this mapping work...If element " C "is not mapped.
Note: red circle appears next to "C" if not mapped
hi faria
If XYZ is parent node of A,B,C then no need to map. because occurence of Node XYZ is 0...unbounded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
As the occurence is 0...unbounded...so if you even don't map the fields it will run .
but if your occurence is 1 then it should be mapped ..
otherwise it will give some mapping Error.
Regard's
Chetan Ahuja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
your XYZ..occurance is 0 to unbounded. and your not mapped this XYZ segment with anyfiled..so it is assuming the occurance is 0 so that why C filed is not giving any error.
If u map XYZ segment with constant and check it out..you will get error like leaf node with minOccurs>0 and without mapping..
regards
Ramesh Varanganti
0 to unbounded means that it is possible the XML received has 0 occurence (no data for that field) to any number of data (unbounded means Maximum occurence not defined).
1 to Unbounded means that the XML received must have atleast 1 occurence (must be present in message) and it could have any number of maximum occurence
Hi,
If the Occurence of the C1 field is Required(i.e occurence =1) means that shld be mapped.
Otherwise it wont work
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.