Ali Khoshen
04/09/2025, 11:49 AMTom
04/10/2025, 6:19 PMstubFor(post(urlPathEqualTo("/soap-endpoint"))
.withRequestBody(equalToXml("<soap:Envelope xmlns:soap=\"<http://www.w3.org/2003/05/soap-envelope/>\"> (expected request body) </soap:Envelope>"))
.willReturn(okXml("<soap:Envelope xmlns:soap=\"<http://www.w3.org/2003/05/soap-envelope/>\"> (response body)</soap:Envelope>")));
Spring Boot integration getting started doc here:
https://wiremock.org/docs/spring-boot/