WebServiceTemplate will be take the input of HttpComponentsMessageSender and HttpComponentsMessageSender will look for HttpClient, So for the Spring Boot 3.x migration its mandatory to support org.apache.hc.client5.http.classic.Httpclient for HttpComponentsMessageSender. In the same project supporting for WebServiceTemplate and RestTemplate is not possible because of this issue . Please help to close this issue .
HttpComponentsMessageSender messageSender = new HttpComponentsMessageSender();
messageSender.setHttpClient(httpClient)
WebServiceTemplate webServiceTemplate = new WebServiceTemplate (marshaller);
webServiceTemplate .setMessageSender(messageSender )
Comment From: wilkinsona
Duplicates https://github.com/spring-projects/spring-ws/issues/1164. We'll pick up the new release of Spring Web Services that supports Http Client 5 in due course.
Comment From: amalajone
Is that fix done and released ?? I don't find the fix in spring ws core 4.0.2
Comment From: amalajone
Even it's not there inside the latest version 4.0.4 . Can you please check and confirm , how to validate
Comment From: wilkinsona
@amalajone As shown by the milestone assigned to the issue, the fix is in Spring Web Services 4.0.5 that has not yet been released.
Comment From: amalajone
Thank you so much for the reply😊. Any time line ?
Comment From: snigdhasasmal07
is there any solutions available now?
Comment From: wilkinsona
Please don't make essentially the same comment on multiple issues. https://github.com/spring-projects/spring-ws/issues/1164 is the right place to comment if you must.
Comment From: DanyFuku
Hi all. I want to ask you is this issue was fixed in the release version 4.0.10 because I have the same problem. Please can you send me an example with the solution for this ? Thank you in advance !
Comment From: bclozel
@DanyFuku If you think there is a bug, please create a new issue in the spring-ws project with a sample application showing the problem. If you're looking for help, you can ask a question on StackOverflow.
Comment From: DanyFuku
@DanyFuku If you think there is a bug, please create a new issue in the spring-ws project with a sample application showing the problem. If you're looking for help, you can ask a question on StackOverflow.
Thank you @bclozel
Comment From: snigdhasasmal07
@wilkinsona I just commented because I was not finding any solution for this. If you know the solution let me know . Is commenting a problem now