Code generation with Choice Works in version 1.5 but fails in version 1.6
This day, I accidentally started working on Jwsdp1.5 and the JAXB code generator using the complicated choice as found in the schema below generates the desired code with proper getter and setter methods. Also I can see that with control statements it is ensured that the the choice condition is also validated in impl class. However when I move forward to version 1.6, I see that we are no more generating of the code but only generating the List item.
I have raised quite a few questions in the forum under JAX-WS. But now I believe the reason for non-generation of the code can be with JAXB api’s. Is it possible that we can go back to older version of jaxb.
Please note that I am not sure of how version for JAXB is maintained as it comes bundled with JWSDP, this is the reason there is no mention of JAXB version.
<?xml version="1.0" encoding="utf-8"?>