1 2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
3 * SecurityReplyChannel.cs : split from SecurityChannelListener.cs.
4 * AsymmetricSecurityBindingElement.cs
5 WSSecurityMessageHeader.cs
6 SecureMessageDecryptor.cs
7 SecureMessageGenerator.cs
8 SecurityChannelListener.cs
9 SecurityRequestContext.cs
11 SecurityRequestChannel.cs
12 SymmetricSecurityBindingElement.cs
13 SecurityOutputChannel.cs
14 SecurityChannelFactory.cs
16 SecurityBindingElement.cs : change namespace to move to internal
19 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
21 * SecurityRequestContext.cs : remove extraneous buffering.
23 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
25 * SecureMessageDecryptor.cs : avoid duplicate copy of headers into
26 the decrypted message.
28 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
30 * Message.cs, MessageBufferImpl.cs, MessageImpl.cs: preserve and
31 output attributes prefixes, to copy Body/@wsu:Id to successfully
34 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
36 * MessageFault.cs : MessageFault from Message could have empty
37 detail. Have it return HasDetail as expected.
39 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
41 * SecurityRequestChannel.cs : do not try to decrypt faults, they
44 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
46 * MessageHeader.cs : to clone raw xml completely, avoid using
47 ReadOuterXml() and text reader but use XmlNodeReader instaed.
48 * Message.cs : avoid extraneous xmlns:u attribute.
50 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
52 * MessageHeader.cs, MessageHeaderInfo.cs: add internal Prefix
53 property and copy them from source to destination.
55 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
57 * MessageImpl.cs : When XmlReaderMessage was writing its contents,
58 it was dropping body attributes, including wsu:Id for WS-Security.
60 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
62 * SecureMessageGenerator.cs : MessageBuffer was missing copy of
63 Body wsu:Id attribute.
64 * HttpRequestChannel.cs : remove comment for resolved issue.
66 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
68 * HttpListenerManager.cs : move another old code.
70 2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
72 * HttpRequestChannel.cs : remove extra code.
74 2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
76 * XmlReaderBodyWriter.cs, MessageFault.cs: warning cleanups.
78 2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
80 * ChannelFactoryBase.cs : null via uri parameter is not allowed.
82 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
84 * HttpTransportbindingElement.cs : remove "Standalone".
86 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
88 * SvcHttpHandler.cs : removed old code and #if blocks.
90 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
92 * SvcHttpHandler.cs : add required code for new ASP.NET HTTP stack.
93 Support for new and old stack (both) are temporarily enabled.
94 * HttpTransportBindingElement.cs : switch to new ASP.NET stack.
96 2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
98 * SvcHttpHandlerFactory.cs : remove unused code.
99 * SvcHttpHandler.cs : ditto. Add some code for what new asp.net
100 support will look like.
102 2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
104 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs : remove BodyId.
105 XML attributes on s:Body are handled appropriately, not limited to
106 wsu:Id. Added several required overrides to Message and
107 MessageBuffer implementation classes.
108 * SecureMessageGenerator.cs : so, don't use BodyId. Treat it as a
109 specific case but still fallback.
111 2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
113 * HttpTransportBindingElement.cs :
114 Use new HTTP channel listener implementation.
116 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
118 * HttpListenerManager.cs : cosmetic code formatting fix.
120 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
122 * HttpListenerManager.cs :
123 No need to get messed around MetadataPublishingInfo anymore.
125 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
127 * HttpListenerManager.cs : remove extra different code paths for
128 channel dispatchers with or without mex endpoints.
130 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
132 * HttpListenerManager.cs : simplify FilterHttpContext().
134 2010-06-22 Atsushi Enomoto <atsushi@ximian.com>
136 * HttpListenerManager.cs : add some comments.
138 2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
140 * HttpReplyChannel.cs : use MessageVersion.None for GET messages.
141 * HttpChannelListener.cs : remove extra field.
142 * HttpListenerManager.cs : check HelpUrl existence (avoid NRE).
143 * HttpRequestContext.cs : reduce internal field.
145 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
147 * MtomMessageEncodingBindingElement.cs: it's base is abstract, use
148 context.GetInnerProperty<T>().
150 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
152 * Binding.cs : enable simpler MessageVersion code (issued got fixed).
153 * MtomMessageEncodingBindingElement.cs, TransportBindingElement.cs,
154 TextMessageEncodingBindingElement.cs : return MessageVersion in
157 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
159 * Binding.cs : add commented-out code for MessageVersion replacement.
160 * TransactionFlowBindingElement.cs : implement (almost dummy).
162 2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
164 * TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
165 fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
166 (but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)
168 2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
170 * TcpBinaryFrameManager.cs : lock read and write respectively.
171 Finally fixed bug #567672 ('IsOneWay=false' case).
173 2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
175 * DirectionalAction.cs : remove old code from winfx beta.
177 2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
179 * TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
180 here. If the contract is not one-way (IsOneWay = false) and there is
181 a callback, the callback message sent to the client should *not* be
182 assigned RelatesTo header here. Just do it in the request-reply
183 context. Do it in OperationInvokerHandler.
185 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
187 * SvcHttpHandler.cs : remove Sleep() hack. The host is now ensured
188 to wait for channels opened.
190 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
192 * SvcHttpHandler.cs : remove unused field. Some code cleanup.
194 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
196 * HttpReplyChannel.cs : use manual reset.
197 * AspNetReplyChannel.cs : make it equivalent to the above.
199 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
201 * HttpChannelListener.cs : do not accept more than one channel at a
202 time. Remove extra fields. Add CancelAsync() implementation.
204 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
206 * HttpListenerManager.cs : add a workaround for Func<>.BeginInvoke()
207 problem that blocked ASP.NET channels working.
209 2010-05-19 Andreia Gaita <avidigal@novell.com>
211 * HttpRequestChannel.cs: if the response has no body, create an
212 empty message and return that.
213 Note: the ws-mc protocol defines that the service returns an
214 200 response with an empty body on first connection, this
215 adds support for that (fixes part of #599667)
217 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
219 * DuplexChannelBase.cs
221 TcpChannelListener.cs
222 ChannelListenerBase_1.cs
223 PeerChannelListener.cs
224 HttpChannelListener.cs
225 NamedPipeChannelListener.cs:
226 do the same for channel listener,reply channels and
229 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
231 * ChannelFactoryBase.cs, RequestChannelBase.cs : support
232 MessageVersion in GetProperty<T>() for many transport channels.
234 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
236 * HttpChannelFactory.cs
238 ChannelFactoryBase.cs
239 NamedPipeChannelFactory.cs
240 PeerChannelFactory.cs
241 RequestChannelBase.cs : commonize MessageEncoder.
242 (Commented out GetPrpoerty<T>() for MessageVersion as it is
245 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
247 * MessageHeaders.cs : do not pass empty string array; it almost
248 always results in header-not-found error.
250 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
252 * MessageHeader.cs : do not try to lookup prefix for empty ns.
254 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
256 * MessageImpl.cs : do not use maxBufferSize for initialSize argument
257 for MessageHeaders. Fix OutOfMemoryException for certain usage.
259 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
261 * BindingContext.cs : actually clone is needed everywhere else too.
262 * CustomBinding.cs : remove extra field.
264 2010-05-14 Andreia Gaita <avidigal@novell.com>
266 * BindingContext.cs: Copy elements from the original binding only when
267 creating it, never when cloning it. This way, CanBuildInnerChannel can
268 work recursively as it should.
270 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
272 * CustomBinding.cs : return clone collection.
273 * BindingContext.cs :
274 Simply use RemainingBindingElements in builder methods.
275 Clone() should be deep copying (as documented).
276 * BinaryMessageEncodingBindingElement.cs
277 MtomMessageEncodingBindingElement.cs
278 TextMessageEncodingBindingElement.cs
279 HttpCookieContainerBindingElement.cs :
280 do not add itself to RemainingBindingElements.
281 * HttpChannelFactory.cs
282 HttpChannelListener.cs
284 TcpChannelListener.cs
285 MsmqChannelFactory.cs
286 MsmqChannelListener.cs
287 NamedPipeChannelFactory.cs
288 NamedPipeChannelListener.cs
289 PeerChannelFactory.cs
290 PeerChannelListener.cs : do not iterate RemainingBindingElements.
291 Instead, iterate all binding elements in the CustomBinding.
293 2010-05-12 Atsushi Enomoto <atsushi@ximian.com>
295 * HttpRequestChannel.cs : implement On[Begin|End][Close|Open] methods.
297 2010-04-30 Atsushi Enomoto <atsushi@ximian.com>
299 * HttpListenerManager.cs : use manual reset here to not cause
300 possible inconsistent locking.
302 2010-04-28 Atsushi Enomoto <atsushi@ximian.com>
304 * HttpChannelListener.cs, HttpListenerManager.cs :
305 Fix NRE issue in olive/samples/wcf/web-http-binding/samplesvc3.exe.
307 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
309 * HttpListenerManager.cs : fixed the issue that mex_info is never
310 retrieved from the latest channel listener (which could be other
311 listener than the one which was set mex info).
313 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
315 * HttpChannelListener.cs, HttpListenerManager.cs :
316 actually it should be ChannelDispatcher-to-HttpChannelListener,
317 to identify which dispatcher to send reqs.
319 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
321 * HttpReplyChannel.cs : remove old Http Keep-Alive workaround.
323 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
325 * HttpTransportBindingElement.cs,
326 HttpChannelListener.cs,
327 HttpListenerManager.cs : add host-to-http-listener mapping so that
328 they can be managed per host.
330 2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
332 * BindingContext.cs : require a TransportBindingElement when
333 building a channel listener.
335 2010-04-19 Atsushi Enomoto <atsushi@ximian.com>
337 * HttpReplyChannel.cs : use local var to hold wait handle to avoid
338 possible NRE on field. Based on the patch by Matt Dargavel.
340 2010-04-07 Miguel de Icaza <miguel@novell.com>
342 * BufferManager.cs: Implement the BufferManager.
344 2010-04-07 Atsushi Enomoto <atsushi@ximian.com>
346 * WSSecurityMessageHeader.cs : add FIXME comment.
348 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
350 * HttpRequestChannel.cs : add commented note.
352 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
354 * HttpReplyChannel.cs : fill To header only if it does not exist.
356 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
358 * SecureMessageGenerator.cs : set ReplyTo and To, do not add.
360 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
362 * MessageHeaders.cs : use matching addressing version.
363 Remove header item if the same ones already exist.
365 2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
367 * HttpRequestChannel.cs: don't create the wait handle unless it is
370 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
372 * HttpRequestChannel.cs : use correct max buffer size.
374 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
376 * MessageFault.cs : check null serializer and detail.
377 Make sure to consume s12:Reason EndElement.
379 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
381 * MessageFault.cs : when created from XmlReader, it should not
382 deserialize fault details immediately. This class itself should
383 not do that. Strongly typed FaultContractInfo may want to use the
384 reader (GetReaderAtDetailContents()) for its own deserialization.
386 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
388 * ConnectionOrientedTransportBindingElement.cs,
389 TcpTransportBindingElement.cs : implement GetProperty<T>().
391 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
393 * HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
394 implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
395 properties type from HTTP.
397 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
399 * FaultConverter.cs : use addressing version from the message.
401 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
403 * FaultConverter.cs : check envelope version, not addressing version.
405 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
407 * FaultConverter.cs : implemented TryCreateException().
409 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
411 * MessageFault.cs : cosmetic method name clarification.
413 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
415 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
416 fix BodyWriter buffering that dropped in-scope namespaces and thus
417 caused problem on resolving QNames.
419 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
421 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
422 with certain Exception types.
424 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
426 * Message.cs : fix explanation on CreateMessage() overloads.
428 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
430 * MessageFault.cs : Write Subcode element correctly and fix wrong
431 Code/Value/Subcode element relationship. Give better error message.
433 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
435 * HttpRequestChannel.cs : ok, no need for conditional code path.
437 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
439 * AddressingVersion.cs : add fault action namespace.
441 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
443 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
446 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
448 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
450 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
452 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
455 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
457 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
459 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
461 * HttpRequestContext.cs : removed HTTP status rewriting for
464 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
466 * HttpRequestChannel.cs : handle only 4xx errors as to not process
469 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
471 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
473 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
475 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
476 Patch by Matt Dargavel.
478 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
480 * HttpListenerManager.cs : use lock object which is subject to
481 change. Fix by Matt Dargavel.
483 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
485 * HttpListenerManager.cs : remove consumed HttpListenerContext from
486 the pending queue. Compare "wsdl" request in case insensitive
487 manner. Patch by Matt Dargavel.
489 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
491 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
492 supposed to provide detailed 400 error message.
494 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
496 * TransactionFlowBindingElement.cs: revamp the previous change to
497 not regress regarding service metadata.
499 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
501 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
502 GetProperty<T>() bug that fails to retrieve properties. (This may
503 be rewritten later if an ongoing change proposal is to take place.)
505 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
507 * ReliableSessionBindingElement.cs,
508 PrivacyNoticeBindingElement.cs,
509 RemoteEndpointMessageProperty.cs : added some missing types.
511 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
513 * MessageHeaders.cs :
514 why does it filter out most of the headers? kill it.
516 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
518 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
519 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
520 to not raise "not found" error (see bug #573795).
522 2010-03-16 Jb Evain <jbevain@novell.com>
524 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
525 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
527 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
529 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
530 type, and use null password unless we find a chance to get password
531 in ASP.NET HttpContext.
533 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
535 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
536 HttpListenerManager.cs : ongoing authentication support. It returns
537 401 as expected, but somehow fails to retrieve user info.
539 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
541 * HttpListenerManager.cs : this change (along with HttpListener
542 implementation) somehow fixes basic auth. connection error...
544 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
546 * MessageHeaders.cs : add !NET_2_1.
548 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
550 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
551 typed UniqueId output.
553 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
555 * MessageHeader.cs : no need to treat EndpointAddress as a special
558 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
560 * MessageHeaders.cs : remove duplicate constant.
562 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
564 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
565 EndpointAddress as a special case. Instead, each MessageHeaders
566 property should convert it to appropriate serializable objects.
568 (Our DataContractSerializer fails to reject EndpointAddress as
569 serializable type, so it's rather a preparation step.)
571 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
573 * MessageHeader.cs, Message.cs : use dictionary string whenever
574 applicable. The binary output on #577139 is getting closer (no
575 idea if it is really about binary output though).
577 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
579 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
581 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
583 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
585 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
587 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
588 enable authentication schemes on monotouch.
590 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
592 * SvcHttpHandler.cs : a wait handle could be used for more than one
593 requests and hence it sometimes blocked one reply channel. Now
594 it creates a wait handle for each ASP.NET request so that such
595 multiple use should not occur. This should fix blocking on
596 concurrent requests (it indeed fixes as long as I can see).
598 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
600 * AspNetReplyChannel.cs : remove garbage output.
602 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
604 * SvcHttpHandler.cs : Use lock when it tries to create the service
607 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
609 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
612 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
614 * HttpListenerManager.cs : add another workaround for blocking
617 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
619 * HttpListenerManager.cs : small refactoring.
621 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
623 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
624 that somehow makes callback client to not cause infinite loop.
626 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
628 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
629 DuplexChannelBase.cs : Receive() should rather use TryReceive().
630 It should not be in reverse order.
632 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
634 * HttpReplyChannel.cs, HttpListenerManager.cs :
635 Implement async cancellation in the expected manner (though with
636 some hack). This mostly removed nunit blockers.
638 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
640 * CommunicationObject.cs : fix wrong status changes.
642 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
644 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
646 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
648 * AddressHeader.cs : implement remaining bits.
649 Eliminate dependency on NetDataContractSerializer.
651 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
653 * CommunicationObject.cs : in Fault(), do similar work as previous
656 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
658 * CommunicationObject.cs : when process state changes, lock the
659 object to make sure the state transition is valid.
660 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
662 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
664 * MessageHeaders.cs : implement SetAction().
666 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
668 * ChannelFactoryBase.cs : fix build.
670 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
672 * ChannelBase.cs : cosmetic API fix for SL3.
674 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
676 * ChannelFactoryBase.cs :
677 implement On{Begin/End}Close() on the generic type.
679 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
681 * HttpChannelFactory.cs, TcpChannelFactory.cs,
682 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
683 PeerChannelFactory.cs, HttpRequestChannel.cs:
684 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
685 type and made required changes.
687 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
689 * HttpCookieContainerBindingElement.cs : new.
690 * IHttpCookieContainer.cs : fix type name.
691 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
693 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
695 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
696 does not happen when communicating with .NET client but happens with
697 mono). Seealso FIXME comment.
698 * TcpDuplexSessionChannel.cs : do not try to close session when it
699 failed to read sized message. The connection is already dead.
703 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
705 * TcpDuplexSessionChannel.cs :
706 Write EndRecord only when the connection is available.
707 Remove hack - do let ChannelDispatcher close the channel.
708 * TcpBinaryFrameManager.cs :
709 The socket may be disconnected when trying to read a sized message,
710 so check some socket exceptions.
711 In case the client silently shuts down without EndRecord and
712 reconnects to the server with preamble while expecting a sized
713 message (which is so lame, but that's what .NET often does), refresh
714 preamble and continue.
716 This fixes some cases of bug #567949 but not all.
718 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
720 * BinaryMessageEncoder.cs : enable workaround buffering only when
721 the argument stream does *not* support seek. This fixes some
722 net.tcp connection problem.
724 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
726 * TcpBinaryFrameManager.cs : If preamble byte is not available from
727 the client stream, detect it to close the reply or input channel.
728 * TcpRequestChannel.cs : send preamble at each request time.
729 It differentiates communication behavior on such cases that involve
730 single open and multiple requests.
731 * TcpReplyChannel.cs : close the channel only when the channel is
732 oeprated to close i.e. do not close the socket every time.
733 Process preambles on each request (the same as request channel).
735 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
737 * TcpBinaryFrameManager.cs : unsized envelope record may have more
738 than one data block, so consume them accordingly. This should fix
739 large buffer consumption.
741 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
743 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
746 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
748 * HttpRequestContext.cs : for DestinationUnreachable message, this
749 channel returns 400 in .NET.
751 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
753 * BinaryMessageEncoder.cs : added workaround for strange stream
754 consumption error raised by HttpTransport + Binary encoder example.
755 * BinaryMessageEncodingBindingElement.cs:
756 only SOAP 1.2 is allowed for this encoder.
758 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
760 * XmlReaderBodyWriter.cs : don't try to write empty xml.
762 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
764 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
765 default WebHeaderCollection items are overwritten.
767 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
769 * HttpRequestChannel.cs : when HTTP response was error, do not try
770 to read message but just raise an error.
772 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
774 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
776 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
778 * HttpRequestChannel.cs : WebException.Response might be null.
780 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
782 * ReplyChannelBase.cs : added listener property.
783 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
784 been updated to prefer async by default, a while ago.
786 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
788 * HttpTransportBindingElement.cs : finished all GetProperty() values.
790 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
792 * HttpRequestChannel.cs : disabled carelessly added
793 "UseDefaultCredentials = false" line. It blocked basic auth.
795 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
797 * HttpRequestChannel.cs, HttpChannelFactory.cs,
798 HttpChannelListener.cs, HttpListenerManager.cs :
799 implemented http client authentication and some of corresponding
800 service code. Only client works so far.
802 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
804 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
805 added URI scheme check.
807 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
809 * TransportSecurityBindingElement.cs : fix 2.1 build.
811 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
813 * HttpsTransportBindingElement.cs :
814 RequireClientCertificate is false by default.
815 Remove extra #if NET_2_1.
816 * SecurityBindingElement.cs :
817 Implement some transport security factory methods.
818 * TransportSecurityBindingElement.cs :
819 It is not ISecurityCapabilities anymore.
821 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
824 SecurityBindingElement.cs
825 LocalClientSecuritySettings.cs
826 TransportSecurityBindingElement.cs
827 FaultConverter.cs : They are now part of SL3 API.
829 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
831 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
833 2009-11-05 Geoff Norton <gnorton@novell.com>
835 * HttpsTransportBindingElement.cs: Implement basic https transport
836 binding support for Moonlight and MonoTouch
838 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
840 * HttpListenerManager.cs : remove CWLs.
842 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
844 * SvcHttpHandler.cs : move back previous listener selector code in
845 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
846 and differentiate requests to deeper paths (such as /jsdebug), so
847 we need such refinement here.
849 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
851 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
854 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
856 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
857 HttpChannelListener.cs, HttpListenerManager.cs :
858 Similar refactoring on ASP.NET side to the previous one.
859 Added ASP.NET implementation of HttpListenerManager and use some
860 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
862 Rewrote AspNetReplyChannel to become almost the same as
863 HttpSimpleReplyChannel, to hopefully unify them later.
864 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
865 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
868 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
870 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
871 Refactoring on listener manager to correctly handle wsdl and help
872 requests for such case that they conflict in addressing. Now it
873 can correctly distinguish service calls, WSDL requests and help
874 requests when all of them point to "http://localhost/foo.svc"
875 (which is very common case that the user does not change Http*Url).
877 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
879 * ChannelListenerBase.cs : add Properties property to add arbitrary
880 properties handy (only inside this assembly).
882 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
884 * HttpReplyChannel.cs : fix warning.
886 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
888 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
890 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
892 * HttpReplyChannel.cs : make sure to release wait lock.
893 * HttpChannelListener.cs : session channels are not supported, so
894 remove relevant NIEs.
896 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
898 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
899 support contexts so we call the non-overloaded WaitOne method
900 (which defaults to false).
902 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
904 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
905 significant rewrite to cooperate wcf handler and asp.net handler
906 to not mix multiple WCF listener within the asp.net handler.
907 So far it mostly works when 1) there are no ChannelDispatchers
908 that have an identical listen Uri and 2) MaxConcurrentSessions is
909 1 (must be explicitly set).
911 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
913 * CommunicationObject.cs : give better state error description.
915 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
917 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
918 to base methods. This resulted in not a few changes everywhere.
920 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
922 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
924 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
926 * SvcHttpHandler.cs : use file path given by the factory to
927 construct BaseAddresses. Requests to "test.svc/jsdebug" should
928 not be handled as request to "jsdebug" file, it's rather an
929 "argument" to "test.svc".
931 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
933 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
934 rewrite to handle shutdown situation better. The listeners should
935 not close channels that it opened. Instead, just stop accepting
936 further requests. Removed blocking mutex on WaitForRequest().
937 Now xsp shuts down as expected.
939 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
941 * HttpReplyChannel.cs : lock list when releasing its content contexts.
942 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
945 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
947 * SvcHttpHandlerFactory.cs : remove todo.
948 * ReplyChannelBase.cs : add comment.
950 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
952 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
953 revert the change, to use internal asp.net state again.
954 * SvcHttpHandler.cs : add VirtualPathExtension.
956 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
958 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
959 asp.net response was not written correctly.
960 Fill HttpRequestMessageProperty to get handle WSDL requests
961 processed in ServiceMetadataExtension without NRE.
962 Remove wrong HttpListenerContext iteration at Abort and Close in
963 common base class and move it to non-asp derived channel.
965 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
967 * SvcHttpHandler.cs : remove unused code.
969 2009-09-30 Jb Evain <jbevain@novell.com>
971 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
972 to use any of the remoting features.
974 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
976 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
977 use AspNetCompatibilityEnabled.
978 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
980 * AspNetReplyChannel.cs : remove extra field.
982 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
984 * HttpReplyChannel.cs : remove extra field.
986 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
988 * AspNetRequestContext.cs : remove CWL.
990 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
992 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
993 only after AspNetRequestContext is closed. Do not close it
994 immediately after receiving the context. (HttpRuntime destructs it
995 and further uses then becomes impossible.)
997 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
999 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
1000 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
1001 Make sure that AspNetChannelListener is bound to correct
1002 SvcHttpHandler, regardless of specific request URI. It is required
1003 for both WSDL requests and RESTful binding requests.
1005 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1007 * MessageProperties.cs : fix CopyProperties() behavior to not
1008 clear existing items. Make all properties call this[name].
1010 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1012 * HttpTransportBindingElement.cs : fix 2.1 build.
1014 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1016 * TransportBindingElement.cs : another GetProperty fix, iterate
1017 other binding elements.
1019 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1021 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
1022 some GetProperty() implementation.
1024 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1026 * HttpListenerManager.cs : release HttpListener and avoid extra
1027 close process more than once.
1029 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
1031 * HttpChannelListener.cs : do not iterate channel list to close
1032 channels which in turn removes them from the list while iteration.
1034 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
1036 * HttpRequestChannel.cs : Fix message version member comparison.
1037 Double-quote SOAPAction. Remove extra Exception.
1038 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
1039 * HttpRequestContext.cs : when addressing is None, remove action
1042 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
1044 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
1045 path, to pick those endpoints that are added at custom factories.
1047 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1049 * SvcHttpHandler.cs : apply configuration, and if there is still no
1050 endpoint, then add default one.
1052 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1054 * SvcHttpHandler.cs : another URL to make relative.
1056 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1058 * SvcHttpHandlerFactory.cs : some GetHandler changes.
1059 * SvcHttpHandler.cs : significant changes on receiver structure. Now
1060 ProcessRequest() stores pending requests (this might be extraneous,
1061 but maybe useful when it implements async handler). Also removed
1062 reply_channel field as it may become to handle multiple requests.
1063 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
1064 * AspNetReplyChannel.cs : make it receive requests like
1065 HttpReplyChannel (for HttpListener) to make them consistent.
1067 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1069 * AspNetRequestContext.cs, HttpRequestContext.cs :
1070 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
1071 by splitting HttpListener-based context out from common code base.
1073 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1075 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
1076 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
1079 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1081 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
1082 loads types from system assemblies appropriately.
1084 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1086 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
1087 for XmlReader input.
1089 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1091 * HttpRequestMessageProperty.cs : fix default values.
1093 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
1095 * HttpChannelFactory.cs, HttpRequestChannel.cs,
1096 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
1097 Check ManualAddressing value and reject address-missing ones.
1099 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
1101 * HttpChannelFactory.cs : reject URI mismatch cases when required.
1103 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1105 * PeerDuplexChannel.cs : When received Connect() from neighbor,
1106 add the peer to its internal list.
1107 Finally ChatApplication got working.
1109 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1111 * PeerDuplexChannel.cs : since the channel factory is per instance,
1112 do not reuse factory that is tied to different callback instance.
1113 It resolved the issue that mono callback client didn't receive
1114 messages from the client itself.
1116 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1118 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
1119 of the receiver, not the requestor. It resolved the issue that
1120 .NET client didn't send further messages to mono server.
1122 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1124 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
1125 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
1126 TcpReplyChannel.cs, TcpRequestChannel.cs,
1127 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
1128 rename EndRecord handling method to appropriate one.
1129 Write EndRecord from recipient too.
1131 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1133 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
1134 Process PeerTo header to upgrade Message To header. Now mono
1135 service accepts mono client (somehow not true for .NET client).
1137 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1139 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
1140 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
1142 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1144 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
1146 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1148 * TcpDuplexSessionChannel.cs : check channel state before processing
1151 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1153 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
1154 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
1155 ongoing works, not working at all yet.
1157 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1159 * TcpChannelListener.cs, TcpReplyChannel.cs :
1160 cosmetic cleanup and corrections.
1162 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1164 * TcpChannelFactory.cs : use expected Via uri.
1165 Remove extra NIE stuff that are implemented in base.
1167 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1169 * TcpDuplexSessionChannel.cs : remove extra code.
1171 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1173 * PeerDuplexChannel.cs : ongoing implementation towards get callback
1174 replies on peer connector clients (not working as duplex client
1175 callback is not working yet).
1177 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1179 * TcpDuplexSessionChannel.cs : in callback client channels,
1180 OperationContext.IncomingMessageHeaders is null.
1182 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1184 * MessageHeaders.cs : duplicate check was sloppy.
1186 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
1188 * Message.cs, MessageImpl.cs, BodyWriter.cs :
1189 Implement BodyWriter.OnCreateBufferedCopy() and use it.
1191 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
1193 * ReplyChannelBase.cs : initialize field.
1195 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1197 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
1198 implement GetProperty<T>() and return its channel manager.
1200 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1202 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
1203 destination address in Connect() request. To repeat sending
1204 request, use buffered copy. Set some peer-channel specific
1205 header items. (todo: and consume them.)
1207 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1209 * Message.cs : state is set only after WriteBodyContents().
1211 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1213 * MessageHeaders.cs : eliminate wrong use of
1214 ReadElementContentAsString() (it is not always simple string).
1216 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1218 * MessageHeaders.cs : when the value is null, do not try to
1219 deserialize EndpointAddress.
1221 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1223 * MessageHeader.cs : add Value property. (Forgot dependent change.)
1225 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1227 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
1228 serialization and deserialization of values.
1230 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1232 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
1233 Now simply use connector contract.
1235 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1237 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
1239 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1241 * TcpChannelListener.cs : do not try to compare dead connection's
1242 IPEndPoint (it raises an error).
1244 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1246 * MessageHeaders.cs : allow null header value on each specific setter.
1248 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1250 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
1251 get local and remote address of connected counterpart to get
1252 callback channel connected.
1253 * PeerDuplexChannel.cs : remove FIXME wrt above.
1255 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
1257 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
1259 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
1261 * MessageHeader.cs : fill IsReferenceParameter.
1263 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
1265 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
1266 implement remaining async methods and LocalAddress.
1268 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
1270 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
1271 ServiceHost to process neighbor connection (not sure if this is
1272 right way to go though ...).
1274 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1276 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
1277 connection part to use new internal IPeerConnectorContract for
1278 neighbor connection.
1280 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1282 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
1283 PeerChannelListener.cs, HttpChannelListener.cs :
1284 support ListenUri accordingly too so that it could be used when
1285 it is different from LocalAddress.Uri.
1287 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1289 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
1290 TcpRequestChannel.cs : use Via uri to validate and connect.
1292 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1294 * RequestChannelBase.cs, DuplexChannelBase.cs :
1295 Return endpoint address Uri when no explicit Via uri is specified.
1296 * ChannelFactoryBase.cs : Remove extra async close methods.
1297 Add async open methods. Reject null EndpointAddress.
1298 * PeerChannelFactory.cs : remove async open methods (now in base).
1300 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1302 * PeerDuplexChannel.cs : set correct message endpoint (To header).
1304 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1306 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1307 DuplexChannelBase.cs : set LocalAddress property at base.
1309 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1311 * PeerDuplexChannel.cs : ongoing refactoring to work both as
1312 listener and client. Now it creates a listening peer node, and
1313 creates a set of TCP client channels for each peer in the mesh.
1315 (EndpointAddress must be fixed to not filter out correct inputs).
1317 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1319 * PeerChannelListener.cs : do not accept more than one channel
1320 which results in lots of listening peer node. Only one is enough.
1322 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1324 * DuplexChannelBase.cs : fix wrong loop implementation.
1326 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1328 * TcpChannelListener.cs : to avoid creating two or more channels
1329 for one remote endpoint, check existing remote endpoints and
1330 ignore such connections (it must be handled in different thread
1331 fired by ChannelDispatcher loop).
1333 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1335 * TcpReplyChannel.cs : make sure to not try to receive request when
1336 it is already closed.
1338 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1340 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1341 some mannerless clients [*1] do not send EndRecord accordingly, but
1342 such channels at listener side should not be kept open. So, close
1343 disconnected channels when the listener needs to accept another
1345 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
1347 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1349 * TcpDuplexSessionChannel.cs :
1350 Remove extra NIE overrides.
1351 Implement OnAbort() apart from OnClose().
1352 For duplex session channel, unlike reply channel, it must acquire
1353 TCP connection before OnOpen(), otherwise ChannelDispatcher
1354 releases the connection acceptance WaitHandle and the detected
1355 live connection may be stolen by another channel acceptor.
1357 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1359 * HttpRequestChannel.cs : implement OnAbort().
1361 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1363 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
1364 * DuplexChannelBase.cs : comment out some extra fields (so far).
1365 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
1367 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1369 * PeerCustomResolverBindingElement.cs : add some null checks.
1371 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1373 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
1374 Acquire TcpClient for each request/reply. Now it is fully
1375 interoperable with .NET.
1377 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1379 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
1380 ReplyTo and MessageId (though it is session-less), and it expects
1381 EndRecord at weird stage, inconsistent with [MC-NMF]...
1382 Now .NET service accepts one mono client request.
1384 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1386 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
1387 Send and receive unsized message terminator at once.
1388 Send EndRecord mutually. Got one .net client request working.
1390 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1392 * BinaryMessageEncoder.cs : revert the previous dictionary change.
1393 They are indeed used for non-in-band-dictionary messages.
1395 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1397 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1398 split out binary frame manager class into separate file.
1400 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1402 * TcpReplyChannel.cs : new reply channel implementation.
1403 * TcpChannelListener.cs : use above for streamed reply channel.
1404 * TcpDuplexSessionChannel.cs : more streaming mode support.
1405 * TcpRequestChannel.cs : a couple of updates to get it working
1406 with the reply channel above. Still some issues on .NET interop.
1408 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1410 * RequestContext.cs : added internal derived class that implements
1413 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1415 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1418 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1420 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1421 (The messaging must be done as TCP request/reply pattern, so it's
1424 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1426 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1427 messaging pattern). The messaging part is not working yet.
1428 * TcpChannelFactory.cs : support IRequestChannel.
1429 * TcpDuplexSessionChannel.cs : add unsized message support.
1431 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1433 * HttpRequestChannel.cs, RequestChannelBase.cs :
1434 A couple of async members are now implemented in the base class.
1435 Ditto for EndpointAddress and Via.
1437 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1439 * PeerDuplexChannel.cs : now it implements some of node management
1440 functionality and Send operation. The receiver part is not yet.
1442 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1444 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1445 timeout to channel constructor. it does not make sense.
1447 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1449 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1450 as common interface member, and use binary encoder (not text).
1452 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1454 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1456 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1458 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1459 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1460 going to be unified to PeerDuplexChannel. And it is likely that
1461 input and output functionalities are to be unified too.
1463 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1465 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1466 may have to reuse it for peer transport.
1467 * PeerChannelListener.cs : add binding member.
1468 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1470 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1472 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1473 PeerChannelFactory.cs : close opened channels at OnClose() as
1474 documented. Implement async methods.
1475 * PeerChannelListener.cs : removed some NIE overrides.
1477 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1479 * DuplexChannelBase.cs : some more async methods.
1481 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1483 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1485 * TcpChannelListener.cs : accept multiple channels at a time.
1487 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1489 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1490 session strings but output only those new ones in current message.
1491 This fixes inconsistent body output in repetitive use of sender.
1493 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1495 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1496 operation that does not involve session.
1497 Preserve writer session as well as reader session.
1498 * MessageHeaders.cs : take name and namespace into consideration
1499 when creating a serializer.
1501 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1503 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1504 Made required changes for repeated use of message exchanges.
1505 Hold binary reader session. The channels use it incrementally.
1506 Preambles are handled at Open, and EndRecords are handled at
1507 Close, Add session shutdown hook here (not working yet though).
1509 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1511 * ChannelListenerBase_1.cs : added cancellation hook here too.
1512 HttpChannelListener.cs : use above.
1513 Do not allow parallel channel creation (this listener does not
1514 allow more than one AcceptChannel().
1516 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1518 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1519 Add cancellation hook for async TryReceiveRequest.
1521 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1523 * HttpChannelListener.cs, HttpListenerManager.cs :
1524 slightly improved BuildChannelListener().
1525 Implement OnAbort() and differentiate it from OnClose().
1527 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1529 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1531 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1533 * DuplexChannelBase.cs : simple async delegate calls here too.
1535 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1537 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1539 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1541 * HttpReplyChannel.cs : cosometic simplification.
1543 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1545 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1546 infinite block in 2.0 profile.
1548 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1550 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1551 more careful close to avoid NRE.
1553 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1555 * HttpChannelListener.cs : do not Close() more than once (though
1556 it is allowed to call it twice, we don't reject it; just ignore).
1558 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1560 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1562 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1564 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1565 Temporarily disable HTTP Keep-Alive since it somehow results in
1566 wrong reuse of connection (shown as NRE in HttpConnection).
1567 Make sure to close RequestContext which was created from it.
1568 * HttpRequestContext.cs : simplify.
1570 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1572 * HttpChannelListener.cs, TcpChannelListener.cs,
1573 ChannelListenerBase_1.cs : put common internal listener base
1574 and let it handle those async stuff.
1576 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1578 * ReplyChannelBase.cs : fix wrong null delegate check point.
1580 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1582 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1583 now implemented as virtual in base class. Remove NIEs in http.
1585 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1587 * HttpChannelListener.cs : hack async implementation.
1589 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1591 * HttpListenerManager.cs : oops, extra line removal.
1593 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1595 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1597 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1599 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1600 "ChannelManager" is confusing (there is ChannelManagerBase).
1602 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1604 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1605 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1606 they should be split into separate listener->reply channel lines
1607 (remove "if (HostingEnvironment.IsAspNet)".)
1609 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1611 * CommunicationObject.cs : OnClosed() requires call to base method.
1612 Close() could rather abort the channel, and Abort() does not
1613 always invke OnAbort().
1614 * ChannelBase.cs : add call to base as above.
1616 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1618 * ClientAccessPolicy.cs: Removed
1619 * CrossDomainAccessManager.cs: Removed
1620 * CrossDomainPolicy.cs: Removed
1621 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1622 since this is now done inside the BeginGetResponse call (outside
1623 this assembly) for Moonlight (NET_2_1)
1625 2009-06-04 Alan McGovern <amcgovern@novell.com>
1627 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1628 instead of the sync apis. Prevents a possible deadlock condition in
1631 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1633 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1634 callbacks, so add hacky ones.
1636 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1638 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1639 true when socket input is not available.
1641 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1643 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1644 I cannot precisely identify when EndRecord should be consumed,
1645 so allow it at either at the end of ReadSizedMessage() or on
1646 consuming preamble (it's likely handling EndRecord of previous
1649 Now duplex IPeerResolverContract communication works between
1650 either of .NET/Mono client and .NET/Mono server.
1652 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1654 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1655 code. Handle preamble ack on ReadSizedMessage() only at server.
1656 Consume EndRecord from server, at client side. Though it is likely
1657 changed as it's blocking when mono is at server side.
1659 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1661 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1662 different protocol than existing code with related to preamble ack.
1663 So changed it to work fine with .NET client (finally).
1665 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1667 * MessageBufferImpl.cs : do not output Action twice.
1669 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1671 * MessageBufferImpl.cs : it did not copy headers.
1672 * Message.cs : remove 2_1 conditional implementation for buffered
1673 copy and hence remove bogus code.
1675 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1677 * MessageProperties.cs : copy argument is wrong.
1679 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1681 * PeerCustomResolverBindingElement.cs : some argument check.
1683 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1685 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1686 xml open, so close the writer as well as open elements.
1687 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1688 Do not output EndRecord and SizedMessage at a time.
1690 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1692 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1693 length of the SizedMessage in the output.
1695 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1697 * CommunicationObject.cs : use sane default timeout.
1698 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1699 * TcpDuplexSessionChannel.cs : ditto.
1701 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1703 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1704 only accepts buffered messages, so do as such for write buffers.
1705 Add RelatesTo header.
1707 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1709 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1710 rename from former to latter.
1712 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1714 * TcpDuplexSessionChannel.cs : reader does not always return full
1715 buffer (depending on the stream).
1717 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1719 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1721 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1723 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1726 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1728 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1730 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1732 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1734 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1736 * ChannelManagerBase.cs : fix wrong session channel detection.
1738 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1740 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1741 This encoder factory implements CreateSessionEncoder() and binary
1742 encoder does support session transmit, in different media type.
1743 * ChannelManagerBase.cs : added utility method to create appropriate
1745 * HttpChannelFactory.cs, HttpChannelListener.cs,
1746 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1747 PeerChannelFactory.cs, PeerChannelListener.cs,
1748 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1750 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1752 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1754 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1756 * DuplexSessionBase.cs : new file, for session implementation.
1757 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1758 DuplexSessionChannelBase.cs : changed sync/async implementation
1759 pattern. Now async methods call sync methods using delegates.
1761 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1763 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1764 a few minor API fixes.
1766 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1768 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1770 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1772 * TcpDuplexSessionChannel.cs : add To header.
1774 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1776 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1779 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1781 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1783 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1785 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1786 CommunicationException in each CreateFault().
1788 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1790 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1791 Open(). Some (but not all yet) continuous communication works now.
1792 Use ProtocolException. Remove dummy binary session string.
1794 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1796 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1797 sending/receiving SizedMessageRecord parts to manager class.
1798 Handle writer session, though it is likely broken at dictionary
1799 writer part (no string is written so far).
1800 * BinaryMessageEncoder.cs : add writer session and rename reader
1803 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1805 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1806 is mandatory in initiator preamble packet. Handle Fault reply in
1809 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1811 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1812 based communication under TcpBinaryFrameManager class.
1814 2009-05-13 Jb Evain <jbevain@novell.com>
1816 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1817 from a StringReader.
1819 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1821 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1822 actually eliminate DOM-based implementation too in 2.0.
1824 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1826 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1827 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1828 comments for magic numbers based on [MC-NMF].
1830 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1832 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1833 support for [MC-NBFSE] record in [MC-NMF], in this class.
1835 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1837 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1839 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1841 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1843 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1845 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1847 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1849 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1851 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1853 * BinaryMessageEncoder.cs : use quotas in binding element.
1854 Implement WriteMessage().
1856 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1858 * PeerCustomResolverBindingElement.cs : do initialize field.
1860 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1862 * PeerCustomResolverBindingElement.cs :
1863 implement full custom resolver.
1865 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1867 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1868 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1869 PeerChannelFactory.cs : ongoing p2p channel implementation.
1871 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1873 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1875 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1877 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1878 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1879 implement GetProperty<T>(). Return documented objects or null.
1881 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1883 * PeerChannelFactory.cs, PeerChannelListener.cs,
1884 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1885 PeerInputChannel.cs, PeerOutputChannel.cs :
1886 new; ongoing peer transport implementation.
1887 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1888 MsmqOutputChannel.cs, OutputChannelBase.cs,
1889 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1890 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1891 several internal changes (either required or for simplification)
1892 for ongoing peer transport implementation.
1894 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1896 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1898 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1900 * TcpTransportBindingElement.cs : check build-ability before
1901 actually building channels.
1902 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1903 conditions according to MSDN.
1905 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1907 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1908 handle headers in SL2. Slightly changed 3.0 code too.
1910 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1912 * HttpRequestChannel.cs : use cross domain access manager.
1914 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1916 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1917 message as BodyWriter.
1918 (in GetReaderAtBodyContents) just write body contents.
1919 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1921 Add some state check in GetReaderAtBodyContents().
1922 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1924 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1926 * Message.cs : do not forget to flush.
1927 * HttpRequestChannel.cs : give more exact error info.
1929 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1931 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1932 make buffered copy in ML2 really buffered.
1934 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1936 * Message.cs : if there is no header item to write, do not write
1937 SOAP header element.
1939 2009-01-22 Alan McGovern <amcgovern@novell.com>
1941 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1942 Rewrite to avoid usage of it.
1944 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1946 * ChannelParameterCollection.cs : implement, rather than NIE.
1948 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1950 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1951 internal users to know the type of the detail.
1953 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1955 * Message.c: Use private setter for state private variable to ease debugging.
1956 Modify ToString not to change the state, as it is called quite often by VS debugger
1958 2008-04-21 Roei Erez <roeie@mainsoft.com>
1960 * HttpChannleManager: Fix for multithreaded use.
1961 * HttpReplyChannel: Fix crash during sutdown.
1963 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1965 * HttpChannleManager: ensure trailing slash in uri.
1967 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1969 * added: HttpChannleManager,
1970 * HttpChannelListener: added use of HttpChannelManager
1972 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1974 * MessageEncodingBindingElement.cs: fixed ctor
1976 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1978 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1980 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1982 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1984 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1986 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1988 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1990 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1992 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1994 * BindingElementCollection.cs: fix API - .ctor's signature.
1996 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1998 * XmlSerializerBodyWriter.cs: Removed.
2000 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
2002 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
2004 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
2006 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
2007 * TcpChannelFactory.cs, TcpChannelListener.cs :
2008 unify factory and listener into TcpChannelInfo for use in
2009 TCP channel implementation. Do not store stream in the listener.
2010 Factory now uses BinaryMessageEncoder.
2011 * TcpDuplexSessionChannel.cs : changes explained above, and now it
2012 holds TcpClient that the listener has accepted.
2014 tcp-transport-binding-element sample now communicates (though
2015 only when both sides are mono: there seems binary mismatch).
2017 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
2019 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
2020 clone connection pool settings too.
2021 * NamedPipetransportBindingElement.cs,
2022 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
2023 being likely implemented though).
2025 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
2027 * ConnectionOrientedTransportBindingElement.cs,
2028 TcpTransportBindingElement.cs : some API updates.
2029 Initialize default values.
2030 * TcpConnectionPoolSettings.cs : new file.
2032 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
2034 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
2035 added support for "factory" attribute.
2037 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2039 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
2041 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2043 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
2045 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2047 * HttpRequestChannel.cs : create WebRequest against To message header
2049 Consider HttpRequestMessageProperty.
2050 Do not output body when suppressed or the method is GET.
2052 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2054 * HttpChannelListener.cs : BindingContext may not have listenUri
2055 at its .ctor() step.
2057 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
2059 * BindingContext.cs : RemainingBindingElements is not just a dummy
2060 collection but is actually user-controlled.
2062 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
2064 * TcpChannelFactory.cs, TcpChannelListener.cs,
2065 HttpChannelFactory.cs, HttpChannelListener.cs,
2066 MsmqChannelFactory.cs, MsmqChannelListener.cs,
2067 TextMessageEncodingBindingElement.cs,
2068 BinaryMessageEncodingBindingElement.cs,
2069 MtomMessageEncodingBindingElement.cs :
2070 message encoder should be retrieved only through public API.
2071 * BindingContext.cs : so my old guess was wrong.
2073 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
2075 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
2077 * HttpTransportBindingElement.cs : implemented copy constructor.
2079 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
2081 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
2082 header when AddressingVersion is None.
2084 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
2086 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
2089 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
2091 * OneWayBindingElementImporter.cs
2092 CompositeDuplexBindingElementImporter.cs : new files.
2094 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
2096 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
2097 semantic change, its bool parameter must be false, not true.
2099 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
2101 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
2102 new files. Msmq transport listener Implementation.
2103 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
2104 (wait for System.Messaging impl.)
2105 * HttpReplyChannel.cs : added comment
2107 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
2109 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
2110 new files. internal stuff for msmq channel.
2111 * BinaryMessageEncoder.cs : added another .ctor().
2112 * MsmqTransportBindingElement.cs :
2113 implemented [Can]BuildChannelFactory().
2115 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
2117 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
2118 initialize some fields.
2120 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
2122 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
2123 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
2124 couple of msmq stubs.
2126 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
2128 * SecureMessageGenerator.cs : SecurityContextToken support (though
2129 it is still regarded as invalid by WCF).
2131 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
2133 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
2134 make header.Contents.Add() more strict.
2135 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
2137 Added some hack to allow ssl token external mode.
2138 Commented out such lines that always premised asymmtric key.
2140 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
2142 * TransactionFlowBindingElement.cs : forgot necessary Clone().
2144 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
2146 * MessageSecurityBindingSupport.cs : support check to create
2147 authenticator is now done in both initiator/recipient sides.
2148 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
2150 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2152 * MessageSecurityBindingSupport.cs : for now, comment out the code
2153 that makes authenticator creation optional.
2154 * SecurityRequestContext.cs : don't decrypt message when it is
2155 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
2157 * SecurityChannelListener.cs : GetProperty<T>() now returns
2158 MessageSecurityBindingSupport when requested. It is used by
2159 EndpointDispatcher to check if it supports WS-Trust negotiation.
2160 * ChannelListenerBase.cs :
2161 removed extra TODO and field. Implemented GetProperty<T>().
2162 * Message.cs : In CreateMessage() for SOAP Fault, create
2163 SimpleMessage with IsFault = true.
2165 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2167 * SecurityRequestContext.cs : try to reply fault with the inner
2168 channel when an error occurred internally.
2169 * FaultConverter.cs : implemented based on OperationContext (at normal
2170 state it does not seem to create messages, so I implemented it this
2173 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2175 * TransportBindingElement.cs : implemented GetProperty<T>().
2176 * TransactionFlowBindingElement.cs : on building factory or listener,
2177 reject channel types that cannot build.
2178 * SecurityBindingElement.cs : added some TODO comments.
2179 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
2180 delegate to base, not BindingContext.
2181 * SecurityRequestContext.cs : somewhat late decryption.
2183 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
2185 * MessageSecurityBindingSupport.cs,
2186 AsymmetricSecurityBindingElement.cs,
2187 SymmetricSecurityBindingElement.cs :
2188 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
2189 implemented ISecurityCapabilities on them. Now those binding
2190 elements support GetProperty<ISecurityCapabilities>().
2192 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
2194 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
2195 will work only for predefined parameter types.
2197 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
2199 * MessageSecurityBindingSupport.cs :
2200 Set proper MessageDirection to the requirement after creation.
2201 split CreateTokenAuthenticator() as MessageDirection is different.
2202 Removed extra creation of requirement.
2204 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
2206 * MessageSecurityBindingSupport.cs : token authenticator is not
2207 always created on channel-opening stage.
2208 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
2209 Sslnego binding factory method.
2211 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
2213 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
2214 signature velification failure.
2216 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2218 * SecureMessageGenerator.cs : encrypt signature confirmations only
2219 when they are required.
2221 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2223 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
2224 when [Signature Protection is true i.e. when we use
2225 SignBeforeEncryptAndEncryptSignature.
2227 With this change finally samplesvc.cs/samplecli.cs became
2230 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2232 * SecureMessageDecryptor.cs : signature verification was not done
2233 for endorsing supporting tokens.
2234 * SecureMessageGenerator.cs : moved SignatureConfirmation position
2235 in the security header. Don't output empty ReferenceList.
2237 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2239 * SecureMessageGenerator.cs : signingToken was added before being
2240 initialized and thus caused NRE.
2242 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2244 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2245 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
2246 don't need workaround for symmetric key restoration.
2248 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2250 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2251 SecureMessageGenerator.cs :
2252 Avoid extra reference search from the request's ReferenceList.
2253 create HMACSHA1 always with the key to compute hash (I'm not sure
2254 it is correct; it is rather to adjust all hash consistent.)
2256 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2258 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
2259 actually endorsed the primary signature.
2260 * SecureMessageGenerator.cs : implemented endorsing of the primary
2261 signature. So, now supporting tokens are fully implemented.
2263 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2265 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
2266 totally signing tokens.
2267 * SecureMessageGenerator.cs : Endorsing tokens should also be
2268 included in the message. They are just not signed.
2270 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
2272 * SecureMessageGenerator.cs : support signing and encryption of
2273 supporting tokens. Some required refactory to do it.
2274 * MessageSecurityBindingSupport.cs : added EncryptedData member.
2276 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
2278 * SecureMessageDecryptor.cs : fix exception message.
2279 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
2280 XmlNamespaceManager is not required for GetIdElement().
2282 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
2284 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
2285 moved decryption part from former file to latter file, to reuse
2286 SignedXml instance (though now I doubt how it actually was good)
2287 which in turn required to replace EncryptedData in
2288 WSSecurityMessageHeader with decrypted one.
2289 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
2291 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2293 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
2294 EncryptedData should contain KeyInfo as it is not obvious which key
2295 is used there. .net<->mono DerivedKeyToken introp is done.
2296 * SecureMessageDecryptor.cs : check derived key requirement.
2297 Reduce dom-dependent parts.
2299 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2301 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
2302 the related DerivedKeyToken (if any).
2303 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
2304 support. Some refactoring to distinguish deried-token-related
2306 * SecureMessageDecryptor.cs : removed its own support for derived
2307 key tokens. Now it fully works with DerivedKeySecurityToken.
2309 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2311 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2312 SecureMessageDecryptor.cs :
2313 Implemented increment token reading in o:Security, as
2314 DerivedKeyToken could reference to existing wrapped key.
2315 Removed WsscDerivedKeyToken and all relevant code.
2316 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
2317 DerivedKeySecurityToken.
2319 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
2321 * SecureMessageGenerator.cs : it was setting security tokens into
2322 incorrect SecurityMessageProperty.
2323 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
2324 Now it uses SecurityRequestContext instead of just primary key.
2325 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
2326 to symmetric reply decryption, which is the only trouble case.
2327 Do not create another SignedXml.
2328 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
2330 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
2332 * SecureMessageDecryptor.cs : Now it uses union token resolver and
2333 the resolver works with in-progress token reading in o:Security.
2334 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
2335 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
2336 * SecureMessageGenerator.cs : cosmetic refactoring.
2338 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
2340 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
2341 instead of EncryptedKey.
2343 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
2345 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
2346 should not be always prepared at channel Open(). It also caused
2347 that extra token requirements.
2348 * SecureMessageGenerator.cs : use correct key clause for encryption.
2349 * SecureMessageDecryptor.cs : reduce extra key acquisition.
2351 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2353 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
2354 for supporting 'supporting tokens' .
2355 * SecureMessageGenerator.cs : Supporting token creation is done only
2356 at initiator (not sure if it is supposed that, but for now it is).
2357 Removed extraneous CollectSupportingTokens().
2358 * SecureMessageDecryptor.cs : implemented supporting token
2359 authentication (partly). "Signed" supporting tokens are expected
2362 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2364 * SecureMessageGenerator.cs :
2365 make SignBeforeEncryptAndEncryptSignature working.
2367 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2369 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
2370 the key itself. ProtectionToken is WrappedKey.
2371 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
2372 not EncryptedKeyIdentifierClause which is not for embedded key.
2373 * MessageProperties.cs : Fixed copy direction in CopyProperties().
2375 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
2377 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
2378 to switch asymmetric and symmetric. Not used yet.
2379 * SecurityRequestChannel.cs : now it pass the request security
2380 property to reply receiver so that it could use the primary key
2381 used at request phase.
2382 * SecurityRequestContext.cs : now it pass the context itself to
2383 reply sender so that it could embed related MessageID.
2384 * SecureMessageGenerator.cs : ongoing changes to support symmetric
2385 binding element. Add RelatesTo output and remove MessageID when
2386 replying to the sender. Added some hacks to get symmetric binding
2388 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
2389 in SecurityTokenReference (it also involved existing encrypted key
2390 retrieval). In reply receiver, reuse the key that was used at
2391 request phase. It needs significant token resolution refactoring.
2393 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2395 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2396 * SecureMessageDecryptor.cs : store token and its authentication
2397 policies into the security property, and reuse it on reply.
2398 Some code refactoring; there is at most one o:Security to solve at
2399 one endpoint (depends on Actor). Some attempt to use correct
2400 token parameters (but for now I have only samples that use x509).
2401 * SecureMessageGenerator.cs : For replying message, use initiator's
2402 signing token as the encryption token. Simply reuse security
2403 property from the input message.
2405 I have some nasty workaround at decryptor for initiator that could
2406 not retrieve decryption key.
2408 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2410 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2411 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2412 several refactoring on token acquisition. Large part of
2413 MessageSecurityBindingSupport code is unified.
2415 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2417 * MessageProperties.cs : Security property should be one of the items.
2418 Actually many other properties should be similar as well.
2419 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2420 when copying a message, copy properties as well.
2421 * SecurityRequestContext.cs : on replying, pass input
2422 SecurityMessageProperty to the security generator.
2423 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2425 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2427 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2430 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2431 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2432 use new WSSignedXml instead of SignedXml, and remove coexisting
2433 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2434 - our reply messages could be consumed by .NET, and
2435 - .NET signature could be verified.
2437 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2439 * SecureMessageDecryptor.cs : The signing key must be passed as
2440 CheckSignature() argument, not SigningKey.
2442 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2444 * MessageImpl.cs : don't read attribute after ReadStartElement().
2446 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2448 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2449 * SecureMessageGenerator.cs : use correct signing key clause for
2450 SecurityTokenReferenceKeyInfo to be serialized.
2451 * SecureMessageDecryptor.cs : now it can try to parse signature.
2453 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2455 Ongoing changes to support signature confirmation
2456 * SecureMessageGenerator.cs :
2457 Don't output ReplyTo onto reply message.
2458 Write SignatureConfirmation if needed.
2459 * SecureMessageDecryptor.cs :
2460 Some refactoring for header cunsumption. Added commented-out
2461 signature verification part (not working yet, on client side due
2462 to incorrect reply from service and insufficient clause reader).
2463 * WSSecurityMessageHeader.cs :
2464 Added SignatureConfirmation support.
2465 KeyInfoClause for o:SecurityTokenReference should be replaced with
2466 SecurityTokenReferenceKeyInfo.
2468 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2470 * SecureMessageGenerator.cs : support Timestamp signature.
2471 Removed unused code, and extra argument in CreateReference().
2472 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2474 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2476 * SecureMessageGenerator.cs :
2477 Several fixes to make asymmetric binding working:
2478 - Differentiate signing and encryption token in several areas.
2479 - Fixed signing keyinfo.
2481 Added initial SecurityMessageProperty handling, not sure if it is
2482 appropriate here though.
2483 * HttpRequestChannel.cs : (some debugging lines)
2485 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2487 Woohoo! Here is a very basic WS-Security compliant message which could
2488 be allowed by Indigo.
2489 * MessageHeader.cs : added Id support for writing.
2490 * Message.cs : added internal BodyId for signature reference.
2491 * MessageImpl.cs : write Body Id if required.
2492 * SecureMessageGenerator.cs : Before signing, the target elements must
2493 be given wsu:Id. Since I still use System.Security.dll, I need some
2494 trick for signing (I give both Id and wsu:Id, former to sign and
2495 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2496 implementation later. Now singning mechanism works except for
2497 wsu:Timestamp (which is kind of mandatory).
2499 I can's still consume replies from Indigo but it's a big progress :)
2501 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2503 * MessageHeaderInfo.cs : added internal Id.
2504 * MessageHeader.cs : read and write wsu:Id.
2505 * Message.cs : output wsu namespace if Id exists in any header.
2506 * HttpReplyChannel.cs : (some debugging lines.)
2507 * SecureMessageDecryptor.cs : (remove debugging lines.)
2508 * MessageImpl.cs : removed obsolete code.
2509 * WSSecurityMessageHeader.cs : output "o" prefix.
2510 * SecureMessageGenerator.cs : replaced XmlElement-based header
2511 signing with MessageHeader-based signing, to support Id correctly.
2513 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2515 * SecureMessageGenerator.cs : some more refactoring and code comments.
2516 * MessageSecurityUtility.cs : made decryptor into an instance class,
2517 like I've done for SecureMessageGenerator.
2518 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2519 dependent changes for above.
2521 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2523 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2524 causing NRE due to the lack of token reference.
2525 No need to pass doc to SignedXml.ctor() anymore.
2526 Moved ReferenceList before the signature(s).
2528 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2530 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2531 Moved signing key generation code to non-HMACSHA1 signing part.
2532 Don't try to sign wss:Security.
2533 Pass document itself to SignedXml.ctor().
2534 Use temporary DataObjects to avoid adding Ids (not sure what is the
2535 expected processing yet).
2536 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2537 WriteTo() method in WsuTimestamp.
2539 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2541 * SecureMessageGenerator.cs : wrong key was used for signing.
2542 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2544 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2546 * SecureMessageGenerator.cs :
2547 Now ID generation process does not modify input message.
2548 Moved derived key generation part into (virtual) signing loop.
2549 MessagePartSpecification support for signing is done.
2551 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2553 * SecureMessageGenerator.cs : some reordering to handle signing and
2554 encryption with supporting tokens. Fixed XPath query bug for
2555 soap header contents (we want s:Header/*, not s:Header).
2557 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2559 * MessageSecurityBindingSupport.cs : more refactoring.
2560 Made it abstract and added Initiator- and Recipient- classes.
2561 Several members were moved to those derived types.
2562 * AsymmetricSecurityBindingElement.cs,
2563 SymmetricSecurityBindingElement.cs
2564 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2565 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2566 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2567 All dependent changes by above. Removed ISecurityChannelSource
2568 which became useless.
2570 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2572 * SecureMessageGenerator.cs : encryption parts should exist too.
2573 * AsymmetricSecurityBindingElement.cs
2574 SymmetricSecurityBindingElement.cs,
2575 MessageSecurityBindingSupport.cs : some refactoring.
2576 Split MessageSecurityBindingSupport into security binding element
2577 specific parts and made MessageSecurityBindingSupport concrete.
2578 It is likely split again, next time based on initiator/recipient.
2580 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2582 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2583 split encryptor part in the former file into latter file, and
2585 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2586 SecurityRequestContext.cs : apply the change above.
2588 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2590 * MessageSecurityBindingSupport.cs :
2591 Fixed incorrect TrgGetValue() use.
2592 Added CollectRecipientSupportingTokens().
2594 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2596 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2597 EncryptedKey. So, when a key itself is used to encrypt data,
2598 ReferenceList is contained by itself.
2599 * MessageSecurityBindingSupport.cs :
2600 added CollectInitiatorSupportingTokens().
2602 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2604 * MessageSecurityUtility.cs: it should support ReferenceList-less
2607 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2609 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2610 * MessageSecurityUtility.cs : there already was uuid.
2612 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2614 * MessageSecurityUtility.cs : replaced EncryptedKey with
2615 WrappedKeySecurityToken, which seems to be in actual use in .net.
2616 * WSSecurityMessageHeader.cs : added internal Guid so that it
2617 could be shared between header items.
2619 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2621 * HttpRequestContext.cs, TextMessageEncoder.cs :
2622 some null arg check.
2624 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2626 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2627 for SecurityTokenReference resolution.
2629 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2631 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2632 consider DerivedKeyTokens correctly.
2633 When creating LocalId, don't add '#' here.
2635 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2637 * MessageSecurityUtility.cs :
2638 handle key mapping for each wsse:Security.
2640 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2642 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2644 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2646 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2648 * MessageSecurityUtility.cs :
2649 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2650 suggests, and it is used to dereference decryption targets.
2651 Now it premises multiple wsse:Security elements to read.
2653 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2655 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2656 manually (and actually the namespace URI was wrong).
2658 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2660 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2662 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2664 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2666 * SecurityBindingElement.cs,
2667 SymmetricSecurityBindingElement.cs,
2668 AsymmetricSecurityBindingElement.cs :
2669 implemented SetKeyDerivation().
2671 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2673 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2676 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2678 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2681 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2683 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2684 thus move it in front of encryption/signing.
2686 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2688 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2689 check state by themselves (btw it's not really working).
2690 * HttpChannelListener.cs : If the url does not end with '/' add it
2691 so that it could be fed to HttpListener.
2693 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2695 * HttpChannelFactory.cs : check scheme on CreateChannel.
2696 * MessageHeader.cs : finish IsMessageVersionSupported().
2698 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2700 * FaultConverter.cs : new file, not used yet though.
2702 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2704 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2706 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2708 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2709 GET as well as HttpReplyChannel, configuration would be ready now.
2711 2006-10-18 Ankit Jain <jankit@novell.com>
2713 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2714 EnvelopeVersion.Soap12 and 'text/xml' for others.
2715 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2717 Strip '?' from the query string.
2719 2006-10-13 Ankit Jain <jankit@novell.com>
2721 * MessageVersion.cs (None): Set AddressingVersion.None
2723 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2725 * SvcHttpHandler.cs : added config-based endpoint addition code.
2726 Though due to some weird bug in mono-core it does not seem to work,
2727 so commented out for now.
2728 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2729 mex request message might just be wrong.
2730 Use expected MessageVersion by the channel.
2731 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2733 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2735 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2736 which differs depending on whether it is asymmetric or symmetric.
2737 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2738 simplify SecureMessage() and DecryptMessage() arguments (just
2739 take MessageSecurityBindingSupport instead of several parameters).
2740 * MessageSecurityUtility.cs :
2741 - simplify SecureMessage() and DecryptMessage() arguments (just
2742 take MessageSecurityBindingSupport instead of several parameters).
2743 - Take token inclusion mode into account. Don't include them when
2744 it is not expected. Also, change the token reference style.
2745 - add wsa:MessageID to the headers.
2746 - For hmac-sha1 signing (default for symmetric binding), use
2747 symmetric key created for encryption as well to create HMACSHA1.
2748 - add Id to wsu:Timestamp.
2749 - start to handle SecurityMessageProperty.
2750 * WSSecurityMessageHeader.cs :
2751 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2752 Changed date format.
2754 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2756 * CommunicationObject.cs : reject faulted state on Open()/Close().
2757 * MessageHeaders.cs : removed extra fields.
2759 2006-10-06 Ankit Jain <jankit@novell.com>
2761 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2763 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2765 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2766 added some FIXMEs and additional arg.
2768 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2770 * MessageSecurityUtility.cs : remove duplicate Action header.
2772 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2774 * MessageFault.cs : partly implemented CreateFault(Message, int).
2775 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2776 handle IsFault correctly in each implementation.
2778 2006-10-04 Ankit Jain <jankit@novell.com>
2780 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2782 2006-10-04 Ankit Jain <jankit@novell.com>
2784 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2785 in WebConnectionStream.
2787 2006-10-04 Ankit Jain <jankit@novell.com>
2789 * MessageHeaders.cs (To): Use GetHeader<string> till
2790 DataContractSerializer gets ISerializable support.
2791 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2793 2006-10-04 Ankit Jain <jankit@novell.com>
2795 * ServiceHostParser.cs (Parse):
2796 (Split): Add some error checks.
2798 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2800 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2801 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2802 * SslStreamSecurityUpgradeProvider.cs,
2803 SslStreamSecurityUpgradeAcceptor.cs :
2804 new files for Ssl upgrade provider implementation.
2805 * MessageSecurityUtility.cs :
2806 Create proper C14NTransform. Don't use enveloped signature
2807 transform but sign every significant bits. On securing messages
2808 use ChannelProtectionRequirements.
2809 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2811 * MessageEncoder.cs : fix API (missing constraint).
2812 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2813 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2814 * AsymmetricSecurityBindingElement.cs : default protection order is
2815 SignBeforeEncryptAndEncryptSignature.
2817 2006-09-29 Ankit Jain <jankit@novell.com>
2819 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2820 ServicHostParser and use that here.
2821 (PrivateBinPath): New.
2822 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2823 (RemovedCallback): Remove and close the SvcHttpHandler when its
2824 corresponding file (.svc) changes.
2825 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2827 * ServiceHostParser.cs : New.
2828 * CachingCompiler.cs : New. Code extracted from
2829 System.Web.Compilation.CachingCompiler
2830 * CompilationException.cs : New. From System.Web.Compilation
2831 * HtmlizedException.cs : New. Likewise.
2833 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2835 * MessageSecurityBindingSupport.cs : For client side, it is always
2836 InitiatorServiceModelSecurityTokenRequirement which should be
2837 created. Fixed wrong client encryption key acquisition.
2839 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2841 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2842 MessageSecurityBindingSupport.cs : made similar changes as factories
2843 to listener so that session channels and input channels would work.
2844 Added authenticator creation.
2846 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2848 * Binding.cs : added missing members.
2850 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2852 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2853 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2854 reduce code duplication between request and output channels.
2855 The common parts are now in MessageSecurityBindingSupport.
2856 Now reduced several arguments in SecureMessage() for client.
2858 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2860 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2862 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2864 * AsymmetricSecurityBindingElement.cs,
2865 SecurityChannelListener.cs,
2866 SecurityRequestContext.cs,
2867 SymmetricSecurityBindingElement.cs,
2868 SecurityRequestChannel.cs,
2869 SecurityOutputChannel.cs,
2870 SecurityChannelFactory.cs,
2871 MessageSecurityBindingSupport.cs : 1) Refactoring.
2872 IMessageSecurityBindingSupport now becomes a class and contains
2873 all the members which resided in ISecurityChannelSource.
2874 Now it takes more constructor params.
2875 Made dependent changes on all sources above.
2877 2) Added SecurityTokenAuthenticator creation in
2878 SecurityRequestChannel (SecurityOutputChannel should do the same).
2880 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2882 * SecurityRequestChannel.cs : ongoing improvements on conditional
2883 key creation. Actually there must be some part that creates an
2884 authenticator (WinFX does that).
2886 2006-09-27 Ankit Jain <jankit@novell.com>
2888 Add suport for handling .svc files.
2889 * SvcHttpHandlerFactory.cs: New.
2890 * SvcHttpHandler.cs: New.
2892 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2893 asp.net environment.
2894 (OnOpen): Do nothing in asp.net environment.
2895 (OnClose): Likewise.
2896 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2897 * HttpRequestContext.cs: .. here.
2899 * AspNetReplyChannel.cs: New.
2900 * AspNetRequestContext.cs: New.
2902 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2904 * MessageSecurityUtility.cs :
2905 Significantly rewritten decryption parts to respect ReferenceList
2906 to decrypt (so no workaround anymore).
2907 Now e:ReferenceList inside o:Security is treated as the referenced
2908 EncryptedType items are encrypted by 1) the derived key which is
2909 immediately in front of it, or 2) the default key (it is according
2910 to WS-SecureConversation section 9.1). Thus removed immediately
2911 previous hack to auto-fill wsu:Id attributes.
2913 On securing a message, generate correct Id and add DataReference
2914 to ReferenceList properly.
2916 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2918 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2921 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2923 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2924 Actually WSSecurityTokenSerializer should be able to consume it, but after
2925 spending a lot of time I still cannot successfully read it on WinFX.
2926 Skip ReferenceList for now.
2927 * MessageSecurityUtility.cs :
2928 Replaced some string literals with constants.
2929 Added some workaround for DerivedKeyToken retrieval.
2930 WinFX somehow sends incomplete ISO10126 padding which contains
2931 bigger number than the key size and is rejected by EncryptedXml,
2932 so added DecryptLax() which processes such ones in PaddingMode.None
2933 to workaround it (only for cross-connection between mono and winfx).
2934 Added some incomplete implicit wsu:Id processing.
2935 Don't try to replace SignedXml with EncryptedData. It is not added
2936 to the document tree.
2938 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2940 * MessageSecurityUtility.cs : support message signature encryption. Some
2943 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2945 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2947 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2949 * MessageSecurityUtility.cs : fix warnings.
2951 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2953 * MessageSecurityUtility.cs : actually there would be more than one
2954 EncryptedData. Decrypt all.
2956 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2958 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2959 Use ISO10126 padding mode (it is not required but in manner).
2961 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2963 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2964 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2965 that class to make it work fine with mono client).
2966 Removed buggy lines that reset decryption key to AES.
2967 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2968 * WSSecurityMessageHeader.cs :
2969 (SecurityTokenReferenceKeyInfo) support LoadXml.
2971 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2973 * TransactionMessageProperty.cs : new file.
2975 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2977 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2978 gmcs happened to report wrong code.
2980 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2982 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2983 .ctor() now requires ChannelProtectionRequirements which will be
2984 supplied via BindingParameterCollection.
2985 * SymmetricSecurityBindingElement.cs,
2986 AsymmetricSecurityBindingElement.cs : thus add
2987 ChannelProtectionRequirement parameter to factory/listener.
2988 * SecurityRequestChannel.cs : use recipient token requirement to
2989 create an encryption token. Thus differentiate the logic from
2990 signing (initiator) token.
2992 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2994 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2995 renamed former to latter.
2996 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2999 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
3001 * MessageSecurityBindingSupport.cs : new internal types to commonize
3002 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
3003 and thus make internal factory and listener reusable.
3004 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
3005 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
3006 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
3007 SymmetricSecurityBindingElement, using the new types above.
3008 * SymmetricSecurityBindingElement.cs :
3009 Use SymmetricMessageSecurityBindingSupport.
3010 * AsymmetricSecurityBindingElement.cs :
3011 thus implemented, using AsymmetricMessageSecurityBindingSupport.
3013 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
3015 * ChannelFactoryBase.cs : more RC1 update.
3017 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
3019 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
3020 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
3021 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
3022 ChannelBase.cs : RC1 API updates.
3023 * MessageImpl.cs : implemented Properties.
3024 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
3026 2006-09-18 Ankit Jain <jankit@novell.com>
3028 * MessageHeaders.cs (MessageId):
3029 (RelatesTo): UniqueId is not serializable, serialize it as a string.
3031 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3033 * ChannelParameterCollection.cs : new file.
3034 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
3035 new files for IOutputChannel implementation.
3036 * OneWayBindingElement.cs : hacky implementation.
3037 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
3038 * MessageSecurityUtility.cs : now create identifier from the security
3039 token and the token parameters which is added as an argument.
3040 * SecurityRequestContext.cs,
3041 SecurityRequestChannel.cs : SecureMessage() argument changes.
3042 Set MessageSecurityVersion (SecurityTokenVersion) to the token
3045 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3047 * HttpRequestChannel.cs : close the HttpWebRequest.
3049 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3051 * HttpRequestChannel.cs,
3052 HttpChannelFactory.cs : implement async request/reply.
3053 * HttpChannelFactory.cs :
3054 verify factory state when creating a channel.
3056 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3058 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
3059 BinaryMessageEncoder.cs : added message version mismatch check.
3061 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
3063 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
3064 Making incomplete changes to handle different tokens for encryption
3066 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
3067 split channel implementation classes out to the latter file.
3068 * MessageSecurityUtility.cs : seems like there is
3069 TimeStampValidityDuration property, so use it (incomplete; a server
3070 needs another love).
3072 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
3074 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
3075 SecurityRequestContext.cs : now that we have key identifier clause
3076 and working ResolveKeyIdentifierClause(), just create keys inside
3077 SecureMessage(). Add KeyInfo to the xmldsig.
3079 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
3081 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
3082 pass SecurityKeyIdentifierClause to SecureMessage().
3083 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
3084 for IssuedToken binding element.
3085 * SymmetricSecurityChannelListener.cs : removed hack to just create
3086 X509 security token, and implemented correct token creation.
3087 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
3088 wraps SecurityTokenReference element.
3089 * MessageSecurityUtility.cs : use the above.
3091 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3093 * MessageSecurityUtility.cs : raise MessageSecurityException when it
3094 could not find a security header.
3095 * SymmetricSecurityChannelFactory.cs : now it also supports
3096 IRequestSessionChannel. Extracted SecurityRequestChannel out from
3099 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3101 * SecurityRequestContext.cs : moved securing message part to
3102 MessageSecurityUtility.cs.
3103 * MessageSecurityUtility.cs : the change above.
3104 use DateTime.Now for timestamp basis. Don't append signature to
3105 the document. Instead it is added to the header. Capture body
3106 content instead of the body itself.
3107 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
3108 be processed by upper layers.
3110 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3112 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
3113 SymmetricSecurityChannelListener.cs,
3114 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
3115 more refactoring. Request serialization became much more conformant
3116 and add required header items.
3117 Security Token retrieval is needed to send it in the request.
3118 Fixed wrong key encryption.
3120 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3122 * SecurityRequestContext.cs : the workaround was not functional.
3124 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3126 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
3127 API, especially ReplaceData(), instead of native crypto stuff.
3128 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
3129 MessageProtectionOrder.SignBeforeEncrypt).
3131 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3133 * SecurityRequestContext.cs : label should be combined of both
3134 the client's and the server's.
3136 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3138 * SecurityRequestContext.cs : enable key derivation (though for now
3139 GenerateDerivedKey() is unimplemented). Create meaningful,
3140 decrypted request message to be consumed by the upper layer.
3142 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3144 * SecurityRequestContext.cs : implement Close() and Reply().
3145 ongoing implementation of Reply(TimeSpan).
3146 * MessageSecurityUtility.cs : new file to collect utility methods.
3147 * SymmetricSecurityChannelFactory.cs : moved securing message code
3149 * SymmetricSecurityChannelListener.cs : tiny renaming.
3151 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3153 * SecurityRequestContext.cs : security header is also stored.
3155 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
3158 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3160 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
3163 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3165 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
3166 so that it retrieves the security key in that manner.
3168 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3170 * Binding.cs : MessageVersion is null when there is no
3171 MessageEncodingBindingElement.
3172 * Message.cs : null arg check.
3174 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3176 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
3178 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
3180 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
3181 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
3182 LayeredRequestChannel.cs : some refactoring.
3183 * SymmetricSecurityChannelFactory.cs :
3184 ongoing secure message creation implementation.
3186 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
3188 * SymmetricSecurityBindingElement.cs :
3189 pass specific ServiceCredentialsSecurityTokenManager type to
3190 SymmetricSecurityChannelListener as it needs ServiceCertificate.
3191 * SymmetricSecurityChannelListener.cs :
3192 get service certificate. It's a temporary hack.
3193 Move RequestContext code to below.
3194 * SecurityRequestContext.cs : new file.
3195 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
3196 it I have to finish decryption of the incoming message.
3198 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3200 * MessageImpl.cs : don't write attributes on the first body content
3201 element *on soap Body element*.
3202 * MessageBufferImpl.cs : don't throw ArgumentNullException.
3203 ObjectDisposedException is appropriate.
3204 * MessageHeader.cs : (RawMessageHeader) don't write element itself
3205 in OnWriteHeader*Contents*().
3207 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3209 * WSSecurityMessageHeader.cs : new file.
3210 * SymmetricSecurityChannelFactory.cs :
3211 moved WSSecurityHeader and related types to the above.
3212 * SymmetricSecurityChannelListener.cs :
3213 reject SOAP-env-less message.
3215 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3217 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
3218 renamed former to latter.
3219 * SymmetricSecurityChannelFactory.cs :
3220 create requirements every time. It is also likely that I need
3221 another requirement instance to get service credentials here.
3223 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
3225 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
3226 similar to BuildChannelFactory() (set credentials, issuer binding
3228 * SecurityChannelListener.cs :
3229 more ongoing security support implementation.
3230 * SymmetricSecurityChannelFactory.cs :
3231 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
3233 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
3235 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
3236 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
3237 Implementation is underway.
3238 * LayeredReplyChannel.cs :
3239 like LayeredRequestChannel, use ChannelListenerBase to provide
3242 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
3244 * MessageHeader.cs : added another implementation type that uses
3245 XmlElement, for buffering purpose.
3246 * MessageImpl.cs : Header item types are user-driven by
3247 MessageHeader.GetHeader<T>(int), so at storing phase just store
3248 nodes as XmlElement.
3249 * MessageHeaders.cs : avoid dumping XmlNode to string to create
3252 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
3254 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
3255 BindingParameterCollection, not from binding element properties.
3257 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
3259 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
3260 renamed former to latter.
3262 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
3264 * SecurityBindingElement.cs : SetIssuerBindingContext should also
3265 work for SslSecurityTokenParameters.
3267 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
3269 * SecurityBindingElement.cs :
3270 Added SetIssuerBindingContextIfRequired().
3271 * SecurityChannelFactory.cs :
3272 Changed .ctor() arg again, just to receive binding element.
3273 * SymmetricSecurityBindingElement.cs :
3274 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
3275 SymmetricSecurityChannelFactory .ctor() arg changes.
3276 "ProtectionTokenParameters" is not passed now.
3278 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
3280 * SymmetricSecurityBindingElement.cs : requirements should be
3281 filled at InitializeSecurityTokenParameters as long as possible.
3282 SymmetricSecurityChannelFactory<T> now does not receive
3283 requirements (it now creates one inside it) at .ctor().
3284 * SecurityChannelFactory.cs : remove requirement argument.
3286 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
3288 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
3290 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
3292 * SymmetricSecurityBindingElement.cs :
3293 MessageSecurityVersion property is of type SecurityTokenVersion.
3294 * SecurityBindingElement.cs :
3295 Implemented CreateSecureConversationBindingElement().
3296 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
3297 the argument IssuedSecurityTokenParameters itself.
3299 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
3301 * SymmetricSecurityBindingElement.cs :
3302 CreateSecurityTokenManager() can be directly used now.
3303 Use CallInitializeSecurityTokenRequirement() to fill requirement
3306 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
3308 * ChannelFactoryBase.cs : GetProperty() is virtual.
3310 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
3312 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
3313 create token manager, token parameters and token requirements,
3314 and fill some requirements.
3315 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
3316 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
3317 * BindingContext.cs : implemented RemainingBindingElements.
3318 kill "no remaining binding element" error in GetInnerProperty()
3319 * SecurityChannelFactory.cs : now it became
3320 SymmetricSecurityChannelFactory, thus soon to be renamed.
3321 Several ongoing actual security resolution is on.
3323 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
3325 * CommunicationObject.cs :
3326 add GetCommunicationObjectType() and use it.
3327 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
3328 use ThrowIfDisposedOrNotOpen().
3329 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
3330 to CommunicationObject. Make it IDisposable.
3331 * LayeredRequestChannel.cs : use above.
3332 * SecurityChannelFactory.cs : removed state check as it is done at
3335 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
3337 * SecurityBindingElement.cs : (CanBuildChannelFactory and
3338 CanBuildChannelListener) directly dispatch to BindingContext.
3339 * SymmetricSecurityBindingElement.cs : require protection token
3340 parameters before building a channel or a listener.
3341 * ChannelFactoryBase.cs : raise an error when a channel is being
3342 created without opening the factory.
3343 * ChannelListenerBase_1.cs : ditto for the listener.
3344 * SecurityChannelFactory.cs : before sending a request, it must be
3347 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3349 * MessageBufferImpl.cs : initialize fields.
3350 workaround BufferSize just to return 0.
3351 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
3352 which does not support multi time write.
3353 * Message.cs : implemented State.
3355 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3357 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
3358 is consuming XmlReader.
3359 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
3360 * MessageBuffer.cs : implemented CreateNavigator().
3361 * MessageBufferImpl.cs : added XPathMessageBuffer class.
3363 I kinda know that MS heavily depends on binary XmlReader and may have
3364 XPathNavigator implementation based on the binary stuff, but at
3365 least for now we have almost no motivation to mimick it.
3367 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3369 * SecurityChannelFactory.cs : a bit more of security header code.
3371 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
3373 * SymmetricSecurityBindingElement.cs :
3374 set default MessageProtectionOrder in every construction.
3376 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
3378 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
3379 changed to require ChannelFactoryBase to support default timeout.
3380 Made some methods non-virtual. Preparing code to add security
3381 headers (empty yet).
3382 * SecurityBindingElement.cs : implemented several factory methods
3383 that return SymmetricSecurityBindingElement.
3385 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3387 * IStreamUpgradeBindingElement.cs,
3388 StreamUpgradeBindingElement.cs : renamed from former to latter.
3390 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3392 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
3394 2006-07-31 Ankit Jain <jankit@novell.com>
3396 * MessageHeaders.cs (From): Use Constants.WSA1
3397 (MessageId): Implement the same pattern as other properties (From etc).
3399 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3401 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3402 * SecurityBindingElement.cs : some cosmetic changes.
3404 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3406 * SecurityBindingElement.cs : LocalClientSettings and
3407 LocalServiceSettings returns an instance for each.
3408 * LocalClientSecuritySettings.cs : initialized fields.
3410 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3412 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3413 kinda implemented Clone() just with MemberwiseClone().
3415 2006-07-27 Ankit Jain <jankit@novell.com>
3417 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3418 * MessageHeader.cs (knownTypes): New. Known type array containing
3420 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3422 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3424 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3425 LayeredCommunicationObject.cs,
3426 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3427 new files to support security channels, though right now they
3428 just pass inner channels through.
3429 * SymmetricSecurityBindingElement.cs : use above.
3431 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3433 * AsymmetricSecurityBindingElement.cs,
3434 SymmetricSecurityBindingElement.cs :
3435 Default SecurityTokenParameters is null.
3437 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3439 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3441 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3443 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3445 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3446 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3447 headers. When AddressingVersion is None, don't output addressing
3448 headers as well, except for Action which is still needed by
3451 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3453 * MessageHeaders.cs : changed specific properties to find it from
3454 headers as Action property does (local variables won't be set by
3455 setter). Cache serializers. Check null serializer arguments.
3456 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3458 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3460 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3461 use XmlObjectSerializer (since it is not data contract type).
3463 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3465 * MessageImpl.cs : Improved ReadHeaders().
3466 For certain header items, use EndpointAddress.ReadFrom().
3468 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3470 * AsymmetricSecurityBindingElement.cs :
3471 it is not ISecurityCapabilities anymore.
3473 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3475 * MessageVersion.cs : added None.
3477 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3479 * Message.cs : GetReaderAtBodyContents() implementation using
3482 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3484 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3485 used MessageVersion.Default.
3487 2006-07-12 Duncan Mak <duncan@novell.com>
3489 * MessageBuffer.cs (MessageContentType): Return
3490 "application/soap+msbin1".
3492 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3493 (SimpleMessage.OnCreateBufferedCopy):
3494 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3495 MessageBuffer implementations.
3497 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3498 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3499 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3501 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3503 * MessageImpl.cs : Action should be added in request messages. Omit
3504 it only in reply message, thus moved to dispatcher logic.
3506 2006-07-12 Ankit Jain <jankit@novell.com>
3508 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3509 bug in WebConnectionStream.
3510 * MessageHeaders.cs (MessageHeaders.From):
3511 (MessageHeaders.ReplyTo):
3512 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3514 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3516 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3517 add SOAP Action to the response at any time.
3519 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3521 * SymmetricSecurityBindingElement.cs,
3522 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3523 Implemented .ctor() and some properties.
3525 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3527 * TransactionFlowBindingElement.cs : new file.
3528 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3530 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3533 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3534 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3535 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3536 vanished (there is anyways no way to instantiate this type).
3537 * MessageVersion.cs : added Soap11 and Soap12.
3538 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3539 in June CTP. goodie.
3541 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3543 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3544 removed some vanished CreateMessage() overloads.
3546 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3548 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3549 HttpTransportBindingElement.cs :
3550 They are not ISecurityCapabilities anymore.
3551 Modified code to match June CTP behavior.
3553 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3555 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3557 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3559 * EmptyFaultException.cs : removed unused code.
3560 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3562 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3564 * LayeredChannelFactory.cs : removed obsolete class.
3565 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3566 ChannelListenerBase.cs, HttpChannelListener.cs,
3567 HttpReplyChannel.cs, ChannelManagerBase.cs :
3568 all those changes were brought by ChannelManagerBase changes.
3570 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3572 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3573 CommunicationObject.cs, HttpChannelListener.cs,
3574 ChannelFactoryBase.cs :
3575 CommunicationObject abstract changes brought this madness.
3577 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3579 * BindingContext.cs : listenUri address parameters could be null in
3582 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3584 * IRequestContext.cs :
3585 Now it became a class. File renaming will follow soon.
3586 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3587 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3588 IOutputChannel.cs, IOutputSessionChannel.cs,
3589 IRequestChannel.cs, IRequestSessionChannel.cs :
3590 They are not IDisposable anymore.
3591 For IReplyChannel, IRequestContext -> RequestContext.
3592 * IChannelListener.cs : removed Identity. Added GetProperty().
3593 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3594 ReplyChannelBase.cs, HttpReplyChannel.cs :
3595 Several members disappeared, and dependent changes.
3596 * HttpTransportBindingElement.cs,
3597 HttpChannelListener.cs, :
3598 ChannelListenerBase.SharedChannelListener vanished.
3600 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3602 * MessageEncodingBindingElement.cs
3603 MtomMessageEncodingBindingElement.cs,
3604 TextMessageEncodingBindingElement.cs,
3605 BinaryMessageEncodingBindingElement.cs :
3606 June CTP updates: AddressingVersion -> MessageVersion.
3607 * Binding.cs : June CTP. MessageVersion is added.
3608 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3609 ChannelListenerBase_1.cs,
3610 ChannelListenerBase.cs, IChannelListener.cs,
3612 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3613 June CTP. Several interface changes.
3614 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3615 * IChannelManager.cs, LayeredChannelListener.cs,
3616 GenericWrapperChannelFactory.cs,
3617 GenericWrapperChannelListener.cs : They are not used anymore.
3619 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3621 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3622 sync fix with June CTP API updates.
3624 2006-07-03 Ankit Jain <jankit@novell.com>
3626 * MessageEncodingBindingElementConverter.cs:
3627 * StandardBindingConverter.cs:
3628 * TransportBindingElementConverter.cs:
3629 * TransactionFlowBindingElementConverter.cs:
3630 * ReliableSessionBindingElementConverter.cs:
3631 * SecurityBindingElementConverter.cs:
3632 Rename *Converter.cs to *Importer.cs
3634 * TransferMode.cs: Move to System.ServiceModel
3636 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3638 * CommunicationObject.cs : make sure to change State before
3639 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3641 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3643 * Message.cs : output WSAddressing xmlns only when Action is
3644 specified (To should be affected, but seems like it is ignored).
3646 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3648 * MessageImpl.cs : don't set Action when it is null.
3650 2006-06-12 Ankit Jain <jankit@novell.com>
3652 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3654 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3656 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3657 some updated API fixes.
3659 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3661 * EnvelopeVersion.cs : moved back to S.SM.
3663 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3665 * IBindingManualAddressing.cs : vanished in beta2.
3666 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3667 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3669 * SecurityBindingElement.cs :
3670 SecurityStandardsManager -> SecurityTokenSerializer.
3672 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3674 * XmlSerializerBodyWriter.cs : new file to handle
3675 TypedMessageConverter.ToMessage().
3677 2006-04-26 Ankit Jain <jankit@novell.com>
3679 * TransportBindingElementConverter.cs (BeforeImport): Remove
3680 NotImplementedException.
3681 (ImportContract): Likewise.
3682 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3684 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3686 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3687 being used was not reflecting that of Binding elements.
3689 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3691 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3692 just assume that it is in the message.
3694 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3696 * HttpReplyChannel.cs : actually HTTP header item might be null.
3698 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3700 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3703 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3705 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3707 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3709 * MessageFault.cs : Fixed SOAP12 reason output.
3711 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3713 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3714 MessageEncoder.ContentType explicitly contains encoding.
3715 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3716 if it is SOAP version dependent.
3718 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3720 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3722 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3724 * HttpChannelFactory.cs BindingContext.cs
3725 HttpChannelListener.cs HttpTransportBindingElement.cs :
3726 Now BindingContext holds MessageEncoder, and non-custom
3727 channel factory/listener should use it.
3728 * MtomMessageEncodingBindingElement.cs
3729 TextMessageEncodingBindingElement.cs
3730 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3731 -Listener() now sets internal BindingContext.MessageEncoder.
3732 Fixed some public API.
3734 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3736 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3737 for insufficient elements.
3738 * DispatchRuntime.cs : OperationDescription name is not action. So
3739 OperationSelector is created by name, not by action.
3740 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3742 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3744 * MessageFaultBodyWriter.cs
3745 XmlReaderBodyWriter.cs
3746 XmlObjectSerializerBodyWriter.cs : made internal.
3747 * SecurityBindingElement.cs
3748 AsymmetricSecurityBindingElement.cs
3749 SymmetricSecurityBindingElement.cs : API fixes.
3750 * TransportBindingElementConverter.cs : ditto.
3751 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3752 * WindowsStreamSecurityBindingElement.cs
3753 SslStreamSecurityBindingElement.cs
3754 TransportSecurityBindingElement.cs : new files.
3756 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3758 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3759 reading can be any xs:boolean value.
3761 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3763 * Message.cs MessageImpl.cs : more sorting out the role of each
3765 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3767 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3769 * Message.cs : don't write body contents if it is empty.
3770 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3771 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3772 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3773 * HttpRequestChannel.cs : close request stream before GetResponse().
3775 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3777 * TextMessageEncoderFactory.cs
3778 TextMessageEncoder.cs : encoder does not hold reference to the
3779 factory anymore. Use MessageVersion property in CreateMssage().
3780 * HttpChannelListener.cs : now it holds message encoder.
3781 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3782 * MessageImpl.cs : header is optional.
3783 * EnvelopeVersion.cs : namespace URI is missing.
3785 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3787 * CustomBinding.cs : removed Initialize().
3788 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3789 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3790 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3791 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3793 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3795 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3796 could be also added by Add() method and could be reset by Remove()).
3797 * MessageImpl.cs : implemented more. As noted above, Now we don't
3798 have to add Action header explicitly.
3799 * MessageHeader.cs : recovered Writer methods and ToString() from
3800 commented old version. Use prefixes for writing.
3801 Use WriteObjectContent() rather than WriteObject() (it needs
3802 DataContractSerializer fix btw).
3804 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3806 * MessageHeader.cs : added missing IsReferenceParameter.
3807 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3808 * MessageHeaders.cs : avoid NullRef when actors is null.
3809 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3810 (ForwardingMessage) reader consumer is being added (not done).
3811 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3812 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3813 * HttpRequestChannel.cs : this channel automatically call Open()
3814 when Request() is called. Set content length for request.
3815 Use MessageEncoder's ContentType to also handle charset.
3817 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3819 * MessageImpl.cs : make them internal.
3820 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3822 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3824 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3825 * HttpChannelListener.cs : removed commented line.
3826 * RequestChannelBase.cs : new base class for request channel classes.
3827 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3828 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3829 * Message.cs : default IsEmpty and IsFault false by default.
3830 * LayeredChannelListener.cs : removed Uri (no chance to set).
3831 * ChannelBase.cs : reimplemented timeout properties.
3832 * HttpRequestChannel.cs : now it is mostly based on
3833 RequestChannelBase. Some more attempt to implement Request().
3835 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3837 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3838 OnInitialize(). Added more BuildChannelListener() overloads.
3840 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3842 * Binding.cs : added some more missing members especially to support
3844 * HttpChannelListener.cs : Uri should not be null.
3845 * HttpTransportBindingElement.cs : implemented
3846 CanBuildChannelFactory() and CanBuildChannelListener().
3847 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3849 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3851 * Binding.cs : updated default namespace property value to Feb. CTP.
3853 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3855 * AddressHeader.cs : avoid null reference when value is null.
3856 * BindingContext.cs : check null ListenUri args.
3858 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3860 * MessageFault.cs : Fixed default action name. Null arg check.
3862 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3864 * BindingElement.cs : Dequeue elements in BindingContext directly.
3865 * BindingContext.cs : Added GetProperty<T>().
3866 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3867 Now we don't need these extra classes, so marked as deprecated.
3869 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3871 * Binding.cs : null arg check.
3872 * AddressingVersion.cs : fixed constants to pass the tests.
3873 * BindingElement.cs : tiny meessage fix.
3875 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3877 * MessageEncodingBindingElement.cs
3878 BinaryMessageEncodingBindingElement.cs
3879 TextMessageEncodingBindingElement.cs
3880 MtomMessageEncodingBindingElement.cs
3881 MessageEncodingBindingElementConverter.cs : several API fixes.
3882 * BindingElement.cs : now if we use generic wrapper it causes
3883 infinite loop, so for now replace it with most-possible-but-
3886 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3888 (back to normal "record-ChangeLogs" mode after the big API change mess)
3889 * HttpTransportBindingElement.cs : fixed minor API differences.
3891 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3893 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3894 SymmetricSecurityBindingElement.cs :
3895 Dependent fixes for System.IdentityModel reorgainzation.
3897 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3899 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3900 IProxyFormatter.cs WSHttpBindingBase.cs
3901 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3902 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3903 WSFederationBinding.cs ISessionChannel.cs
3904 CompositeDuplexBindingElement.cs MessageVersion.cs
3905 MessageHeader.cs IRequestSessionChannel.cs
3906 BindingElementCollection.cs IReplySessionChannel.cs
3907 MessageProperties.cs IDuplexClientChannel.cs
3908 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3909 TcpTransportBindingElement.cs EmptyFaultException.cs
3910 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3911 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3912 ConnectionOrientedTransportBindingElement.cs
3913 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3914 PeerResolverBindingElement.cs Message.cs
3915 HttpsTransportBindingElement.cs BindingElement.cs
3916 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3917 MessageFaultBodyWriter.cs IReplyChannel.cs
3918 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3919 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3920 IRequestContext.cs IInputSessionShutdown.cs
3921 SecurityBindingElement.cs PeerTransportBindingElement.cs
3922 IDuplexSession.cs IChannelInitializer.cs
3923 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3924 AddressingVersion.cs FaultException.cs
3925 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3926 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3927 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3928 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3929 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3930 BindingParameterCollection.cs IInstanceProvider.cs
3931 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3932 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3933 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3934 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3935 moved from System.ServiceModel due to the API changes.
3937 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3939 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3940 HttpChannelListener.cs HttpRequestChannel.cs
3941 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3942 PeerNode.cs ReplyChannelBase.cs :
3943 Feb. CTP API changes - chapter 1.
3945 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3947 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3948 * ReplyChannelBase.cs : now it is based on ChannelBase.
3949 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3950 and check null argument in .ctor().
3951 * HttpReplyChannel.cs : several changes.
3952 Non-async members are mostly implemented.
3953 * HttpChannelListener.cs : no need to receive
3954 IDefaultCommunicationTimeouts.
3955 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3956 to allocate buffer array and int.MaxValue causes OutOfMemory.
3958 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3960 * ClientFramingDecoderState.cs : added missing enum.
3961 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3963 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3965 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3967 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3968 AcceptChannel() has some code now but it needs more love.
3970 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3972 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3973 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3974 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3976 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3978 * HttpRequestChannel.cs : close the streams.
3980 HttpChannelListener.cs : renamed from former to latter.
3982 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3984 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3985 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3986 * HttpListenerFactory.cs : removed obsolete file.
3987 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3988 * ChannelListenerBase_1.cs : implemented virtual stuff.
3989 * CommunicationObject.cs : Open() should not call BeginOpen() and
3990 EndOpen(). Instead, invoke events individually.
3991 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3993 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3995 * HttpRequestChannel.cs : call Flush() after serializing message
3998 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
4000 * HttpRequestChannel.cs : implemented pretty hacky Request().
4002 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
4004 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
4006 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
4008 * ChannelFactoryBase.cs : removed some NotImplementedException for
4009 further internal implementation.
4011 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
4013 * HttpRequestChannel.cs : new file. mostly not implemented.
4014 * HttpChannelFactory.cs : Implemented CanCreateChannel().
4015 Partly implemented CreateChannel().
4017 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
4019 * HttpChannelFactory.cs : (.ctor())
4020 Don't take ChannelBuildContext.
4022 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4024 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
4025 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
4026 PeerMessagePropagation.cs : updated to Nov. CTP.
4028 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4030 * ChannelListenerBase.cs, ChannelManagerBase.cs,
4031 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
4032 StreamSecurityUpgradeAcceptor.cs,
4033 StreamSecurityUpgradeInitiator.cs :
4034 Updated to Nov. CTP API.
4036 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4038 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
4040 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4042 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
4044 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4046 * ChannelBase.cs : tiny filename fix.
4047 * ChannelListenerBase.cs : added more .ctor()s.
4049 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4051 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
4052 ListenerFactoryBase.cs ChannelListenerBase.cs :
4053 updated IListener related stuff to Nov. CTP.
4054 file renaming will come soon.
4056 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4058 * ListenerBase.cs, ChannelListenerBase.cs :
4059 moved from former to latter.
4060 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
4061 moved from former to latter.
4063 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
4065 * SessionFaultedException.cs : removed in Nov. CTP
4067 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
4069 * CommunicationObject.cs : updated to Nov. CTP.
4070 * SessionFaultedException.cs : removed (in Nov. CTP)
4072 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
4074 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
4077 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
4079 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
4080 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
4081 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
4082 * MessageEncoder.cs : largely implemented.
4084 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4086 * IRequestReplyCorrelator.cs : new file.
4088 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4090 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
4091 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
4092 * MessageEncoder.cs : added misssing ToString().
4094 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4096 * ChannelBehaviorCollection.cs : moved to sys.sm.
4098 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
4100 * HttpListenerFactory.cs, HttpListener.cs : new files.
4101 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
4102 CommunicationObject.cs, ChannelFactoryBase.cs,
4103 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
4105 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
4106 * ListenerFactoryBase.cs : kinda implemented GetListeners().
4108 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4110 * ListenerFactoryBase.cs : some implementation.
4112 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4114 * CommunicationObject.cs : more state fixes.
4116 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4118 * CommunicationObject.cs : some state machine fixes.
4120 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4122 * PeerNode.cs, ChannelManagerBase.cs :
4123 several API fixes detected by improved corcompare.
4125 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
4127 * LayeredListenerFactory.cs : added missing generic class constraint.
4129 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
4131 * ListenerFactoryBase.cs,
4132 ListenerBase.cs : class constraints were missing for generic args.
4134 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
4136 * StreamUpgradeInitiator.cs : tiny API fix.
4138 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
4140 * PeerMessagePropagationFilter.cs : tiny build fix.
4142 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
4144 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
4145 added Name. fixed StatusCode type.
4146 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
4147 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
4148 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
4149 DirectionalAction.cs, HostedTransportConfiguration.cs,
4150 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
4151 PeerMessagePropagationFilter.cs : added missing files.
4152 * Dummy.cs : removed. MSMQ stuff can be added later.
4154 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
4156 * DeliveryStatus.cs, DeliveryFailure.cs,
4157 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
4158 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
4160 * Dummy.cs : removed above.
4162 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
4164 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
4166 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4168 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
4169 MessageEncoder.cs, BufferManager.cs : new files.
4170 * Dummy.cs : removed above.
4172 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4174 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
4175 * Dummy.cs : removed above.
4176 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
4178 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4180 * HttpChannelFactory.cs : new file.
4182 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
4184 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
4185 moved to ../System.ServiceModel (correct location).
4186 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
4187 new files for channels.
4188 * Dummy.cs : reflected above changes.
4189 * ChannelManagerBase.cs : added a bit of code and todos.
4191 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
4193 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
4194 added listener support files.
4195 * Dummy.cs : removed above.
4197 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
4199 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
4200 added request/reply channel interfaces.
4201 * Dummy.cs : removed above.
4202 * CommunicationObject.cs : FIXME comments.
4204 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
4206 * CommunicationObject.cs : implemented some members.
4208 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
4210 * CommunicationObject.cs : some signature fixes.