I\'ve created a web service using Spring-WS.
To maintain compatibility with the old system, I need to change namespace prefix from SOAP-ENV
to soap
.
Additional Point :
you have to extend your Webservice config class with WsConfigurationAdapter and add your CustomEndpointInterceptor in the webservice config class as stated below.
Then only the interceptor works.
Refer below link for more details
https://memorynotfound.com/spring-ws-intercept-request-response-soap-messages/