如何在Springboot中通过https消耗Soap?

时间:2019-11-13 04:56:28

标签: spring-boot web-services soap https consuming

我正在使用以下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);
}

0 个答案:

没有答案