I upgraded from SI 1.0.4 to 2.0RC1. In upgrading my outbound http gateway I have discovered that it isn't working properly the way it did in 1.0.4.
I send the output of the http gateway to a simple little servlet that logs the request and sends a simple response to pass to my request channel. My request channel gets invoked but the response body written by the remote servlet is not passed into the handler. An HttpStatus is, but the status is always 200 even though I have set it to different values, (202, 204 ...), on the server.
I know my servlet is working because I can hit it via the browser, and the outbound soap gateway delivers its payload to it as well.
Below is the configuration of my outbound http gateway. Am I missing something or is this a known issue?
Thanks!
<http:outbound-gateway id="outboundHttpGateway"
url="http://localhost:8080/{httpRequestUri}"
request-channel="outboundHttpRequestChannel"
extract-request-payload="true"
charset="UTF-8"
request-timeout="10000"
reply-channel="outboundHttpReplyChannel">
<http:uri-variable name="httpRequestUri" expression="headers['httpRequestUri']"/>
</http:outbound-gateway>


Reply With Quote
