* BinaryMessageEncoder.cs : the serializer somehow leaves binary
xml open, so close the writer as well as open elements.
* TcpDuplexSessionChannel.cs : clear write buffer on each operation.
Do not output EndRecord and SizedMessage at a time.
svn path=/trunk/mcs/; revision=134820
* TcpDuplexSessionChannel.cs : It seems that buffered stream channel
only accepts buffered messages, so do as such for write buffers.
Add RelatesTo header.
svn path=/trunk/mcs/; revision=134745
* PeerNode.cs : if Resolve() returns no address, create a new peer
address here, and shut it down when it is closed.
* PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
svn path=/trunk/mcs/; revision=134686
* BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
This encoder factory implements CreateSessionEncoder() and binary
encoder does support session transmit, in different media type.
* ChannelManagerBase.cs : added utility method to create appropriate
encoder.
* HttpChannelFactory.cs, HttpChannelListener.cs,
MsmqChannelFactory.cs, MsmqChannelListener.cs,
PeerChannelFactory.cs, PeerChannelListener.cs,
TcpChannelFactory.cs, TcpChannelListener.cs : use above.
* MessageEncoderTest.cs : test CreateSessionEncoder().
svn path=/trunk/mcs/; revision=134584
* MessageFault.cs : Reason is mandatory. raise XmlException, and
CommunicationException in each CreateFault().
* soap-fault-incomplete.xml : new test file.
* MessageFaultTest.cs : new test.
* System.ServiceModel.dll_test.sources: added MessageFaultTest.cs.
svn path=/trunk/mcs/; revision=134197
* TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
Open(). Some (but not all yet) continuous communication works now.
Use ProtocolException. Remove dummy binary session string.
svn path=/trunk/mcs/; revision=134185
* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
sending/receiving SizedMessageRecord parts to manager class.
Handle writer session, though it is likely broken at dictionary
writer part (no string is written so far).
* BinaryMessageEncoder.cs : add writer session and rename reader
session.
svn path=/trunk/mcs/; revision=134117
* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
is mandatory in initiator preamble packet. Handle Fault reply in
initiator preamble.
svn path=/trunk/mcs/; revision=134111
* TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
based communication under TcpBinaryFrameManager class.
svn path=/trunk/mcs/; revision=134107
* TcpDuplexSessionChannel.cs : implement in-band dictionary support
in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
comments for magic numbers based on [MC-NMF].
* BinaryMessageEncodingBindingElementTest.cs, binary-message.raw:
new test files.
* System.ServiceModel.dll_test.sources: added
BinaryMessageEncodingBindingElementTest.cs.
svn path=/trunk/mcs/; revision=132882
* BinaryMessageEncoder.cs : implement part of in-band dictionary
support for [MC-NBFSE] record in [MC-NMF], in this class.
svn path=/trunk/mcs/; revision=132881
* PeerResolver.cs, PeerResolverImpl.cs :
update API to the latest .NET.
* PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
svn path=/trunk/mcs/; revision=132237
* Message.cs : (in CreateBufferedCopy) do not pass the entire
message as BodyWriter.
(in GetReaderAtBodyContents) just write body contents.
* MessageImpl.cs : do not try to read body at ctor (fixed tons
of test failures).
Add some state check in GetReaderAtBodyContents().
* XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
svn path=/trunk/mcs/; revision=128186