ServletRegistrationBean doesn't works for the multiple URL mapping paths

后端 未结 1 782
一个人的身影
一个人的身影 2021-01-15 03:35

I was developing code looking at https://howtodoinjava.com/spring-boot/spring-boot-soap-webservice-example/, In the below bean I want to allow request to be executed for

相关标签:
1条回答
  • 2021-01-15 03:56

    The mapping works for me. I downloaded the example and made changes as per your question.

    I see the mappings registered(log) and the wsdl(browser) loaded as shown in the screenshot.

    Mapping servlet: 'messageDispatcherServlet' to [/*, /service/*]

    Spring Boot Log, WSDL Soap Request Response

    Not sure what's not working for you. "Below configurations doesn't works when we execute the /service/* url."

    0 讨论(0)
提交回复
热议问题