Hi,
We are using 2.0.1 version of http:outbound-gatway to make a webservice call to an external legacy application. They are not wsi-compliant so the SOAPAction and content types are not as per the standard.
So we switched over to use http:outbound-gateway as xml over http. But when setting some custom http headers the gatway expects the parameter to begin with "X-". All other message header values are ignored, so we specifically set something like "mapped-request-headers='SOAP_Action, ABC, XYZ'", but still it is not getting to the http header.
Below is the example code,
Code:<http:outbound-gateway url="http://external-soa-system:8020/soaapp/endpoint" http-method="POST" charset="UTF-8" request-channel="requestChannel" reply-channel="replyChannel" expected-response-type="java.lang.String" mapped-request-headers="SOAP_Action, ABC, XYZ">


Reply With Quote