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

Drop RPC-style remoting: Hessian, HTTP Invoker, JMS Invoker, JAX-WS #27422

Closed
jhoeller opened this issue Sep 16, 2021 · 5 comments
Closed

Drop RPC-style remoting: Hessian, HTTP Invoker, JMS Invoker, JAX-WS #27422

jhoeller opened this issue Sep 16, 2021 · 5 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@jhoeller
Copy link
Contributor

Since most of our RPC-style remoting support has been officially and/or effectively deprecated for several years, let's remove it for 6.0 M1 right away (which also reduces subpackage overload in several modules a bit).

@jhoeller jhoeller added the type: task A general task label Sep 16, 2021
@jhoeller jhoeller added this to the 6.0 M1 milestone Sep 16, 2021
@jhoeller jhoeller self-assigned this Sep 16, 2021
@jhoeller jhoeller changed the title Drop RPC-style remoting (Hessian, HTTP Invoker, JMS Invoker, JAX-WS) Drop RPC-style remoting: Hessian, HTTP Invoker, JMS Invoker, JAX-WS Sep 17, 2021
jhoeller added a commit that referenced this issue Sep 21, 2021
Also removes JAX-WS support from CommonAnnotationBeanPostProcessor.

Closes gh-27444
See gh-27422
@knoobie
Copy link

knoobie commented Apr 5, 2023

@jhoeller Are there any recommended strategies documented by Spring how to get JAX-WS working with the latest Spring Framework / Boot again? Especially removal of ignoreResourceType("javax.xml.ws.WebServiceContext"); (now jakarta.*) breaks integration with CXF 4.0 by default if WebServiceContextis injected as @Resource with no clear migration path how to overcome this.

@snicoll
Copy link
Member

snicoll commented Apr 5, 2023

As stated above, it's been deprecated for several years and now removed so we can't recommend anything about those.

@knoobie
Copy link

knoobie commented Apr 5, 2023

@snicoll Thanks for your comment! I'm aware of the deprecating and removal of RPC-style remoting (I'm totally find with that). I just came across this commit because it also removed JAX-WS "Integration" which I think is not deprecated and still heavily used. For example from the CXF 4 / Jakarta 9+ Migration, there is this open issue that lead me to this change: https://issues.apache.org/jira/browse/CXF-8666

My current workaround is to customize the CommonAnnotationBeanPostProcessorand re-introduce the deleted line.

@Configuration
public class WorkaroundForCxfConfig {

  @Autowired
  private CommonAnnotationBeanPostProcessor processor;

  @PostConstruct
  public void initialize() {
    processor.ignoreResourceType("jakarta.xml.ws.WebServiceContext");
  }
}

@snicoll
Copy link
Member

snicoll commented Apr 5, 2023

JAX-WS "Integration" which I think is not deprecated and still heavily used.

Our JAX-WS integration is deprecated and has been removed as a result, so whatever you were relying on from there is not available anymore. This isn't the right place to discuss CXF issues either, please raise that on the proper support channel.

@Osmanbell

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

4 participants