Hi Bala,
This is not because of root or child elements. This error is because of occurrence of User as 1..1. Change it to 0..1 or 0..unbounded, you will not get error.
If occurance of any element is 1..1 or 1..unbounded means its mandatory in target message and has at least one value for that.
Regards,
Anoop
Add comment