Enable schema location transformation from web.xml

When transformSchemaLocation is set in web.xml, we now enable it for
both the XsdSchemaHandlerAdapter as well as the
WsdlDefinitionHandlerAdapter.

Issue: SWS-840
This commit is contained in:
Arjen Poutsma
2013-08-19 13:03:12 +02:00
parent 4af07f6352
commit 18717fa4d0

View File

@@ -417,6 +417,7 @@ public class MessageDispatcherServlet extends FrameworkServlet {
wsdlDefinitionHandlerAdapter = new WsdlDefinitionHandlerAdapter();
}
wsdlDefinitionHandlerAdapter.setTransformLocations(isTransformWsdlLocations());
wsdlDefinitionHandlerAdapter.setTransformSchemaLocations(isTransformSchemaLocations());
wsdlDefinitionHandlerAdapter.afterPropertiesSet();
}
catch (Exception ex) {