Search code examples
javaxmlbeans

xmlbean : dealing with int and a missing element


When binding a POJO with xmlbean, if a tag, normally with an int, is missing, it is mapped with 0. I know that adbean would map it with Integer.MIN_VALUE. Is there a such possibility or anything else with xmlbean ?

Thanks,

David


Solution

  • If you can, change the WSDl : put an Integer, not int