spring-ws icon indicating copy to clipboard operation
spring-ws copied to clipboard

Streaming support in coming 4.x line

Open pkuzz opened this issue 3 years ago • 7 comments

Hello!

I'm just curious -- will there be support for StreamingWebServiceMessage/StreamingPayload in next major release on spring-ws (4).

In commit log for 4.x branch I see that support for Axiom (streaming impl) was completely removed. Will there be support for any streaming implementation in 4.x line?

I have a large object tree and sending it after constructing DOM is very memory cosuming.

pkuzz avatar Sep 15 '22 13:09 pkuzz

The problem with Axiom is that they don't have a Jakarta EE 9-compatible version, which is a requirement for 4.0. If they put out a new release, we can reinstate it.

I'm not aware of other toolkits offering the same or not.

gregturn avatar Nov 08 '22 15:11 gregturn

If they put out a new release, we can reinstate it.

I'm working on that. The plan is to remove the dependency on javax.* APIs from the core Axiom library. Integration with those APIs would then be provided by separate libraries, which we would then migrate to jakarta.* or ship in two versions. It remains to be seen though if those libraries are actually needed by Spring-WS.

veithen avatar Nov 08 '22 20:11 veithen

It remains to be seen though if those libraries are actually needed by Spring-WS.

I hope they are needed :) At least having support for streaming impl (with Axiom) will means better backward compatibility, providing easier way to upgrade some projects.

Thanks for your replies!

pkuzz avatar Nov 10 '22 09:11 pkuzz

I hope they are needed :)

When I said "those libraries", I meant the libraries that integrate with javax.*/jakarta.*.

veithen avatar Nov 13 '22 12:11 veithen

Thank you @veithen for your efforts on this front.

gregturn avatar Nov 16 '22 18:11 gregturn

If they put out a new release, we can reinstate it.

I'm working on that. The plan is to remove the dependency on javax.* APIs from the core Axiom library. Integration with those APIs would then be provided by separate libraries, which we would then migrate to jakarta.* or ship in two versions. It remains to be seen though if those libraries are actually needed by Spring-WS.

Hey @veithen. Is there any open Apache issue for the work on the Axis "jakarta" stuff? I'm currently migrating a project to Spring Boot 3 / Jakarta and we're thinking about dropping Axis because of the lack of jakarta namespace support.

michael-schnell avatar May 17 '23 06:05 michael-schnell

Is there any open Apache issue for the work on the Axis "jakarta" stuff?

For Axiom, it's https://issues.apache.org/jira/browse/AXIOM-506. For Axis2 it's https://issues.apache.org/jira/browse/AXIS2-6051.

I think I've got enough done for AXIOM-506 to try and resurrect the Axiom support in Spring-WS.

veithen avatar Jun 11 '23 16:06 veithen