Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring3.x Migration Issue with WebServiceTemplate (HttpComponentsMessageSender support need for HttpClient 5) #35591

Closed
amalajone opened this issue May 22, 2023 · 11 comments
Labels
for: external-project For an external project and not something we can fix status: invalid An issue that we don't feel is valid

Comments

@amalajone
Copy link

amalajone commented May 22, 2023

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 )
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 22, 2023
@wilkinsona
Copy link
Member

wilkinsona commented May 22, 2023

Duplicates spring-projects/spring-ws#1164. We'll pick up the new release of Spring Web Services that supports Http Client 5 in due course.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2023
@wilkinsona wilkinsona added status: invalid An issue that we don't feel is valid for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels May 22, 2023
@amalajone
Copy link
Author

Is that fix done and released ?? I don't find the fix in spring ws core 4.0.2

@amalajone
Copy link
Author

Even it's not there inside the latest version 4.0.4 . Can you please check and confirm , how to validate

@wilkinsona
Copy link
Member

@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.

@amalajone
Copy link
Author

Thank you so much for the reply😊. Any time line ?

@snigdhasasmal07

This comment was marked as duplicate.

@wilkinsona

This comment was marked as resolved.

@DanyFuku

This comment was marked as resolved.

@bclozel

This comment was marked as resolved.

@DanyFuku

This comment was marked as resolved.

@snigdhasasmal07

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

6 participants