no pollable reply channel has been configured
Hi,
I'm trying to invoke web-service through spring integration
public Name getNames();
But the problem is java.lang.IllegalStateException: receive is not supported, because no pollable reply channel has been configured
In the xml,
<gateway id="wsgateway" service-interface="com.company.project.integration.WSGatew ay"
default-request-channel="input_channel"
default-reply-channel="output_channel" />
<channel id="output_channel" />
<channel id="input_channel" />
<ws:outbound-gateway id="externalws"
request-channel="input_channel" reply-channel="output_channel"
uri="${wsurl}" marshaller="marshaller" unmarshaller="marshaller"
message-factory="messageFactory" />
<beans:bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMe ssageFactory">
<beans: property name="messageFactory">
<beans:bean class="com.sun.xml.internal.messaging.saaj.soap.ve r1_1.SOAPMessageFactory1_1Impl">
</beans:bean>
</beans: property>
</beans:bean>
<beans:bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshalle r">
<beans: property name="contextPaths">
<beans:array>
<beans:value>com.company.ws.integration.clientob j</beans:value>
</beans:array>
</beans: property>
</beans:bean>
My question if there is no input, what should be proper channel tag required?
can someone from integration team address this, out there for quiet a long?
- Thanks