2009-09-30 Jb Evain <jbevain@novell.com>
[mcs.git] / class / System.ServiceModel / System.ServiceModel.Channels / ChangeLog
blob5763ff48c6ae3d80bbaf2989bc200d37ff1f5866
1 2009-09-30  Jb Evain  <jbevain@novell.com>
3         * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
4         to use any of the remoting features.
6 2009-09-30  Atsushi Enomoto  <atsushi@ximian.com>
8         * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
9           use AspNetCompatibilityEnabled.
10         * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
11           at ServiceHostBase.
12         * AspNetReplyChannel.cs : remove extra field.
14 2009-09-29  Atsushi Enomoto  <atsushi@ximian.com>
16         * HttpReplyChannel.cs : remove extra field.
18 2009-09-29  Atsushi Enomoto  <atsushi@ximian.com>
20         * AspNetRequestContext.cs : remove CWL.
22 2009-09-29  Atsushi Enomoto  <atsushi@ximian.com>
24         * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
25           only after AspNetRequestContext is closed. Do not close it
26           immediately after receiving the context. (HttpRuntime destructs it
27           and further uses then becomes impossible.)
29 2009-09-29  Atsushi Enomoto  <atsushi@ximian.com>
31         * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
32         * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
33           Make sure that AspNetChannelListener is bound to correct
34           SvcHttpHandler, regardless of specific request URI. It is required
35           for both WSDL requests and RESTful binding requests.
37 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
39         * MessageProperties.cs : fix CopyProperties() behavior to not
40           clear existing items. Make all properties call this[name].
42 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
44         * HttpTransportBindingElement.cs : fix 2.1 build.
46 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
48         * TransportBindingElement.cs : another GetProperty fix, iterate
49           other binding elements.
51 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
53         * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
54           some GetProperty() implementation.
56 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
58         * HttpListenerManager.cs : release HttpListener and avoid extra
59           close process more than once.
61 2009-09-11  Atsushi Enomoto  <atsushi@ximian.com>
63         * HttpChannelListener.cs : do not iterate channel list to close
64           channels which in turn removes them from the list while iteration.
66 2009-09-06  Atsushi Enomoto  <atsushi@ximian.com>
68         * HttpRequestChannel.cs : Fix message version member comparison.
69           Double-quote SOAPAction. Remove extra Exception.
70         * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
71         * HttpRequestContext.cs : when addressing is None, remove action
72           from the message.
74 2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>
76         * SvcHttpHandler.cs : set Uri property based on baseAddresses and
77           path, to pick those endpoints that are added at custom factories.
79 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
81         * SvcHttpHandler.cs : apply configuration, and if there is still no
82           endpoint, then add default one.
84 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
86         * SvcHttpHandler.cs : another URL to make relative.
88 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
90         * SvcHttpHandlerFactory.cs : some GetHandler changes.
91         * SvcHttpHandler.cs : significant changes on receiver structure. Now
92           ProcessRequest() stores pending requests (this might be extraneous,
93           but maybe useful when it implements async handler). Also removed
94           reply_channel field as it may become to handle multiple requests.
95         * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
96         * AspNetReplyChannel.cs : make it receive requests like
97           HttpReplyChannel (for HttpListener) to make them consistent.
99 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
101         * AspNetRequestContext.cs, HttpRequestContext.cs :
102           fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
103           by splitting HttpListener-based context out from common code base.
105 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
107         * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
108           relative or absolute. new Uri ("/foobar") doesn't work on non-unix
109           environment.
111 2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>
113         * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
114           loads types from system assemblies appropriately.
116 2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>
118         * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
119           for XmlReader input.
121 2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>
123         * HttpRequestMessageProperty.cs : fix default values.
125 2009-08-31  Atsushi Enomoto  <atsushi@ximian.com>
127         * HttpChannelFactory.cs, HttpRequestChannel.cs,
128           ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
129           Check ManualAddressing value and reject address-missing ones.
131 2009-08-31  Atsushi Enomoto  <atsushi@ximian.com>
133         * HttpChannelFactory.cs : reject URI mismatch cases when required.
135 2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>
137         * PeerDuplexChannel.cs : When received Connect() from neighbor,
138           add the peer to its internal list.
139           Finally ChatApplication got working.
141 2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>
143         * PeerDuplexChannel.cs : since the channel factory is per instance,
144           do not reuse factory that is tied to different callback instance.
145           It resolved the issue that mono callback client didn't receive
146           messages from the client itself.
148 2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>
150         * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
151           of the receiver, not the requestor. It resolved the issue that
152           .NET client didn't send further messages to mono server.
154 2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>
156         * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
157         * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
158           TcpReplyChannel.cs, TcpRequestChannel.cs,
159           NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
160           rename EndRecord handling method to appropriate one.
161           Write EndRecord from recipient too.
163 2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>
165         * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
166           Process PeerTo header to upgrade Message To header. Now mono
167           service accepts mono client (somehow not true for .NET client).
169 2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>
171         * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
172           NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
174 2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>
176         * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
178 2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>
180         * TcpDuplexSessionChannel.cs : check channel state before processing
181           Send and Receive.
183 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
185         * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
186           NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
187           ongoing works, not working at all yet.
189 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
191         * TcpChannelListener.cs, TcpReplyChannel.cs :
192           cosmetic cleanup and corrections.
194 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
196         * TcpChannelFactory.cs : use expected Via uri.
197           Remove extra NIE stuff that are implemented in base.
199 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
201         * TcpDuplexSessionChannel.cs : remove extra code.
203 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
205         * PeerDuplexChannel.cs : ongoing implementation towards get callback
206           replies on peer connector clients (not working as duplex client
207           callback is not working yet).
209 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
211         * TcpDuplexSessionChannel.cs : in callback client channels,
212           OperationContext.IncomingMessageHeaders is null.
214 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
216         * MessageHeaders.cs : duplicate check was sloppy.
218 2009-08-18  Atsushi Enomoto  <atsushi@ximian.com>
220         * Message.cs, MessageImpl.cs, BodyWriter.cs :
221           Implement BodyWriter.OnCreateBufferedCopy() and use it.
223 2009-08-18  Atsushi Enomoto  <atsushi@ximian.com>
225         * ReplyChannelBase.cs : initialize field.
227 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
229         * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
230           implement GetProperty<T>() and return its channel manager.
232 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
234         * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
235           destination address in Connect() request. To repeat sending
236           request, use buffered copy. Set some peer-channel specific
237           header items. (todo: and consume them.)
239 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
241         * Message.cs : state is set only after WriteBodyContents().
243 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
245         * MessageHeaders.cs : eliminate wrong use of
246           ReadElementContentAsString() (it is not always simple string).
248 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
250         * MessageHeaders.cs : when the value is null, do not try to
251           deserialize EndpointAddress.
253 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
255          * MessageHeader.cs : add Value property. (Forgot dependent change.)
257 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
259          * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
260            serialization and deserialization of values.
262 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
264         * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
265           Now simply use connector contract.
267 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
269         * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
271 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
273         * TcpChannelListener.cs : do not try to compare dead connection's
274           IPEndPoint (it raises an error).
276 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
278         * MessageHeaders.cs : allow null header value on each specific setter.
280 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
282         * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
283           get local and remote address of connected counterpart to get
284           callback channel connected.
285         * PeerDuplexChannel.cs : remove FIXME wrt above.
287 2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>
289         * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
291 2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>
293         * MessageHeader.cs : fill IsReferenceParameter.
295 2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>
297         * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
298           implement remaining async methods and LocalAddress.
300 2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>
302         * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
303           ServiceHost to process neighbor connection (not sure if this is
304           right way to go though ...).
306 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
308         * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
309           connection part to use new internal IPeerConnectorContract for
310           neighbor connection.
312 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
314         * ChannelListenerBase_1.cs, TcpChannelListener.cs,
315           PeerChannelListener.cs, HttpChannelListener.cs :
316           support ListenUri accordingly too so that it could be used when
317           it is different from LocalAddress.Uri.
319 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
321         * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
322           TcpRequestChannel.cs : use Via uri to validate and connect.
324 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
326         * RequestChannelBase.cs, DuplexChannelBase.cs :
327           Return endpoint address Uri when no explicit Via uri is specified.
328         * ChannelFactoryBase.cs : Remove extra async close methods.
329           Add async open methods. Reject null EndpointAddress.
330         * PeerChannelFactory.cs : remove async open methods (now in base).
332 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
334         * PeerDuplexChannel.cs : set correct message endpoint (To header).
336 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
338         * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
339           DuplexChannelBase.cs : set LocalAddress property at base.
341 2009-07-30  Atsushi Enomoto  <atsushi@ximian.com>
343         * PeerDuplexChannel.cs : ongoing refactoring to work both as
344           listener and client. Now it creates a listening peer node, and
345           creates a set of TCP client channels for each peer in the mesh.
347           (EndpointAddress must be fixed to not filter out correct inputs).
349 2009-07-30  Atsushi Enomoto  <atsushi@ximian.com>
351         * PeerChannelListener.cs : do not accept more than one channel
352           which results in lots of listening peer node. Only one is enough.
354 2009-07-30  Atsushi Enomoto  <atsushi@ximian.com>
356         * DuplexChannelBase.cs : fix wrong loop implementation.
358 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
360         * TcpChannelListener.cs : to avoid creating two or more channels
361           for one remote endpoint, check existing remote endpoints and
362           ignore such connections (it must be handled in different thread
363           fired by ChannelDispatcher loop).
365 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
367         * TcpReplyChannel.cs : make sure to not try to receive request when
368           it is already closed.
370 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
372         * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
373           some mannerless clients [*1] do not send EndRecord accordingly, but
374           such channels at listener side should not be kept open. So, close
375           disconnected channels when the listener needs to accept another
376           one.
377           [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
379 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
381         * TcpDuplexSessionChannel.cs :
382           Remove extra NIE overrides.
383           Implement OnAbort() apart from OnClose().
384           For duplex session channel, unlike reply channel, it must acquire
385           TCP connection before OnOpen(), otherwise ChannelDispatcher
386           releases the connection acceptance WaitHandle and the detected
387           live connection may be stolen by another channel acceptor.
389 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
391         * HttpRequestChannel.cs : implement OnAbort().
393 2009-07-24  Atsushi Enomoto  <atsushi@ximian.com>
395         * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
396         * DuplexChannelBase.cs : comment out some extra fields (so far).
397         * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
399 2009-07-24  Atsushi Enomoto  <atsushi@ximian.com>
401         * PeerCustomResolverBindingElement.cs : add some null checks.
403 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
405         * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
406           Acquire TcpClient for each request/reply. Now it is fully
407           interoperable with .NET.
409 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
411         * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
412           ReplyTo and MessageId (though it is session-less), and it expects
413           EndRecord at weird stage, inconsistent with [MC-NMF]...
414           Now .NET service accepts one mono client request.
416 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
418         * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
419           Send and receive unsized message terminator at once.
420           Send EndRecord mutually. Got one .net client request working.
422 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
424         * BinaryMessageEncoder.cs : revert the previous dictionary change.
425           They are indeed used for non-in-band-dictionary messages.
427 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
429         * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
430           split out binary frame manager class into separate file.
432 2009-07-21  Atsushi Enomoto  <atsushi@ximian.com>
434         * TcpReplyChannel.cs : new reply channel implementation.
435         * TcpChannelListener.cs : use above for streamed reply channel.
436         * TcpDuplexSessionChannel.cs : more streaming mode support.
437         * TcpRequestChannel.cs : a couple of updates to get it working
438           with the reply channel above. Still some issues on .NET interop.
440 2009-07-21  Atsushi Enomoto  <atsushi@ximian.com>
442         * RequestContext.cs : added internal derived class that implements
443           some members.
445 2009-07-21  Atsushi Enomoto  <atsushi@ximian.com>
447         * BinaryMessageEncoder.cs : for non-session reader and writer, do not
448           use dictionary.
450 2009-07-17  Atsushi Enomoto  <atsushi@ximian.com>
452         * PeerDuplexChannel.cs: add the registered node itself to peer list.
453           (The messaging must be done as TCP request/reply pattern, so it's
454           not working yet.)
456 2009-07-17  Atsushi Enomoto  <atsushi@ximian.com>
458         * TcpRequestChannel.cs : new channel file (TCP for request/reply
459           messaging pattern). The messaging part is not working yet.
460         * TcpChannelFactory.cs : support IRequestChannel.
461         * TcpDuplexSessionChannel.cs : add unsized message support.
463 2009-07-17  Atsushi Enomoto  <atsushi@ximian.com>
465         * HttpRequestChannel.cs, RequestChannelBase.cs :
466           A couple of async members are now implemented in the base class.
467           Ditto for EndpointAddress and Via.
469 2009-07-10  Atsushi Enomoto  <atsushi@ximian.com>
471         * PeerDuplexChannel.cs : now it implements some of node management
472           functionality and Send operation. The receiver part is not yet.
474 2009-07-10  Atsushi Enomoto  <atsushi@ximian.com>
476         * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
477           timeout to channel constructor. it does not make sense.
479 2009-07-10  Atsushi Enomoto  <atsushi@ximian.com>
481         * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
482           as common interface member, and use binary encoder (not text).
484 2009-07-09  Atsushi Enomoto  <atsushi@ximian.com>
486         * PeerDuplexChannel.cs : PeerNode constructor argument changes.
488 2009-07-08  Atsushi Enomoto  <atsushi@ximian.com>
490         * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
491           PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
492           going to be unified to PeerDuplexChannel. And it is likely that
493           input and output functionalities are to be unified too.
495 2009-07-08  Atsushi Enomoto  <atsushi@ximian.com>
497         * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
498           may have to reuse it for peer transport.
499         * PeerChannelListener.cs : add binding member.
500         * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
502 2009-07-08  Atsushi Enomoto  <atsushi@ximian.com>
504         * ChannelFactoryBase.cs, HttpChannelFactory.cs,
505           PeerChannelFactory.cs : close opened channels at OnClose() as
506           documented. Implement async methods.
507         * PeerChannelListener.cs : removed some NIE overrides.
509 2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>
511         * DuplexChannelBase.cs : some more async methods.
513 2009-06-29  Atsushi Enomoto  <atsushi@ximian.com>
515         * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
516           (almost) no time.
517         * TcpChannelListener.cs : accept multiple channels at a time.
519 2009-06-29  Atsushi Enomoto  <atsushi@ximian.com>
521         * TcpDuplexSessionChannel.cs : do not output all (stored) writer
522           session strings but output only those new ones in current message.
523           This fixes inconsistent body output in repetitive use of sender.
525 2009-06-26  Atsushi Enomoto  <atsushi@ximian.com>
527         * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
528           operation that does not involve session.
529           Preserve writer session as well as reader session.
530         * MessageHeaders.cs : take name and namespace into consideration
531           when creating a serializer.
533 2009-06-25  Atsushi Enomoto  <atsushi@ximian.com>
535         * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
536           Made required changes for repeated use of message exchanges.
537           Hold binary reader session. The channels use it incrementally.
538           Preambles are handled at Open, and EndRecords are handled at
539           Close, Add session shutdown hook here (not working yet though).
541 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
543         * ChannelListenerBase_1.cs : added cancellation hook here too.
544           HttpChannelListener.cs : use above.
545           Do not allow parallel channel creation (this listener does not
546           allow more than one AcceptChannel().
548 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
550         * ReplyChannelBase.cs, HttpReplyChannel.cs :
551           Add cancellation hook for async TryReceiveRequest.
553 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
555         * HttpChannelListener.cs, HttpListenerManager.cs :
556           slightly improved BuildChannelListener().
557           Implement OnAbort() and differentiate it from OnClose().
559 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
561         * TcpDuplexSessionChannel.cs : remove NIE stubs.
563 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
565         * DuplexChannelBase.cs : simple async delegate calls here too.
567 2009-06-16  Atsushi Enomoto  <atsushi@ximian.com>
569         * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
571 2009-06-16  Atsushi Enomoto  <atsushi@ximian.com>
573         * HttpReplyChannel.cs : cosometic simplification.
575 2009-06-16  Atsushi Enomoto  <atsushi@ximian.com>
577         * HttpRequestChannel.cs : Fixed timeout handling. It was causing
578           infinite block in 2.0 profile.
580 2009-06-12  Atsushi Enomoto  <atsushi@ximian.com>
582         * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
583           more careful close to avoid NRE.
585 2009-06-12  Atsushi Enomoto  <atsushi@ximian.com>
587         * HttpChannelListener.cs : do not Close() more than once (though
588           it is allowed to call it twice, we don't reject it; just ignore).
590 2009-06-12  Atsushi Enomoto  <atsushi@ximian.com>
592         * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
594 2009-06-11  Atsushi Enomoto  <atsushi@ximian.com>
596         * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
597           Temporarily disable HTTP Keep-Alive since it somehow results in
598           wrong reuse of connection (shown as NRE in HttpConnection).
599           Make sure to close RequestContext which was created from it.
600         * HttpRequestContext.cs : simplify.
602 2009-06-11  Atsushi Enomoto  <atsushi@ximian.com>
604         * HttpChannelListener.cs, TcpChannelListener.cs,
605           ChannelListenerBase_1.cs : put common internal listener base
606           and let it handle those async stuff.
608 2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>
610         * ReplyChannelBase.cs : fix wrong null delegate check point.
612 2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>
614         * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
615           now implemented as virtual in base class. Remove NIEs in http.
617 2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>
619         * HttpChannelListener.cs : hack async implementation.
621 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
623         * HttpListenerManager.cs : oops, extra line removal.
625 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
627         * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
629 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
631         * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
632           "ChannelManager" is confusing (there is ChannelManagerBase).
634 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
636         * HttpChannelManager.cs, HttpTransportBindingElement.cs,
637           HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
638           they should be split into separate listener->reply channel lines
639           (remove "if (HostingEnvironment.IsAspNet)".)
641 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
643         * CommunicationObject.cs : OnClosed() requires call to base method.
644           Close() could rather abort the channel, and Abort() does not
645           always invke OnAbort().
646         * ChannelBase.cs : add call to base as above.
648 2009-06-05  Sebastien Pouliot  <sebastien@ximian.com>
650         * ClientAccessPolicy.cs: Removed
651         * CrossDomainAccessManager.cs: Removed
652         * CrossDomainPolicy.cs: Removed
653         * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager 
654         since this is now done inside the BeginGetResponse call (outside
655         this assembly) for Moonlight (NET_2_1)
657 2009-06-04  Alan McGovern  <amcgovern@novell.com>
659         * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
660         instead of the sync apis. Prevents a possible deadlock condition in
661         moonlight. 
663 2009-06-03  Atsushi Enomoto  <atsushi@ximian.com>
665         * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
666           callbacks, so add hacky ones.
668 2009-06-01  Atsushi Enomoto  <atsushi@ximian.com>
670         * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
671           true when socket input is not available.
673 2009-05-29  Atsushi Enomoto  <atsushi@ximian.com>
675         * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
676           I cannot precisely identify when EndRecord should be consumed,
677           so allow it at either at the end of ReadSizedMessage() or on
678           consuming preamble (it's likely handling EndRecord of previous
679           message though).
681           Now duplex IPeerResolverContract communication works between
682           either of .NET/Mono client and .NET/Mono server.
684 2009-05-29  Atsushi Enomoto  <atsushi@ximian.com>
686         * TcpDuplexSessionChannel.cs : looks like I have added some bogus
687           code. Handle preamble ack on ReadSizedMessage() only at server.
688           Consume EndRecord from server, at client side. Though it is likely
689           changed as it's blocking when mono is at server side.
691 2009-05-29  Atsushi Enomoto  <atsushi@ximian.com>
693         * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
694           different protocol than existing code with related to preamble ack.
695           So changed it to work fine with .NET client (finally).
697 2009-05-28  Atsushi Enomoto  <atsushi@ximian.com>
699         * MessageBufferImpl.cs : do not output Action twice.
701 2009-05-28  Atsushi Enomoto  <atsushi@ximian.com>
703         * MessageBufferImpl.cs : it did not copy headers.
704         * Message.cs : remove 2_1 conditional implementation for buffered
705           copy and hence remove bogus code.
707 2009-05-28  Atsushi Enomoto  <atsushi@ximian.com>
709         * MessageProperties.cs : copy argument is wrong.
711 2009-05-27  Atsushi Enomoto  <atsushi@ximian.com>
713         * PeerCustomResolverBindingElement.cs : some argument check.
715 2009-05-27  Atsushi Enomoto  <atsushi@ximian.com>
717         * BinaryMessageEncoder.cs : the serializer somehow leaves binary
718           xml open, so close the writer as well as open elements.
719         * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
720           Do not output EndRecord and SizedMessage at a time.
722 2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>
724         * TcpDuplexSessionChannel.cs : there was a miscalculation on the
725           length of the SizedMessage in the output.
727 2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>
729         * CommunicationObject.cs : use sane default timeout.
730         * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
731         * TcpDuplexSessionChannel.cs : ditto.
733 2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>
735         * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
736           only accepts buffered messages, so do as such for write buffers.
737           Add RelatesTo header.
739 2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>
741         * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
742           rename from former to latter.
744 2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>
746         * TcpDuplexSessionChannel.cs : reader does not always return full
747           buffer (depending on the stream).
749 2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>
751         * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
753 2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>
755         * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
756           could be null.
758 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
760         * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
762 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
764         * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
766 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
768         * ChannelManagerBase.cs : fix wrong session channel detection.
770 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
772         * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
773           This encoder factory implements CreateSessionEncoder() and binary
774           encoder does support session transmit, in different media type.
775         * ChannelManagerBase.cs : added utility method to create appropriate
776           encoder.
777         * HttpChannelFactory.cs, HttpChannelListener.cs,
778           MsmqChannelFactory.cs, MsmqChannelListener.cs,
779           PeerChannelFactory.cs, PeerChannelListener.cs,
780           TcpChannelFactory.cs, TcpChannelListener.cs : use above.
782 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
784         * TcpDuplexSessionChannel.cs : add ReplyTo header.
786 2009-05-21  Atsushi Enomoto  <atsushi@ximian.com>
788         * DuplexSessionBase.cs : new file, for session implementation.
789         * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
790           DuplexSessionChannelBase.cs : changed sync/async implementation
791           pattern. Now async methods call sync methods using delegates.
793 2009-05-21  Atsushi Enomoto  <atsushi@ximian.com>
795         * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
796           a few minor API fixes.
798 2009-05-21  Atsushi Enomoto  <atsushi@ximian.com>
800         * MessageEncoderFactory.cs : implement CreateSessionEncoder().
802 2009-05-19  Atsushi Enomoto  <atsushi@ximian.com>
804         * TcpDuplexSessionChannel.cs : add To header.
806 2009-05-19  Atsushi Enomoto  <atsushi@ximian.com>
808         * MessageFault.cs : fix several SOAP12 fault deserialization in xml
809           parsing.
811 2009-05-18  Atsushi Enomoto  <atsushi@ximian.com>
813         * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
815 2009-05-15  Atsushi Enomoto  <atsushi@ximian.com>
817         * MessageFault.cs : Reason is mandatory. raise XmlException, and
818           CommunicationException in each CreateFault().
820 2009-05-15  Atsushi Enomoto  <atsushi@ximian.com>
822         * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
823           Open(). Some (but not all yet) continuous communication works now.
824           Use ProtocolException. Remove dummy binary session string.
826 2009-05-14  Atsushi Enomoto  <atsushi@ximian.com>
828         * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
829           sending/receiving SizedMessageRecord parts to manager class.
830           Handle writer session, though it is likely broken at dictionary
831           writer part (no string is written so far).
832         * BinaryMessageEncoder.cs : add writer session and rename reader
833           session.
835 2009-05-14  Atsushi Enomoto  <atsushi@ximian.com>
837         * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
838           is mandatory in initiator preamble packet. Handle Fault reply in
839           initiator preamble.
841 2009-05-14  Atsushi Enomoto  <atsushi@ximian.com>
843         * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
844           based communication under TcpBinaryFrameManager class.
846 2009-05-13  Jb Evain  <jbevain@novell.com>
848         * MessageHeader.cs: use a SL friendly way of creating an XmlReader
849         from a StringReader.
851 2009-05-13  Atsushi Enomoto  <atsushi@ximian.com>
853         * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
854           actually eliminate DOM-based implementation too in 2.0.
856 2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>
858         * TcpDuplexSessionChannel.cs : implement in-band dictionary support
859           in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
860           comments for magic numbers based on [MC-NMF].
862 2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>
864         * BinaryMessageEncoder.cs : implement part of in-band dictionary
865           support for [MC-NBFSE] record in [MC-NMF], in this class.
867 2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>
869         * BinaryMessageEncodingBindingElement.cs : clear extra public members.
871 2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>
873         * TcpDuplexSessionChannel.cs : implemented some channel methods.
875 2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>
877         * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
879 2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>
881         * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
883 2009-04-23  Atsushi Enomoto  <atsushi@ximian.com>
885         * BinaryMessageEncoder.cs : use quotas in binding element.
886           Implement WriteMessage().
888 2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>
890         * PeerCustomResolverBindingElement.cs : do initialize field.
892 2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
894         * PeerCustomResolverBindingElement.cs :
895           implement full custom resolver.
897 2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
899         * PeerDuplexChannel.cs, PeerChannelListener.cs,
900           PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
901           PeerChannelFactory.cs : ongoing p2p channel implementation.
903 2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
905         * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
907 2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
909         * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
910           ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
911           implement GetProperty<T>(). Return documented objects or null.
913 2009-04-20  Atsushi Enomoto  <atsushi@ximian.com>
915         * PeerChannelFactory.cs, PeerChannelListener.cs,
916           PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
917           PeerInputChannel.cs, PeerOutputChannel.cs :
918           new; ongoing peer transport implementation.
919         * DuplexSessionChannelBase.cs, InputChannelBase.cs
920           MsmqOutputChannel.cs, OutputChannelBase.cs,
921           PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
922           PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
923           several internal changes (either required or for simplification)
924           for ongoing peer transport implementation.
926 2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>
928         * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
930 2009-04-07  Atsushi Enomoto  <atsushi@ximian.com>
932         * TcpTransportBindingElement.cs : check build-ability before
933           actually building channels.
934         * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
935           conditions according to MSDN.
937 2009-03-05  Atsushi Enomoto  <atsushi@ximian.com>
939         * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
940           handle headers in SL2. Slightly changed 3.0 code too.
942 2009-03-04  Atsushi Enomoto  <atsushi@ximian.com>
944         * HttpRequestChannel.cs : use cross domain access manager.
946 2009-02-27  Atsushi Enomoto  <atsushi@ximian.com>
948         * Message.cs : (in CreateBufferedCopy) do not pass the entire
949           message as BodyWriter.
950           (in GetReaderAtBodyContents) just write body contents.
951         * MessageImpl.cs : do not try to read body at ctor (fixed tons
952           of test failures).
953           Add some state check in GetReaderAtBodyContents().
954         * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
956 2009-02-18  Atsushi Enomoto  <atsushi@ximian.com>
958         * Message.cs : do not forget to flush.
959         * HttpRequestChannel.cs : give more exact error info.
961 2009-02-18  Atsushi Enomoto  <atsushi@ximian.com>
963         * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
964           make buffered copy in ML2 really buffered.
966 2009-02-12  Atsushi Enomoto  <atsushi@ximian.com>
968         * Message.cs : if there is no header item to write, do not write
969           SOAP header element.
971 2009-01-22  Alan McGovern  <amcgovern@novell.com>
973         * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
974         Rewrite to avoid usage of it.
976 2009-01-14  Atsushi Enomoto  <atsushi@ximian.com>
978         * ChannelParameterCollection.cs : implement, rather than NIE.
980 2008-05-22  Noam Lampert <noaml@mainsoft.com>
982         * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
983           internal users to know the type of the detail. 
984         
985 2008-05-20  Noam Lampert <noaml@mainsoft.com>
987         * Message.c: Use private setter for state private variable to ease debugging.
988                                  Modify ToString not to change the state, as it is called quite often by VS debugger
989                                  
990 2008-04-21  Roei Erez <roeie@mainsoft.com>
992         * HttpChannleManager: Fix for multithreaded use.
993         * HttpReplyChannel: Fix crash during sutdown.
995 2008-04-17  Igor Zelmanovich <igorz@mainsoft.com>
997         * HttpChannleManager: ensure trailing slash in uri.
999 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1001         * added: HttpChannleManager,
1002         * HttpChannelListener: added use of HttpChannelManager
1004 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1006         * MessageEncodingBindingElement.cs: fixed ctor
1008 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1010         * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1012 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1014         * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1016 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1018         * MessageFault.cs: fixed CreateFault11, implemented "detail"
1020 2008-04-17  Noam Lampert <noaml@mainsoft.com>
1022         * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1024 2008-04-13  Igor Zelmanovich <igorz@mainsoft.com>
1026         * BindingElementCollection.cs: fix API - .ctor's signature.
1028 2008-04-10  Eyal Alaluf <eyala@mainsoft.com>
1030         * XmlSerializerBodyWriter.cs: Removed.
1032 2008-03-25  Vladimir Krasnov  <vladimirk@mainsoft.com>
1034         * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1036 2008-02-20  Atsushi Enomoto  <atsushi@ximian.com>
1038         * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1039         * TcpChannelFactory.cs, TcpChannelListener.cs :
1040           unify factory and listener into TcpChannelInfo for use in
1041           TCP channel implementation. Do not store stream in the listener.
1042           Factory now uses BinaryMessageEncoder.
1043         * TcpDuplexSessionChannel.cs : changes explained above, and now it
1044           holds TcpClient that the listener has accepted.
1046           tcp-transport-binding-element sample now communicates (though
1047           only when both sides are mono: there seems binary mismatch).
1049 2008-02-20  Atsushi Enomoto  <atsushi@ximian.com>
1051         * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1052           clone connection pool settings too.
1053         * NamedPipetransportBindingElement.cs,
1054           NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1055           being likely implemented though).
1057 2008-02-20  Atsushi Enomoto  <atsushi@ximian.com>
1059         * ConnectionOrientedTransportBindingElement.cs, 
1060           TcpTransportBindingElement.cs : some API updates.
1061           Initialize default values.
1062         * TcpConnectionPoolSettings.cs : new file.
1064 2008-02-18  Atsushi Enomoto  <atsushi@ximian.com>
1066         * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1067           added support for "factory" attribute.
1069 2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1071         * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1073 2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1075         * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1077 2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1079         * HttpRequestChannel.cs : create WebRequest against To message header
1080           item (if exists).
1081           Consider HttpRequestMessageProperty.
1082           Do not output body when suppressed or the method is GET.
1084 2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1086         * HttpChannelListener.cs : BindingContext may not have listenUri
1087           at its .ctor() step.
1089 2008-02-08  Atsushi Enomoto  <atsushi@ximian.com>
1091         * BindingContext.cs : RemainingBindingElements is not just a dummy
1092           collection but is actually user-controlled.
1094 2008-02-08  Atsushi Enomoto  <atsushi@ximian.com>
1096         * TcpChannelFactory.cs, TcpChannelListener.cs, 
1097           HttpChannelFactory.cs, HttpChannelListener.cs,
1098           MsmqChannelFactory.cs, MsmqChannelListener.cs,
1099           TextMessageEncodingBindingElement.cs,
1100           BinaryMessageEncodingBindingElement.cs,
1101           MtomMessageEncodingBindingElement.cs :
1102           message encoder should be retrieved only through public API.
1103         * BindingContext.cs : so my old guess was wrong.
1105         See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1107 2008-02-05  Atsushi Enomoto  <atsushi@ximian.com>
1109         * HttpTransportBindingElement.cs : implemented copy constructor.
1111 2007-08-20  Atsushi Enomoto  <atsushi@ximian.com>
1113         * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1114           header when AddressingVersion is None.
1116 2007-08-20  Atsushi Enomoto  <atsushi@ximian.com>
1118         * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1119           property setters.
1121 2007-08-19  Atsushi Enomoto  <atsushi@ximian.com>
1123         * OneWayBindingElementImporter.cs
1124           CompositeDuplexBindingElementImporter.cs : new files.
1126 2007-08-17  Atsushi Enomoto  <atsushi@ximian.com>
1128         * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1129           semantic change, its bool parameter must be false, not true.
1131 2007-07-13  Atsushi Enomoto  <atsushi@ximian.com>
1133         * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1134           new files. Msmq transport listener Implementation.
1135         * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1136           (wait for System.Messaging impl.)
1137         * HttpReplyChannel.cs : added comment
1139 2007-07-06  Atsushi Enomoto  <atsushi@ximian.com>
1141         * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1142           new files. internal stuff for msmq channel.
1143         * BinaryMessageEncoder.cs : added another .ctor().
1144         * MsmqTransportBindingElement.cs :
1145           implemented [Can]BuildChannelFactory().
1147 2007-07-06  Atsushi Enomoto  <atsushi@ximian.com>
1149         * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1150           initialize some fields.
1152 2007-07-05  Atsushi Enomoto  <atsushi@ximian.com>
1154         * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1155           MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1156           couple of msmq stubs.
1158 2007-04-02  Atsushi Enomoto  <atsushi@ximian.com>
1160         * SecureMessageGenerator.cs : SecurityContextToken support (though
1161           it is still regarded as invalid by WCF).
1163 2007-03-13  Atsushi Enomoto  <atsushi@ximian.com>
1165         * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1166           make header.Contents.Add() more strict.
1167           Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1168           or not.
1169           Added some hack to allow ssl token external mode.
1170           Commented out such lines that always premised asymmtric key.
1172 2007-03-08  Atsushi Enomoto  <atsushi@ximian.com>
1174         * TransactionFlowBindingElement.cs : forgot necessary Clone().
1176 2007-03-08  Atsushi Enomoto  <atsushi@ximian.com>
1178         * MessageSecurityBindingSupport.cs : support check to create
1179           authenticator is now done in both initiator/recipient sides.
1180         * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1182 2007-03-07  Atsushi Enomoto  <atsushi@ximian.com>
1184         * MessageSecurityBindingSupport.cs : for now, comment out the code
1185           that makes authenticator creation optional.
1186         * SecurityRequestContext.cs : don't decrypt message when it is
1187           WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1188           to fail).
1189         * SecurityChannelListener.cs : GetProperty<T>() now returns
1190           MessageSecurityBindingSupport when requested. It is used by
1191           EndpointDispatcher to check if it supports WS-Trust negotiation.
1192         * ChannelListenerBase.cs :
1193           removed extra TODO and field. Implemented GetProperty<T>().
1194         * Message.cs : In CreateMessage() for SOAP Fault, create
1195           SimpleMessage with IsFault = true.
1197 2007-03-07  Atsushi Enomoto  <atsushi@ximian.com>
1199         * SecurityRequestContext.cs : try to reply fault with the inner
1200           channel when an error occurred internally.
1201         * FaultConverter.cs : implemented based on OperationContext (at normal
1202           state it does not seem to create messages, so I implemented it this
1203           way).
1205 2007-03-07  Atsushi Enomoto  <atsushi@ximian.com>
1207         * TransportBindingElement.cs : implemented GetProperty<T>().
1208         * TransactionFlowBindingElement.cs : on building factory or listener,
1209           reject channel types that cannot build.
1210         * SecurityBindingElement.cs : added some TODO comments.
1211         * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1212           delegate to base, not BindingContext.
1213         * SecurityRequestContext.cs : somewhat late decryption.
1215 2007-03-06  Atsushi Enomoto  <atsushi@ximian.com>
1217         * MessageSecurityBindingSupport.cs,
1218           AsymmetricSecurityBindingElement.cs,
1219           SymmetricSecurityBindingElement.cs :
1220           renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1221           implemented ISecurityCapabilities on them. Now those binding
1222           elements support GetProperty<ISecurityCapabilities>().
1224 2007-03-05  Atsushi Enomoto  <atsushi@ximian.com>
1226         * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1227           will work only for predefined parameter types.
1229 2007-03-01  Atsushi Enomoto  <atsushi@ximian.com>
1231         * MessageSecurityBindingSupport.cs :
1232           Set proper MessageDirection to the requirement after creation.
1233           split CreateTokenAuthenticator() as MessageDirection is different.
1234           Removed extra creation of requirement.
1236 2007-03-01  Atsushi Enomoto  <atsushi@ximian.com>
1238         * MessageSecurityBindingSupport.cs : token authenticator is not
1239           always created on channel-opening stage.
1240         * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1241           Sslnego binding factory method.
1243 2007-02-28  Atsushi Enomoto  <atsushi@ximian.com>
1245         * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1246           signature velification failure.
1248 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1250         * SecureMessageGenerator.cs : encrypt signature confirmations only
1251           when they are required.
1253 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1255         * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1256           when [Signature Protection is true i.e. when we use
1257           SignBeforeEncryptAndEncryptSignature.
1259           With this change finally samplesvc.cs/samplecli.cs became
1260           interoperable(!)
1262 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1264         * SecureMessageDecryptor.cs : signature verification was not done
1265           for endorsing supporting tokens.
1266         * SecureMessageGenerator.cs : moved SignatureConfirmation position
1267           in the security header. Don't output empty ReferenceList.
1269 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1271         * SecureMessageGenerator.cs : signingToken was added before being
1272           initialized and thus caused NRE.
1274 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1276         * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1277           SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1278           don't need workaround for symmetric key restoration.
1280 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1282         * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1283           SecureMessageGenerator.cs :
1284           Avoid extra reference search from the request's ReferenceList.
1285           create HMACSHA1 always with the key to compute hash (I'm not sure
1286           it is correct; it is rather to adjust all hash consistent.)
1288 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1290         * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1291           actually endorsed the primary signature.
1292         * SecureMessageGenerator.cs : implemented endorsing of the primary
1293           signature. So, now supporting tokens are fully implemented.
1295 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1297         * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1298           totally signing tokens.
1299         * SecureMessageGenerator.cs : Endorsing tokens should also be
1300           included in the message. They are just not signed.
1302 2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>
1304         * SecureMessageGenerator.cs : support signing and encryption of
1305           supporting tokens. Some required refactory to do it.
1306         * MessageSecurityBindingSupport.cs : added EncryptedData member.
1308 2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>
1310         * SecureMessageDecryptor.cs : fix exception message.
1311         * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1312           XmlNamespaceManager is not required for GetIdElement().
1314 2007-02-22  Atsushi Enomoto  <atsushi@ximian.com>
1316         * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1317           moved decryption part from former file to latter file, to reuse
1318           SignedXml instance (though now I doubt how it actually was good)
1319           which in turn required to replace EncryptedData in
1320           WSSecurityMessageHeader with decrypted one.
1321         * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1323 2007-02-21  Atsushi Enomoto  <atsushi@ximian.com>
1325         * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1326           EncryptedData should contain KeyInfo as it is not obvious which key
1327           is used there. .net<->mono DerivedKeyToken introp is done.
1328         * SecureMessageDecryptor.cs : check derived key requirement.
1329           Reduce dom-dependent parts.
1331 2007-02-21  Atsushi Enomoto  <atsushi@ximian.com>
1333         * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1334           the related DerivedKeyToken (if any).
1335         * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1336           support. Some refactoring to distinguish deried-token-related
1337           variables.
1338         * SecureMessageDecryptor.cs : removed its own support for derived
1339           key tokens. Now it fully works with DerivedKeySecurityToken.
1341 2007-02-21  Atsushi Enomoto  <atsushi@ximian.com>
1343         * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1344           SecureMessageDecryptor.cs :
1345           Implemented increment token reading in o:Security, as
1346           DerivedKeyToken could reference to existing wrapped key.
1347           Removed WsscDerivedKeyToken and all relevant code.
1348         * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1349           DerivedKeySecurityToken.
1351 2007-02-16  Atsushi Enomoto  <atsushi@ximian.com>
1353         * SecureMessageGenerator.cs : it was setting security tokens into
1354           incorrect SecurityMessageProperty.
1355           Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1356           Now it uses SecurityRequestContext instead of just primary key.
1357         * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1358           to symmetric reply decryption, which is the only trouble case.
1359           Do not create another SignedXml.
1360         * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1362 2007-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1364         * SecureMessageDecryptor.cs : Now it uses union token resolver and
1365           the resolver works with in-progress token reading in o:Security.
1366         * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1367           as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1368         * SecureMessageGenerator.cs : cosmetic refactoring.
1370 2007-02-14  Atsushi Enomoto  <atsushi@ximian.com>
1372         * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1373           instead of EncryptedKey.
1375 2007-02-13  Atsushi Enomoto  <atsushi@ximian.com>
1377         * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1378           should not be always prepared at channel Open(). It also caused
1379           that extra token requirements.
1380         * SecureMessageGenerator.cs : use correct key clause for encryption.
1381         * SecureMessageDecryptor.cs : reduce extra key acquisition.
1383 2007-02-06  Atsushi Enomoto  <atsushi@ximian.com>
1385         * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1386           for supporting 'supporting tokens' .
1387         * SecureMessageGenerator.cs : Supporting token creation is done only
1388           at initiator (not sure if it is supposed that, but for now it is).
1389           Removed extraneous CollectSupportingTokens().
1390         * SecureMessageDecryptor.cs : implemented supporting token
1391           authentication (partly). "Signed" supporting tokens are expected
1392           to work fine.
1394 2007-02-06  Atsushi Enomoto  <atsushi@ximian.com>
1396         * SecureMessageGenerator.cs :
1397           make SignBeforeEncryptAndEncryptSignature working.
1399 2007-02-06  Atsushi Enomoto  <atsushi@ximian.com>
1401         * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1402           the key itself. ProtectionToken is WrappedKey.
1403         * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1404           not EncryptedKeyIdentifierClause which is not for embedded key.
1405         * MessageProperties.cs : Fixed copy direction in CopyProperties().
1407 2007-02-05  Atsushi Enomoto  <atsushi@ximian.com>
1409         * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1410           to switch asymmetric and symmetric. Not used yet.
1411         * SecurityRequestChannel.cs : now it pass the request security
1412           property to reply receiver so that it could use the primary key
1413           used at request phase.
1414         * SecurityRequestContext.cs : now it pass the context itself to
1415           reply sender so that it could embed related MessageID.
1416         * SecureMessageGenerator.cs : ongoing changes to support symmetric
1417           binding element. Add RelatesTo output and remove MessageID when
1418           replying to the sender. Added some hacks to get symmetric binding
1419           (kind of) working.
1420         * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1421           in SecurityTokenReference (it also involved existing encrypted key 
1422           retrieval). In reply receiver, reuse the key that was used at
1423           request phase. It needs significant token resolution refactoring.
1425 2007-02-02  Atsushi Enomoto  <atsushi@ximian.com>
1427         * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1428         * SecureMessageDecryptor.cs : store token and its authentication
1429           policies into the security property, and reuse it on reply.
1430           Some code refactoring; there is at most one o:Security to solve at
1431           one endpoint (depends on Actor). Some attempt to use correct
1432           token parameters (but for now I have only samples that use x509).
1433         * SecureMessageGenerator.cs : For replying message, use initiator's
1434           signing token as the encryption token. Simply reuse security
1435           property from the input message.
1437           I have some nasty workaround at decryptor for initiator that could
1438           not retrieve decryption key.
1440 2007-02-02  Atsushi Enomoto  <atsushi@ximian.com>
1442         * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1443           SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1444           several refactoring on token acquisition. Large part of
1445           MessageSecurityBindingSupport code is unified.
1447 2007-02-02  Atsushi Enomoto  <atsushi@ximian.com>
1449         * MessageProperties.cs : Security property should be one of the items.
1450           Actually many other properties should be similar as well.
1451         * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1452           when copying a message, copy properties as well.
1453         * SecurityRequestContext.cs : on replying, pass input 
1454           SecurityMessageProperty to the security generator.
1455         * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1456           support.
1457         * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1459 2007-02-01  Atsushi Enomoto  <atsushi@ximian.com>
1461         * WSSignedXml.cs:
1462           MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1463           SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
1464           use new WSSignedXml instead of SignedXml, and remove coexisting
1465           Id and wsu:Id. Now we can live only with wsu:Id and therefore
1466           - our reply messages could be consumed by .NET, and
1467           - .NET signature could be verified.
1469 2007-02-01  Atsushi Enomoto  <atsushi@ximian.com>
1471         * SecureMessageDecryptor.cs : The signing key must be passed as
1472           CheckSignature() argument, not SigningKey.
1474 2007-01-31  Atsushi Enomoto  <atsushi@ximian.com>
1476         * MessageImpl.cs : don't read attribute after ReadStartElement().
1478 2007-01-31  Atsushi Enomoto  <atsushi@ximian.com>
1480         * MessageSecurityBindingSupport.cs : some Release() refactoring.
1481         * SecureMessageGenerator.cs : use correct signing key clause for
1482           SecurityTokenReferenceKeyInfo to be serialized.
1483         * SecureMessageDecryptor.cs : now it can try to parse signature.
1485 2007-01-31  Atsushi Enomoto  <atsushi@ximian.com>
1487         Ongoing changes to support signature confirmation
1488         * SecureMessageGenerator.cs :
1489           Don't output ReplyTo onto reply message.
1490           Write SignatureConfirmation if needed.
1491         * SecureMessageDecryptor.cs :
1492           Some refactoring for header cunsumption. Added commented-out
1493           signature verification part (not working yet, on client side due
1494           to incorrect reply from service and insufficient clause reader).
1495         * WSSecurityMessageHeader.cs :
1496           Added SignatureConfirmation support.
1497           KeyInfoClause for o:SecurityTokenReference should be replaced with
1498           SecurityTokenReferenceKeyInfo.
1500 2007-01-29  Atsushi Enomoto  <atsushi@ximian.com>
1502         * SecureMessageGenerator.cs : support Timestamp signature.
1503           Removed unused code, and extra argument in CreateReference().
1504         * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
1506 2007-01-29  Atsushi Enomoto  <atsushi@ximian.com>
1508         * SecureMessageGenerator.cs :
1509           Several fixes to make asymmetric binding working:
1510           - Differentiate signing and encryption token in several areas.
1511           - Fixed signing keyinfo.
1512           Use SenderIdPrefix.
1513           Added initial SecurityMessageProperty handling, not sure if it is
1514           appropriate here though.
1515         * HttpRequestChannel.cs : (some debugging lines)
1517 2007-01-26  Atsushi Enomoto  <atsushi@ximian.com>
1519         Woohoo! Here is a very basic WS-Security compliant message which could
1520         be allowed by Indigo.
1521         * MessageHeader.cs : added Id support for writing.
1522         * Message.cs : added internal BodyId for signature reference.
1523         * MessageImpl.cs : write Body Id if required.
1524         * SecureMessageGenerator.cs : Before signing, the target elements must
1525           be given wsu:Id. Since I still use System.Security.dll, I need some
1526           trick for signing (I give both Id and wsu:Id, former to sign and
1527           latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
1528           implementation later. Now singning mechanism works except for
1529           wsu:Timestamp (which is kind of mandatory).
1531         I can's still consume replies from Indigo but it's a big progress :)
1533 2007-01-26  Atsushi Enomoto  <atsushi@ximian.com>
1535         * MessageHeaderInfo.cs : added internal Id.
1536         * MessageHeader.cs : read and write wsu:Id.
1537         * Message.cs : output wsu namespace if Id exists in any header.
1538         * HttpReplyChannel.cs : (some debugging lines.)
1539         * SecureMessageDecryptor.cs : (remove debugging lines.)
1540         * MessageImpl.cs : removed obsolete code.
1541         * WSSecurityMessageHeader.cs : output "o" prefix.
1542         * SecureMessageGenerator.cs : replaced XmlElement-based header
1543           signing with MessageHeader-based signing, to support Id correctly.
1545 2007-01-15  Atsushi Enomoto  <atsushi@ximian.com>
1547         * SecureMessageGenerator.cs : some more refactoring and code comments.
1548         * MessageSecurityUtility.cs : made decryptor into an instance class,
1549           like I've done for SecureMessageGenerator.
1550         * SecurityRequestContext.cs, SecurityRequestChannel.cs :
1551           dependent changes for above.
1553 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
1555         * SecureMessageGenerator.cs : fixed derived keysize. derived key was
1556           causing NRE due to the lack of token reference.
1557           No need to pass doc to SignedXml.ctor() anymore.
1558           Moved ReferenceList before the signature(s).
1560 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
1562         * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
1563           Moved signing key generation code to non-HMACSHA1 signing part.
1564           Don't try to sign wss:Security.
1565           Pass document itself to SignedXml.ctor().
1566           Use temporary DataObjects to avoid adding Ids (not sure what is the
1567           expected processing yet).
1568         * WSSecurityMessageHeader.cs : to support timestamp signing, add
1569           WriteTo() method in WsuTimestamp.
1571 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
1573         * SecureMessageGenerator.cs : wrong key was used for signing.
1574           Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
1576 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
1578         * SecureMessageGenerator.cs :
1579           Now ID generation process does not modify input message.
1580           Moved derived key generation part into (virtual) signing loop.
1581           MessagePartSpecification support for signing is done.
1583 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
1585         * SecureMessageGenerator.cs : some reordering to handle signing and
1586           encryption with supporting tokens. Fixed XPath query bug for
1587           soap header contents (we want s:Header/*, not s:Header).
1589 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
1591         * MessageSecurityBindingSupport.cs : more refactoring.
1592           Made it abstract and added Initiator- and Recipient- classes.
1593           Several members were moved to those derived types.
1594         * AsymmetricSecurityBindingElement.cs, 
1595           SymmetricSecurityBindingElement.cs
1596           SecurityChannelFactory.cs, SecurityChannelListener.cs,
1597           SecurityRequestChannel.cs, SecurityOutputChannel.cs,
1598           SecurityRequestContext.cs, SecureMessageGenerator.cs :
1599           All dependent changes by above. Removed ISecurityChannelSource
1600           which became useless.
1602 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
1604         * SecureMessageGenerator.cs : encryption parts should exist too.
1605         * AsymmetricSecurityBindingElement.cs
1606           SymmetricSecurityBindingElement.cs,
1607           MessageSecurityBindingSupport.cs : some refactoring.
1608           Split MessageSecurityBindingSupport into security binding element
1609           specific parts and made MessageSecurityBindingSupport concrete.
1610           It is likely split again, next time based on initiator/recipient.
1612 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
1614         * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
1615           split encryptor part in the former file into latter file, and
1616           make it nonstatic.
1617         * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
1618           SecurityRequestContext.cs : apply the change above.
1620 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
1622         * MessageSecurityBindingSupport.cs :
1623           Fixed incorrect TrgGetValue() use.
1624           Added CollectRecipientSupportingTokens().
1626 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
1628         * MessageSecurityUtility.cs: acctually ReferenceList was inside
1629           EncryptedKey. So, when a key itself is used to encrypt data,
1630           ReferenceList is contained by itself.
1631         * MessageSecurityBindingSupport.cs :
1632           added CollectInitiatorSupportingTokens().
1634 2007-01-10  Atsushi Enomoto  <atsushi@ximian.com>
1636         * MessageSecurityUtility.cs: it should support ReferenceList-less
1637           messages.
1639 2007-01-10  Atsushi Enomoto  <atsushi@ximian.com>
1641         * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
1642         * MessageSecurityUtility.cs : there already was uuid.
1644 2007-01-09  Atsushi Enomoto  <atsushi@ximian.com>
1646         * MessageSecurityUtility.cs : replaced EncryptedKey with
1647           WrappedKeySecurityToken, which seems to be in actual use in .net.
1648         * WSSecurityMessageHeader.cs : added internal Guid so that it
1649           could be shared between header items.
1651 2006-12-14  Atsushi Enomoto  <atsushi@ximian.com>
1653         * HttpRequestContext.cs, TextMessageEncoder.cs :
1654           some null arg check.
1656 2006-12-08  Atsushi Enomoto  <atsushi@ximian.com>
1658         * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
1659           for SecurityTokenReference resolution.
1661 2006-12-08  Atsushi Enomoto  <atsushi@ximian.com>
1663         * MessageSecurityUtility.cs : fixed EncryptedData decryption to
1664           consider DerivedKeyTokens correctly.
1665           When creating LocalId, don't add '#' here.
1667 2006-12-07  Atsushi Enomoto  <atsushi@ximian.com>
1669         * MessageSecurityUtility.cs :
1670           handle key mapping for each wsse:Security.
1672 2006-12-07  Atsushi Enomoto  <atsushi@ximian.com>
1674         * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
1676 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
1678         * WSSecurityMessageHeader.cs : write top-level ReferenceList in
1679           wsse:Security.
1680         * MessageSecurityUtility.cs :
1681           Now ReferenceList is placed under wsse:Security as WS-Security 1.1 
1682           suggests, and it is used to dereference decryption targets.
1683           Now it premises multiple wsse:Security elements to read.
1685 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
1687         * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
1688           manually (and actually the namespace URI was wrong).
1690 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
1692         * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
1693           and reading.
1694         * MessageSecurityUtility.cs : DerivedKeyToken creation.
1696 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
1698         * SecurityBindingElement.cs,
1699           SymmetricSecurityBindingElement.cs,
1700           AsymmetricSecurityBindingElement.cs :
1701           implemented SetKeyDerivation().
1703 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
1705         * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
1706           more than once.
1708 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
1710         * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
1711           don't use it.
1713 2006-12-05  Atsushi Enomoto  <atsushi@ximian.com>
1715         * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
1716           thus move it in front of encryption/signing.
1718 2006-12-04  Atsushi Enomoto  <atsushi@ximian.com>
1720         * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
1721           check state by themselves (btw it's not really working).
1722         * HttpChannelListener.cs : If the url does not end with '/' add it
1723           so that it could be fed to HttpListener.
1725 2006-12-04  Atsushi Enomoto  <atsushi@ximian.com>
1727         * HttpChannelFactory.cs : check scheme on CreateChannel.
1728         * MessageHeader.cs : finish IsMessageVersionSupported().
1730 2006-12-04  Atsushi Enomoto  <atsushi@ximian.com>
1732         * FaultConverter.cs : new file, not used yet though.
1734 2006-10-21  Atsushi Enomoto  <atsushi@ximian.com>
1736         * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
1738 2006-10-20  Atsushi Enomoto  <atsushi@ximian.com>
1740         * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
1741           GET as well as HttpReplyChannel, configuration would be ready now.
1743 2006-10-18  Ankit Jain  <jankit@novell.com>
1745         * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
1746         EnvelopeVersion.Soap12 and 'text/xml' for others.
1747         * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
1748         handling.
1749         Strip '?' from the query string.
1751 2006-10-13  Ankit Jain  <jankit@novell.com>
1753         * MessageVersion.cs (None): Set AddressingVersion.None
1755 2006-10-12  Atsushi Enomoto  <atsushi@ximian.com>
1757         * SvcHttpHandler.cs : added config-based endpoint addition code.
1758           Though due to some weird bug in mono-core it does not seem to work,
1759           so commented out for now.
1760         * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
1761           mex request message might just be wrong.
1762           Use expected MessageVersion by the channel.
1763         * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
1765 2006-10-12  Atsushi Enomoto  <atsushi@ximian.com>
1767         * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
1768           which differs depending on whether it is asymmetric or symmetric.
1769         * SecurityRequestChannel.cs, SecurityRequestContext.cs :
1770           simplify SecureMessage() and DecryptMessage() arguments (just
1771           take MessageSecurityBindingSupport instead of several parameters).
1772         * MessageSecurityUtility.cs :
1773           - simplify SecureMessage() and DecryptMessage() arguments (just
1774             take MessageSecurityBindingSupport instead of several parameters).
1775           - Take token inclusion mode into account. Don't include them when
1776             it is not expected. Also, change the token reference style.
1777           - add wsa:MessageID to the headers.
1778           - For hmac-sha1 signing (default for symmetric binding), use
1779             symmetric key created for encryption as well to create HMACSHA1.
1780           - add Id to wsu:Timestamp.
1781           - start to handle SecurityMessageProperty.
1782         * WSSecurityMessageHeader.cs :
1783           Added Id to WsuTimestamp. Also use prefixes for its XML output.
1784           Changed date format.
1786 2006-10-06  Atsushi Enomoto  <atsushi@ximian.com>
1788         * CommunicationObject.cs : reject faulted state on Open()/Close().
1789         * MessageHeaders.cs : removed extra fields.
1791 2006-10-06  Ankit Jain  <jankit@novell.com>
1793         * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
1795 2006-10-05  Atsushi Enomoto  <atsushi@ximian.com>
1797         * MessageSecurityUtility.cs, SecurityRequestContext.cs :
1798           added some FIXMEs and additional arg.
1800 2006-10-05  Atsushi Enomoto  <atsushi@ximian.com>
1802         * MessageSecurityUtility.cs : remove duplicate Action header.
1804 2006-10-05  Atsushi Enomoto  <atsushi@ximian.com>
1806         * MessageFault.cs : partly implemented CreateFault(Message, int).
1807         * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
1808           handle IsFault correctly in each implementation.
1810 2006-10-04  Ankit Jain  <jankit@novell.com>
1812         * HttpRequestChannel.cs (ProcessRequest): Read till the end.
1814 2006-10-04  Ankit Jain  <jankit@novell.com>
1816         * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
1817         in WebConnectionStream.
1819 2006-10-04  Ankit Jain  <jankit@novell.com>
1821         * MessageHeaders.cs (To): Use GetHeader<string> till
1822         DataContractSerializer gets ISerializable support.
1823         * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
1825 2006-10-04  Ankit Jain  <jankit@novell.com>
1827         * ServiceHostParser.cs (Parse):
1828         (Split): Add some error checks.
1830 2006-10-03  Atsushi Enomoto  <atsushi@ximian.com>
1832         * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
1833         * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
1834         * SslStreamSecurityUpgradeProvider.cs,
1835           SslStreamSecurityUpgradeAcceptor.cs :
1836           new files for Ssl upgrade provider implementation.
1837         * MessageSecurityUtility.cs :
1838           Create proper C14NTransform. Don't use enveloped signature
1839           transform but sign every significant bits. On securing messages
1840           use ChannelProtectionRequirements.
1841         * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
1842           SecureMessage().
1843         * MessageEncoder.cs : fix API (missing constraint).
1844         * WSSecurityMessageHeader.cs : it is MustUnderstand.
1845         * StreamUpgradeProvider.cs : API fix and implemented .ctor().
1846         * AsymmetricSecurityBindingElement.cs : default protection order is
1847           SignBeforeEncryptAndEncryptSignature.
1849 2006-09-29  Ankit Jain  <jankit@novell.com>
1851         * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
1852         ServicHostParser and use that here.
1853         (PrivateBinPath): New.
1854         (GetTypeFromBin): New. Load assembly from PrivateBinPath.
1855         (RemovedCallback): Remove and close the SvcHttpHandler when its
1856         corresponding file (.svc) changes.
1857         * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
1859         * ServiceHostParser.cs : New.
1860         * CachingCompiler.cs : New. Code extracted from
1861         System.Web.Compilation.CachingCompiler
1862         * CompilationException.cs : New. From System.Web.Compilation
1863         * HtmlizedException.cs : New. Likewise.
1865 2006-09-29  Atsushi Enomoto  <atsushi@ximian.com>
1867         * MessageSecurityBindingSupport.cs : For client side, it is always
1868           InitiatorServiceModelSecurityTokenRequirement which should be
1869           created. Fixed wrong client encryption key acquisition.
1871 2006-09-29  Atsushi Enomoto  <atsushi@ximian.com>
1873         * SecurityChannelListener.cs, SecurityRequestContext.cs,
1874           MessageSecurityBindingSupport.cs : made similar changes as factories
1875           to listener so that session channels and input channels would work.
1876           Added authenticator creation.
1878 2006-09-29  Atsushi Enomoto  <atsushi@ximian.com>
1880         * Binding.cs : added missing members.
1882 2006-09-28  Atsushi Enomoto  <atsushi@ximian.com>
1884         * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
1885           MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
1886           reduce code duplication between request and output channels.
1887           The common parts are now in MessageSecurityBindingSupport.
1888           Now reduced several arguments in SecureMessage() for client.
1890 2006-09-28  Atsushi Enomoto  <atsushi@ximian.com>
1892         * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
1894 2006-09-28  Atsushi Enomoto  <atsushi@ximian.com>
1896         * AsymmetricSecurityBindingElement.cs,
1897           SecurityChannelListener.cs,
1898           SecurityRequestContext.cs,
1899           SymmetricSecurityBindingElement.cs,
1900           SecurityRequestChannel.cs,
1901           SecurityOutputChannel.cs,
1902           SecurityChannelFactory.cs,
1903           MessageSecurityBindingSupport.cs : 1) Refactoring. 
1904           IMessageSecurityBindingSupport now becomes a class and contains
1905           all the members which resided in ISecurityChannelSource.
1906           Now it takes more constructor params.
1907           Made dependent changes on all sources above.
1909           2) Added SecurityTokenAuthenticator creation in
1910           SecurityRequestChannel (SecurityOutputChannel should do the same).
1912 2006-09-27  Atsushi Enomoto  <atsushi@ximian.com>
1914         * SecurityRequestChannel.cs : ongoing improvements on conditional
1915           key creation. Actually there must be some part that creates an
1916           authenticator (WinFX does that).
1918 2006-09-27  Ankit Jain  <jankit@novell.com>
1920         Add suport for handling .svc files.
1921         * SvcHttpHandlerFactory.cs: New.
1922         * SvcHttpHandler.cs: New.
1924         * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
1925         asp.net environment.
1926         (OnOpen): Do nothing in asp.net environment.
1927         (OnClose): Likewise.
1928         * HttpReplyChannel.cs (HttpRequestContext): Move to ..
1929         * HttpRequestContext.cs: .. here.
1931         * AspNetReplyChannel.cs: New.
1932         * AspNetRequestContext.cs: New.
1934 2006-09-26  Atsushi Enomoto  <atsushi@ximian.com>
1936         * MessageSecurityUtility.cs :
1937           Significantly rewritten decryption parts to respect ReferenceList
1938           to decrypt (so no workaround anymore).
1939           Now e:ReferenceList inside o:Security is treated as the referenced
1940           EncryptedType items are encrypted by 1) the derived key which is
1941           immediately in front of it, or 2) the default key (it is according
1942           to WS-SecureConversation section 9.1). Thus removed immediately
1943           previous hack to auto-fill wsu:Id attributes.
1945           On securing a message, generate correct Id and add DataReference
1946           to ReferenceList properly.
1948 2006-09-26  Atsushi Enomoto  <atsushi@ximian.com>
1950         * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
1951           practically used.
1953 2006-09-26  Atsushi Enomoto  <atsushi@ximian.com>
1955         * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
1956           Actually WSSecurityTokenSerializer should be able to consume it, but after
1957           spending a lot of time I still cannot successfully read it on WinFX.
1958           Skip ReferenceList for now.
1959         * MessageSecurityUtility.cs :
1960           Replaced some string literals with constants.
1961           Added some workaround for DerivedKeyToken retrieval.
1962           WinFX somehow sends incomplete ISO10126 padding which contains
1963           bigger number than the key size and is rejected by EncryptedXml,
1964           so added DecryptLax() which processes such ones in PaddingMode.None
1965           to workaround it (only for cross-connection between mono and winfx).
1966           Added some incomplete implicit wsu:Id processing.
1967           Don't try to replace SignedXml with EncryptedData. It is not added
1968           to the document tree.
1970 2006-09-25  Atsushi Enomoto  <atsushi@ximian.com>
1972         * MessageSecurityUtility.cs : support message signature encryption. Some
1973           more refactoring.
1975 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
1977         * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
1979 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
1981         * MessageSecurityUtility.cs : fix warnings.
1983 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
1985         * MessageSecurityUtility.cs : actually there would be more than one
1986           EncryptedData. Decrypt all.
1988 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
1990         * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
1991           Use ISO10126 padding mode (it is not required but in manner).
1993 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
1995         * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
1996           fixed, remove 16 bytes workaround (we still need encryption bugfix in
1997           that class to make it work fine with mono client).
1998           Removed buggy lines that reset decryption key to AES.
1999           Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2000         * WSSecurityMessageHeader.cs :
2001           (SecurityTokenReferenceKeyInfo) support LoadXml.
2003 2006-09-20  Atsushi Enomoto  <atsushi@ximian.com>
2005         * TransactionMessageProperty.cs : new file.
2007 2006-09-20  Atsushi Enomoto  <atsushi@ximian.com>
2009         * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2010           gmcs happened to report wrong code.
2012 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2014         * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2015           .ctor() now requires ChannelProtectionRequirements which will be
2016           supplied via BindingParameterCollection.
2017         * SymmetricSecurityBindingElement.cs,
2018           AsymmetricSecurityBindingElement.cs : thus add
2019           ChannelProtectionRequirement parameter to factory/listener.
2020         * SecurityRequestChannel.cs : use recipient token requirement to
2021           create an encryption token. Thus differentiate the logic from
2022           signing (initiator) token.
2024 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2026         * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2027           renamed former to latter.
2028         * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2029           ditto.
2031 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2033         * MessageSecurityBindingSupport.cs : new internal types to commonize
2034           AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2035           and thus make internal factory and listener reusable.
2036         * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2037           SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2038           SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2039           SymmetricSecurityBindingElement, using the new types above.
2040         * SymmetricSecurityBindingElement.cs :
2041           Use SymmetricMessageSecurityBindingSupport.
2042         * AsymmetricSecurityBindingElement.cs :
2043           thus implemented, using AsymmetricMessageSecurityBindingSupport.
2045 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2047         * ChannelFactoryBase.cs : more RC1 update.
2049 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2051         * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2052           TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2053         * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2054           ChannelBase.cs : RC1 API updates.
2055         * MessageImpl.cs : implemented Properties.
2056         * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2058 2006-09-18  Ankit Jain  <jankit@novell.com>
2060         * MessageHeaders.cs (MessageId):
2061         (RelatesTo): UniqueId is not serializable, serialize it as a string.
2063 2006-09-17  Atsushi Enomoto  <atsushi@ximian.com>
2065         * ChannelParameterCollection.cs : new file.
2066         * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2067           new files for IOutputChannel implementation.
2068         * OneWayBindingElement.cs : hacky implementation.
2069         * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2070         * MessageSecurityUtility.cs : now create identifier from the security
2071           token and the token parameters which is added as an argument.
2072         * SecurityRequestContext.cs,
2073           SecurityRequestChannel.cs : SecureMessage() argument changes.
2074           Set MessageSecurityVersion (SecurityTokenVersion) to the token
2075           requirement.
2077 2006-09-17  Atsushi Enomoto  <atsushi@ximian.com>
2079         * HttpRequestChannel.cs : close the HttpWebRequest.
2081 2006-09-17  Atsushi Enomoto  <atsushi@ximian.com>
2083         * HttpRequestChannel.cs,
2084           HttpChannelFactory.cs : implement async request/reply.
2085         * HttpChannelFactory.cs :
2086           verify factory state when creating a channel.
2088 2006-09-17  Atsushi Enomoto  <atsushi@ximian.com>
2090         * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2091           BinaryMessageEncoder.cs : added message version mismatch check.
2093 2006-09-15  Atsushi Enomoto  <atsushi@ximian.com>
2095         * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2096           Making incomplete changes to handle different tokens for encryption
2097           and signature.
2098         * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2099           split channel implementation classes out to the latter file.
2100         * MessageSecurityUtility.cs : seems like there is
2101           TimeStampValidityDuration property, so use it (incomplete; a server
2102           needs another love).
2104 2006-09-12  Atsushi Enomoto  <atsushi@ximian.com>
2106         * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2107           SecurityRequestContext.cs : now that we have key identifier clause
2108           and working ResolveKeyIdentifierClause(), just create keys inside
2109           SecureMessage(). Add KeyInfo to the xmldsig.
2111 2006-09-12  Atsushi Enomoto  <atsushi@ximian.com>
2113         * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2114           pass SecurityKeyIdentifierClause to SecureMessage().
2115         * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2116           for IssuedToken binding element.
2117         * SymmetricSecurityChannelListener.cs : removed hack to just create
2118           X509 security token, and implemented correct token creation.
2119         * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2120           wraps SecurityTokenReference element.
2121         * MessageSecurityUtility.cs : use the above.
2123 2006-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2125         * MessageSecurityUtility.cs : raise MessageSecurityException when it
2126           could not find a security header.
2127         * SymmetricSecurityChannelFactory.cs : now it also supports
2128           IRequestSessionChannel. Extracted SecurityRequestChannel out from
2129           the factory type.
2131 2006-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2133         * SecurityRequestContext.cs : moved securing message part to
2134           MessageSecurityUtility.cs.
2135         * MessageSecurityUtility.cs : the change above.
2136           use DateTime.Now for timestamp basis. Don't append signature to
2137           the document. Instead it is added to the header. Capture body
2138           content instead of the body itself.
2139         * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2140           be processed by upper layers.
2142 2006-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2144         * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2145           SymmetricSecurityChannelListener.cs,
2146           SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2147           more refactoring. Request serialization became much more conformant
2148           and add required header items.
2149           Security Token retrieval is needed to send it in the request.
2150           Fixed wrong key encryption.
2152 2006-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2154         * SecurityRequestContext.cs : the workaround was not functional.
2156 2006-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2158         * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2159           API, especially ReplaceData(), instead of native crypto stuff.
2160         * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2161           MessageProtectionOrder.SignBeforeEncrypt).
2163 2006-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2165         * SecurityRequestContext.cs : label should be combined of both
2166           the client's and the server's.
2168 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2170         * SecurityRequestContext.cs : enable key derivation (though for now
2171           GenerateDerivedKey() is unimplemented). Create meaningful,
2172           decrypted request message to be consumed by the upper layer.
2174 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2176         * SecurityRequestContext.cs : implement Close() and Reply().
2177           ongoing implementation of Reply(TimeSpan).
2178         * MessageSecurityUtility.cs : new file to collect utility methods.
2179         * SymmetricSecurityChannelFactory.cs : moved securing message code
2180           to the above file.
2181         * SymmetricSecurityChannelListener.cs : tiny renaming.
2183 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2185         * SecurityRequestContext.cs : security header is also stored.
2186           removed NotImpl.
2187         * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2188           as well.
2190 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2192         * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2193           message.
2195 2006-09-05  Atsushi Enomoto  <atsushi@ximian.com>
2197         * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2198           so that it retrieves the security key in that manner.
2200 2006-09-05  Atsushi Enomoto  <atsushi@ximian.com>
2202         * Binding.cs : MessageVersion is null when there is no
2203           MessageEncodingBindingElement.
2204         * Message.cs : null arg check.
2206 2006-09-05  Atsushi Enomoto  <atsushi@ximian.com>
2208         * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2210 2006-09-04  Atsushi Enomoto  <atsushi@ximian.com>
2212         * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs, 
2213           LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2214           LayeredRequestChannel.cs : some refactoring.
2215         * SymmetricSecurityChannelFactory.cs :
2216           ongoing secure message creation implementation.
2218 2006-09-01  Atsushi Enomoto  <atsushi@ximian.com>
2220         * SymmetricSecurityBindingElement.cs :
2221           pass specific ServiceCredentialsSecurityTokenManager type to
2222           SymmetricSecurityChannelListener as it needs ServiceCertificate.
2223         * SymmetricSecurityChannelListener.cs :
2224           get service certificate. It's a temporary hack.
2225           Move RequestContext code to below.
2226         * SecurityRequestContext.cs : new file.
2227         * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2228           it I have to finish decryption of the incoming message.
2230 2006-08-31  Atsushi Enomoto  <atsushi@ximian.com>
2232         * MessageImpl.cs : don't write attributes on the first body content
2233           element *on soap Body element*.
2234         * MessageBufferImpl.cs : don't throw ArgumentNullException.
2235           ObjectDisposedException is appropriate.
2236         * MessageHeader.cs : (RawMessageHeader) don't write element itself
2237           in OnWriteHeader*Contents*().
2239 2006-08-31  Atsushi Enomoto  <atsushi@ximian.com>
2241         * WSSecurityMessageHeader.cs : new file.
2242         * SymmetricSecurityChannelFactory.cs :
2243           moved WSSecurityHeader and related types to the above.
2244         * SymmetricSecurityChannelListener.cs :
2245           reject SOAP-env-less message.
2247 2006-08-31  Atsushi Enomoto  <atsushi@ximian.com>
2249         * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2250           renamed former to latter.
2251         * SymmetricSecurityChannelFactory.cs :
2252           create requirements every time. It is also likely that I need
2253           another requirement instance to get service credentials here.
2255 2006-08-30  Atsushi Enomoto  <atsushi@ximian.com>
2257         * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2258           similar to BuildChannelFactory() (set credentials, issuer binding
2259           context etc.).
2260         * SecurityChannelListener.cs :
2261           more ongoing security support implementation.
2262         * SymmetricSecurityChannelFactory.cs :
2263           moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2265 2006-08-29  Atsushi Enomoto  <atsushi@ximian.com>
2267         * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2268           Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2269           Implementation is underway.
2270         * LayeredReplyChannel.cs :
2271           like LayeredRequestChannel, use ChannelListenerBase to provide
2272           default timeouts.
2274 2006-08-29  Atsushi Enomoto  <atsushi@ximian.com>
2276         * MessageHeader.cs : added another implementation type that uses
2277           XmlElement, for buffering purpose.
2278         * MessageImpl.cs : Header item types are user-driven by
2279           MessageHeader.GetHeader<T>(int), so at storing phase just store
2280           nodes as XmlElement.
2281         * MessageHeaders.cs : avoid dumping XmlNode to string to create
2282           another XmlReader.
2284 2006-08-28  Atsushi Enomoto  <atsushi@ximian.com>
2286         * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2287           BindingParameterCollection, not from binding element properties.
2289 2006-08-28  Atsushi Enomoto  <atsushi@ximian.com>
2291         * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2292           renamed former to latter.
2294 2006-08-25  Atsushi Enomoto  <atsushi@ximian.com>
2296         * SecurityBindingElement.cs : SetIssuerBindingContext should also
2297           work for SslSecurityTokenParameters.
2299 2006-08-24  Atsushi Enomoto  <atsushi@ximian.com>
2301         * SecurityBindingElement.cs :
2302           Added SetIssuerBindingContextIfRequired().
2303         * SecurityChannelFactory.cs :
2304           Changed .ctor() arg again, just to receive binding element.
2305         * SymmetricSecurityBindingElement.cs :
2306           Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2307           SymmetricSecurityChannelFactory .ctor() arg changes.
2308           "ProtectionTokenParameters" is not passed now.
2310 2006-08-23  Atsushi Enomoto  <atsushi@ximian.com>
2312         * SymmetricSecurityBindingElement.cs : requirements should be
2313           filled at InitializeSecurityTokenParameters as long as possible.
2314           SymmetricSecurityChannelFactory<T> now does not receive
2315           requirements (it now creates one inside it) at .ctor().
2316         * SecurityChannelFactory.cs : remove requirement argument.
2318 2006-08-23  Atsushi Enomoto  <atsushi@ximian.com>
2320         * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2322 2006-08-22  Atsushi Enomoto  <atsushi@ximian.com>
2324         * SymmetricSecurityBindingElement.cs :
2325           MessageSecurityVersion property is of type SecurityTokenVersion.
2326         * SecurityBindingElement.cs :
2327           Implemented CreateSecureConversationBindingElement().
2328           For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2329           the argument IssuedSecurityTokenParameters itself.
2331 2006-08-22  Atsushi Enomoto  <atsushi@ximian.com>
2333         * SymmetricSecurityBindingElement.cs :
2334           CreateSecurityTokenManager() can be directly used now. 
2335           Use CallInitializeSecurityTokenRequirement() to fill requirement
2336           properties.
2338 2006-08-16  Atsushi Enomoto  <atsushi@ximian.com>
2340         * ChannelFactoryBase.cs : GetProperty() is virtual.
2342 2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
2344         * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2345           create token manager, token parameters and token requirements,
2346           and fill some requirements.
2347         * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2348           TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2349         * BindingContext.cs : implemented RemainingBindingElements.
2350           kill "no remaining binding element" error in GetInnerProperty()
2351         * SecurityChannelFactory.cs : now it became 
2352           SymmetricSecurityChannelFactory, thus soon to be renamed.
2353           Several ongoing actual security resolution is on.
2355 2006-08-11  Atsushi Enomoto  <atsushi@ximian.com>
2357         * CommunicationObject.cs :
2358           add GetCommunicationObjectType() and use it.
2359         * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2360           use ThrowIfDisposedOrNotOpen().
2361         * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2362           to CommunicationObject. Make it IDisposable.
2363         * LayeredRequestChannel.cs : use above.
2364         * SecurityChannelFactory.cs : removed state check as it is done at
2365           above class.
2367 2006-08-10  Atsushi Enomoto  <atsushi@ximian.com>
2369         * SecurityBindingElement.cs : (CanBuildChannelFactory and
2370           CanBuildChannelListener) directly dispatch to BindingContext.
2371         * SymmetricSecurityBindingElement.cs : require protection token
2372           parameters before building a channel or a listener.
2373         * ChannelFactoryBase.cs : raise an error when a channel is being
2374           created without opening the factory.
2375         * ChannelListenerBase_1.cs : ditto for the listener.
2376         * SecurityChannelFactory.cs : before sending a request, it must be
2377           opened.
2379 2006-08-07  Atsushi Enomoto  <atsushi@ximian.com>
2381         * MessageBufferImpl.cs : initialize fields.
2382           workaround BufferSize just to return 0.
2383         * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2384           which does not support multi time write.
2385         * Message.cs : implemented State.
2387 2006-08-07  Atsushi Enomoto  <atsushi@ximian.com>
2389         * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2390           is consuming XmlReader.
2391           Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2392         * MessageBuffer.cs : implemented CreateNavigator().
2393         * MessageBufferImpl.cs : added XPathMessageBuffer class.
2395         I kinda know that MS heavily depends on binary XmlReader and may have
2396         XPathNavigator implementation based on the binary stuff, but at
2397         least for now we have almost no motivation to mimick it.
2399 2006-08-07  Atsushi Enomoto  <atsushi@ximian.com>
2401         * SecurityChannelFactory.cs : a bit more of security header code.
2403 2006-08-04  Atsushi Enomoto  <atsushi@ximian.com>
2405         * SymmetricSecurityBindingElement.cs :
2406           set default MessageProtectionOrder in every construction.
2408 2006-08-03  Atsushi Enomoto  <atsushi@ximian.com>
2410         * LayeredRequestChannel.cs, SecurityChannelFactory.cs : 
2411           changed to require ChannelFactoryBase to support default timeout.
2412           Made some methods non-virtual. Preparing code to add security
2413           headers (empty yet).
2414         * SecurityBindingElement.cs : implemented several factory methods
2415           that return SymmetricSecurityBindingElement.
2417 2006-08-02  Atsushi Enomoto  <atsushi@ximian.com>
2419         * IStreamUpgradeBindingElement.cs,
2420           StreamUpgradeBindingElement.cs : renamed from former to latter.
2422 2006-08-02  Atsushi Enomoto  <atsushi@ximian.com>
2424         * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2426 2006-07-31  Ankit Jain  <jankit@novell.com>
2428         * MessageHeaders.cs (From): Use Constants.WSA1
2429         (MessageId): Implement the same pattern as other properties (From etc).
2431 2006-07-28  Atsushi Enomoto  <atsushi@ximian.com>
2433         * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2434         * SecurityBindingElement.cs : some cosmetic changes.
2436 2006-07-28  Atsushi Enomoto  <atsushi@ximian.com>
2438         * SecurityBindingElement.cs : LocalClientSettings and 
2439           LocalServiceSettings returns an instance for each.
2440         * LocalClientSecuritySettings.cs : initialized fields.
2442 2006-07-28  Atsushi Enomoto  <atsushi@ximian.com>
2444         * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2445           kinda implemented Clone() just with MemberwiseClone().
2447 2006-07-27  Ankit Jain  <jankit@novell.com>
2449         * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2450         * MessageHeader.cs (knownTypes): New. Known type array containing
2451         EndpointAddress10.
2452         (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2454 2006-07-21  Atsushi Enomoto  <atsushi@ximian.com>
2456         * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2457           LayeredCommunicationObject.cs,
2458           SecurityChannelFactory.cs, SecurityChannelListener.cs :
2459           new files to support security channels, though right now they
2460           just pass inner channels through.
2461         * SymmetricSecurityBindingElement.cs : use above.
2463 2006-07-21  Atsushi Enomoto  <atsushi@ximian.com>
2465         * AsymmetricSecurityBindingElement.cs,
2466           SymmetricSecurityBindingElement.cs :
2467           Default SecurityTokenParameters is null.
2469 2006-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2471         * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
2473 2006-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2475         * Message.cs : When EnvelopeVersion is None, don't write SOAP
2476           envelope.
2477         * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
2478         * MessageHeaders.cs : When EnvelopeVersion is None, don't output
2479           headers. When AddressingVersion is None, don't output addressing
2480           headers as well, except for Action which is still needed by
2481           service dispatcher.
2483 2006-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2485         * MessageHeaders.cs : changed specific properties to find it from
2486           headers as Action property does (local variables won't be set by
2487           setter). Cache serializers. Check null serializer arguments.
2488           For EndpointAddress, GetHeader<T>() shouldn't use serializer.
2490 2006-07-19  Atsushi Enomoto  <atsushi@ximian.com>
2492         * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
2493           use XmlObjectSerializer (since it is not data contract type).
2495 2006-07-18  Atsushi Enomoto  <atsushi@ximian.com>
2497         * MessageImpl.cs : Improved ReadHeaders().
2498           For certain header items, use EndpointAddress.ReadFrom().
2500 2006-07-18  Atsushi Enomoto  <atsushi@ximian.com>
2502         * AsymmetricSecurityBindingElement.cs :
2503           it is not ISecurityCapabilities anymore.
2505 2006-07-18  Atsushi Enomoto  <atsushi@ximian.com>
2507         * MessageVersion.cs : added None.
2509 2006-07-14  Atsushi Enomoto  <atsushi@ximian.com>
2511         * Message.cs : GetReaderAtBodyContents() implementation using
2512           writer methods.
2514 2006-07-13  Atsushi Enomoto  <atsushi@ximian.com>
2516         * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
2517           used MessageVersion.Default.
2519 2006-07-12  Duncan Mak  <duncan@novell.com>
2521         * MessageBuffer.cs (MessageContentType): Return
2522         "application/soap+msbin1".
2524         * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
2525         (SimpleMessage.OnCreateBufferedCopy):
2526         (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
2527         MessageBuffer implementations.
2529         * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
2530         (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
2531         (XmlReaderMessageBuffer): Used by XmlReaderMessage.
2533 2006-07-12  Atsushi Enomoto  <atsushi@ximian.com>
2535         * MessageImpl.cs : Action should be added in request messages. Omit
2536           it only in reply message, thus moved to dispatcher logic.
2538 2006-07-12  Ankit Jain  <jankit@novell.com>
2540         * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
2541         bug in WebConnectionStream.
2542         * MessageHeaders.cs (MessageHeaders.From):
2543         (MessageHeaders.ReplyTo):
2544         (MessageHeaders.To): Add the corresponding MessageHeader on set.
2546 2006-07-11  Atsushi Enomoto  <atsushi@ximian.com>
2548         * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
2549           add SOAP Action to the response at any time.
2551 2006-07-10  Atsushi Enomoto  <atsushi@ximian.com>
2553         * SymmetricSecurityBindingElement.cs,
2554           SecurityBindingElement.cs : They are not ISecurityCapabilities now.
2555           Implemented .ctor() and some properties.
2557 2006-07-10  Atsushi Enomoto  <atsushi@ximian.com>
2559         * TransactionFlowBindingElement.cs : new file.
2560         * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
2562 2006-07-06  Atsushi Enomoto  <atsushi@ximian.com>
2564         * MessageFault.cs :
2565           DefaultAction vanished. CreateFault() now takes bufferSize arg.
2566         * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
2567         * AddressingVersion.cs : added None. Equals() and GetHashCode()
2568           vanished (there is anyways no way to instantiate this type).
2569         * MessageVersion.cs : added Soap11 and Soap12.
2570         * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
2571           in June CTP. goodie.
2573 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2575         * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
2576           removed some vanished CreateMessage() overloads.
2578 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2580         * CustomBinding.cs, HttpsTransportBindingElement.cs, 
2581           HttpTransportBindingElement.cs :
2582           They are not ISecurityCapabilities anymore.
2583           Modified code to match June CTP behavior.
2585 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2587         * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
2589 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2591         * EmptyFaultException.cs : removed unused code.
2592         * IRequestContext.cs, RequestContext.cs : renamed former to latter.
2594 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2596         * LayeredChannelFactory.cs : removed obsolete class.
2597         * ChannelFactoryBase.cs, HttpChannelFactory.cs,
2598           ChannelListenerBase.cs, HttpChannelListener.cs,
2599           HttpReplyChannel.cs, ChannelManagerBase.cs :
2600           all those changes were brought by ChannelManagerBase changes.
2602 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2604         * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
2605           CommunicationObject.cs, HttpChannelListener.cs,
2606           ChannelFactoryBase.cs :
2607           CommunicationObject abstract changes brought this madness.
2609 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2611         * BindingContext.cs : listenUri address parameters could be null in
2612           June CTP.
2614 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2616         * IRequestContext.cs :
2617           Now it became a class. File renaming will follow soon.
2618         * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
2619           IDuplexChannel.cs, IDuplexSessionChannel.cs,
2620           IOutputChannel.cs, IOutputSessionChannel.cs,
2621           IRequestChannel.cs, IRequestSessionChannel.cs :
2622           They are not IDisposable anymore.
2623           For IReplyChannel, IRequestContext -> RequestContext.
2624         * IChannelListener.cs : removed Identity. Added GetProperty().
2625         * ChannelListenerBase.cs, ChannelListenerBase.cs,
2626           ReplyChannelBase.cs, HttpReplyChannel.cs :
2627           Several members disappeared, and dependent changes.
2628         * HttpTransportBindingElement.cs,
2629           HttpChannelListener.cs, :
2630           ChannelListenerBase.SharedChannelListener vanished.
2632 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
2634         * MessageEncodingBindingElement.cs
2635           MtomMessageEncodingBindingElement.cs,
2636           TextMessageEncodingBindingElement.cs,
2637           BinaryMessageEncodingBindingElement.cs :
2638           June CTP updates: AddressingVersion -> MessageVersion.
2639         * Binding.cs : June CTP. MessageVersion is added.
2640         * ChannelBase.cs, BindingContext.cs, IChannel.cs
2641           ChannelListenerBase_1.cs,
2642           ChannelListenerBase.cs, IChannelListener.cs,
2643           IChannelFactory.cs,
2644           ChannelFactoryBase.cs, ChannelManagerBase.cs :
2645           June CTP. Several interface changes.
2646         * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
2647         * IChannelManager.cs, LayeredChannelListener.cs,
2648           GenericWrapperChannelFactory.cs,
2649           GenericWrapperChannelListener.cs : They are not used anymore.
2651 2006-07-04  Atsushi Enomoto  <atsushi@ximian.com>
2653         * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
2654           sync fix with June CTP API updates.
2656 2006-07-03  Ankit Jain  <jankit@novell.com>
2658         * MessageEncodingBindingElementConverter.cs:
2659         * StandardBindingConverter.cs:
2660         * TransportBindingElementConverter.cs:
2661         * TransactionFlowBindingElementConverter.cs:
2662         * ReliableSessionBindingElementConverter.cs:
2663         * SecurityBindingElementConverter.cs:
2664         Rename *Converter.cs to *Importer.cs
2666         * TransferMode.cs: Move to System.ServiceModel
2668 2006-06-22  Atsushi Enomoto  <atsushi@ximian.com>
2670         * CommunicationObject.cs : make sure to change State before
2671           OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
2673 2006-06-20  Atsushi Enomoto  <atsushi@ximian.com>
2675         * Message.cs : output WSAddressing xmlns only when Action is
2676           specified (To should be affected, but seems like it is ignored).
2678 2006-06-20  Atsushi Enomoto  <atsushi@ximian.com>
2680         * MessageImpl.cs : don't set Action when it is null.
2682 2006-06-12  Ankit Jain  <jankit@novell.com>
2684         * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
2686 2006-05-29  Atsushi Enomoto  <atsushi@ximian.com>
2688         * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
2689           some updated API fixes.
2691 2006-05-29  Atsushi Enomoto  <atsushi@ximian.com>
2693         * EnvelopeVersion.cs : moved back to S.SM.
2695 2006-05-29  Atsushi Enomoto  <atsushi@ximian.com>
2697         * IBindingManualAddressing.cs : vanished in beta2.
2698         * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
2699           LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
2700           namespace changes.
2701         * SecurityBindingElement.cs :
2702           SecurityStandardsManager -> SecurityTokenSerializer.
2704 2006-05-29  Atsushi Enomoto  <atsushi@ximian.com>
2706         * XmlSerializerBodyWriter.cs : new file to handle 
2707           TypedMessageConverter.ToMessage().
2709 2006-04-26  Ankit Jain  <jankit@novell.com>
2711         * TransportBindingElementConverter.cs (BeforeImport): Remove
2712         NotImplementedException.
2713         (ImportContract): Likewise.
2714         * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
2716 2006-04-14  Atsushi Enomoto  <atsushi@ximian.com>
2718         * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder 
2719           being used was not reflecting that of Binding elements.
2721 2006-04-07  Atsushi Enomoto  <atsushi@ximian.com>
2723         * HttpReplyChannel.cs : when SOAP action is not set as a header item,
2724           just assume that it is in the message.
2726 2006-04-06  Atsushi Enomoto  <atsushi@ximian.com>
2728         * HttpReplyChannel.cs : actually HTTP header item might be null.
2730 2006-04-06  Atsushi Enomoto  <atsushi@ximian.com>
2732         * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
2733           header.
2735 2006-04-06  Atsushi Enomoto  <atsushi@ximian.com>
2737         * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
2739 2006-04-06  Atsushi Enomoto  <atsushi@ximian.com>
2741         * MessageFault.cs : Fixed SOAP12 reason output.
2743 2006-04-05  Atsushi Enomoto  <atsushi@ximian.com>
2745         * HttpReplyChannel.cs : no need to set response ContentEncoding since
2746           MessageEncoder.ContentType explicitly contains encoding.
2747         * AddressingVersion.cs : added ActionNotSupported property. Not sure
2748           if it is SOAP version dependent.
2750 2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>
2752         * HttpReplyChannel.cs : actually I could just workaround bug #77816.
2754 2006-03-16  Atsushi Enomoto  <atsushi@ximian.com>
2756         * HttpChannelFactory.cs BindingContext.cs
2757           HttpChannelListener.cs HttpTransportBindingElement.cs :
2758           Now BindingContext holds MessageEncoder, and non-custom
2759           channel factory/listener should use it.
2760         * MtomMessageEncodingBindingElement.cs
2761           TextMessageEncodingBindingElement.cs
2762           BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
2763           -Listener() now sets internal BindingContext.MessageEncoder.
2764           Fixed some public API.
2766 2006-03-15  Atsushi Enomoto  <atsushi@ximian.com>
2768         * BindingContext.cs : CanBuildChannelXXX() should not raise error
2769           for insufficient elements.
2770         * DispatchRuntime.cs : OperationDescription name is not action. So
2771           OperationSelector is created by name, not by action.
2772         * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
2774 2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>
2776         * MessageFaultBodyWriter.cs
2777           XmlReaderBodyWriter.cs
2778           XmlObjectSerializerBodyWriter.cs : made internal.
2779         * SecurityBindingElement.cs
2780           AsymmetricSecurityBindingElement.cs
2781           SymmetricSecurityBindingElement.cs : API fixes.
2782         * TransportBindingElementConverter.cs : ditto.
2783         * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
2784         * WindowsStreamSecurityBindingElement.cs
2785           SslStreamSecurityBindingElement.cs
2786           TransportSecurityBindingElement.cs : new files.
2788 2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>
2790         * MessageImpl.cs : according to the W3C REC, mustUnderstand when
2791           reading can be any xs:boolean value.
2793 2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>
2795         * Message.cs MessageImpl.cs : more sorting out the role of each
2796           write method.
2797         * MessageHeader.cs : use envelope namespace, not addressing namespace.
2799 2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>
2801         * Message.cs : don't write body contents if it is empty.
2802           Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
2803         * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
2804         * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
2805         * HttpRequestChannel.cs : close request stream before GetResponse().
2807 2006-03-13  Atsushi Enomoto  <atsushi@ximian.com>
2809         * TextMessageEncoderFactory.cs
2810           TextMessageEncoder.cs : encoder does not hold reference to the
2811           factory anymore. Use MessageVersion property in CreateMssage().
2812         * HttpChannelListener.cs : now it holds message encoder.
2813         * HttpReplyChannel.cs : now it uses listener's shared message encoder.
2814         * MessageImpl.cs : header is optional.
2815         * EnvelopeVersion.cs : namespace URI is missing.
2817 2006-03-10  Atsushi Enomoto  <atsushi@ximian.com>
2819         * CustomBinding.cs : removed Initialize().
2820         * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
2821         * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
2822           by Message.CreateMessage(MessageVersion,XmlReader,int) and
2823           implemented Headers, IsEmpty and GetReaderAtBodyContents().
2825 2006-03-08  Atsushi Enomoto  <atsushi@ximian.com>
2827         * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
2828           could be also added by Add() method and could be reset by Remove()).
2829         * MessageImpl.cs : implemented more. As noted above, Now we don't 
2830           have to add Action header explicitly.
2831         * MessageHeader.cs : recovered Writer methods and ToString() from
2832           commented old version. Use prefixes for writing.
2833           Use WriteObjectContent() rather than WriteObject() (it needs
2834           DataContractSerializer fix btw).
2836 2006-03-08  Atsushi Enomoto  <atsushi@ximian.com>
2838         * MessageHeader.cs : added missing IsReferenceParameter.
2839         * MessageHeaderInfo.cs : added missing IsReferenceParameter.
2840         * MessageHeaders.cs : avoid NullRef when actors is null.
2841         * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
2842           (ForwardingMessage) reader consumer is being added (not done).
2843         * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
2844         * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
2845         * HttpRequestChannel.cs : this channel automatically call Open()
2846           when Request() is called. Set content length for request.
2847           Use MessageEncoder's ContentType to also handle charset.
2849 2006-03-07  Atsushi Enomoto  <atsushi@ximian.com>
2851         * MessageImpl.cs : make them internal.
2852         * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
2854 2006-03-07  Atsushi Enomoto  <atsushi@ximian.com>
2856         * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
2857         * HttpChannelListener.cs : removed commented line.
2858         * RequestChannelBase.cs : new base class for request channel classes.
2859         * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
2860         * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
2861         * Message.cs : default IsEmpty and IsFault false by default.
2862         * LayeredChannelListener.cs : removed Uri (no chance to set).
2863         * ChannelBase.cs : reimplemented timeout properties.
2864         * HttpRequestChannel.cs : now it is mostly based on
2865           RequestChannelBase. Some more attempt to implement Request().
2867 2006-03-07  Atsushi Enomoto  <atsushi@ximian.com>
2869         * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
2870           OnInitialize(). Added more BuildChannelListener() overloads.
2872 2006-03-06  Atsushi Enomoto  <atsushi@ximian.com>
2874         * Binding.cs : added some more missing members especially to support
2875           listener creation.
2876         * HttpChannelListener.cs : Uri should not be null.
2877         * HttpTransportBindingElement.cs : implemented
2878           CanBuildChannelFactory() and CanBuildChannelListener().
2879         * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
2881 2006-03-06  Atsushi Enomoto  <atsushi@ximian.com>
2883         * Binding.cs : updated default namespace property value to Feb. CTP.
2885 2006-03-03  Atsushi Enomoto  <atsushi@ximian.com>
2887         * AddressHeader.cs : avoid null reference when value is null.
2888         * BindingContext.cs : check null ListenUri args.
2890 2006-03-03  Atsushi Enomoto  <atsushi@ximian.com>
2892         * MessageFault.cs : Fixed default action name. Null arg check.
2894 2006-03-03  Atsushi Enomoto  <atsushi@ximian.com>
2896         * BindingElement.cs : Dequeue elements in BindingContext directly.
2897         * BindingContext.cs : Added GetProperty<T>().
2898         * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
2899           Now we don't need these extra classes, so marked as deprecated.
2901 2006-03-03  Atsushi Enomoto  <atsushi@ximian.com>
2903         * Binding.cs : null arg check.
2904         * AddressingVersion.cs : fixed constants to pass the tests.
2905         * BindingElement.cs : tiny meessage fix.
2907 2006-03-02  Atsushi Enomoto  <atsushi@ximian.com>
2909         * MessageEncodingBindingElement.cs
2910           BinaryMessageEncodingBindingElement.cs
2911           TextMessageEncodingBindingElement.cs
2912           MtomMessageEncodingBindingElement.cs
2913           MessageEncodingBindingElementConverter.cs : several API fixes.
2914         * BindingElement.cs : now if we use generic wrapper it causes
2915           infinite loop, so for now replace it with most-possible-but-
2916           untested logic.
2918 2006-03-02  Atsushi Enomoto  <atsushi@ximian.com>
2920         (back to normal "record-ChangeLogs" mode after the big API change mess)
2921         * HttpTransportBindingElement.cs : fixed minor API differences.
2923 2006-02-23  Atsushi Enomoto  <atsushi@ximian.com>
2925         * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
2926           SymmetricSecurityBindingElement.cs :
2927           Dependent fixes for System.IdentityModel reorgainzation.
2929 2006-02-23  Atsushi Enomoto  <atsushi@ximian.com>
2931         * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
2932           IProxyFormatter.cs WSHttpBindingBase.cs 
2933           PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
2934           MessageInterceptorEventArgs.cs WSHttpBinding.cs
2935           WSFederationBinding.cs ISessionChannel.cs
2936           CompositeDuplexBindingElement.cs MessageVersion.cs
2937           MessageHeader.cs IRequestSessionChannel.cs 
2938           BindingElementCollection.cs IReplySessionChannel.cs
2939           MessageProperties.cs IDuplexClientChannel.cs
2940           IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
2941           TcpTransportBindingElement.cs EmptyFaultException.cs
2942           IBindingRuntimePreferences.cs AddressHeaderCollection.cs
2943           IStubFormatter.cs AsymmetricSecurityBindingElement.cs
2944           ConnectionOrientedTransportBindingElement.cs
2945           IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
2946           PeerResolverBindingElement.cs Message.cs
2947           HttpsTransportBindingElement.cs BindingElement.cs
2948           NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
2949           MessageFaultBodyWriter.cs IReplyChannel.cs
2950           IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
2951           IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
2952           IRequestContext.cs IInputSessionShutdown.cs
2953           SecurityBindingElement.cs PeerTransportBindingElement.cs
2954           IDuplexSession.cs IChannelInitializer.cs
2955           IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
2956           AddressingVersion.cs FaultException.cs
2957           IRequestChannel.cs MtomMessageEncodingBindingElement.cs
2958           TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
2959           TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
2960           ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
2961           MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
2962           BindingParameterCollection.cs IInstanceProvider.cs
2963           WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
2964           MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
2965           IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
2966           MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
2967           moved from System.ServiceModel due to the API changes.
2969 2006-02-23  Atsushi Enomoto  <atsushi@ximian.com>
2971         * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
2972           HttpChannelListener.cs HttpRequestChannel.cs
2973           LayeredChannelListener.cs PeerMessagePropagationFilter.cs
2974           PeerNode.cs ReplyChannelBase.cs :
2975           Feb. CTP API changes - chapter 1.
2977 2006-02-15  Atsushi Enomoto  <atsushi@ximian.com>
2979         * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
2980         * ReplyChannelBase.cs : now it is based on ChannelBase.
2981         * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
2982           and check null argument in .ctor().
2983         * HttpReplyChannel.cs : several changes.
2984           Non-async members are mostly implemented.
2985         * HttpChannelListener.cs : no need to receive 
2986           IDefaultCommunicationTimeouts.
2987         * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
2988           to allocate buffer array and int.MaxValue causes OutOfMemory.
2990 2006-02-15  Atsushi Enomoto  <atsushi@ximian.com>
2992         * ClientFramingDecoderState.cs : added missing enum.
2993         * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
2994           added missing bits.
2995         * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
2997 2006-02-15  Atsushi Enomoto  <atsushi@ximian.com>
2999         * HttpChannelListener.cs : Added GetChannels() and OnClose().
3000           AcceptChannel() has some code now but it needs more love.
3002 2006-02-14  Atsushi Enomoto  <atsushi@ximian.com>
3004         * CommunicationObject.cs : Close() does not call Begin/EndClose().
3005         * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3006         * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3008 2006-02-10  Atsushi Enomoto  <atsushi@ximian.com>
3010         * HttpRequestChannel.cs : close the streams.
3011         * HttpListener.cs
3012           HttpChannelListener.cs : renamed from former to latter.
3014 2006-02-09  Atsushi Enomoto  <atsushi@ximian.com>
3016         * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3017         * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3018         * HttpListenerFactory.cs : removed obsolete file.
3019         * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3020         * ChannelListenerBase_1.cs : implemented virtual stuff.
3021         * CommunicationObject.cs : Open() should not call BeginOpen() and
3022           EndOpen(). Instead, invoke events individually.
3023         * ChannelListenerBase.cs : its Open() is WaitForChannel().
3025 2006-02-08  Atsushi Enomoto  <atsushi@ximian.com>
3027         * HttpRequestChannel.cs : call Flush() after serializing message
3028           into HTTP stream.
3030 2006-02-08  Atsushi Enomoto  <atsushi@ximian.com>
3032         * HttpRequestChannel.cs : implemented pretty hacky Request().
3034 2006-02-02  Atsushi Enomoto  <atsushi@ximian.com>
3036         * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3038 2006-02-01  Atsushi Enomoto  <atsushi@ximian.com>
3040         * ChannelFactoryBase.cs : removed some NotImplementedException for
3041           further internal implementation.
3043 2006-01-26  Atsushi Enomoto  <atsushi@ximian.com>
3045         * HttpRequestChannel.cs : new file. mostly not implemented.
3046         * HttpChannelFactory.cs : Implemented CanCreateChannel().
3047           Partly implemented CreateChannel().
3049 2006-01-26  Atsushi Enomoto  <atsushi@ximian.com>
3051         * HttpChannelFactory.cs : (.ctor())
3052           Don't take ChannelBuildContext.
3054 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3056         * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3057           ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3058           PeerMessagePropagation.cs : updated to Nov. CTP.
3060 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3062         * ChannelListenerBase.cs, ChannelManagerBase.cs,
3063           ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3064           StreamSecurityUpgradeAcceptor.cs,
3065           StreamSecurityUpgradeInitiator.cs :
3066           Updated to Nov. CTP API.
3068 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3070         Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3072 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3074         renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3076 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3078         * ChannelBase.cs : tiny filename fix.
3079         * ChannelListenerBase.cs : added more .ctor()s.
3081 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3083         * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3084           ListenerFactoryBase.cs ChannelListenerBase.cs :
3085           updated IListener related stuff to Nov. CTP.
3086           file renaming will come soon.
3088 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3090         * ListenerBase.cs, ChannelListenerBase.cs :
3091           moved from former to latter.
3092         * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3093           moved from former to latter.
3095 2005-11-20  Atsushi Enomoto  <atsushi@ximian.com>
3097         * SessionFaultedException.cs : removed in Nov. CTP
3099 2005-11-20  Atsushi Enomoto  <atsushi@ximian.com>
3101         * CommunicationObject.cs : updated to Nov. CTP.
3102         * SessionFaultedException.cs : removed (in Nov. CTP)
3104 2005-11-03  Atsushi Enomoto  <atsushi@ximian.com>
3106         * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3107           working).
3109 2005-11-03  Atsushi Enomoto  <atsushi@ximian.com>
3111         * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3112           TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3113           TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3114         * MessageEncoder.cs : largely implemented.
3116 2005-11-02  Atsushi Enomoto  <atsushi@ximian.com>
3118         * IRequestReplyCorrelator.cs : new file.
3120 2005-11-02  Atsushi Enomoto  <atsushi@ximian.com>
3122         * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3123         * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3124         * MessageEncoder.cs : added misssing ToString().
3126 2005-11-02  Atsushi Enomoto  <atsushi@ximian.com>
3128         * ChannelBehaviorCollection.cs : moved to sys.sm.
3130 2005-10-28  Atsushi Enomoto  <atsushi@ximian.com>
3132         * HttpListenerFactory.cs, HttpListener.cs : new files.
3133         * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3134           CommunicationObject.cs, ChannelFactoryBase.cs,
3135           StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3136           protected internal.
3137         * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3138         * ListenerFactoryBase.cs : kinda implemented GetListeners().
3140 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
3142         * ListenerFactoryBase.cs : some implementation.
3144 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
3146         * CommunicationObject.cs : more state fixes.
3148 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
3150         * CommunicationObject.cs : some state machine fixes.
3152 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
3154         * PeerNode.cs, ChannelManagerBase.cs :
3155           several API fixes detected by improved corcompare.
3157 2005-10-25  Atsushi Enomoto  <atsushi@ximian.com>
3159         * LayeredListenerFactory.cs : added missing generic class constraint.
3161 2005-10-25  Atsushi Enomoto  <atsushi@ximian.com>
3163         * ListenerFactoryBase.cs,
3164           ListenerBase.cs : class constraints were missing for generic args.
3166 2005-10-24  Atsushi Enomoto  <atsushi@ximian.com>
3168         * StreamUpgradeInitiator.cs : tiny API fix.
3170 2005-10-23  Atsushi Enomoto  <atsushi@ximian.com>
3172         * PeerMessagePropagationFilter.cs : tiny build fix.
3174 2005-10-23  Atsushi Enomoto  <atsushi@ximian.com>
3176         * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3177           added Name. fixed StatusCode type.
3178         * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3179           PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3180           StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3181           DirectionalAction.cs, HostedTransportConfiguration.cs,
3182           StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3183           PeerMessagePropagationFilter.cs : added missing files.
3184         * Dummy.cs : removed. MSMQ stuff can be added later.
3186 2005-10-21  Atsushi Enomoto  <atsushi@ximian.com>
3188         * DeliveryStatus.cs, DeliveryFailure.cs,
3189           HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3190           PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3191           new files.
3192         * Dummy.cs : removed above.
3194 2005-10-18  Atsushi Enomoto  <atsushi@ximian.com>
3196         * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3198 2005-10-09  Atsushi Enomoto  <atsushi@ximian.com>
3200         * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3201           MessageEncoder.cs, BufferManager.cs : new files.
3202         * Dummy.cs : removed above.
3204 2005-10-09  Atsushi Enomoto  <atsushi@ximian.com>
3206         * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3207         * Dummy.cs : removed above.
3208         * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3210 2005-10-09  Atsushi Enomoto  <atsushi@ximian.com>
3212         * HttpChannelFactory.cs : new file.
3214 2005-10-08  Atsushi Enomoto  <atsushi@ximian.com>
3216         * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3217           moved to ../System.ServiceModel (correct location).
3218         * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3219           new files for channels.
3220         * Dummy.cs : reflected above changes.
3221         * ChannelManagerBase.cs : added a bit of code and todos.
3223 2005-10-04  Atsushi Enomoto  <atsushi@ximian.com>
3225         * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3226           added listener support files.
3227         * Dummy.cs : removed above.
3229 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
3231         * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3232           added request/reply channel interfaces.
3233         * Dummy.cs : removed above.
3234         * CommunicationObject.cs : FIXME comments.
3236 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
3238         * CommunicationObject.cs : implemented some members.
3240 2005-09-29  Atsushi Enomoto  <atsushi@ximian.com>
3242         * CommunicationObject.cs : some signature fixes.