I have a jax-ws web-service with web-method:
@WebMethod
void SetCurrentDate(Date date)
In generated wsdl parameter date has type xs:dateTime, but i need xs:date. I tried XmlGregorianCalendar, but it maps to xs:anySimpleType, also i tried @XmlSchemaType, but it's not allowed for parameters. How can I generate wsdl with xsd:date instead of xsd:dateTime?
No comments:
Post a Comment