I was trying to develop an application act as a service proxy those days , and here is my configration:
and here is my responseView.jsp
<si:channel id="request" />
<si:channel id="reply" />
supported-methods="POST,GET" reply-key="response" view-name="responseView" />
request-channel="request" reply-channel="reply" http-method="POST"
request-factory="httpRequestFactory" expected-response-type="java.lang.String" />
When i use "GET" method to request /test/test.json, i got the response text as soon as I send the request. But when i change to use "POST" method , there is no response render.
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
I checked the log file ,the application has got the http://www.imqq.com's main page html code when use post method to request the inbound gateway, but , no response render and the client wating for response for mintues.
I was confused, is there someone can help me out?