I have a web service with several methods, each method has its own response and request (POJO classes).
I want to distribute XSD files to my users, so I have decided to use JAXB to generate the schema files.
My problem is that I want to have individual files (one per service)!!
I have tried JAXB but all I get is a big XSD with all my objects
When you publish your Web Sevice with JAX-WS,
wsdltells everything what each client’s needs and scopes.Anyway.. say JAX-RS?
You can generate small scope of XSDs for each class or some classes with JAXBContext#generateSchema