title: Java Calendar without TimeZone in Apache Axis 2
body: <p>I have to use some SOAP web services API that I have no control over it. I am using Apache Axis2 to generate java classes (from WSDL) and Axis2 use'java.util.Calendar' for date time data type. </p>
  
  <p>The problem here is API doesn't recognize the date time with TimeZone <code>2016-12-31T12:00:00.000+06:30</code> when Axis2 parse it to String and send request. That API only knows that format <code>2016-12-31T12:00:00</code>. I have tried <code>calendar.clear(Calendar.ZONE_OFFSET);</code> but it still render TimeZone in XML request. I tested with <code>XMLGregorianCalendar</code> instead of Calendar and it worked but I needed to change Calendar data type to <code>XMLGregorianCalendar</code> in generated classes and those changes might be gone if there would be a newer WSDL version and we generate new classes again.</p>
  
  <p>Any idea? Thanks in advance.</p>