GeeCON Prague 2014*
The moose likes JBoss/WildFly and the fly likes bind data type XMLGregorianCalendar  to Calendar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "bind data type XMLGregorianCalendar  to Calendar" Watch "bind data type XMLGregorianCalendar  to Calendar" New topic
Author

bind data type XMLGregorianCalendar to Calendar

reddy kumar pavan
Greenhorn

Joined: Jul 01, 2007
Posts: 15
Hi All,

When i generated schema classes from jaxb 2.1.5.It generated XMLGregorianCalendar data type for xml type xsd ate.Then i changed my schema adding inline annotations and binded the XMLGregorianCalendar to Calendar.Following is the code that i have added in my schema.







But When i generated the client stubs using wsconsume from the WSDL it is still generating XMLGregorianCalendar data type.

So my question what should i do to bind the data type XMLGregorianCalendar to Calendar in client side stubs,
but i should not change the WSDL.

Please help me.

Thanks
Pavan
 
GeeCON Prague 2014
 
subject: bind data type XMLGregorianCalendar to Calendar