Affects Version/s: None
Fix Version/s: 4.2.GA
I'm currently learning Spring Web Services and Spring Integration and I'm working with current versions of both (2.2.1 and 4.1.6 respectively).
If I'm not missing something, the Inbound web service gateways of Spring Integration still rely on plain beans implementing the MessageEndpoint interfaces, so appropriate beans implementing EndpointMapping should be declared in the application context to point to the SI inbound gateway beans. On the other hand, current Spring WS:
- in its documentation, only annotation based configuration for bean endpoint methods is documented (I had to look at spring-integrations-samples project on GitHub to fill in the gap regarding the MessageEndpoint bean declaration)
- does not provide any namespace-based configuration for non annotation-based MessageEndpoint beans, which would be handy (you have to define beans manually in the application context)
- a couple of MessageEndpoint implementation that would be very useful to be used with Spring Integration are deprecated (!!) in favour of the method-annotation based variants (which are not quite interchangeable, correct me if I'm wrong): org.springframework.ws.soap.server.endpoint.mapping.SoapActionEndpointMapping and org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping
So, it seems like current Spring WS is not very friendly towards Spring Integration.
Please don't shoot at me if I'm saying nonsense.