The is
prefix is for boolean
only, not for Boolean
.
You have 2 options:
Use
boolean
instead ofBoolean
.Or, rename method
isPrimary()
togetPrimary()
.
As to JAXB blunder of autogenerating the wrong method, you need to upgrade to at least JAXB 2.1.13 or to add -B-enableIntrospection
to the wsimport call as per this JAXB documentation.