In my Spring XML file I have a static-wsdl defined and in the WSDL I imported a XML Schema Definition with namespace and schemaLocation attributes.
When I deploy my Web Application I want to theand in WSDL to be transformed to reflect the URI of the incoming HttpServletRequest.
So to achieve this behavior in the web.xml file I have this configuration:
When the application is deployed, the method 'initWsdlDefinitionHandlerAdapter' in class 'MessageDispatcherServlet' runs, but only the attributein class 'WsdlDefinitionHandlerAdapter' is properly setted with the value passed through the tag in the web.xml file, and the attribute is not. As can be seen in red in the code below:
My solution was:
Create in the Spring XML file a wsdlDefinitionHandlerAdapter bean and set the properties 'transformLocations' and 'transformSchemaLocations' with value true.
|Field||Original Value||New Value|
|Assignee||Arjen Poutsma [ arjen.poutsma ]|
|Fix Version/s||2.1.4 [ 14119 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|