45. Web Services
Spring Boot提供Web Services自动配置,你需要的就是定义
Endpoints
。通过添加spring-boot-starter-webservices
模块可以获取Spring Web Services特性。Spring Boot会自动为你的WSDL和XSD各自创建
SimpleWsdl11Definition
和SimpleXsdSchema
bean。如下,配置它们的位置:spring.webservices.wsdl-locations=classpath:/wsdl
最近更新 4yr ago