I'm using a contract first approach to build JAX-WS Webservices. The clients pick the wsdl and xsd resources from a client jar as specified in this SO answer - https://stackoverflow.com/a/18323853/775467 by using the wsdlLocation attribute.
Is it possible to do the same on the server side. i.e is it possible to use wsdls and referred xsds from a jar in sun-jaxws.xml
<endpoint name='TestService'
implementation='provider.server.AddNumbersImpl'
wsdl='WEB-INF/wsdl/Test.wsdl'
service='{http://example.org}TestService'
port='{http://example.org}TestServicePort'
url-pattern='/test'/>
I know that I can refer to wsdls in the WEB-INF directory as in the above snippet but I don't want to package the wsdls and xsds into the WAR but would like to pick them up from a shared library jar deployed to the server in the same way how the client code picks the wsdl.