Hello,
I have a WS OutboundGateway where the response from the webservice is basically sent to a method in a class. Is there a way how this method can receive the response?? Please find below a snippet of my config. Would appreciate help.
Code:<ws:outbound-gateway id="gateway" request-channel="requestChannel" reply-channel="replyChannel" uri="http://localhost:8080/SpringWebServiceGID/"/> <!--Response from Web Service:fetched data is send to the method--> <outbound-channel-adapter channel="replyChannel" ref="replybean" method="receive"/> <beans:bean id="replybean" class="integration.GIDIntegration"/>
public Message<String> receive(){
//Dont know how to receive the webservice response here
}


Reply With Quote