I am new to spring integration and learning in the process. I will have to make two SOAP calls. 1st SOAP call --->use the 1st call response as 2nd SOAP request. And programmatically get the url and other request parameters from the database.
I was successfully able to make the call with this configuration
<int-ws:outbound-gateway id="Service" request-channel="requestChannel" reply-channel="responseChannel" uri="http://localhost:8080/core/v1" marshaller="marshaller" unmarshaller="marshaller"/>
I haven't used any activators or interceptors. just used xml and gateway interface. I have hardcoded the request values. Can someone help me how to get values from database and build this in a much better way.