Ok, that is the only solution that works, well at least the only one that I can think about. I adapt the WS sample to a poller.
Any suggestion or comments will be welcome.
Code:
<inbound-channel-adapter ref="outputMessage" method="messageBuilder" channel="messageRequestBuilderChannel" >
<poller max-messages-per-poll="1" >
<interval-trigger interval="10000" />
</poller>
</inbound-channel-adapter>
<channel id="messageRequestBuilderChannel"/>
<bridge input-channel="messageRequestBuilderChannel" output-channel="webServiceInvokerChannel"/>
<chain id="chainb" input-channel="webServiceInvokerChannel" output-channel="celsiusChannel" auto-startup="true">
<header-enricher>
<header name="springintegration_ws_soapAction" value="http://tempuri.org/FahrenheitToCelsius"/>
</header-enricher>
<int-ws:outbound-gateway uri="http://www.w3schools.com/webservices/tempconvert.asmx" ignore-empty-responses="false" />
</chain>