Tag Archives: Date

xsd:date maps to java.util.Calendar

My schema has an element of type xs:date, which jaxb maps to a java.util.Calendar. If I create a Calendar object with Calendar.getInstance(), it marshalls to “2003-11-24-05:00”. How can I get it to marshall to just “2003-11-24”? SOLUTION:Write a converter class … Continue reading

Posted in Web Services, WSDL | Tagged , , , , | Leave a comment