I am using CXF with annotation @WebService. It generates a WSDL file as one large file, is there a way I can say that it generates wsdl:typesexternally in the XSD file and imports them into WSDL?
@WebService
wsdl:types
1). It’s best to use CXF JavaToWS, just specify your implementation class and domain objects using the parameter "-createxsdimports", it will create separate WSDL and XSD files for you,
JavaToWS
"-createxsdimports"
see below an example from my site
http://www.javatips.net/blog/2012/09/cxf-java2wsdl-example
2) SOPERA http://www.sopera.de/en/downloads/sopera-asf-331 WSDL XSD