I have one module where I have my XSD schemas, where one schema can reference an other using relative path within schema location:
<xs:import namespace="http://my.namespace.org" schemaLocation="../mypackage/my.xsd"/>
Here I'm also using xjc to generate Jaxb beans from these xsd schemas.
Now I have a module where is my web-service is implemetented, using spring-ws (2.0.4). And I want to use static WSDL and publish it with the xsd schemas, where the schema locations will be transformed to URL like 'http://myerver.url.com/my.xsd'.
The question is how to elegantly achieve this?
(Alternatively combine the XSDs into one schema and that to WSDL)
(In theory I could transform these XSD using a script and add them to resources (xsd and wsdl) to a (spring dispatcher) servlet but it doesn't seems to me very comfortable)