Hi, In Java, I have several different services interfaces using the same data classes with JAXB annotations. Using CXF (2.0.3) and Spring, implementations of theses interfaces are exposed as Web Services.
It works well with one exception: each (generated) WSDL contains it's own schema with XSD types for the data classes used by the service's method. If two services use the same data classes, the same XSD type is defined in two separate WSDLs. Is there a way to put shared XSD types in a single XSD (or even WSDL) file and to have this file imported in the WSDLs ? I tried generating an single .xsd from the data classes using JAXB's schemagen and reference this file in each jaxws configuration endpoint (using schemaLocations). All I get is the full schema duplicated in each WSDL. -- View this message in context: http://www.nabble.com/Multiple-services-with-a-single-shared-schema---tp14617065p14617065.html Sent from the cxf-user mailing list archive at Nabble.com.
