public override Message ReadMessage (ArraySegment<byte> buffer,
BufferManager bufferManager, string contentType)
{
if (contentType != null && contentType != ContentType)
throw new ProtocolException ("Only content type 'application/soap+msbin1' is allowed.");
// FIXME: retrieve reader session and message body.
throw new NotImplementedException ();
/*
// FIXME: use bufferManager
return Message.CreateMessage (
XmlDictionaryReader.CreateBinaryReader (
buffer.Array, buffer.Offset, buffer.Count,
soap_dictionary,
owner != null ? owner.Owner.ReaderQuotas : new XmlDictionaryReaderQuotas ()),
int.MaxValue, MessageVersion);
*/
}