Spring WS examples

Is there any examples of how to consume SOAP webservice in Cuba-platform?
I need an example where I login an gets the Objects I wants.

I prefer Spring WS to consume the SOAP objects.

Hi,

There is no examples in cuba, but you can use the same techniques that are relevant to any Spring WS based application. There is no CUBA specifics in this topic. As you are familiar with spring-ws, just use WebServiceGatewaySupport: https://spring.io/guides/gs/consuming-web-service/ There you will find an example of JAXB generation for Gradle, that can be added to you build.gradle file.