# 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
```
