I'm using Apache CXF's wsdl2java utility to create some JAXB objects and some web service code. The schema in my WSDL has a lot of namespaces with version numbers on the end. For example:
http://example.org/sample/namespace/1.0
When CXF generates my JAXB objects the packages wind up with package names like this:
org.example.sample.namespace.1_0
Since this is a large schema with many different namespaces I have to spend quite a bit of time either re-factoring code, or using the -p option to manually map the namespaces to package names. Both processes are very time consuming.
So, I'm wondering if anyone knows if there is an easier route. Or am I being too fussy and I should just accept the package names as is?