> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/45.-web-services.md).

# 45. Web Services

Spring Boot提供Web Services自动配置，你需要的就是定义`Endpoints`。通过添加`spring-boot-starter-webservices`模块可以获取[Spring Web Services特性](https://docs.spring.io/spring-ws/docs/3.0.0.RELEASE/reference/)。

Spring Boot会自动为你的WSDL和XSD各自创建`SimpleWsdl11Definition`和`SimpleXsdSchema` bean。如下，配置它们的位置：

```
spring.webservices.wsdl-locations=classpath:/wsdl
```
