Spring WS remove flexible URL, Restricting WSDL URL and service URL

Viewed 2594

I'm trying to make a Spring Boot Soap WebService application, and was following the Get Started (https://spring.io/guides/gs/producing-web-service/) example to learn how to do this.

I've created what I want, but I have two URL problems with this setup and I could not find what configuration should I change to fix this :

  • WSDL URL basic is localhost:8080/ws/countries.wsdl but anything like localhost:8080/ws/whatever/countries.wsdl is correct
  • service URL for SoapUI request is localhost:8080/ws but anything like localhost:8080/ws/whatever is correct

I know that this is a feature for Spring WS, but I want a fixed URL (without 'whatever' in both cases) and could not find what to change for this

2 Answers
Related