spring-boot with spring-ws -SOAP Endpoint not accessable

后端 未结 1 1946
无人及你
无人及你 2020-12-19 08:49

I am playing around with spring-boot and i run into a problem. To create RESTful webservices is quite easy. But i am not able to run an soap service with spring-boot.

<
相关标签:
1条回答
  • 2020-12-19 09:01

    Doesn't Spring WS need a MessageDispatcherServlet? So you would need to replace the default DispatcherServlet with one of those, e.g.

    @Bean
    public MessageDispatcherServlet dispatcherServlet() {
        return new MessageDispatcherServlet();
    }
    
    0 讨论(0)
提交回复
热议问题