我正在使用以下springboot模板,但这给了我一个超时时间:
public void customSendAndReceive() {
StreamSource source = new StreamSource(new StringReader(MESSAGE));
StreamResult result = new StreamResult(System.out);
webServiceTemplate.sendSourceAndReceiveToResult("https://localhost:8080/AnotherWebService",source, result);
}