How to change “SOAP-ENV” default prefix of Spring-WS

后端 未结 3 2160
清歌不尽
清歌不尽 2021-02-13 15:29

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.

3条回答
  •  情话喂你
    2021-02-13 15:40

    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/

提交回复
热议问题