Yes, you can use JAXB binding for that: http://docs.oracle.com/cd/E13222_01/wls/docs103/webserv/data_types.html . And specify "-b binding-name" option in CXF wsdl2java to use the custom binding: http://cxf.apache.org/docs/wsdl-to-java.html
Regards, Andrei. > -----Original Message----- > From: fachhoch [mailto:[email protected]] > Sent: Freitag, 26. Juli 2013 15:06 > To: [email protected] > Subject: xsd to java, datatypes > > I am using contract first appraoch , writing xsd first then generating java > code using maven code gen plugin. > I have problem with xsd datatypes date and Integer datatype, the > generated code is using xmlGeorgianCalendar for date and BigInteger for > Integer datatype, intead can I tell jaxb to use util.date and java Long. > Please advice. > Thanks > > > > -- > View this message in context: http://cxf.547215.n5.nabble.com/xsd-to-java- > datatypes-tp5731484.html > Sent from the cxf-user mailing list archive at Nabble.com.
