wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bind data type XMLGregorianCalendar to Calendar
 
Similar Threads
xjc:superClass limitation in JAXB
Baffled by castor and JavaDoc
Error creatin Top down web service with Eclipse Helios
JaxB Compile Error: Failed to read imported schema document
problem with WSDL2Java and nested complex types