This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JBoss and the fly likes bind data type XMLGregorianCalendar  to Calendar Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: bind data type XMLGregorianCalendar to Calendar
 
Similar Threads
xjc:superClass limitation in JAXB
Baffled by castor and JavaDoc
JaxB Compile Error: Failed to read imported schema document
problem with WSDL2Java and nested complex types
Error creatin Top down web service with Eclipse Helios