RO version: 7.0.71.1093
Development Platform : VS2012
serverChannel: ipHttpServerChannel
protected override void DoReadFromStream(Stream stream)
{
// Stream passed here could be still not seekable one
// Yet stream passed to the DetectActiveStream method has to be seekable
// (otherwise it would be not possible to properly pass the data to
//
Stream lSeekableStream = StreamHelpers.StreamToSeekableStream(stream);
this.DetectActiveMessage(stream); <-----------
this.fActiveMessage.ReadFromStream(stream); <----------- this.SerializerInstance = this.fActiveMessage.SerializerInstance; this.InterfaceName = this.fActiveMessage.InterfaceName; this.MessageName = this.fActiveMessage.MessageName; }
class HttpIncomingStream does not support method : Seek
fix it and work:
protected override void DoReadFromStream(Stream stream)
{
// Stream passed here could be still not seekable one
// Yet stream passed to the DetectActiveStream method has to be seekable
// (otherwise it would be not possible to properly pass the data to
//
Stream lSeekableStream = StreamHelpers.StreamToSeekableStream(stream);
this.DetectActiveMessage(lSeekableStream); <-----------
this.fActiveMessage.ReadFromStream(lSeekableStream); <----------- this.SerializerInstance = this.fActiveMessage.SerializerInstance; this.InterfaceName = this.fActiveMessage.InterfaceName; this.MessageName = this.fActiveMessage.MessageName; }