Some times .Net back end services are not supporting chunked encoding. By default
when ESB calls back end it assumes back end supports chunked encoding.
If your .Net back end service cannot access through proxy service you can try this.
Sometimes you may get empty response for the request due to this issue.
So what we have to do is add following 2 lines to in sequence
<property name="FORCE_HTTP_1.0" value="true" scope="axis2" />
<property name="DISABLE_CHUNKING" value="true" scope="axis2" />
See the following complete proxy service configuration
<proxy xmlns="http://ws.apache.org/ns/synapse" name="IssueProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="FORCE_HTTP_1.0" value="true" scope="axis2" /> <property name="DISABLE_CHUNKING" value="true" scope="axis2" /> <send> <endpoint> <address uri="http://192.168.1.216:3333/Service1.svc" /> </endpoint> </send> </inSequence> <outSequence> <send /> </outSequence> </target> <publishWSDL uri="http://192.168.1.216:3333/Service1.svc?wsdl" /> </proxy>
No comments:
Post a Comment