I have a stuck with java class generation issue with following xsd. ```
<xs:element name="WsResponse" nillable="true">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="CustomerName" minOccurs="0"/>
                <xs:element ref="AccountNumber" minOccurs="0"/>
                <xs:element ref="MSISDN" minOccurs="0"/>
                <xs:element ref="TotalAmount" minOccurs="0"/>
                <xs:element ref="TaxAmount" minOccurs="0"/>
            </xs:sequence>
        </xs:complexType>
</xs:element>
I'm using ant to generate java classes using com.sun.tools.xjc.XJC2Task and I'm having jaxb 2.2.4. 
Issue I'm having is that generated WsResponse java class do not have the 
@XmlRootElement annotation. 
When I remove the nillable="true" from the above xsd and try class generation, generated java class includes the @XmlRootElement annotation.
Since XSD is provided by 3rd party service I can't change that. So is there a way to have generated class to include @XmlRootElement annotation?