1 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
3 * MessageHeader.cs, MessageHeaderInfo.cs: add internal Prefix
4 property and copy them from source to destination.
6 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
8 * MessageImpl.cs : When XmlReaderMessage was writing its contents,
9 it was dropping body attributes, including wsu:Id for WS-Security.
11 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
13 * SecureMessageGenerator.cs : MessageBuffer was missing copy of
14 Body wsu:Id attribute.
15 * HttpRequestChannel.cs : remove comment for resolved issue.
17 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
19 * HttpListenerManager.cs : move another old code.
21 2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
23 * HttpRequestChannel.cs : remove extra code.
25 2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
27 * XmlReaderBodyWriter.cs, MessageFault.cs: warning cleanups.
29 2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
31 * ChannelFactoryBase.cs : null via uri parameter is not allowed.
33 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
35 * HttpTransportbindingElement.cs : remove "Standalone".
37 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
39 * SvcHttpHandler.cs : removed old code and #if blocks.
41 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
43 * SvcHttpHandler.cs : add required code for new ASP.NET HTTP stack.
44 Support for new and old stack (both) are temporarily enabled.
45 * HttpTransportBindingElement.cs : switch to new ASP.NET stack.
47 2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
49 * SvcHttpHandlerFactory.cs : remove unused code.
50 * SvcHttpHandler.cs : ditto. Add some code for what new asp.net
51 support will look like.
53 2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
55 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs : remove BodyId.
56 XML attributes on s:Body are handled appropriately, not limited to
57 wsu:Id. Added several required overrides to Message and
58 MessageBuffer implementation classes.
59 * SecureMessageGenerator.cs : so, don't use BodyId. Treat it as a
60 specific case but still fallback.
62 2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
64 * HttpTransportBindingElement.cs :
65 Use new HTTP channel listener implementation.
67 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
69 * HttpListenerManager.cs : cosmetic code formatting fix.
71 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
73 * HttpListenerManager.cs :
74 No need to get messed around MetadataPublishingInfo anymore.
76 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
78 * HttpListenerManager.cs : remove extra different code paths for
79 channel dispatchers with or without mex endpoints.
81 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
83 * HttpListenerManager.cs : simplify FilterHttpContext().
85 2010-06-22 Atsushi Enomoto <atsushi@ximian.com>
87 * HttpListenerManager.cs : add some comments.
89 2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
91 * HttpReplyChannel.cs : use MessageVersion.None for GET messages.
92 * HttpChannelListener.cs : remove extra field.
93 * HttpListenerManager.cs : check HelpUrl existence (avoid NRE).
94 * HttpRequestContext.cs : reduce internal field.
96 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
98 * MtomMessageEncodingBindingElement.cs: it's base is abstract, use
99 context.GetInnerProperty<T>().
101 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
103 * Binding.cs : enable simpler MessageVersion code (issued got fixed).
104 * MtomMessageEncodingBindingElement.cs, TransportBindingElement.cs,
105 TextMessageEncodingBindingElement.cs : return MessageVersion in
108 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
110 * Binding.cs : add commented-out code for MessageVersion replacement.
111 * TransactionFlowBindingElement.cs : implement (almost dummy).
113 2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
115 * TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
116 fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
117 (but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)
119 2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
121 * TcpBinaryFrameManager.cs : lock read and write respectively.
122 Finally fixed bug #567672 ('IsOneWay=false' case).
124 2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
126 * DirectionalAction.cs : remove old code from winfx beta.
128 2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
130 * TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
131 here. If the contract is not one-way (IsOneWay = false) and there is
132 a callback, the callback message sent to the client should *not* be
133 assigned RelatesTo header here. Just do it in the request-reply
134 context. Do it in OperationInvokerHandler.
136 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
138 * SvcHttpHandler.cs : remove Sleep() hack. The host is now ensured
139 to wait for channels opened.
141 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
143 * SvcHttpHandler.cs : remove unused field. Some code cleanup.
145 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
147 * HttpReplyChannel.cs : use manual reset.
148 * AspNetReplyChannel.cs : make it equivalent to the above.
150 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
152 * HttpChannelListener.cs : do not accept more than one channel at a
153 time. Remove extra fields. Add CancelAsync() implementation.
155 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
157 * HttpListenerManager.cs : add a workaround for Func<>.BeginInvoke()
158 problem that blocked ASP.NET channels working.
160 2010-05-19 Andreia Gaita <avidigal@novell.com>
162 * HttpRequestChannel.cs: if the response has no body, create an
163 empty message and return that.
164 Note: the ws-mc protocol defines that the service returns an
165 200 response with an empty body on first connection, this
166 adds support for that (fixes part of #599667)
168 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
170 * DuplexChannelBase.cs
172 TcpChannelListener.cs
173 ChannelListenerBase_1.cs
174 PeerChannelListener.cs
175 HttpChannelListener.cs
176 NamedPipeChannelListener.cs:
177 do the same for channel listener,reply channels and
180 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
182 * ChannelFactoryBase.cs, RequestChannelBase.cs : support
183 MessageVersion in GetProperty<T>() for many transport channels.
185 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
187 * HttpChannelFactory.cs
189 ChannelFactoryBase.cs
190 NamedPipeChannelFactory.cs
191 PeerChannelFactory.cs
192 RequestChannelBase.cs : commonize MessageEncoder.
193 (Commented out GetPrpoerty<T>() for MessageVersion as it is
196 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
198 * MessageHeaders.cs : do not pass empty string array; it almost
199 always results in header-not-found error.
201 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
203 * MessageHeader.cs : do not try to lookup prefix for empty ns.
205 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
207 * MessageImpl.cs : do not use maxBufferSize for initialSize argument
208 for MessageHeaders. Fix OutOfMemoryException for certain usage.
210 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
212 * BindingContext.cs : actually clone is needed everywhere else too.
213 * CustomBinding.cs : remove extra field.
215 2010-05-14 Andreia Gaita <avidigal@novell.com>
217 * BindingContext.cs: Copy elements from the original binding only when
218 creating it, never when cloning it. This way, CanBuildInnerChannel can
219 work recursively as it should.
221 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
223 * CustomBinding.cs : return clone collection.
224 * BindingContext.cs :
225 Simply use RemainingBindingElements in builder methods.
226 Clone() should be deep copying (as documented).
227 * BinaryMessageEncodingBindingElement.cs
228 MtomMessageEncodingBindingElement.cs
229 TextMessageEncodingBindingElement.cs
230 HttpCookieContainerBindingElement.cs :
231 do not add itself to RemainingBindingElements.
232 * HttpChannelFactory.cs
233 HttpChannelListener.cs
235 TcpChannelListener.cs
236 MsmqChannelFactory.cs
237 MsmqChannelListener.cs
238 NamedPipeChannelFactory.cs
239 NamedPipeChannelListener.cs
240 PeerChannelFactory.cs
241 PeerChannelListener.cs : do not iterate RemainingBindingElements.
242 Instead, iterate all binding elements in the CustomBinding.
244 2010-05-12 Atsushi Enomoto <atsushi@ximian.com>
246 * HttpRequestChannel.cs : implement On[Begin|End][Close|Open] methods.
248 2010-04-30 Atsushi Enomoto <atsushi@ximian.com>
250 * HttpListenerManager.cs : use manual reset here to not cause
251 possible inconsistent locking.
253 2010-04-28 Atsushi Enomoto <atsushi@ximian.com>
255 * HttpChannelListener.cs, HttpListenerManager.cs :
256 Fix NRE issue in olive/samples/wcf/web-http-binding/samplesvc3.exe.
258 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
260 * HttpListenerManager.cs : fixed the issue that mex_info is never
261 retrieved from the latest channel listener (which could be other
262 listener than the one which was set mex info).
264 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
266 * HttpChannelListener.cs, HttpListenerManager.cs :
267 actually it should be ChannelDispatcher-to-HttpChannelListener,
268 to identify which dispatcher to send reqs.
270 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
272 * HttpReplyChannel.cs : remove old Http Keep-Alive workaround.
274 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
276 * HttpTransportBindingElement.cs,
277 HttpChannelListener.cs,
278 HttpListenerManager.cs : add host-to-http-listener mapping so that
279 they can be managed per host.
281 2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
283 * BindingContext.cs : require a TransportBindingElement when
284 building a channel listener.
286 2010-04-19 Atsushi Enomoto <atsushi@ximian.com>
288 * HttpReplyChannel.cs : use local var to hold wait handle to avoid
289 possible NRE on field. Based on the patch by Matt Dargavel.
291 2010-04-07 Miguel de Icaza <miguel@novell.com>
293 * BufferManager.cs: Implement the BufferManager.
295 2010-04-07 Atsushi Enomoto <atsushi@ximian.com>
297 * WSSecurityMessageHeader.cs : add FIXME comment.
299 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
301 * HttpRequestChannel.cs : add commented note.
303 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
305 * HttpReplyChannel.cs : fill To header only if it does not exist.
307 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
309 * SecureMessageGenerator.cs : set ReplyTo and To, do not add.
311 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
313 * MessageHeaders.cs : use matching addressing version.
314 Remove header item if the same ones already exist.
316 2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
318 * HttpRequestChannel.cs: don't create the wait handle unless it is
321 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
323 * HttpRequestChannel.cs : use correct max buffer size.
325 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
327 * MessageFault.cs : check null serializer and detail.
328 Make sure to consume s12:Reason EndElement.
330 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
332 * MessageFault.cs : when created from XmlReader, it should not
333 deserialize fault details immediately. This class itself should
334 not do that. Strongly typed FaultContractInfo may want to use the
335 reader (GetReaderAtDetailContents()) for its own deserialization.
337 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
339 * ConnectionOrientedTransportBindingElement.cs,
340 TcpTransportBindingElement.cs : implement GetProperty<T>().
342 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
344 * HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
345 implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
346 properties type from HTTP.
348 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
350 * FaultConverter.cs : use addressing version from the message.
352 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
354 * FaultConverter.cs : check envelope version, not addressing version.
356 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
358 * FaultConverter.cs : implemented TryCreateException().
360 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
362 * MessageFault.cs : cosmetic method name clarification.
364 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
366 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
367 fix BodyWriter buffering that dropped in-scope namespaces and thus
368 caused problem on resolving QNames.
370 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
372 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
373 with certain Exception types.
375 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
377 * Message.cs : fix explanation on CreateMessage() overloads.
379 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
381 * MessageFault.cs : Write Subcode element correctly and fix wrong
382 Code/Value/Subcode element relationship. Give better error message.
384 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
386 * HttpRequestChannel.cs : ok, no need for conditional code path.
388 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
390 * AddressingVersion.cs : add fault action namespace.
392 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
394 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
397 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
399 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
401 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
403 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
406 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
408 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
410 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
412 * HttpRequestContext.cs : removed HTTP status rewriting for
415 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
417 * HttpRequestChannel.cs : handle only 4xx errors as to not process
420 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
422 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
424 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
426 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
427 Patch by Matt Dargavel.
429 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
431 * HttpListenerManager.cs : use lock object which is subject to
432 change. Fix by Matt Dargavel.
434 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
436 * HttpListenerManager.cs : remove consumed HttpListenerContext from
437 the pending queue. Compare "wsdl" request in case insensitive
438 manner. Patch by Matt Dargavel.
440 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
442 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
443 supposed to provide detailed 400 error message.
445 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
447 * TransactionFlowBindingElement.cs: revamp the previous change to
448 not regress regarding service metadata.
450 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
452 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
453 GetProperty<T>() bug that fails to retrieve properties. (This may
454 be rewritten later if an ongoing change proposal is to take place.)
456 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
458 * ReliableSessionBindingElement.cs,
459 PrivacyNoticeBindingElement.cs,
460 RemoteEndpointMessageProperty.cs : added some missing types.
462 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
464 * MessageHeaders.cs :
465 why does it filter out most of the headers? kill it.
467 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
469 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
470 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
471 to not raise "not found" error (see bug #573795).
473 2010-03-16 Jb Evain <jbevain@novell.com>
475 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
476 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
478 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
480 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
481 type, and use null password unless we find a chance to get password
482 in ASP.NET HttpContext.
484 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
486 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
487 HttpListenerManager.cs : ongoing authentication support. It returns
488 401 as expected, but somehow fails to retrieve user info.
490 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
492 * HttpListenerManager.cs : this change (along with HttpListener
493 implementation) somehow fixes basic auth. connection error...
495 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
497 * MessageHeaders.cs : add !NET_2_1.
499 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
501 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
502 typed UniqueId output.
504 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
506 * MessageHeader.cs : no need to treat EndpointAddress as a special
509 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
511 * MessageHeaders.cs : remove duplicate constant.
513 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
515 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
516 EndpointAddress as a special case. Instead, each MessageHeaders
517 property should convert it to appropriate serializable objects.
519 (Our DataContractSerializer fails to reject EndpointAddress as
520 serializable type, so it's rather a preparation step.)
522 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
524 * MessageHeader.cs, Message.cs : use dictionary string whenever
525 applicable. The binary output on #577139 is getting closer (no
526 idea if it is really about binary output though).
528 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
530 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
532 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
534 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
536 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
538 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
539 enable authentication schemes on monotouch.
541 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
543 * SvcHttpHandler.cs : a wait handle could be used for more than one
544 requests and hence it sometimes blocked one reply channel. Now
545 it creates a wait handle for each ASP.NET request so that such
546 multiple use should not occur. This should fix blocking on
547 concurrent requests (it indeed fixes as long as I can see).
549 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
551 * AspNetReplyChannel.cs : remove garbage output.
553 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
555 * SvcHttpHandler.cs : Use lock when it tries to create the service
558 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
560 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
563 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
565 * HttpListenerManager.cs : add another workaround for blocking
568 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
570 * HttpListenerManager.cs : small refactoring.
572 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
574 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
575 that somehow makes callback client to not cause infinite loop.
577 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
579 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
580 DuplexChannelBase.cs : Receive() should rather use TryReceive().
581 It should not be in reverse order.
583 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
585 * HttpReplyChannel.cs, HttpListenerManager.cs :
586 Implement async cancellation in the expected manner (though with
587 some hack). This mostly removed nunit blockers.
589 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
591 * CommunicationObject.cs : fix wrong status changes.
593 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
595 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
597 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
599 * AddressHeader.cs : implement remaining bits.
600 Eliminate dependency on NetDataContractSerializer.
602 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
604 * CommunicationObject.cs : in Fault(), do similar work as previous
607 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
609 * CommunicationObject.cs : when process state changes, lock the
610 object to make sure the state transition is valid.
611 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
613 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
615 * MessageHeaders.cs : implement SetAction().
617 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
619 * ChannelFactoryBase.cs : fix build.
621 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
623 * ChannelBase.cs : cosmetic API fix for SL3.
625 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
627 * ChannelFactoryBase.cs :
628 implement On{Begin/End}Close() on the generic type.
630 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
632 * HttpChannelFactory.cs, TcpChannelFactory.cs,
633 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
634 PeerChannelFactory.cs, HttpRequestChannel.cs:
635 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
636 type and made required changes.
638 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
640 * HttpCookieContainerBindingElement.cs : new.
641 * IHttpCookieContainer.cs : fix type name.
642 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
644 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
646 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
647 does not happen when communicating with .NET client but happens with
648 mono). Seealso FIXME comment.
649 * TcpDuplexSessionChannel.cs : do not try to close session when it
650 failed to read sized message. The connection is already dead.
654 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
656 * TcpDuplexSessionChannel.cs :
657 Write EndRecord only when the connection is available.
658 Remove hack - do let ChannelDispatcher close the channel.
659 * TcpBinaryFrameManager.cs :
660 The socket may be disconnected when trying to read a sized message,
661 so check some socket exceptions.
662 In case the client silently shuts down without EndRecord and
663 reconnects to the server with preamble while expecting a sized
664 message (which is so lame, but that's what .NET often does), refresh
665 preamble and continue.
667 This fixes some cases of bug #567949 but not all.
669 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
671 * BinaryMessageEncoder.cs : enable workaround buffering only when
672 the argument stream does *not* support seek. This fixes some
673 net.tcp connection problem.
675 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
677 * TcpBinaryFrameManager.cs : If preamble byte is not available from
678 the client stream, detect it to close the reply or input channel.
679 * TcpRequestChannel.cs : send preamble at each request time.
680 It differentiates communication behavior on such cases that involve
681 single open and multiple requests.
682 * TcpReplyChannel.cs : close the channel only when the channel is
683 oeprated to close i.e. do not close the socket every time.
684 Process preambles on each request (the same as request channel).
686 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
688 * TcpBinaryFrameManager.cs : unsized envelope record may have more
689 than one data block, so consume them accordingly. This should fix
690 large buffer consumption.
692 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
694 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
697 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
699 * HttpRequestContext.cs : for DestinationUnreachable message, this
700 channel returns 400 in .NET.
702 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
704 * BinaryMessageEncoder.cs : added workaround for strange stream
705 consumption error raised by HttpTransport + Binary encoder example.
706 * BinaryMessageEncodingBindingElement.cs:
707 only SOAP 1.2 is allowed for this encoder.
709 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
711 * XmlReaderBodyWriter.cs : don't try to write empty xml.
713 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
715 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
716 default WebHeaderCollection items are overwritten.
718 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
720 * HttpRequestChannel.cs : when HTTP response was error, do not try
721 to read message but just raise an error.
723 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
725 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
727 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
729 * HttpRequestChannel.cs : WebException.Response might be null.
731 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
733 * ReplyChannelBase.cs : added listener property.
734 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
735 been updated to prefer async by default, a while ago.
737 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
739 * HttpTransportBindingElement.cs : finished all GetProperty() values.
741 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
743 * HttpRequestChannel.cs : disabled carelessly added
744 "UseDefaultCredentials = false" line. It blocked basic auth.
746 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
748 * HttpRequestChannel.cs, HttpChannelFactory.cs,
749 HttpChannelListener.cs, HttpListenerManager.cs :
750 implemented http client authentication and some of corresponding
751 service code. Only client works so far.
753 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
755 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
756 added URI scheme check.
758 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
760 * TransportSecurityBindingElement.cs : fix 2.1 build.
762 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
764 * HttpsTransportBindingElement.cs :
765 RequireClientCertificate is false by default.
766 Remove extra #if NET_2_1.
767 * SecurityBindingElement.cs :
768 Implement some transport security factory methods.
769 * TransportSecurityBindingElement.cs :
770 It is not ISecurityCapabilities anymore.
772 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
775 SecurityBindingElement.cs
776 LocalClientSecuritySettings.cs
777 TransportSecurityBindingElement.cs
778 FaultConverter.cs : They are now part of SL3 API.
780 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
782 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
784 2009-11-05 Geoff Norton <gnorton@novell.com>
786 * HttpsTransportBindingElement.cs: Implement basic https transport
787 binding support for Moonlight and MonoTouch
789 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
791 * HttpListenerManager.cs : remove CWLs.
793 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
795 * SvcHttpHandler.cs : move back previous listener selector code in
796 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
797 and differentiate requests to deeper paths (such as /jsdebug), so
798 we need such refinement here.
800 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
802 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
805 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
807 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
808 HttpChannelListener.cs, HttpListenerManager.cs :
809 Similar refactoring on ASP.NET side to the previous one.
810 Added ASP.NET implementation of HttpListenerManager and use some
811 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
813 Rewrote AspNetReplyChannel to become almost the same as
814 HttpSimpleReplyChannel, to hopefully unify them later.
815 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
816 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
819 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
821 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
822 Refactoring on listener manager to correctly handle wsdl and help
823 requests for such case that they conflict in addressing. Now it
824 can correctly distinguish service calls, WSDL requests and help
825 requests when all of them point to "http://localhost/foo.svc"
826 (which is very common case that the user does not change Http*Url).
828 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
830 * ChannelListenerBase.cs : add Properties property to add arbitrary
831 properties handy (only inside this assembly).
833 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
835 * HttpReplyChannel.cs : fix warning.
837 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
839 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
841 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
843 * HttpReplyChannel.cs : make sure to release wait lock.
844 * HttpChannelListener.cs : session channels are not supported, so
845 remove relevant NIEs.
847 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
849 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
850 support contexts so we call the non-overloaded WaitOne method
851 (which defaults to false).
853 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
855 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
856 significant rewrite to cooperate wcf handler and asp.net handler
857 to not mix multiple WCF listener within the asp.net handler.
858 So far it mostly works when 1) there are no ChannelDispatchers
859 that have an identical listen Uri and 2) MaxConcurrentSessions is
860 1 (must be explicitly set).
862 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
864 * CommunicationObject.cs : give better state error description.
866 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
868 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
869 to base methods. This resulted in not a few changes everywhere.
871 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
873 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
875 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
877 * SvcHttpHandler.cs : use file path given by the factory to
878 construct BaseAddresses. Requests to "test.svc/jsdebug" should
879 not be handled as request to "jsdebug" file, it's rather an
880 "argument" to "test.svc".
882 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
884 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
885 rewrite to handle shutdown situation better. The listeners should
886 not close channels that it opened. Instead, just stop accepting
887 further requests. Removed blocking mutex on WaitForRequest().
888 Now xsp shuts down as expected.
890 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
892 * HttpReplyChannel.cs : lock list when releasing its content contexts.
893 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
896 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
898 * SvcHttpHandlerFactory.cs : remove todo.
899 * ReplyChannelBase.cs : add comment.
901 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
903 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
904 revert the change, to use internal asp.net state again.
905 * SvcHttpHandler.cs : add VirtualPathExtension.
907 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
909 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
910 asp.net response was not written correctly.
911 Fill HttpRequestMessageProperty to get handle WSDL requests
912 processed in ServiceMetadataExtension without NRE.
913 Remove wrong HttpListenerContext iteration at Abort and Close in
914 common base class and move it to non-asp derived channel.
916 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
918 * SvcHttpHandler.cs : remove unused code.
920 2009-09-30 Jb Evain <jbevain@novell.com>
922 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
923 to use any of the remoting features.
925 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
927 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
928 use AspNetCompatibilityEnabled.
929 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
931 * AspNetReplyChannel.cs : remove extra field.
933 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
935 * HttpReplyChannel.cs : remove extra field.
937 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
939 * AspNetRequestContext.cs : remove CWL.
941 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
943 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
944 only after AspNetRequestContext is closed. Do not close it
945 immediately after receiving the context. (HttpRuntime destructs it
946 and further uses then becomes impossible.)
948 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
950 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
951 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
952 Make sure that AspNetChannelListener is bound to correct
953 SvcHttpHandler, regardless of specific request URI. It is required
954 for both WSDL requests and RESTful binding requests.
956 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
958 * MessageProperties.cs : fix CopyProperties() behavior to not
959 clear existing items. Make all properties call this[name].
961 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
963 * HttpTransportBindingElement.cs : fix 2.1 build.
965 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
967 * TransportBindingElement.cs : another GetProperty fix, iterate
968 other binding elements.
970 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
972 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
973 some GetProperty() implementation.
975 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
977 * HttpListenerManager.cs : release HttpListener and avoid extra
978 close process more than once.
980 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
982 * HttpChannelListener.cs : do not iterate channel list to close
983 channels which in turn removes them from the list while iteration.
985 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
987 * HttpRequestChannel.cs : Fix message version member comparison.
988 Double-quote SOAPAction. Remove extra Exception.
989 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
990 * HttpRequestContext.cs : when addressing is None, remove action
993 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
995 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
996 path, to pick those endpoints that are added at custom factories.
998 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1000 * SvcHttpHandler.cs : apply configuration, and if there is still no
1001 endpoint, then add default one.
1003 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1005 * SvcHttpHandler.cs : another URL to make relative.
1007 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1009 * SvcHttpHandlerFactory.cs : some GetHandler changes.
1010 * SvcHttpHandler.cs : significant changes on receiver structure. Now
1011 ProcessRequest() stores pending requests (this might be extraneous,
1012 but maybe useful when it implements async handler). Also removed
1013 reply_channel field as it may become to handle multiple requests.
1014 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
1015 * AspNetReplyChannel.cs : make it receive requests like
1016 HttpReplyChannel (for HttpListener) to make them consistent.
1018 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1020 * AspNetRequestContext.cs, HttpRequestContext.cs :
1021 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
1022 by splitting HttpListener-based context out from common code base.
1024 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1026 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
1027 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
1030 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1032 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
1033 loads types from system assemblies appropriately.
1035 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1037 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
1038 for XmlReader input.
1040 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1042 * HttpRequestMessageProperty.cs : fix default values.
1044 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
1046 * HttpChannelFactory.cs, HttpRequestChannel.cs,
1047 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
1048 Check ManualAddressing value and reject address-missing ones.
1050 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
1052 * HttpChannelFactory.cs : reject URI mismatch cases when required.
1054 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1056 * PeerDuplexChannel.cs : When received Connect() from neighbor,
1057 add the peer to its internal list.
1058 Finally ChatApplication got working.
1060 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1062 * PeerDuplexChannel.cs : since the channel factory is per instance,
1063 do not reuse factory that is tied to different callback instance.
1064 It resolved the issue that mono callback client didn't receive
1065 messages from the client itself.
1067 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1069 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
1070 of the receiver, not the requestor. It resolved the issue that
1071 .NET client didn't send further messages to mono server.
1073 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1075 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
1076 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
1077 TcpReplyChannel.cs, TcpRequestChannel.cs,
1078 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
1079 rename EndRecord handling method to appropriate one.
1080 Write EndRecord from recipient too.
1082 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1084 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
1085 Process PeerTo header to upgrade Message To header. Now mono
1086 service accepts mono client (somehow not true for .NET client).
1088 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1090 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
1091 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
1093 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1095 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
1097 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1099 * TcpDuplexSessionChannel.cs : check channel state before processing
1102 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1104 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
1105 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
1106 ongoing works, not working at all yet.
1108 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1110 * TcpChannelListener.cs, TcpReplyChannel.cs :
1111 cosmetic cleanup and corrections.
1113 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1115 * TcpChannelFactory.cs : use expected Via uri.
1116 Remove extra NIE stuff that are implemented in base.
1118 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1120 * TcpDuplexSessionChannel.cs : remove extra code.
1122 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1124 * PeerDuplexChannel.cs : ongoing implementation towards get callback
1125 replies on peer connector clients (not working as duplex client
1126 callback is not working yet).
1128 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1130 * TcpDuplexSessionChannel.cs : in callback client channels,
1131 OperationContext.IncomingMessageHeaders is null.
1133 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1135 * MessageHeaders.cs : duplicate check was sloppy.
1137 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
1139 * Message.cs, MessageImpl.cs, BodyWriter.cs :
1140 Implement BodyWriter.OnCreateBufferedCopy() and use it.
1142 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
1144 * ReplyChannelBase.cs : initialize field.
1146 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1148 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
1149 implement GetProperty<T>() and return its channel manager.
1151 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1153 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
1154 destination address in Connect() request. To repeat sending
1155 request, use buffered copy. Set some peer-channel specific
1156 header items. (todo: and consume them.)
1158 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1160 * Message.cs : state is set only after WriteBodyContents().
1162 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1164 * MessageHeaders.cs : eliminate wrong use of
1165 ReadElementContentAsString() (it is not always simple string).
1167 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1169 * MessageHeaders.cs : when the value is null, do not try to
1170 deserialize EndpointAddress.
1172 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1174 * MessageHeader.cs : add Value property. (Forgot dependent change.)
1176 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1178 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
1179 serialization and deserialization of values.
1181 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1183 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
1184 Now simply use connector contract.
1186 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1188 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
1190 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1192 * TcpChannelListener.cs : do not try to compare dead connection's
1193 IPEndPoint (it raises an error).
1195 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1197 * MessageHeaders.cs : allow null header value on each specific setter.
1199 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1201 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
1202 get local and remote address of connected counterpart to get
1203 callback channel connected.
1204 * PeerDuplexChannel.cs : remove FIXME wrt above.
1206 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
1208 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
1210 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
1212 * MessageHeader.cs : fill IsReferenceParameter.
1214 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
1216 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
1217 implement remaining async methods and LocalAddress.
1219 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
1221 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
1222 ServiceHost to process neighbor connection (not sure if this is
1223 right way to go though ...).
1225 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1227 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
1228 connection part to use new internal IPeerConnectorContract for
1229 neighbor connection.
1231 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1233 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
1234 PeerChannelListener.cs, HttpChannelListener.cs :
1235 support ListenUri accordingly too so that it could be used when
1236 it is different from LocalAddress.Uri.
1238 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1240 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
1241 TcpRequestChannel.cs : use Via uri to validate and connect.
1243 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1245 * RequestChannelBase.cs, DuplexChannelBase.cs :
1246 Return endpoint address Uri when no explicit Via uri is specified.
1247 * ChannelFactoryBase.cs : Remove extra async close methods.
1248 Add async open methods. Reject null EndpointAddress.
1249 * PeerChannelFactory.cs : remove async open methods (now in base).
1251 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1253 * PeerDuplexChannel.cs : set correct message endpoint (To header).
1255 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1257 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1258 DuplexChannelBase.cs : set LocalAddress property at base.
1260 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1262 * PeerDuplexChannel.cs : ongoing refactoring to work both as
1263 listener and client. Now it creates a listening peer node, and
1264 creates a set of TCP client channels for each peer in the mesh.
1266 (EndpointAddress must be fixed to not filter out correct inputs).
1268 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1270 * PeerChannelListener.cs : do not accept more than one channel
1271 which results in lots of listening peer node. Only one is enough.
1273 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1275 * DuplexChannelBase.cs : fix wrong loop implementation.
1277 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1279 * TcpChannelListener.cs : to avoid creating two or more channels
1280 for one remote endpoint, check existing remote endpoints and
1281 ignore such connections (it must be handled in different thread
1282 fired by ChannelDispatcher loop).
1284 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1286 * TcpReplyChannel.cs : make sure to not try to receive request when
1287 it is already closed.
1289 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1291 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1292 some mannerless clients [*1] do not send EndRecord accordingly, but
1293 such channels at listener side should not be kept open. So, close
1294 disconnected channels when the listener needs to accept another
1296 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
1298 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1300 * TcpDuplexSessionChannel.cs :
1301 Remove extra NIE overrides.
1302 Implement OnAbort() apart from OnClose().
1303 For duplex session channel, unlike reply channel, it must acquire
1304 TCP connection before OnOpen(), otherwise ChannelDispatcher
1305 releases the connection acceptance WaitHandle and the detected
1306 live connection may be stolen by another channel acceptor.
1308 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1310 * HttpRequestChannel.cs : implement OnAbort().
1312 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1314 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
1315 * DuplexChannelBase.cs : comment out some extra fields (so far).
1316 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
1318 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1320 * PeerCustomResolverBindingElement.cs : add some null checks.
1322 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1324 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
1325 Acquire TcpClient for each request/reply. Now it is fully
1326 interoperable with .NET.
1328 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1330 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
1331 ReplyTo and MessageId (though it is session-less), and it expects
1332 EndRecord at weird stage, inconsistent with [MC-NMF]...
1333 Now .NET service accepts one mono client request.
1335 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1337 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
1338 Send and receive unsized message terminator at once.
1339 Send EndRecord mutually. Got one .net client request working.
1341 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1343 * BinaryMessageEncoder.cs : revert the previous dictionary change.
1344 They are indeed used for non-in-band-dictionary messages.
1346 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1348 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1349 split out binary frame manager class into separate file.
1351 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1353 * TcpReplyChannel.cs : new reply channel implementation.
1354 * TcpChannelListener.cs : use above for streamed reply channel.
1355 * TcpDuplexSessionChannel.cs : more streaming mode support.
1356 * TcpRequestChannel.cs : a couple of updates to get it working
1357 with the reply channel above. Still some issues on .NET interop.
1359 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1361 * RequestContext.cs : added internal derived class that implements
1364 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1366 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1369 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1371 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1372 (The messaging must be done as TCP request/reply pattern, so it's
1375 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1377 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1378 messaging pattern). The messaging part is not working yet.
1379 * TcpChannelFactory.cs : support IRequestChannel.
1380 * TcpDuplexSessionChannel.cs : add unsized message support.
1382 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1384 * HttpRequestChannel.cs, RequestChannelBase.cs :
1385 A couple of async members are now implemented in the base class.
1386 Ditto for EndpointAddress and Via.
1388 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1390 * PeerDuplexChannel.cs : now it implements some of node management
1391 functionality and Send operation. The receiver part is not yet.
1393 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1395 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1396 timeout to channel constructor. it does not make sense.
1398 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1400 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1401 as common interface member, and use binary encoder (not text).
1403 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1405 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1407 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1409 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1410 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1411 going to be unified to PeerDuplexChannel. And it is likely that
1412 input and output functionalities are to be unified too.
1414 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1416 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1417 may have to reuse it for peer transport.
1418 * PeerChannelListener.cs : add binding member.
1419 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1421 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1423 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1424 PeerChannelFactory.cs : close opened channels at OnClose() as
1425 documented. Implement async methods.
1426 * PeerChannelListener.cs : removed some NIE overrides.
1428 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1430 * DuplexChannelBase.cs : some more async methods.
1432 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1434 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1436 * TcpChannelListener.cs : accept multiple channels at a time.
1438 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1440 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1441 session strings but output only those new ones in current message.
1442 This fixes inconsistent body output in repetitive use of sender.
1444 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1446 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1447 operation that does not involve session.
1448 Preserve writer session as well as reader session.
1449 * MessageHeaders.cs : take name and namespace into consideration
1450 when creating a serializer.
1452 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1454 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1455 Made required changes for repeated use of message exchanges.
1456 Hold binary reader session. The channels use it incrementally.
1457 Preambles are handled at Open, and EndRecords are handled at
1458 Close, Add session shutdown hook here (not working yet though).
1460 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1462 * ChannelListenerBase_1.cs : added cancellation hook here too.
1463 HttpChannelListener.cs : use above.
1464 Do not allow parallel channel creation (this listener does not
1465 allow more than one AcceptChannel().
1467 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1469 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1470 Add cancellation hook for async TryReceiveRequest.
1472 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1474 * HttpChannelListener.cs, HttpListenerManager.cs :
1475 slightly improved BuildChannelListener().
1476 Implement OnAbort() and differentiate it from OnClose().
1478 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1480 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1482 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1484 * DuplexChannelBase.cs : simple async delegate calls here too.
1486 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1488 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1490 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1492 * HttpReplyChannel.cs : cosometic simplification.
1494 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1496 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1497 infinite block in 2.0 profile.
1499 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1501 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1502 more careful close to avoid NRE.
1504 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1506 * HttpChannelListener.cs : do not Close() more than once (though
1507 it is allowed to call it twice, we don't reject it; just ignore).
1509 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1511 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1513 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1515 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1516 Temporarily disable HTTP Keep-Alive since it somehow results in
1517 wrong reuse of connection (shown as NRE in HttpConnection).
1518 Make sure to close RequestContext which was created from it.
1519 * HttpRequestContext.cs : simplify.
1521 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1523 * HttpChannelListener.cs, TcpChannelListener.cs,
1524 ChannelListenerBase_1.cs : put common internal listener base
1525 and let it handle those async stuff.
1527 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1529 * ReplyChannelBase.cs : fix wrong null delegate check point.
1531 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1533 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1534 now implemented as virtual in base class. Remove NIEs in http.
1536 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1538 * HttpChannelListener.cs : hack async implementation.
1540 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1542 * HttpListenerManager.cs : oops, extra line removal.
1544 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1546 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1548 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1550 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1551 "ChannelManager" is confusing (there is ChannelManagerBase).
1553 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1555 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1556 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1557 they should be split into separate listener->reply channel lines
1558 (remove "if (HostingEnvironment.IsAspNet)".)
1560 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1562 * CommunicationObject.cs : OnClosed() requires call to base method.
1563 Close() could rather abort the channel, and Abort() does not
1564 always invke OnAbort().
1565 * ChannelBase.cs : add call to base as above.
1567 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1569 * ClientAccessPolicy.cs: Removed
1570 * CrossDomainAccessManager.cs: Removed
1571 * CrossDomainPolicy.cs: Removed
1572 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1573 since this is now done inside the BeginGetResponse call (outside
1574 this assembly) for Moonlight (NET_2_1)
1576 2009-06-04 Alan McGovern <amcgovern@novell.com>
1578 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1579 instead of the sync apis. Prevents a possible deadlock condition in
1582 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1584 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1585 callbacks, so add hacky ones.
1587 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1589 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1590 true when socket input is not available.
1592 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1594 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1595 I cannot precisely identify when EndRecord should be consumed,
1596 so allow it at either at the end of ReadSizedMessage() or on
1597 consuming preamble (it's likely handling EndRecord of previous
1600 Now duplex IPeerResolverContract communication works between
1601 either of .NET/Mono client and .NET/Mono server.
1603 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1605 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1606 code. Handle preamble ack on ReadSizedMessage() only at server.
1607 Consume EndRecord from server, at client side. Though it is likely
1608 changed as it's blocking when mono is at server side.
1610 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1612 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1613 different protocol than existing code with related to preamble ack.
1614 So changed it to work fine with .NET client (finally).
1616 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1618 * MessageBufferImpl.cs : do not output Action twice.
1620 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1622 * MessageBufferImpl.cs : it did not copy headers.
1623 * Message.cs : remove 2_1 conditional implementation for buffered
1624 copy and hence remove bogus code.
1626 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1628 * MessageProperties.cs : copy argument is wrong.
1630 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1632 * PeerCustomResolverBindingElement.cs : some argument check.
1634 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1636 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1637 xml open, so close the writer as well as open elements.
1638 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1639 Do not output EndRecord and SizedMessage at a time.
1641 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1643 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1644 length of the SizedMessage in the output.
1646 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1648 * CommunicationObject.cs : use sane default timeout.
1649 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1650 * TcpDuplexSessionChannel.cs : ditto.
1652 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1654 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1655 only accepts buffered messages, so do as such for write buffers.
1656 Add RelatesTo header.
1658 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1660 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1661 rename from former to latter.
1663 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1665 * TcpDuplexSessionChannel.cs : reader does not always return full
1666 buffer (depending on the stream).
1668 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1670 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1672 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1674 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1677 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1679 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1681 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1683 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1685 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1687 * ChannelManagerBase.cs : fix wrong session channel detection.
1689 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1691 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1692 This encoder factory implements CreateSessionEncoder() and binary
1693 encoder does support session transmit, in different media type.
1694 * ChannelManagerBase.cs : added utility method to create appropriate
1696 * HttpChannelFactory.cs, HttpChannelListener.cs,
1697 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1698 PeerChannelFactory.cs, PeerChannelListener.cs,
1699 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1701 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1703 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1705 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1707 * DuplexSessionBase.cs : new file, for session implementation.
1708 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1709 DuplexSessionChannelBase.cs : changed sync/async implementation
1710 pattern. Now async methods call sync methods using delegates.
1712 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1714 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1715 a few minor API fixes.
1717 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1719 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1721 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1723 * TcpDuplexSessionChannel.cs : add To header.
1725 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1727 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1730 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1732 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1734 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1736 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1737 CommunicationException in each CreateFault().
1739 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1741 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1742 Open(). Some (but not all yet) continuous communication works now.
1743 Use ProtocolException. Remove dummy binary session string.
1745 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1747 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1748 sending/receiving SizedMessageRecord parts to manager class.
1749 Handle writer session, though it is likely broken at dictionary
1750 writer part (no string is written so far).
1751 * BinaryMessageEncoder.cs : add writer session and rename reader
1754 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1756 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1757 is mandatory in initiator preamble packet. Handle Fault reply in
1760 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1762 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1763 based communication under TcpBinaryFrameManager class.
1765 2009-05-13 Jb Evain <jbevain@novell.com>
1767 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1768 from a StringReader.
1770 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1772 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1773 actually eliminate DOM-based implementation too in 2.0.
1775 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1777 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1778 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1779 comments for magic numbers based on [MC-NMF].
1781 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1783 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1784 support for [MC-NBFSE] record in [MC-NMF], in this class.
1786 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1788 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1790 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1792 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1794 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1796 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1798 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1800 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1802 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1804 * BinaryMessageEncoder.cs : use quotas in binding element.
1805 Implement WriteMessage().
1807 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1809 * PeerCustomResolverBindingElement.cs : do initialize field.
1811 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1813 * PeerCustomResolverBindingElement.cs :
1814 implement full custom resolver.
1816 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1818 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1819 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1820 PeerChannelFactory.cs : ongoing p2p channel implementation.
1822 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1824 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1826 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1828 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1829 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1830 implement GetProperty<T>(). Return documented objects or null.
1832 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1834 * PeerChannelFactory.cs, PeerChannelListener.cs,
1835 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1836 PeerInputChannel.cs, PeerOutputChannel.cs :
1837 new; ongoing peer transport implementation.
1838 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1839 MsmqOutputChannel.cs, OutputChannelBase.cs,
1840 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1841 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1842 several internal changes (either required or for simplification)
1843 for ongoing peer transport implementation.
1845 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1847 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1849 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1851 * TcpTransportBindingElement.cs : check build-ability before
1852 actually building channels.
1853 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1854 conditions according to MSDN.
1856 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1858 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1859 handle headers in SL2. Slightly changed 3.0 code too.
1861 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1863 * HttpRequestChannel.cs : use cross domain access manager.
1865 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1867 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1868 message as BodyWriter.
1869 (in GetReaderAtBodyContents) just write body contents.
1870 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1872 Add some state check in GetReaderAtBodyContents().
1873 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1875 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1877 * Message.cs : do not forget to flush.
1878 * HttpRequestChannel.cs : give more exact error info.
1880 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1882 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1883 make buffered copy in ML2 really buffered.
1885 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1887 * Message.cs : if there is no header item to write, do not write
1888 SOAP header element.
1890 2009-01-22 Alan McGovern <amcgovern@novell.com>
1892 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1893 Rewrite to avoid usage of it.
1895 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1897 * ChannelParameterCollection.cs : implement, rather than NIE.
1899 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1901 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1902 internal users to know the type of the detail.
1904 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1906 * Message.c: Use private setter for state private variable to ease debugging.
1907 Modify ToString not to change the state, as it is called quite often by VS debugger
1909 2008-04-21 Roei Erez <roeie@mainsoft.com>
1911 * HttpChannleManager: Fix for multithreaded use.
1912 * HttpReplyChannel: Fix crash during sutdown.
1914 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1916 * HttpChannleManager: ensure trailing slash in uri.
1918 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1920 * added: HttpChannleManager,
1921 * HttpChannelListener: added use of HttpChannelManager
1923 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1925 * MessageEncodingBindingElement.cs: fixed ctor
1927 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1929 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1931 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1933 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1935 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1937 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1939 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1941 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1943 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1945 * BindingElementCollection.cs: fix API - .ctor's signature.
1947 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1949 * XmlSerializerBodyWriter.cs: Removed.
1951 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1953 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1955 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1957 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1958 * TcpChannelFactory.cs, TcpChannelListener.cs :
1959 unify factory and listener into TcpChannelInfo for use in
1960 TCP channel implementation. Do not store stream in the listener.
1961 Factory now uses BinaryMessageEncoder.
1962 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1963 holds TcpClient that the listener has accepted.
1965 tcp-transport-binding-element sample now communicates (though
1966 only when both sides are mono: there seems binary mismatch).
1968 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1970 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1971 clone connection pool settings too.
1972 * NamedPipetransportBindingElement.cs,
1973 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1974 being likely implemented though).
1976 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1978 * ConnectionOrientedTransportBindingElement.cs,
1979 TcpTransportBindingElement.cs : some API updates.
1980 Initialize default values.
1981 * TcpConnectionPoolSettings.cs : new file.
1983 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1985 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1986 added support for "factory" attribute.
1988 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1990 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1992 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1994 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1996 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1998 * HttpRequestChannel.cs : create WebRequest against To message header
2000 Consider HttpRequestMessageProperty.
2001 Do not output body when suppressed or the method is GET.
2003 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2005 * HttpChannelListener.cs : BindingContext may not have listenUri
2006 at its .ctor() step.
2008 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
2010 * BindingContext.cs : RemainingBindingElements is not just a dummy
2011 collection but is actually user-controlled.
2013 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
2015 * TcpChannelFactory.cs, TcpChannelListener.cs,
2016 HttpChannelFactory.cs, HttpChannelListener.cs,
2017 MsmqChannelFactory.cs, MsmqChannelListener.cs,
2018 TextMessageEncodingBindingElement.cs,
2019 BinaryMessageEncodingBindingElement.cs,
2020 MtomMessageEncodingBindingElement.cs :
2021 message encoder should be retrieved only through public API.
2022 * BindingContext.cs : so my old guess was wrong.
2024 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
2026 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
2028 * HttpTransportBindingElement.cs : implemented copy constructor.
2030 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
2032 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
2033 header when AddressingVersion is None.
2035 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
2037 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
2040 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
2042 * OneWayBindingElementImporter.cs
2043 CompositeDuplexBindingElementImporter.cs : new files.
2045 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
2047 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
2048 semantic change, its bool parameter must be false, not true.
2050 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
2052 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
2053 new files. Msmq transport listener Implementation.
2054 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
2055 (wait for System.Messaging impl.)
2056 * HttpReplyChannel.cs : added comment
2058 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
2060 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
2061 new files. internal stuff for msmq channel.
2062 * BinaryMessageEncoder.cs : added another .ctor().
2063 * MsmqTransportBindingElement.cs :
2064 implemented [Can]BuildChannelFactory().
2066 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
2068 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
2069 initialize some fields.
2071 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
2073 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
2074 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
2075 couple of msmq stubs.
2077 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
2079 * SecureMessageGenerator.cs : SecurityContextToken support (though
2080 it is still regarded as invalid by WCF).
2082 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
2084 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
2085 make header.Contents.Add() more strict.
2086 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
2088 Added some hack to allow ssl token external mode.
2089 Commented out such lines that always premised asymmtric key.
2091 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
2093 * TransactionFlowBindingElement.cs : forgot necessary Clone().
2095 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
2097 * MessageSecurityBindingSupport.cs : support check to create
2098 authenticator is now done in both initiator/recipient sides.
2099 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
2101 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2103 * MessageSecurityBindingSupport.cs : for now, comment out the code
2104 that makes authenticator creation optional.
2105 * SecurityRequestContext.cs : don't decrypt message when it is
2106 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
2108 * SecurityChannelListener.cs : GetProperty<T>() now returns
2109 MessageSecurityBindingSupport when requested. It is used by
2110 EndpointDispatcher to check if it supports WS-Trust negotiation.
2111 * ChannelListenerBase.cs :
2112 removed extra TODO and field. Implemented GetProperty<T>().
2113 * Message.cs : In CreateMessage() for SOAP Fault, create
2114 SimpleMessage with IsFault = true.
2116 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2118 * SecurityRequestContext.cs : try to reply fault with the inner
2119 channel when an error occurred internally.
2120 * FaultConverter.cs : implemented based on OperationContext (at normal
2121 state it does not seem to create messages, so I implemented it this
2124 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2126 * TransportBindingElement.cs : implemented GetProperty<T>().
2127 * TransactionFlowBindingElement.cs : on building factory or listener,
2128 reject channel types that cannot build.
2129 * SecurityBindingElement.cs : added some TODO comments.
2130 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
2131 delegate to base, not BindingContext.
2132 * SecurityRequestContext.cs : somewhat late decryption.
2134 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
2136 * MessageSecurityBindingSupport.cs,
2137 AsymmetricSecurityBindingElement.cs,
2138 SymmetricSecurityBindingElement.cs :
2139 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
2140 implemented ISecurityCapabilities on them. Now those binding
2141 elements support GetProperty<ISecurityCapabilities>().
2143 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
2145 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
2146 will work only for predefined parameter types.
2148 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
2150 * MessageSecurityBindingSupport.cs :
2151 Set proper MessageDirection to the requirement after creation.
2152 split CreateTokenAuthenticator() as MessageDirection is different.
2153 Removed extra creation of requirement.
2155 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
2157 * MessageSecurityBindingSupport.cs : token authenticator is not
2158 always created on channel-opening stage.
2159 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
2160 Sslnego binding factory method.
2162 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
2164 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
2165 signature velification failure.
2167 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2169 * SecureMessageGenerator.cs : encrypt signature confirmations only
2170 when they are required.
2172 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2174 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
2175 when [Signature Protection is true i.e. when we use
2176 SignBeforeEncryptAndEncryptSignature.
2178 With this change finally samplesvc.cs/samplecli.cs became
2181 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2183 * SecureMessageDecryptor.cs : signature verification was not done
2184 for endorsing supporting tokens.
2185 * SecureMessageGenerator.cs : moved SignatureConfirmation position
2186 in the security header. Don't output empty ReferenceList.
2188 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2190 * SecureMessageGenerator.cs : signingToken was added before being
2191 initialized and thus caused NRE.
2193 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2195 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2196 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
2197 don't need workaround for symmetric key restoration.
2199 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2201 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2202 SecureMessageGenerator.cs :
2203 Avoid extra reference search from the request's ReferenceList.
2204 create HMACSHA1 always with the key to compute hash (I'm not sure
2205 it is correct; it is rather to adjust all hash consistent.)
2207 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2209 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
2210 actually endorsed the primary signature.
2211 * SecureMessageGenerator.cs : implemented endorsing of the primary
2212 signature. So, now supporting tokens are fully implemented.
2214 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2216 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
2217 totally signing tokens.
2218 * SecureMessageGenerator.cs : Endorsing tokens should also be
2219 included in the message. They are just not signed.
2221 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
2223 * SecureMessageGenerator.cs : support signing and encryption of
2224 supporting tokens. Some required refactory to do it.
2225 * MessageSecurityBindingSupport.cs : added EncryptedData member.
2227 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
2229 * SecureMessageDecryptor.cs : fix exception message.
2230 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
2231 XmlNamespaceManager is not required for GetIdElement().
2233 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
2235 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
2236 moved decryption part from former file to latter file, to reuse
2237 SignedXml instance (though now I doubt how it actually was good)
2238 which in turn required to replace EncryptedData in
2239 WSSecurityMessageHeader with decrypted one.
2240 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
2242 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2244 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
2245 EncryptedData should contain KeyInfo as it is not obvious which key
2246 is used there. .net<->mono DerivedKeyToken introp is done.
2247 * SecureMessageDecryptor.cs : check derived key requirement.
2248 Reduce dom-dependent parts.
2250 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2252 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
2253 the related DerivedKeyToken (if any).
2254 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
2255 support. Some refactoring to distinguish deried-token-related
2257 * SecureMessageDecryptor.cs : removed its own support for derived
2258 key tokens. Now it fully works with DerivedKeySecurityToken.
2260 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2262 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2263 SecureMessageDecryptor.cs :
2264 Implemented increment token reading in o:Security, as
2265 DerivedKeyToken could reference to existing wrapped key.
2266 Removed WsscDerivedKeyToken and all relevant code.
2267 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
2268 DerivedKeySecurityToken.
2270 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
2272 * SecureMessageGenerator.cs : it was setting security tokens into
2273 incorrect SecurityMessageProperty.
2274 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
2275 Now it uses SecurityRequestContext instead of just primary key.
2276 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
2277 to symmetric reply decryption, which is the only trouble case.
2278 Do not create another SignedXml.
2279 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
2281 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
2283 * SecureMessageDecryptor.cs : Now it uses union token resolver and
2284 the resolver works with in-progress token reading in o:Security.
2285 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
2286 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
2287 * SecureMessageGenerator.cs : cosmetic refactoring.
2289 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
2291 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
2292 instead of EncryptedKey.
2294 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
2296 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
2297 should not be always prepared at channel Open(). It also caused
2298 that extra token requirements.
2299 * SecureMessageGenerator.cs : use correct key clause for encryption.
2300 * SecureMessageDecryptor.cs : reduce extra key acquisition.
2302 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2304 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
2305 for supporting 'supporting tokens' .
2306 * SecureMessageGenerator.cs : Supporting token creation is done only
2307 at initiator (not sure if it is supposed that, but for now it is).
2308 Removed extraneous CollectSupportingTokens().
2309 * SecureMessageDecryptor.cs : implemented supporting token
2310 authentication (partly). "Signed" supporting tokens are expected
2313 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2315 * SecureMessageGenerator.cs :
2316 make SignBeforeEncryptAndEncryptSignature working.
2318 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2320 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
2321 the key itself. ProtectionToken is WrappedKey.
2322 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
2323 not EncryptedKeyIdentifierClause which is not for embedded key.
2324 * MessageProperties.cs : Fixed copy direction in CopyProperties().
2326 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
2328 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
2329 to switch asymmetric and symmetric. Not used yet.
2330 * SecurityRequestChannel.cs : now it pass the request security
2331 property to reply receiver so that it could use the primary key
2332 used at request phase.
2333 * SecurityRequestContext.cs : now it pass the context itself to
2334 reply sender so that it could embed related MessageID.
2335 * SecureMessageGenerator.cs : ongoing changes to support symmetric
2336 binding element. Add RelatesTo output and remove MessageID when
2337 replying to the sender. Added some hacks to get symmetric binding
2339 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
2340 in SecurityTokenReference (it also involved existing encrypted key
2341 retrieval). In reply receiver, reuse the key that was used at
2342 request phase. It needs significant token resolution refactoring.
2344 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2346 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2347 * SecureMessageDecryptor.cs : store token and its authentication
2348 policies into the security property, and reuse it on reply.
2349 Some code refactoring; there is at most one o:Security to solve at
2350 one endpoint (depends on Actor). Some attempt to use correct
2351 token parameters (but for now I have only samples that use x509).
2352 * SecureMessageGenerator.cs : For replying message, use initiator's
2353 signing token as the encryption token. Simply reuse security
2354 property from the input message.
2356 I have some nasty workaround at decryptor for initiator that could
2357 not retrieve decryption key.
2359 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2361 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2362 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2363 several refactoring on token acquisition. Large part of
2364 MessageSecurityBindingSupport code is unified.
2366 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2368 * MessageProperties.cs : Security property should be one of the items.
2369 Actually many other properties should be similar as well.
2370 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2371 when copying a message, copy properties as well.
2372 * SecurityRequestContext.cs : on replying, pass input
2373 SecurityMessageProperty to the security generator.
2374 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2376 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2378 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2381 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2382 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2383 use new WSSignedXml instead of SignedXml, and remove coexisting
2384 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2385 - our reply messages could be consumed by .NET, and
2386 - .NET signature could be verified.
2388 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2390 * SecureMessageDecryptor.cs : The signing key must be passed as
2391 CheckSignature() argument, not SigningKey.
2393 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2395 * MessageImpl.cs : don't read attribute after ReadStartElement().
2397 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2399 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2400 * SecureMessageGenerator.cs : use correct signing key clause for
2401 SecurityTokenReferenceKeyInfo to be serialized.
2402 * SecureMessageDecryptor.cs : now it can try to parse signature.
2404 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2406 Ongoing changes to support signature confirmation
2407 * SecureMessageGenerator.cs :
2408 Don't output ReplyTo onto reply message.
2409 Write SignatureConfirmation if needed.
2410 * SecureMessageDecryptor.cs :
2411 Some refactoring for header cunsumption. Added commented-out
2412 signature verification part (not working yet, on client side due
2413 to incorrect reply from service and insufficient clause reader).
2414 * WSSecurityMessageHeader.cs :
2415 Added SignatureConfirmation support.
2416 KeyInfoClause for o:SecurityTokenReference should be replaced with
2417 SecurityTokenReferenceKeyInfo.
2419 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2421 * SecureMessageGenerator.cs : support Timestamp signature.
2422 Removed unused code, and extra argument in CreateReference().
2423 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2425 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2427 * SecureMessageGenerator.cs :
2428 Several fixes to make asymmetric binding working:
2429 - Differentiate signing and encryption token in several areas.
2430 - Fixed signing keyinfo.
2432 Added initial SecurityMessageProperty handling, not sure if it is
2433 appropriate here though.
2434 * HttpRequestChannel.cs : (some debugging lines)
2436 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2438 Woohoo! Here is a very basic WS-Security compliant message which could
2439 be allowed by Indigo.
2440 * MessageHeader.cs : added Id support for writing.
2441 * Message.cs : added internal BodyId for signature reference.
2442 * MessageImpl.cs : write Body Id if required.
2443 * SecureMessageGenerator.cs : Before signing, the target elements must
2444 be given wsu:Id. Since I still use System.Security.dll, I need some
2445 trick for signing (I give both Id and wsu:Id, former to sign and
2446 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2447 implementation later. Now singning mechanism works except for
2448 wsu:Timestamp (which is kind of mandatory).
2450 I can's still consume replies from Indigo but it's a big progress :)
2452 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2454 * MessageHeaderInfo.cs : added internal Id.
2455 * MessageHeader.cs : read and write wsu:Id.
2456 * Message.cs : output wsu namespace if Id exists in any header.
2457 * HttpReplyChannel.cs : (some debugging lines.)
2458 * SecureMessageDecryptor.cs : (remove debugging lines.)
2459 * MessageImpl.cs : removed obsolete code.
2460 * WSSecurityMessageHeader.cs : output "o" prefix.
2461 * SecureMessageGenerator.cs : replaced XmlElement-based header
2462 signing with MessageHeader-based signing, to support Id correctly.
2464 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2466 * SecureMessageGenerator.cs : some more refactoring and code comments.
2467 * MessageSecurityUtility.cs : made decryptor into an instance class,
2468 like I've done for SecureMessageGenerator.
2469 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2470 dependent changes for above.
2472 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2474 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2475 causing NRE due to the lack of token reference.
2476 No need to pass doc to SignedXml.ctor() anymore.
2477 Moved ReferenceList before the signature(s).
2479 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2481 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2482 Moved signing key generation code to non-HMACSHA1 signing part.
2483 Don't try to sign wss:Security.
2484 Pass document itself to SignedXml.ctor().
2485 Use temporary DataObjects to avoid adding Ids (not sure what is the
2486 expected processing yet).
2487 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2488 WriteTo() method in WsuTimestamp.
2490 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2492 * SecureMessageGenerator.cs : wrong key was used for signing.
2493 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2495 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2497 * SecureMessageGenerator.cs :
2498 Now ID generation process does not modify input message.
2499 Moved derived key generation part into (virtual) signing loop.
2500 MessagePartSpecification support for signing is done.
2502 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2504 * SecureMessageGenerator.cs : some reordering to handle signing and
2505 encryption with supporting tokens. Fixed XPath query bug for
2506 soap header contents (we want s:Header/*, not s:Header).
2508 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2510 * MessageSecurityBindingSupport.cs : more refactoring.
2511 Made it abstract and added Initiator- and Recipient- classes.
2512 Several members were moved to those derived types.
2513 * AsymmetricSecurityBindingElement.cs,
2514 SymmetricSecurityBindingElement.cs
2515 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2516 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2517 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2518 All dependent changes by above. Removed ISecurityChannelSource
2519 which became useless.
2521 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2523 * SecureMessageGenerator.cs : encryption parts should exist too.
2524 * AsymmetricSecurityBindingElement.cs
2525 SymmetricSecurityBindingElement.cs,
2526 MessageSecurityBindingSupport.cs : some refactoring.
2527 Split MessageSecurityBindingSupport into security binding element
2528 specific parts and made MessageSecurityBindingSupport concrete.
2529 It is likely split again, next time based on initiator/recipient.
2531 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2533 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2534 split encryptor part in the former file into latter file, and
2536 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2537 SecurityRequestContext.cs : apply the change above.
2539 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2541 * MessageSecurityBindingSupport.cs :
2542 Fixed incorrect TrgGetValue() use.
2543 Added CollectRecipientSupportingTokens().
2545 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2547 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2548 EncryptedKey. So, when a key itself is used to encrypt data,
2549 ReferenceList is contained by itself.
2550 * MessageSecurityBindingSupport.cs :
2551 added CollectInitiatorSupportingTokens().
2553 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2555 * MessageSecurityUtility.cs: it should support ReferenceList-less
2558 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2560 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2561 * MessageSecurityUtility.cs : there already was uuid.
2563 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2565 * MessageSecurityUtility.cs : replaced EncryptedKey with
2566 WrappedKeySecurityToken, which seems to be in actual use in .net.
2567 * WSSecurityMessageHeader.cs : added internal Guid so that it
2568 could be shared between header items.
2570 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2572 * HttpRequestContext.cs, TextMessageEncoder.cs :
2573 some null arg check.
2575 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2577 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2578 for SecurityTokenReference resolution.
2580 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2582 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2583 consider DerivedKeyTokens correctly.
2584 When creating LocalId, don't add '#' here.
2586 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2588 * MessageSecurityUtility.cs :
2589 handle key mapping for each wsse:Security.
2591 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2593 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2595 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2597 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2599 * MessageSecurityUtility.cs :
2600 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2601 suggests, and it is used to dereference decryption targets.
2602 Now it premises multiple wsse:Security elements to read.
2604 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2606 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2607 manually (and actually the namespace URI was wrong).
2609 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2611 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2613 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2615 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2617 * SecurityBindingElement.cs,
2618 SymmetricSecurityBindingElement.cs,
2619 AsymmetricSecurityBindingElement.cs :
2620 implemented SetKeyDerivation().
2622 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2624 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2627 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2629 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2632 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2634 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2635 thus move it in front of encryption/signing.
2637 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2639 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2640 check state by themselves (btw it's not really working).
2641 * HttpChannelListener.cs : If the url does not end with '/' add it
2642 so that it could be fed to HttpListener.
2644 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2646 * HttpChannelFactory.cs : check scheme on CreateChannel.
2647 * MessageHeader.cs : finish IsMessageVersionSupported().
2649 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2651 * FaultConverter.cs : new file, not used yet though.
2653 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2655 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2657 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2659 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2660 GET as well as HttpReplyChannel, configuration would be ready now.
2662 2006-10-18 Ankit Jain <jankit@novell.com>
2664 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2665 EnvelopeVersion.Soap12 and 'text/xml' for others.
2666 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2668 Strip '?' from the query string.
2670 2006-10-13 Ankit Jain <jankit@novell.com>
2672 * MessageVersion.cs (None): Set AddressingVersion.None
2674 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2676 * SvcHttpHandler.cs : added config-based endpoint addition code.
2677 Though due to some weird bug in mono-core it does not seem to work,
2678 so commented out for now.
2679 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2680 mex request message might just be wrong.
2681 Use expected MessageVersion by the channel.
2682 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2684 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2686 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2687 which differs depending on whether it is asymmetric or symmetric.
2688 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2689 simplify SecureMessage() and DecryptMessage() arguments (just
2690 take MessageSecurityBindingSupport instead of several parameters).
2691 * MessageSecurityUtility.cs :
2692 - simplify SecureMessage() and DecryptMessage() arguments (just
2693 take MessageSecurityBindingSupport instead of several parameters).
2694 - Take token inclusion mode into account. Don't include them when
2695 it is not expected. Also, change the token reference style.
2696 - add wsa:MessageID to the headers.
2697 - For hmac-sha1 signing (default for symmetric binding), use
2698 symmetric key created for encryption as well to create HMACSHA1.
2699 - add Id to wsu:Timestamp.
2700 - start to handle SecurityMessageProperty.
2701 * WSSecurityMessageHeader.cs :
2702 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2703 Changed date format.
2705 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2707 * CommunicationObject.cs : reject faulted state on Open()/Close().
2708 * MessageHeaders.cs : removed extra fields.
2710 2006-10-06 Ankit Jain <jankit@novell.com>
2712 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2714 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2716 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2717 added some FIXMEs and additional arg.
2719 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2721 * MessageSecurityUtility.cs : remove duplicate Action header.
2723 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2725 * MessageFault.cs : partly implemented CreateFault(Message, int).
2726 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2727 handle IsFault correctly in each implementation.
2729 2006-10-04 Ankit Jain <jankit@novell.com>
2731 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2733 2006-10-04 Ankit Jain <jankit@novell.com>
2735 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2736 in WebConnectionStream.
2738 2006-10-04 Ankit Jain <jankit@novell.com>
2740 * MessageHeaders.cs (To): Use GetHeader<string> till
2741 DataContractSerializer gets ISerializable support.
2742 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2744 2006-10-04 Ankit Jain <jankit@novell.com>
2746 * ServiceHostParser.cs (Parse):
2747 (Split): Add some error checks.
2749 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2751 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2752 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2753 * SslStreamSecurityUpgradeProvider.cs,
2754 SslStreamSecurityUpgradeAcceptor.cs :
2755 new files for Ssl upgrade provider implementation.
2756 * MessageSecurityUtility.cs :
2757 Create proper C14NTransform. Don't use enveloped signature
2758 transform but sign every significant bits. On securing messages
2759 use ChannelProtectionRequirements.
2760 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2762 * MessageEncoder.cs : fix API (missing constraint).
2763 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2764 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2765 * AsymmetricSecurityBindingElement.cs : default protection order is
2766 SignBeforeEncryptAndEncryptSignature.
2768 2006-09-29 Ankit Jain <jankit@novell.com>
2770 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2771 ServicHostParser and use that here.
2772 (PrivateBinPath): New.
2773 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2774 (RemovedCallback): Remove and close the SvcHttpHandler when its
2775 corresponding file (.svc) changes.
2776 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2778 * ServiceHostParser.cs : New.
2779 * CachingCompiler.cs : New. Code extracted from
2780 System.Web.Compilation.CachingCompiler
2781 * CompilationException.cs : New. From System.Web.Compilation
2782 * HtmlizedException.cs : New. Likewise.
2784 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2786 * MessageSecurityBindingSupport.cs : For client side, it is always
2787 InitiatorServiceModelSecurityTokenRequirement which should be
2788 created. Fixed wrong client encryption key acquisition.
2790 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2792 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2793 MessageSecurityBindingSupport.cs : made similar changes as factories
2794 to listener so that session channels and input channels would work.
2795 Added authenticator creation.
2797 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2799 * Binding.cs : added missing members.
2801 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2803 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2804 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2805 reduce code duplication between request and output channels.
2806 The common parts are now in MessageSecurityBindingSupport.
2807 Now reduced several arguments in SecureMessage() for client.
2809 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2811 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2813 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2815 * AsymmetricSecurityBindingElement.cs,
2816 SecurityChannelListener.cs,
2817 SecurityRequestContext.cs,
2818 SymmetricSecurityBindingElement.cs,
2819 SecurityRequestChannel.cs,
2820 SecurityOutputChannel.cs,
2821 SecurityChannelFactory.cs,
2822 MessageSecurityBindingSupport.cs : 1) Refactoring.
2823 IMessageSecurityBindingSupport now becomes a class and contains
2824 all the members which resided in ISecurityChannelSource.
2825 Now it takes more constructor params.
2826 Made dependent changes on all sources above.
2828 2) Added SecurityTokenAuthenticator creation in
2829 SecurityRequestChannel (SecurityOutputChannel should do the same).
2831 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2833 * SecurityRequestChannel.cs : ongoing improvements on conditional
2834 key creation. Actually there must be some part that creates an
2835 authenticator (WinFX does that).
2837 2006-09-27 Ankit Jain <jankit@novell.com>
2839 Add suport for handling .svc files.
2840 * SvcHttpHandlerFactory.cs: New.
2841 * SvcHttpHandler.cs: New.
2843 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2844 asp.net environment.
2845 (OnOpen): Do nothing in asp.net environment.
2846 (OnClose): Likewise.
2847 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2848 * HttpRequestContext.cs: .. here.
2850 * AspNetReplyChannel.cs: New.
2851 * AspNetRequestContext.cs: New.
2853 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2855 * MessageSecurityUtility.cs :
2856 Significantly rewritten decryption parts to respect ReferenceList
2857 to decrypt (so no workaround anymore).
2858 Now e:ReferenceList inside o:Security is treated as the referenced
2859 EncryptedType items are encrypted by 1) the derived key which is
2860 immediately in front of it, or 2) the default key (it is according
2861 to WS-SecureConversation section 9.1). Thus removed immediately
2862 previous hack to auto-fill wsu:Id attributes.
2864 On securing a message, generate correct Id and add DataReference
2865 to ReferenceList properly.
2867 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2869 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2872 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2874 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2875 Actually WSSecurityTokenSerializer should be able to consume it, but after
2876 spending a lot of time I still cannot successfully read it on WinFX.
2877 Skip ReferenceList for now.
2878 * MessageSecurityUtility.cs :
2879 Replaced some string literals with constants.
2880 Added some workaround for DerivedKeyToken retrieval.
2881 WinFX somehow sends incomplete ISO10126 padding which contains
2882 bigger number than the key size and is rejected by EncryptedXml,
2883 so added DecryptLax() which processes such ones in PaddingMode.None
2884 to workaround it (only for cross-connection between mono and winfx).
2885 Added some incomplete implicit wsu:Id processing.
2886 Don't try to replace SignedXml with EncryptedData. It is not added
2887 to the document tree.
2889 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2891 * MessageSecurityUtility.cs : support message signature encryption. Some
2894 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2896 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2898 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2900 * MessageSecurityUtility.cs : fix warnings.
2902 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2904 * MessageSecurityUtility.cs : actually there would be more than one
2905 EncryptedData. Decrypt all.
2907 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2909 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2910 Use ISO10126 padding mode (it is not required but in manner).
2912 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2914 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2915 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2916 that class to make it work fine with mono client).
2917 Removed buggy lines that reset decryption key to AES.
2918 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2919 * WSSecurityMessageHeader.cs :
2920 (SecurityTokenReferenceKeyInfo) support LoadXml.
2922 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2924 * TransactionMessageProperty.cs : new file.
2926 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2928 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2929 gmcs happened to report wrong code.
2931 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2933 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2934 .ctor() now requires ChannelProtectionRequirements which will be
2935 supplied via BindingParameterCollection.
2936 * SymmetricSecurityBindingElement.cs,
2937 AsymmetricSecurityBindingElement.cs : thus add
2938 ChannelProtectionRequirement parameter to factory/listener.
2939 * SecurityRequestChannel.cs : use recipient token requirement to
2940 create an encryption token. Thus differentiate the logic from
2941 signing (initiator) token.
2943 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2945 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2946 renamed former to latter.
2947 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2950 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2952 * MessageSecurityBindingSupport.cs : new internal types to commonize
2953 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2954 and thus make internal factory and listener reusable.
2955 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2956 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2957 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2958 SymmetricSecurityBindingElement, using the new types above.
2959 * SymmetricSecurityBindingElement.cs :
2960 Use SymmetricMessageSecurityBindingSupport.
2961 * AsymmetricSecurityBindingElement.cs :
2962 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2964 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2966 * ChannelFactoryBase.cs : more RC1 update.
2968 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2970 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2971 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2972 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2973 ChannelBase.cs : RC1 API updates.
2974 * MessageImpl.cs : implemented Properties.
2975 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2977 2006-09-18 Ankit Jain <jankit@novell.com>
2979 * MessageHeaders.cs (MessageId):
2980 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2982 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2984 * ChannelParameterCollection.cs : new file.
2985 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2986 new files for IOutputChannel implementation.
2987 * OneWayBindingElement.cs : hacky implementation.
2988 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2989 * MessageSecurityUtility.cs : now create identifier from the security
2990 token and the token parameters which is added as an argument.
2991 * SecurityRequestContext.cs,
2992 SecurityRequestChannel.cs : SecureMessage() argument changes.
2993 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2996 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2998 * HttpRequestChannel.cs : close the HttpWebRequest.
3000 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3002 * HttpRequestChannel.cs,
3003 HttpChannelFactory.cs : implement async request/reply.
3004 * HttpChannelFactory.cs :
3005 verify factory state when creating a channel.
3007 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3009 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
3010 BinaryMessageEncoder.cs : added message version mismatch check.
3012 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
3014 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
3015 Making incomplete changes to handle different tokens for encryption
3017 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
3018 split channel implementation classes out to the latter file.
3019 * MessageSecurityUtility.cs : seems like there is
3020 TimeStampValidityDuration property, so use it (incomplete; a server
3021 needs another love).
3023 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
3025 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
3026 SecurityRequestContext.cs : now that we have key identifier clause
3027 and working ResolveKeyIdentifierClause(), just create keys inside
3028 SecureMessage(). Add KeyInfo to the xmldsig.
3030 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
3032 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
3033 pass SecurityKeyIdentifierClause to SecureMessage().
3034 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
3035 for IssuedToken binding element.
3036 * SymmetricSecurityChannelListener.cs : removed hack to just create
3037 X509 security token, and implemented correct token creation.
3038 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
3039 wraps SecurityTokenReference element.
3040 * MessageSecurityUtility.cs : use the above.
3042 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3044 * MessageSecurityUtility.cs : raise MessageSecurityException when it
3045 could not find a security header.
3046 * SymmetricSecurityChannelFactory.cs : now it also supports
3047 IRequestSessionChannel. Extracted SecurityRequestChannel out from
3050 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3052 * SecurityRequestContext.cs : moved securing message part to
3053 MessageSecurityUtility.cs.
3054 * MessageSecurityUtility.cs : the change above.
3055 use DateTime.Now for timestamp basis. Don't append signature to
3056 the document. Instead it is added to the header. Capture body
3057 content instead of the body itself.
3058 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
3059 be processed by upper layers.
3061 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3063 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
3064 SymmetricSecurityChannelListener.cs,
3065 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
3066 more refactoring. Request serialization became much more conformant
3067 and add required header items.
3068 Security Token retrieval is needed to send it in the request.
3069 Fixed wrong key encryption.
3071 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3073 * SecurityRequestContext.cs : the workaround was not functional.
3075 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3077 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
3078 API, especially ReplaceData(), instead of native crypto stuff.
3079 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
3080 MessageProtectionOrder.SignBeforeEncrypt).
3082 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3084 * SecurityRequestContext.cs : label should be combined of both
3085 the client's and the server's.
3087 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3089 * SecurityRequestContext.cs : enable key derivation (though for now
3090 GenerateDerivedKey() is unimplemented). Create meaningful,
3091 decrypted request message to be consumed by the upper layer.
3093 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3095 * SecurityRequestContext.cs : implement Close() and Reply().
3096 ongoing implementation of Reply(TimeSpan).
3097 * MessageSecurityUtility.cs : new file to collect utility methods.
3098 * SymmetricSecurityChannelFactory.cs : moved securing message code
3100 * SymmetricSecurityChannelListener.cs : tiny renaming.
3102 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3104 * SecurityRequestContext.cs : security header is also stored.
3106 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
3109 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3111 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
3114 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3116 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
3117 so that it retrieves the security key in that manner.
3119 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3121 * Binding.cs : MessageVersion is null when there is no
3122 MessageEncodingBindingElement.
3123 * Message.cs : null arg check.
3125 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3127 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
3129 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
3131 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
3132 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
3133 LayeredRequestChannel.cs : some refactoring.
3134 * SymmetricSecurityChannelFactory.cs :
3135 ongoing secure message creation implementation.
3137 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
3139 * SymmetricSecurityBindingElement.cs :
3140 pass specific ServiceCredentialsSecurityTokenManager type to
3141 SymmetricSecurityChannelListener as it needs ServiceCertificate.
3142 * SymmetricSecurityChannelListener.cs :
3143 get service certificate. It's a temporary hack.
3144 Move RequestContext code to below.
3145 * SecurityRequestContext.cs : new file.
3146 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
3147 it I have to finish decryption of the incoming message.
3149 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3151 * MessageImpl.cs : don't write attributes on the first body content
3152 element *on soap Body element*.
3153 * MessageBufferImpl.cs : don't throw ArgumentNullException.
3154 ObjectDisposedException is appropriate.
3155 * MessageHeader.cs : (RawMessageHeader) don't write element itself
3156 in OnWriteHeader*Contents*().
3158 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3160 * WSSecurityMessageHeader.cs : new file.
3161 * SymmetricSecurityChannelFactory.cs :
3162 moved WSSecurityHeader and related types to the above.
3163 * SymmetricSecurityChannelListener.cs :
3164 reject SOAP-env-less message.
3166 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3168 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
3169 renamed former to latter.
3170 * SymmetricSecurityChannelFactory.cs :
3171 create requirements every time. It is also likely that I need
3172 another requirement instance to get service credentials here.
3174 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
3176 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
3177 similar to BuildChannelFactory() (set credentials, issuer binding
3179 * SecurityChannelListener.cs :
3180 more ongoing security support implementation.
3181 * SymmetricSecurityChannelFactory.cs :
3182 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
3184 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
3186 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
3187 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
3188 Implementation is underway.
3189 * LayeredReplyChannel.cs :
3190 like LayeredRequestChannel, use ChannelListenerBase to provide
3193 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
3195 * MessageHeader.cs : added another implementation type that uses
3196 XmlElement, for buffering purpose.
3197 * MessageImpl.cs : Header item types are user-driven by
3198 MessageHeader.GetHeader<T>(int), so at storing phase just store
3199 nodes as XmlElement.
3200 * MessageHeaders.cs : avoid dumping XmlNode to string to create
3203 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
3205 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
3206 BindingParameterCollection, not from binding element properties.
3208 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
3210 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
3211 renamed former to latter.
3213 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
3215 * SecurityBindingElement.cs : SetIssuerBindingContext should also
3216 work for SslSecurityTokenParameters.
3218 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
3220 * SecurityBindingElement.cs :
3221 Added SetIssuerBindingContextIfRequired().
3222 * SecurityChannelFactory.cs :
3223 Changed .ctor() arg again, just to receive binding element.
3224 * SymmetricSecurityBindingElement.cs :
3225 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
3226 SymmetricSecurityChannelFactory .ctor() arg changes.
3227 "ProtectionTokenParameters" is not passed now.
3229 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
3231 * SymmetricSecurityBindingElement.cs : requirements should be
3232 filled at InitializeSecurityTokenParameters as long as possible.
3233 SymmetricSecurityChannelFactory<T> now does not receive
3234 requirements (it now creates one inside it) at .ctor().
3235 * SecurityChannelFactory.cs : remove requirement argument.
3237 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
3239 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
3241 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
3243 * SymmetricSecurityBindingElement.cs :
3244 MessageSecurityVersion property is of type SecurityTokenVersion.
3245 * SecurityBindingElement.cs :
3246 Implemented CreateSecureConversationBindingElement().
3247 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
3248 the argument IssuedSecurityTokenParameters itself.
3250 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
3252 * SymmetricSecurityBindingElement.cs :
3253 CreateSecurityTokenManager() can be directly used now.
3254 Use CallInitializeSecurityTokenRequirement() to fill requirement
3257 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
3259 * ChannelFactoryBase.cs : GetProperty() is virtual.
3261 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
3263 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
3264 create token manager, token parameters and token requirements,
3265 and fill some requirements.
3266 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
3267 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
3268 * BindingContext.cs : implemented RemainingBindingElements.
3269 kill "no remaining binding element" error in GetInnerProperty()
3270 * SecurityChannelFactory.cs : now it became
3271 SymmetricSecurityChannelFactory, thus soon to be renamed.
3272 Several ongoing actual security resolution is on.
3274 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
3276 * CommunicationObject.cs :
3277 add GetCommunicationObjectType() and use it.
3278 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
3279 use ThrowIfDisposedOrNotOpen().
3280 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
3281 to CommunicationObject. Make it IDisposable.
3282 * LayeredRequestChannel.cs : use above.
3283 * SecurityChannelFactory.cs : removed state check as it is done at
3286 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
3288 * SecurityBindingElement.cs : (CanBuildChannelFactory and
3289 CanBuildChannelListener) directly dispatch to BindingContext.
3290 * SymmetricSecurityBindingElement.cs : require protection token
3291 parameters before building a channel or a listener.
3292 * ChannelFactoryBase.cs : raise an error when a channel is being
3293 created without opening the factory.
3294 * ChannelListenerBase_1.cs : ditto for the listener.
3295 * SecurityChannelFactory.cs : before sending a request, it must be
3298 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3300 * MessageBufferImpl.cs : initialize fields.
3301 workaround BufferSize just to return 0.
3302 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
3303 which does not support multi time write.
3304 * Message.cs : implemented State.
3306 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3308 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
3309 is consuming XmlReader.
3310 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
3311 * MessageBuffer.cs : implemented CreateNavigator().
3312 * MessageBufferImpl.cs : added XPathMessageBuffer class.
3314 I kinda know that MS heavily depends on binary XmlReader and may have
3315 XPathNavigator implementation based on the binary stuff, but at
3316 least for now we have almost no motivation to mimick it.
3318 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3320 * SecurityChannelFactory.cs : a bit more of security header code.
3322 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
3324 * SymmetricSecurityBindingElement.cs :
3325 set default MessageProtectionOrder in every construction.
3327 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
3329 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
3330 changed to require ChannelFactoryBase to support default timeout.
3331 Made some methods non-virtual. Preparing code to add security
3332 headers (empty yet).
3333 * SecurityBindingElement.cs : implemented several factory methods
3334 that return SymmetricSecurityBindingElement.
3336 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3338 * IStreamUpgradeBindingElement.cs,
3339 StreamUpgradeBindingElement.cs : renamed from former to latter.
3341 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3343 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
3345 2006-07-31 Ankit Jain <jankit@novell.com>
3347 * MessageHeaders.cs (From): Use Constants.WSA1
3348 (MessageId): Implement the same pattern as other properties (From etc).
3350 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3352 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3353 * SecurityBindingElement.cs : some cosmetic changes.
3355 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3357 * SecurityBindingElement.cs : LocalClientSettings and
3358 LocalServiceSettings returns an instance for each.
3359 * LocalClientSecuritySettings.cs : initialized fields.
3361 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3363 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3364 kinda implemented Clone() just with MemberwiseClone().
3366 2006-07-27 Ankit Jain <jankit@novell.com>
3368 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3369 * MessageHeader.cs (knownTypes): New. Known type array containing
3371 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3373 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3375 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3376 LayeredCommunicationObject.cs,
3377 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3378 new files to support security channels, though right now they
3379 just pass inner channels through.
3380 * SymmetricSecurityBindingElement.cs : use above.
3382 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3384 * AsymmetricSecurityBindingElement.cs,
3385 SymmetricSecurityBindingElement.cs :
3386 Default SecurityTokenParameters is null.
3388 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3390 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3392 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3394 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3396 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3397 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3398 headers. When AddressingVersion is None, don't output addressing
3399 headers as well, except for Action which is still needed by
3402 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3404 * MessageHeaders.cs : changed specific properties to find it from
3405 headers as Action property does (local variables won't be set by
3406 setter). Cache serializers. Check null serializer arguments.
3407 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3409 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3411 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3412 use XmlObjectSerializer (since it is not data contract type).
3414 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3416 * MessageImpl.cs : Improved ReadHeaders().
3417 For certain header items, use EndpointAddress.ReadFrom().
3419 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3421 * AsymmetricSecurityBindingElement.cs :
3422 it is not ISecurityCapabilities anymore.
3424 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3426 * MessageVersion.cs : added None.
3428 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3430 * Message.cs : GetReaderAtBodyContents() implementation using
3433 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3435 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3436 used MessageVersion.Default.
3438 2006-07-12 Duncan Mak <duncan@novell.com>
3440 * MessageBuffer.cs (MessageContentType): Return
3441 "application/soap+msbin1".
3443 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3444 (SimpleMessage.OnCreateBufferedCopy):
3445 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3446 MessageBuffer implementations.
3448 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3449 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3450 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3452 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3454 * MessageImpl.cs : Action should be added in request messages. Omit
3455 it only in reply message, thus moved to dispatcher logic.
3457 2006-07-12 Ankit Jain <jankit@novell.com>
3459 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3460 bug in WebConnectionStream.
3461 * MessageHeaders.cs (MessageHeaders.From):
3462 (MessageHeaders.ReplyTo):
3463 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3465 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3467 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3468 add SOAP Action to the response at any time.
3470 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3472 * SymmetricSecurityBindingElement.cs,
3473 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3474 Implemented .ctor() and some properties.
3476 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3478 * TransactionFlowBindingElement.cs : new file.
3479 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3481 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3484 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3485 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3486 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3487 vanished (there is anyways no way to instantiate this type).
3488 * MessageVersion.cs : added Soap11 and Soap12.
3489 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3490 in June CTP. goodie.
3492 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3494 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3495 removed some vanished CreateMessage() overloads.
3497 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3499 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3500 HttpTransportBindingElement.cs :
3501 They are not ISecurityCapabilities anymore.
3502 Modified code to match June CTP behavior.
3504 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3506 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3508 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3510 * EmptyFaultException.cs : removed unused code.
3511 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3513 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3515 * LayeredChannelFactory.cs : removed obsolete class.
3516 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3517 ChannelListenerBase.cs, HttpChannelListener.cs,
3518 HttpReplyChannel.cs, ChannelManagerBase.cs :
3519 all those changes were brought by ChannelManagerBase changes.
3521 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3523 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3524 CommunicationObject.cs, HttpChannelListener.cs,
3525 ChannelFactoryBase.cs :
3526 CommunicationObject abstract changes brought this madness.
3528 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3530 * BindingContext.cs : listenUri address parameters could be null in
3533 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3535 * IRequestContext.cs :
3536 Now it became a class. File renaming will follow soon.
3537 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3538 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3539 IOutputChannel.cs, IOutputSessionChannel.cs,
3540 IRequestChannel.cs, IRequestSessionChannel.cs :
3541 They are not IDisposable anymore.
3542 For IReplyChannel, IRequestContext -> RequestContext.
3543 * IChannelListener.cs : removed Identity. Added GetProperty().
3544 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3545 ReplyChannelBase.cs, HttpReplyChannel.cs :
3546 Several members disappeared, and dependent changes.
3547 * HttpTransportBindingElement.cs,
3548 HttpChannelListener.cs, :
3549 ChannelListenerBase.SharedChannelListener vanished.
3551 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3553 * MessageEncodingBindingElement.cs
3554 MtomMessageEncodingBindingElement.cs,
3555 TextMessageEncodingBindingElement.cs,
3556 BinaryMessageEncodingBindingElement.cs :
3557 June CTP updates: AddressingVersion -> MessageVersion.
3558 * Binding.cs : June CTP. MessageVersion is added.
3559 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3560 ChannelListenerBase_1.cs,
3561 ChannelListenerBase.cs, IChannelListener.cs,
3563 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3564 June CTP. Several interface changes.
3565 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3566 * IChannelManager.cs, LayeredChannelListener.cs,
3567 GenericWrapperChannelFactory.cs,
3568 GenericWrapperChannelListener.cs : They are not used anymore.
3570 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3572 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3573 sync fix with June CTP API updates.
3575 2006-07-03 Ankit Jain <jankit@novell.com>
3577 * MessageEncodingBindingElementConverter.cs:
3578 * StandardBindingConverter.cs:
3579 * TransportBindingElementConverter.cs:
3580 * TransactionFlowBindingElementConverter.cs:
3581 * ReliableSessionBindingElementConverter.cs:
3582 * SecurityBindingElementConverter.cs:
3583 Rename *Converter.cs to *Importer.cs
3585 * TransferMode.cs: Move to System.ServiceModel
3587 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3589 * CommunicationObject.cs : make sure to change State before
3590 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3592 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3594 * Message.cs : output WSAddressing xmlns only when Action is
3595 specified (To should be affected, but seems like it is ignored).
3597 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3599 * MessageImpl.cs : don't set Action when it is null.
3601 2006-06-12 Ankit Jain <jankit@novell.com>
3603 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3605 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3607 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3608 some updated API fixes.
3610 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3612 * EnvelopeVersion.cs : moved back to S.SM.
3614 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3616 * IBindingManualAddressing.cs : vanished in beta2.
3617 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3618 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3620 * SecurityBindingElement.cs :
3621 SecurityStandardsManager -> SecurityTokenSerializer.
3623 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3625 * XmlSerializerBodyWriter.cs : new file to handle
3626 TypedMessageConverter.ToMessage().
3628 2006-04-26 Ankit Jain <jankit@novell.com>
3630 * TransportBindingElementConverter.cs (BeforeImport): Remove
3631 NotImplementedException.
3632 (ImportContract): Likewise.
3633 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3635 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3637 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3638 being used was not reflecting that of Binding elements.
3640 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3642 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3643 just assume that it is in the message.
3645 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3647 * HttpReplyChannel.cs : actually HTTP header item might be null.
3649 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3651 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3654 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3656 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3658 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3660 * MessageFault.cs : Fixed SOAP12 reason output.
3662 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3664 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3665 MessageEncoder.ContentType explicitly contains encoding.
3666 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3667 if it is SOAP version dependent.
3669 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3671 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3673 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3675 * HttpChannelFactory.cs BindingContext.cs
3676 HttpChannelListener.cs HttpTransportBindingElement.cs :
3677 Now BindingContext holds MessageEncoder, and non-custom
3678 channel factory/listener should use it.
3679 * MtomMessageEncodingBindingElement.cs
3680 TextMessageEncodingBindingElement.cs
3681 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3682 -Listener() now sets internal BindingContext.MessageEncoder.
3683 Fixed some public API.
3685 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3687 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3688 for insufficient elements.
3689 * DispatchRuntime.cs : OperationDescription name is not action. So
3690 OperationSelector is created by name, not by action.
3691 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3693 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3695 * MessageFaultBodyWriter.cs
3696 XmlReaderBodyWriter.cs
3697 XmlObjectSerializerBodyWriter.cs : made internal.
3698 * SecurityBindingElement.cs
3699 AsymmetricSecurityBindingElement.cs
3700 SymmetricSecurityBindingElement.cs : API fixes.
3701 * TransportBindingElementConverter.cs : ditto.
3702 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3703 * WindowsStreamSecurityBindingElement.cs
3704 SslStreamSecurityBindingElement.cs
3705 TransportSecurityBindingElement.cs : new files.
3707 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3709 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3710 reading can be any xs:boolean value.
3712 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3714 * Message.cs MessageImpl.cs : more sorting out the role of each
3716 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3718 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3720 * Message.cs : don't write body contents if it is empty.
3721 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3722 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3723 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3724 * HttpRequestChannel.cs : close request stream before GetResponse().
3726 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3728 * TextMessageEncoderFactory.cs
3729 TextMessageEncoder.cs : encoder does not hold reference to the
3730 factory anymore. Use MessageVersion property in CreateMssage().
3731 * HttpChannelListener.cs : now it holds message encoder.
3732 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3733 * MessageImpl.cs : header is optional.
3734 * EnvelopeVersion.cs : namespace URI is missing.
3736 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3738 * CustomBinding.cs : removed Initialize().
3739 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3740 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3741 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3742 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3744 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3746 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3747 could be also added by Add() method and could be reset by Remove()).
3748 * MessageImpl.cs : implemented more. As noted above, Now we don't
3749 have to add Action header explicitly.
3750 * MessageHeader.cs : recovered Writer methods and ToString() from
3751 commented old version. Use prefixes for writing.
3752 Use WriteObjectContent() rather than WriteObject() (it needs
3753 DataContractSerializer fix btw).
3755 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3757 * MessageHeader.cs : added missing IsReferenceParameter.
3758 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3759 * MessageHeaders.cs : avoid NullRef when actors is null.
3760 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3761 (ForwardingMessage) reader consumer is being added (not done).
3762 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3763 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3764 * HttpRequestChannel.cs : this channel automatically call Open()
3765 when Request() is called. Set content length for request.
3766 Use MessageEncoder's ContentType to also handle charset.
3768 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3770 * MessageImpl.cs : make them internal.
3771 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3773 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3775 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3776 * HttpChannelListener.cs : removed commented line.
3777 * RequestChannelBase.cs : new base class for request channel classes.
3778 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3779 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3780 * Message.cs : default IsEmpty and IsFault false by default.
3781 * LayeredChannelListener.cs : removed Uri (no chance to set).
3782 * ChannelBase.cs : reimplemented timeout properties.
3783 * HttpRequestChannel.cs : now it is mostly based on
3784 RequestChannelBase. Some more attempt to implement Request().
3786 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3788 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3789 OnInitialize(). Added more BuildChannelListener() overloads.
3791 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3793 * Binding.cs : added some more missing members especially to support
3795 * HttpChannelListener.cs : Uri should not be null.
3796 * HttpTransportBindingElement.cs : implemented
3797 CanBuildChannelFactory() and CanBuildChannelListener().
3798 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3800 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3802 * Binding.cs : updated default namespace property value to Feb. CTP.
3804 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3806 * AddressHeader.cs : avoid null reference when value is null.
3807 * BindingContext.cs : check null ListenUri args.
3809 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3811 * MessageFault.cs : Fixed default action name. Null arg check.
3813 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3815 * BindingElement.cs : Dequeue elements in BindingContext directly.
3816 * BindingContext.cs : Added GetProperty<T>().
3817 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3818 Now we don't need these extra classes, so marked as deprecated.
3820 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3822 * Binding.cs : null arg check.
3823 * AddressingVersion.cs : fixed constants to pass the tests.
3824 * BindingElement.cs : tiny meessage fix.
3826 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3828 * MessageEncodingBindingElement.cs
3829 BinaryMessageEncodingBindingElement.cs
3830 TextMessageEncodingBindingElement.cs
3831 MtomMessageEncodingBindingElement.cs
3832 MessageEncodingBindingElementConverter.cs : several API fixes.
3833 * BindingElement.cs : now if we use generic wrapper it causes
3834 infinite loop, so for now replace it with most-possible-but-
3837 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3839 (back to normal "record-ChangeLogs" mode after the big API change mess)
3840 * HttpTransportBindingElement.cs : fixed minor API differences.
3842 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3844 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3845 SymmetricSecurityBindingElement.cs :
3846 Dependent fixes for System.IdentityModel reorgainzation.
3848 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3850 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3851 IProxyFormatter.cs WSHttpBindingBase.cs
3852 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3853 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3854 WSFederationBinding.cs ISessionChannel.cs
3855 CompositeDuplexBindingElement.cs MessageVersion.cs
3856 MessageHeader.cs IRequestSessionChannel.cs
3857 BindingElementCollection.cs IReplySessionChannel.cs
3858 MessageProperties.cs IDuplexClientChannel.cs
3859 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3860 TcpTransportBindingElement.cs EmptyFaultException.cs
3861 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3862 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3863 ConnectionOrientedTransportBindingElement.cs
3864 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3865 PeerResolverBindingElement.cs Message.cs
3866 HttpsTransportBindingElement.cs BindingElement.cs
3867 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3868 MessageFaultBodyWriter.cs IReplyChannel.cs
3869 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3870 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3871 IRequestContext.cs IInputSessionShutdown.cs
3872 SecurityBindingElement.cs PeerTransportBindingElement.cs
3873 IDuplexSession.cs IChannelInitializer.cs
3874 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3875 AddressingVersion.cs FaultException.cs
3876 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3877 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3878 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3879 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3880 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3881 BindingParameterCollection.cs IInstanceProvider.cs
3882 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3883 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3884 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3885 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3886 moved from System.ServiceModel due to the API changes.
3888 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3890 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3891 HttpChannelListener.cs HttpRequestChannel.cs
3892 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3893 PeerNode.cs ReplyChannelBase.cs :
3894 Feb. CTP API changes - chapter 1.
3896 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3898 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3899 * ReplyChannelBase.cs : now it is based on ChannelBase.
3900 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3901 and check null argument in .ctor().
3902 * HttpReplyChannel.cs : several changes.
3903 Non-async members are mostly implemented.
3904 * HttpChannelListener.cs : no need to receive
3905 IDefaultCommunicationTimeouts.
3906 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3907 to allocate buffer array and int.MaxValue causes OutOfMemory.
3909 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3911 * ClientFramingDecoderState.cs : added missing enum.
3912 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3914 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3916 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3918 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3919 AcceptChannel() has some code now but it needs more love.
3921 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3923 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3924 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3925 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3927 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3929 * HttpRequestChannel.cs : close the streams.
3931 HttpChannelListener.cs : renamed from former to latter.
3933 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3935 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3936 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3937 * HttpListenerFactory.cs : removed obsolete file.
3938 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3939 * ChannelListenerBase_1.cs : implemented virtual stuff.
3940 * CommunicationObject.cs : Open() should not call BeginOpen() and
3941 EndOpen(). Instead, invoke events individually.
3942 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3944 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3946 * HttpRequestChannel.cs : call Flush() after serializing message
3949 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3951 * HttpRequestChannel.cs : implemented pretty hacky Request().
3953 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3955 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3957 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3959 * ChannelFactoryBase.cs : removed some NotImplementedException for
3960 further internal implementation.
3962 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3964 * HttpRequestChannel.cs : new file. mostly not implemented.
3965 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3966 Partly implemented CreateChannel().
3968 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3970 * HttpChannelFactory.cs : (.ctor())
3971 Don't take ChannelBuildContext.
3973 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3975 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3976 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3977 PeerMessagePropagation.cs : updated to Nov. CTP.
3979 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3981 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3982 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3983 StreamSecurityUpgradeAcceptor.cs,
3984 StreamSecurityUpgradeInitiator.cs :
3985 Updated to Nov. CTP API.
3987 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3989 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3991 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3993 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3995 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3997 * ChannelBase.cs : tiny filename fix.
3998 * ChannelListenerBase.cs : added more .ctor()s.
4000 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4002 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
4003 ListenerFactoryBase.cs ChannelListenerBase.cs :
4004 updated IListener related stuff to Nov. CTP.
4005 file renaming will come soon.
4007 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4009 * ListenerBase.cs, ChannelListenerBase.cs :
4010 moved from former to latter.
4011 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
4012 moved from former to latter.
4014 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
4016 * SessionFaultedException.cs : removed in Nov. CTP
4018 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
4020 * CommunicationObject.cs : updated to Nov. CTP.
4021 * SessionFaultedException.cs : removed (in Nov. CTP)
4023 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
4025 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
4028 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
4030 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
4031 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
4032 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
4033 * MessageEncoder.cs : largely implemented.
4035 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4037 * IRequestReplyCorrelator.cs : new file.
4039 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4041 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
4042 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
4043 * MessageEncoder.cs : added misssing ToString().
4045 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4047 * ChannelBehaviorCollection.cs : moved to sys.sm.
4049 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
4051 * HttpListenerFactory.cs, HttpListener.cs : new files.
4052 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
4053 CommunicationObject.cs, ChannelFactoryBase.cs,
4054 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
4056 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
4057 * ListenerFactoryBase.cs : kinda implemented GetListeners().
4059 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4061 * ListenerFactoryBase.cs : some implementation.
4063 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4065 * CommunicationObject.cs : more state fixes.
4067 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4069 * CommunicationObject.cs : some state machine fixes.
4071 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4073 * PeerNode.cs, ChannelManagerBase.cs :
4074 several API fixes detected by improved corcompare.
4076 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
4078 * LayeredListenerFactory.cs : added missing generic class constraint.
4080 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
4082 * ListenerFactoryBase.cs,
4083 ListenerBase.cs : class constraints were missing for generic args.
4085 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
4087 * StreamUpgradeInitiator.cs : tiny API fix.
4089 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
4091 * PeerMessagePropagationFilter.cs : tiny build fix.
4093 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
4095 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
4096 added Name. fixed StatusCode type.
4097 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
4098 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
4099 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
4100 DirectionalAction.cs, HostedTransportConfiguration.cs,
4101 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
4102 PeerMessagePropagationFilter.cs : added missing files.
4103 * Dummy.cs : removed. MSMQ stuff can be added later.
4105 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
4107 * DeliveryStatus.cs, DeliveryFailure.cs,
4108 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
4109 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
4111 * Dummy.cs : removed above.
4113 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
4115 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
4117 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4119 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
4120 MessageEncoder.cs, BufferManager.cs : new files.
4121 * Dummy.cs : removed above.
4123 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4125 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
4126 * Dummy.cs : removed above.
4127 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
4129 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4131 * HttpChannelFactory.cs : new file.
4133 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
4135 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
4136 moved to ../System.ServiceModel (correct location).
4137 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
4138 new files for channels.
4139 * Dummy.cs : reflected above changes.
4140 * ChannelManagerBase.cs : added a bit of code and todos.
4142 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
4144 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
4145 added listener support files.
4146 * Dummy.cs : removed above.
4148 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
4150 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
4151 added request/reply channel interfaces.
4152 * Dummy.cs : removed above.
4153 * CommunicationObject.cs : FIXME comments.
4155 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
4157 * CommunicationObject.cs : implemented some members.
4159 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
4161 * CommunicationObject.cs : some signature fixes.