Dhruvraj Mishra
09/25/2025, 4:30 PMService A utilises org.springframework.http to call APIs.
It is failing at the line of toEntity()-
.retrieve()`
.toEntity(String.class);
Other services like B uses apache camel(routes), from there when it is invoked it is working. Just wanted to understand is this any mock related issue or it do not support http of spring.Dhruvraj Mishra
09/25/2025, 4:31 PM{
"request": {
"urlPathPattern": "/wiremock/serv-A/endpoint",
"method": "POST"
},
"response": {
"status": 200,
"body": "YJdoX7CUrtquml9eot9BaZIObbXEKxZeaMdF97JQ6Xe5YL+PnHHjT94qJxLKrqGND5H7sRRb3Z1HbUTsG+M/BT3tF+0zxg==",
"headers": {
"Content-Type": "text/plain"
}
}
}
body returns the encrypted response.Lee Turner
10/02/2025, 3:25 PM