I have a web service (with Spring -WS ).
I have a jar with several schemes (schema1.xsd, schema2.xsd and schema3.xsd) that I include in my web service.
Is there any way to populate the schemas from the jar through the servlet somehow in my wep web service application?
My Spring is MessageDispatcherServletdisplayed in / ws /
I would like my circuits to be exposed /schemas/schema1.xsd /schemas/schema2.xsd, etc.
I have an idea how to do this with a servlet, but it is too verbose and there should be a nicer way.
What I think has a servlet filter and everything that gets / schemes / checks to see if it is in my list of allowed resources and displays it.
This should be an agnostic server solution. (For example, http://tuckey.org/urlrewrite/ will not work).
Thank.
source
share