Jaxb Removing the suffix “Type” when generating classes from XSD

Question!

We just upgraded to the below Jaxb version and started noticing that it strips off the "Type" suffix when the classes are generated. This is causing issues as the schema we got from 3'rd party is now having two classes with the same name. Can someone tell us how to get around this and keep the "Type" suffix as is?

  jaxbVersion = '2.2.11'
  jaxwsVersion = '2.2.10'
  jaxwsrsVersion = '2.0.1'

Thanks



Answers

Use the following schema bindings declaration:

By : lexicore


This video can help you solving your question :)
By: admin