I'm creating a web services and generating a contract (WSDL) with Axis2 like a POJO web service which is in turn giving me an output like this
<xs:element minOccurs="0" name="acHolderName" nillable="true" type="xs:string"/>
Whereas the required one is this <xs:element minOccurs="0" name="acHolderName" type="xs:string"/>
Is there any annotation which can get me do this or any other better implementation??