tai gal nekurt kopijos? "vzik" <mariakas@delfi.lt> wrote in message news:h34fb5$ere$1@trimpas.omnitel.net... > Sveiki, > > Klausimas apie WCF. Gal kas netycia susidure. > > Reikia realizuoti custom IDispatchOperationSelector, kuris selectina > operacija pagal message body. Taciau, kad ir kaip bebandyciau is body > issitraukti reikalinga info vis gaunu > > "This message cannot support the operation because it has been copied." > > Kur ieskot kabliu? > > > > public string SelectOperation(ref System.ServiceModel.Channels.Message > message) > > { > > MessageBuffer buffer = message.CreateBufferedCopy(Int16.MaxValue); > > message = buffer.CreateMessage(); > > return buffer.CreateMessage().GetReaderAtBodyContents().LocalName; > > } > > > > >