Spring SOAP Webservice Consumer/Client example using apache HttpClient5
Spring SOAP Webservice is still using HttpClient implementation, HttpClient 4.x. When I open the Spring WS API for org.springframework.ws.transport.http.HttpComponentsMessageSender
to set ConnectionTimeout, it still uses HttpClient 4.x java classes.
But I am looking for Spring SOAP WebService using apache HttpClient5 component classes.
Can someone help here to provide the equivalent example.
Please dont give me old examples.
I am using Java 17, SpringBoot 3.0.1, Spring-ws-core 4.0.0
I referred internet, here are some of the below URLs
https://hc.apache.org/httpcomponents-client-5.2.x/migration-guide/index.html
https://snehapatil02.medium.com/soap-web-service-client-with-spring-boot-3c7034351c46