Hello friends,
I have a web service which accepts birthDate as SOAP request and it is represented in xsd as follows:
xs:element name="birthDate" type="xs:date"/>
By default JAX-B is able to parse the date only if it is the format 'yyyy-mm-dd' else it is throwing an exception. I want to change the date format to 'dd-mm-yyyy' and I am using Date object to hold the converted format. Went through lot of sites but none of them helped. So can one of you help me where to specify the date format and how to do this in jax-ws.
Regards, Arun