Why doesn't wsHttpBinding support streaming?
EDIT: To test my comment about netTcpBinding, I tried following code, which gives runtime error:
<netTcpBinding >
<binding name="myBinding" transferMode="Streamed">
<reliableSession enabled="true"/>
</binding>
</netTcpBinding>
Runtime exception:
Unhandled Exception: System.InvalidOperationException: Transfer mode Streamed is
not supported by ReliableSessionBindingElement.
at System.ServiceModel.Channels.ReliableSessionBindingElement.VerifyTransport
Mode(BindingContext context)
if <reliableSession enabled="true"/>
is removed, the code works.