But it is working as it is (2.1 plugin, app uses 2.0.2). Maybe I am wrong, but once the 2.1 generates wrapper classes, app works using 2.0.2 (Calendar type is not a problem). Seems that 2.1 plugin provide java2wsdl with Calendar mapping (2.0.2 does not)...
2007/10/8, James Mao <[EMAIL PROTECTED]>: > > > > Hi, > > I am using cxf eclipse plugin 2.1-SNAPSHOT, but with older creation > date. > > Newest snapshots use jaxb 2.1. As runtime for SOA tools I use cxf > > 2.0.2-incubator (I installed this just yesterday, before that I had 2.0 > ), > > and it works (nearly perfectly). > > > > I tried the 2.0.2 plugin, but when using java first approach it did not > know > > implicitly how to map Calendar type. > > > > Jaxb can map the java.util.Date and java.util.Calendar only if the types > annotated with DataTypeAdapter > > For the java.util.Calendar, you need javax.xml.bind.DatatypeConverter > For the java.util.Date, you need > org.apache.cxf.tools.common.DataTypeAdapter > > James > > > I hope it helps. > > > > DM > > > > 2007/10/1, girish sonber <[EMAIL PROTECTED]>: > > > >> can i use cxf 2.1 -snamshot version with my eclipse .is it ok or not. > >> > >> i am trying to use cxf 2.0.2 version but i dont know why it could not > >> generate the wsdl2java. > >> > >> can anyone tell how to use this cxf 2.0.2 version with eclipsse europa. > >> or what configuration nneded. > >> > >> regards, > >> -- > >> View this message in context: > >> http://www.nabble.com/cxf-2.1-snapshot-tf4546669.html#a12974512 > >> Sent from the cxf-user mailing list archive at Nabble.com. > >> > >> > >> > > > > >
