Thank you, it worked as you suggested.
I somehow missed that ObjectFactory method.

I did use the object factory, but in the following way:

ArrayOfRange ranges = objectFactory.createArrayOfRange();
ranges.getRange().add(rangeObject);
userRole.setRangeList(objectFactory.createArrayOfRange(ranges));

I guess the types match up, but the jaxb mappings cannot be enforced.

I changed it to this:

userRole.setRangeList(objectFactory.createUserRoleRangeList(ranges));

It works as expected.

Thanks again, I should have looked at the object factory more careful.
 
--
Csaba


--
View this message in context: 
http://cxf.547215.n5.nabble.com/invalid-outbound-message-content-tp5544605p5545322.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to