找不到SaajSoapMessage
{http://techprimers.com/spring-boot-soap-example} getUserRequest
//端点类的代码
@Endpoint
public class UserEndPoint {
@Autowired
private UserService userService;
@PayloadRoot(namespace = "https://techprimers.com/spring-boot-soap-example", localPart = "getUserRequest")
@ResponsePayload
public GetUserResponse getUserRequest(@RequestPayload GetUserRequest request) {
System.out.println("UserEndpoint");
GetUserResponse getUserResponse = new GetUserResponse();
getUserResponse.setName(userService.getUsers(request.getName()));
return getUserResponse;
}
}