Hi folks,

I would like to know how to provide a resolver for XSDs to my Web Service endpoints. One of our service requests include a reference to the XMLDSIG schema, which takes some time to resolve from w3.org.

I am aware of XML Catalogs and we use it at compile time for generating JAXB classes for our schemas. However, using XML Catalogs at runtime gave me a hard time so far. Moreover, there are now 3 copies of the XMLDSIG in our sources - one for generating the bindings, one for the integration tests using jetty and one for the schema validation at runtime when the services are deployed to tomcat.

Thus, I would like to know whether there is the possibility to plugin a custom resolver for the parser that is used under the hood similar to providing a custom LSResourceResolver to a JAXP validator.

Thanks,
Marco

Reply via email to