On Monday 26 July 2010 12:17:09 pm Glen Mazza wrote: > Benson Margulies wrote: > > Not too surprisingly, the wsdl and the schema within say: > > > > tns="urn:basistech.com:rosette.analysis" > > > > Next I run wsdl2java to set up a client. > > > > Well, the classes for the schema (the beans) wind up in: > > > > com.basistech.rosette_analysis > > > > while the classes for the service end up in: > > > > com.basistech.rosette > > > > So the 'analysis' end of things disappeared. Presumably changing the . > > to a colon would cure this, but should I file a JIRA or a JAXB bz? > > Actually, I think you mean the reverse, namely that the JAXB objects go in > "rosette" and the CXF ones in "rosette_analysis". (I just tried that > namespace on my DoubleIt WSDL). > > Metro wsimport places all classes in the "rosette" folder, so we either > have a CXF bug in using "rosette_analysis" or a JAXB and Metro wsimport > bug in using "rosette".
I would say Metro/JAXB bug in using rosette and dropping the ".analysis" part. I'm looking at the algorithm of Appendix D in the JAXB spec and really don't see anywhere where it would drop that. -- Daniel Kulp [email protected] http://dankulp.com/blog
