I am using the "ws:outbound-gateway" with the following attributes,
ignore-empty-responses="false" reply-channel="processReplyChannel"
i also tried the
ignore-empty-responses="FALSE" reply-channel="processReplyChannel"
in fact the WS Reply is empty as follows,
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body />
</soap:Envelope>
my problem is that channel has a ServiceActivator that will do something in case of a non soap-fault reply message. But it seems that maybe something is missing because the ws processing are never reaching the "processReplyChannel", does anyone have a hint on how to process a sucessfull WS call without a response body?
Updating with a sample config.
<int:chain input-channel="inputChainChannel" id="chainId">
<int:transformer id="firsttransformer"
ref="firsttransformer" ></int:transformer>
<int:transformer ref="beanTramsformer" method="someMethod"></int:transformer>
<int:transformer id="sencondMarshallingTransfomer" ref="sencondMarshallingTransfomer"></int:transformer>
<int:object-to-string-transformer></int:object-to-string-transformer>
<ws:header-enricher>
<ws:soap-action value="theSoapAction" />
</ws:header-enricher>
<ws:outbound-gateway
uri="${wsEndpoint}"
interceptor="anInterceptor" ignore-empty-responses="false" reply-channel="processReplyChannel">
<ws:request-handler-advice-chain>
<ref bean="retryAdvice" />
</ws:request-handler-advice-chain>
</ws:outbound-gateway>
</int:chain>
Regards,
This looks like a bug; I opened a JIRA issue which you can watch.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.