1 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
3 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
5 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
7 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
9 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
11 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
12 enable authentication schemes on monotouch.
14 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
16 * SvcHttpHandler.cs : a wait handle could be used for more than one
17 requests and hence it sometimes blocked one reply channel. Now
18 it creates a wait handle for each ASP.NET request so that such
19 multiple use should not occur. This should fix blocking on
20 concurrent requests (it indeed fixes as long as I can see).
22 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
24 * AspNetReplyChannel.cs : remove garbage output.
26 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
28 * SvcHttpHandler.cs : Use lock when it tries to create the service
31 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
33 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
36 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
38 * HttpListenerManager.cs : add another workaround for blocking
41 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
43 * HttpListenerManager.cs : small refactoring.
45 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
47 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
48 that somehow makes callback client to not cause infinite loop.
50 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
52 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
53 DuplexChannelBase.cs : Receive() should rather use TryReceive().
54 It should not be in reverse order.
56 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
58 * HttpReplyChannel.cs, HttpListenerManager.cs :
59 Implement async cancellation in the expected manner (though with
60 some hack). This mostly removed nunit blockers.
62 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
64 * CommunicationObject.cs : fix wrong status changes.
66 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
68 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
70 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
72 * AddressHeader.cs : implement remaining bits.
73 Eliminate dependency on NetDataContractSerializer.
75 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
77 * CommunicationObject.cs : in Fault(), do similar work as previous
80 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
82 * CommunicationObject.cs : when process state changes, lock the
83 object to make sure the state transition is valid.
84 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
86 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
88 * MessageHeaders.cs : implement SetAction().
90 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
92 * ChannelFactoryBase.cs : fix build.
94 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
96 * ChannelBase.cs : cosmetic API fix for SL3.
98 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
100 * ChannelFactoryBase.cs :
101 implement On{Begin/End}Close() on the generic type.
103 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
105 * HttpChannelFactory.cs, TcpChannelFactory.cs,
106 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
107 PeerChannelFactory.cs, HttpRequestChannel.cs:
108 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
109 type and made required changes.
111 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
113 * HttpCookieContainerBindingElement.cs : new.
114 * IHttpCookieContainer.cs : fix type name.
115 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
117 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
119 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
120 does not happen when communicating with .NET client but happens with
121 mono). Seealso FIXME comment.
122 * TcpDuplexSessionChannel.cs : do not try to close session when it
123 failed to read sized message. The connection is already dead.
127 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
129 * TcpDuplexSessionChannel.cs :
130 Write EndRecord only when the connection is available.
131 Remove hack - do let ChannelDispatcher close the channel.
132 * TcpBinaryFrameManager.cs :
133 The socket may be disconnected when trying to read a sized message,
134 so check some socket exceptions.
135 In case the client silently shuts down without EndRecord and
136 reconnects to the server with preamble while expecting a sized
137 message (which is so lame, but that's what .NET often does), refresh
138 preamble and continue.
140 This fixes some cases of bug #567949 but not all.
142 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
144 * BinaryMessageEncoder.cs : enable workaround buffering only when
145 the argument stream does *not* support seek. This fixes some
146 net.tcp connection problem.
148 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
150 * TcpBinaryFrameManager.cs : If preamble byte is not available from
151 the client stream, detect it to close the reply or input channel.
152 * TcpRequestChannel.cs : send preamble at each request time.
153 It differentiates communication behavior on such cases that involve
154 single open and multiple requests.
155 * TcpReplyChannel.cs : close the channel only when the channel is
156 oeprated to close i.e. do not close the socket every time.
157 Process preambles on each request (the same as request channel).
159 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
161 * TcpBinaryFrameManager.cs : unsized envelope record may have more
162 than one data block, so consume them accordingly. This should fix
163 large buffer consumption.
165 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
167 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
170 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
172 * HttpRequestContext.cs : for DestinationUnreachable message, this
173 channel returns 400 in .NET.
175 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
177 * BinaryMessageEncoder.cs : added workaround for strange stream
178 consumption error raised by HttpTransport + Binary encoder example.
179 * BinaryMessageEncodingBindingElement.cs:
180 only SOAP 1.2 is allowed for this encoder.
182 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
184 * XmlReaderBodyWriter.cs : don't try to write empty xml.
186 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
188 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
189 default WebHeaderCollection items are overwritten.
191 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
193 * HttpRequestChannel.cs : when HTTP response was error, do not try
194 to read message but just raise an error.
196 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
198 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
200 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
202 * HttpRequestChannel.cs : WebException.Response might be null.
204 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
206 * ReplyChannelBase.cs : added listener property.
207 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
208 been updated to prefer async by default, a while ago.
210 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
212 * HttpTransportBindingElement.cs : finished all GetProperty() values.
214 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
216 * HttpRequestChannel.cs : disabled carelessly added
217 "UseDefaultCredentials = false" line. It blocked basic auth.
219 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
221 * HttpRequestChannel.cs, HttpChannelFactory.cs,
222 HttpChannelListener.cs, HttpListenerManager.cs :
223 implemented http client authentication and some of corresponding
224 service code. Only client works so far.
226 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
228 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
229 added URI scheme check.
231 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
233 * TransportSecurityBindingElement.cs : fix 2.1 build.
235 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
237 * HttpsTransportBindingElement.cs :
238 RequireClientCertificate is false by default.
239 Remove extra #if NET_2_1.
240 * SecurityBindingElement.cs :
241 Implement some transport security factory methods.
242 * TransportSecurityBindingElement.cs :
243 It is not ISecurityCapabilities anymore.
245 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
248 SecurityBindingElement.cs
249 LocalClientSecuritySettings.cs
250 TransportSecurityBindingElement.cs
251 FaultConverter.cs : They are now part of SL3 API.
253 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
255 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
257 2009-11-05 Geoff Norton <gnorton@novell.com>
259 * HttpsTransportBindingElement.cs: Implement basic https transport
260 binding support for Moonlight and MonoTouch
262 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
264 * HttpListenerManager.cs : remove CWLs.
266 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
268 * SvcHttpHandler.cs : move back previous listener selector code in
269 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
270 and differentiate requests to deeper paths (such as /jsdebug), so
271 we need such refinement here.
273 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
275 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
278 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
280 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
281 HttpChannelListener.cs, HttpListenerManager.cs :
282 Similar refactoring on ASP.NET side to the previous one.
283 Added ASP.NET implementation of HttpListenerManager and use some
284 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
286 Rewrote AspNetReplyChannel to become almost the same as
287 HttpSimpleReplyChannel, to hopefully unify them later.
288 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
289 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
292 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
294 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
295 Refactoring on listener manager to correctly handle wsdl and help
296 requests for such case that they conflict in addressing. Now it
297 can correctly distinguish service calls, WSDL requests and help
298 requests when all of them point to "http://localhost/foo.svc"
299 (which is very common case that the user does not change Http*Url).
301 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
303 * ChannelListenerBase.cs : add Properties property to add arbitrary
304 properties handy (only inside this assembly).
306 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
308 * HttpReplyChannel.cs : fix warning.
310 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
312 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
314 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
316 * HttpReplyChannel.cs : make sure to release wait lock.
317 * HttpChannelListener.cs : session channels are not supported, so
318 remove relevant NIEs.
320 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
322 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
323 support contexts so we call the non-overloaded WaitOne method
324 (which defaults to false).
326 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
328 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
329 significant rewrite to cooperate wcf handler and asp.net handler
330 to not mix multiple WCF listener within the asp.net handler.
331 So far it mostly works when 1) there are no ChannelDispatchers
332 that have an identical listen Uri and 2) MaxConcurrentSessions is
333 1 (must be explicitly set).
335 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
337 * CommunicationObject.cs : give better state error description.
339 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
341 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
342 to base methods. This resulted in not a few changes everywhere.
344 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
346 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
348 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
350 * SvcHttpHandler.cs : use file path given by the factory to
351 construct BaseAddresses. Requests to "test.svc/jsdebug" should
352 not be handled as request to "jsdebug" file, it's rather an
353 "argument" to "test.svc".
355 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
357 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
358 rewrite to handle shutdown situation better. The listeners should
359 not close channels that it opened. Instead, just stop accepting
360 further requests. Removed blocking mutex on WaitForRequest().
361 Now xsp shuts down as expected.
363 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
365 * HttpReplyChannel.cs : lock list when releasing its content contexts.
366 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
369 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
371 * SvcHttpHandlerFactory.cs : remove todo.
372 * ReplyChannelBase.cs : add comment.
374 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
376 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
377 revert the change, to use internal asp.net state again.
378 * SvcHttpHandler.cs : add VirtualPathExtension.
380 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
382 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
383 asp.net response was not written correctly.
384 Fill HttpRequestMessageProperty to get handle WSDL requests
385 processed in ServiceMetadataExtension without NRE.
386 Remove wrong HttpListenerContext iteration at Abort and Close in
387 common base class and move it to non-asp derived channel.
389 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
391 * SvcHttpHandler.cs : remove unused code.
393 2009-09-30 Jb Evain <jbevain@novell.com>
395 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
396 to use any of the remoting features.
398 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
400 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
401 use AspNetCompatibilityEnabled.
402 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
404 * AspNetReplyChannel.cs : remove extra field.
406 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
408 * HttpReplyChannel.cs : remove extra field.
410 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
412 * AspNetRequestContext.cs : remove CWL.
414 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
416 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
417 only after AspNetRequestContext is closed. Do not close it
418 immediately after receiving the context. (HttpRuntime destructs it
419 and further uses then becomes impossible.)
421 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
423 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
424 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
425 Make sure that AspNetChannelListener is bound to correct
426 SvcHttpHandler, regardless of specific request URI. It is required
427 for both WSDL requests and RESTful binding requests.
429 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
431 * MessageProperties.cs : fix CopyProperties() behavior to not
432 clear existing items. Make all properties call this[name].
434 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
436 * HttpTransportBindingElement.cs : fix 2.1 build.
438 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
440 * TransportBindingElement.cs : another GetProperty fix, iterate
441 other binding elements.
443 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
445 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
446 some GetProperty() implementation.
448 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
450 * HttpListenerManager.cs : release HttpListener and avoid extra
451 close process more than once.
453 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
455 * HttpChannelListener.cs : do not iterate channel list to close
456 channels which in turn removes them from the list while iteration.
458 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
460 * HttpRequestChannel.cs : Fix message version member comparison.
461 Double-quote SOAPAction. Remove extra Exception.
462 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
463 * HttpRequestContext.cs : when addressing is None, remove action
466 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
468 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
469 path, to pick those endpoints that are added at custom factories.
471 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
473 * SvcHttpHandler.cs : apply configuration, and if there is still no
474 endpoint, then add default one.
476 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
478 * SvcHttpHandler.cs : another URL to make relative.
480 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
482 * SvcHttpHandlerFactory.cs : some GetHandler changes.
483 * SvcHttpHandler.cs : significant changes on receiver structure. Now
484 ProcessRequest() stores pending requests (this might be extraneous,
485 but maybe useful when it implements async handler). Also removed
486 reply_channel field as it may become to handle multiple requests.
487 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
488 * AspNetReplyChannel.cs : make it receive requests like
489 HttpReplyChannel (for HttpListener) to make them consistent.
491 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
493 * AspNetRequestContext.cs, HttpRequestContext.cs :
494 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
495 by splitting HttpListener-based context out from common code base.
497 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
499 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
500 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
503 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
505 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
506 loads types from system assemblies appropriately.
508 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
510 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
513 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
515 * HttpRequestMessageProperty.cs : fix default values.
517 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
519 * HttpChannelFactory.cs, HttpRequestChannel.cs,
520 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
521 Check ManualAddressing value and reject address-missing ones.
523 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
525 * HttpChannelFactory.cs : reject URI mismatch cases when required.
527 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
529 * PeerDuplexChannel.cs : When received Connect() from neighbor,
530 add the peer to its internal list.
531 Finally ChatApplication got working.
533 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
535 * PeerDuplexChannel.cs : since the channel factory is per instance,
536 do not reuse factory that is tied to different callback instance.
537 It resolved the issue that mono callback client didn't receive
538 messages from the client itself.
540 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
542 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
543 of the receiver, not the requestor. It resolved the issue that
544 .NET client didn't send further messages to mono server.
546 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
548 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
549 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
550 TcpReplyChannel.cs, TcpRequestChannel.cs,
551 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
552 rename EndRecord handling method to appropriate one.
553 Write EndRecord from recipient too.
555 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
557 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
558 Process PeerTo header to upgrade Message To header. Now mono
559 service accepts mono client (somehow not true for .NET client).
561 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
563 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
564 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
566 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
568 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
570 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
572 * TcpDuplexSessionChannel.cs : check channel state before processing
575 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
577 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
578 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
579 ongoing works, not working at all yet.
581 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
583 * TcpChannelListener.cs, TcpReplyChannel.cs :
584 cosmetic cleanup and corrections.
586 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
588 * TcpChannelFactory.cs : use expected Via uri.
589 Remove extra NIE stuff that are implemented in base.
591 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
593 * TcpDuplexSessionChannel.cs : remove extra code.
595 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
597 * PeerDuplexChannel.cs : ongoing implementation towards get callback
598 replies on peer connector clients (not working as duplex client
599 callback is not working yet).
601 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
603 * TcpDuplexSessionChannel.cs : in callback client channels,
604 OperationContext.IncomingMessageHeaders is null.
606 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
608 * MessageHeaders.cs : duplicate check was sloppy.
610 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
612 * Message.cs, MessageImpl.cs, BodyWriter.cs :
613 Implement BodyWriter.OnCreateBufferedCopy() and use it.
615 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
617 * ReplyChannelBase.cs : initialize field.
619 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
621 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
622 implement GetProperty<T>() and return its channel manager.
624 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
626 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
627 destination address in Connect() request. To repeat sending
628 request, use buffered copy. Set some peer-channel specific
629 header items. (todo: and consume them.)
631 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
633 * Message.cs : state is set only after WriteBodyContents().
635 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
637 * MessageHeaders.cs : eliminate wrong use of
638 ReadElementContentAsString() (it is not always simple string).
640 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
642 * MessageHeaders.cs : when the value is null, do not try to
643 deserialize EndpointAddress.
645 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
647 * MessageHeader.cs : add Value property. (Forgot dependent change.)
649 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
651 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
652 serialization and deserialization of values.
654 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
656 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
657 Now simply use connector contract.
659 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
661 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
663 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
665 * TcpChannelListener.cs : do not try to compare dead connection's
666 IPEndPoint (it raises an error).
668 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
670 * MessageHeaders.cs : allow null header value on each specific setter.
672 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
674 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
675 get local and remote address of connected counterpart to get
676 callback channel connected.
677 * PeerDuplexChannel.cs : remove FIXME wrt above.
679 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
681 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
683 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
685 * MessageHeader.cs : fill IsReferenceParameter.
687 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
689 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
690 implement remaining async methods and LocalAddress.
692 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
694 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
695 ServiceHost to process neighbor connection (not sure if this is
696 right way to go though ...).
698 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
700 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
701 connection part to use new internal IPeerConnectorContract for
704 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
706 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
707 PeerChannelListener.cs, HttpChannelListener.cs :
708 support ListenUri accordingly too so that it could be used when
709 it is different from LocalAddress.Uri.
711 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
713 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
714 TcpRequestChannel.cs : use Via uri to validate and connect.
716 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
718 * RequestChannelBase.cs, DuplexChannelBase.cs :
719 Return endpoint address Uri when no explicit Via uri is specified.
720 * ChannelFactoryBase.cs : Remove extra async close methods.
721 Add async open methods. Reject null EndpointAddress.
722 * PeerChannelFactory.cs : remove async open methods (now in base).
724 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
726 * PeerDuplexChannel.cs : set correct message endpoint (To header).
728 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
730 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
731 DuplexChannelBase.cs : set LocalAddress property at base.
733 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
735 * PeerDuplexChannel.cs : ongoing refactoring to work both as
736 listener and client. Now it creates a listening peer node, and
737 creates a set of TCP client channels for each peer in the mesh.
739 (EndpointAddress must be fixed to not filter out correct inputs).
741 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
743 * PeerChannelListener.cs : do not accept more than one channel
744 which results in lots of listening peer node. Only one is enough.
746 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
748 * DuplexChannelBase.cs : fix wrong loop implementation.
750 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
752 * TcpChannelListener.cs : to avoid creating two or more channels
753 for one remote endpoint, check existing remote endpoints and
754 ignore such connections (it must be handled in different thread
755 fired by ChannelDispatcher loop).
757 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
759 * TcpReplyChannel.cs : make sure to not try to receive request when
760 it is already closed.
762 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
764 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
765 some mannerless clients [*1] do not send EndRecord accordingly, but
766 such channels at listener side should not be kept open. So, close
767 disconnected channels when the listener needs to accept another
769 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
771 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
773 * TcpDuplexSessionChannel.cs :
774 Remove extra NIE overrides.
775 Implement OnAbort() apart from OnClose().
776 For duplex session channel, unlike reply channel, it must acquire
777 TCP connection before OnOpen(), otherwise ChannelDispatcher
778 releases the connection acceptance WaitHandle and the detected
779 live connection may be stolen by another channel acceptor.
781 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
783 * HttpRequestChannel.cs : implement OnAbort().
785 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
787 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
788 * DuplexChannelBase.cs : comment out some extra fields (so far).
789 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
791 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
793 * PeerCustomResolverBindingElement.cs : add some null checks.
795 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
797 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
798 Acquire TcpClient for each request/reply. Now it is fully
799 interoperable with .NET.
801 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
803 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
804 ReplyTo and MessageId (though it is session-less), and it expects
805 EndRecord at weird stage, inconsistent with [MC-NMF]...
806 Now .NET service accepts one mono client request.
808 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
810 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
811 Send and receive unsized message terminator at once.
812 Send EndRecord mutually. Got one .net client request working.
814 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
816 * BinaryMessageEncoder.cs : revert the previous dictionary change.
817 They are indeed used for non-in-band-dictionary messages.
819 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
821 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
822 split out binary frame manager class into separate file.
824 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
826 * TcpReplyChannel.cs : new reply channel implementation.
827 * TcpChannelListener.cs : use above for streamed reply channel.
828 * TcpDuplexSessionChannel.cs : more streaming mode support.
829 * TcpRequestChannel.cs : a couple of updates to get it working
830 with the reply channel above. Still some issues on .NET interop.
832 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
834 * RequestContext.cs : added internal derived class that implements
837 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
839 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
842 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
844 * PeerDuplexChannel.cs: add the registered node itself to peer list.
845 (The messaging must be done as TCP request/reply pattern, so it's
848 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
850 * TcpRequestChannel.cs : new channel file (TCP for request/reply
851 messaging pattern). The messaging part is not working yet.
852 * TcpChannelFactory.cs : support IRequestChannel.
853 * TcpDuplexSessionChannel.cs : add unsized message support.
855 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
857 * HttpRequestChannel.cs, RequestChannelBase.cs :
858 A couple of async members are now implemented in the base class.
859 Ditto for EndpointAddress and Via.
861 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
863 * PeerDuplexChannel.cs : now it implements some of node management
864 functionality and Send operation. The receiver part is not yet.
866 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
868 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
869 timeout to channel constructor. it does not make sense.
871 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
873 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
874 as common interface member, and use binary encoder (not text).
876 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
878 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
880 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
882 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
883 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
884 going to be unified to PeerDuplexChannel. And it is likely that
885 input and output functionalities are to be unified too.
887 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
889 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
890 may have to reuse it for peer transport.
891 * PeerChannelListener.cs : add binding member.
892 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
894 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
896 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
897 PeerChannelFactory.cs : close opened channels at OnClose() as
898 documented. Implement async methods.
899 * PeerChannelListener.cs : removed some NIE overrides.
901 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
903 * DuplexChannelBase.cs : some more async methods.
905 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
907 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
909 * TcpChannelListener.cs : accept multiple channels at a time.
911 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
913 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
914 session strings but output only those new ones in current message.
915 This fixes inconsistent body output in repetitive use of sender.
917 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
919 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
920 operation that does not involve session.
921 Preserve writer session as well as reader session.
922 * MessageHeaders.cs : take name and namespace into consideration
923 when creating a serializer.
925 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
927 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
928 Made required changes for repeated use of message exchanges.
929 Hold binary reader session. The channels use it incrementally.
930 Preambles are handled at Open, and EndRecords are handled at
931 Close, Add session shutdown hook here (not working yet though).
933 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
935 * ChannelListenerBase_1.cs : added cancellation hook here too.
936 HttpChannelListener.cs : use above.
937 Do not allow parallel channel creation (this listener does not
938 allow more than one AcceptChannel().
940 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
942 * ReplyChannelBase.cs, HttpReplyChannel.cs :
943 Add cancellation hook for async TryReceiveRequest.
945 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
947 * HttpChannelListener.cs, HttpListenerManager.cs :
948 slightly improved BuildChannelListener().
949 Implement OnAbort() and differentiate it from OnClose().
951 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
953 * TcpDuplexSessionChannel.cs : remove NIE stubs.
955 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
957 * DuplexChannelBase.cs : simple async delegate calls here too.
959 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
961 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
963 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
965 * HttpReplyChannel.cs : cosometic simplification.
967 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
969 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
970 infinite block in 2.0 profile.
972 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
974 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
975 more careful close to avoid NRE.
977 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
979 * HttpChannelListener.cs : do not Close() more than once (though
980 it is allowed to call it twice, we don't reject it; just ignore).
982 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
984 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
986 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
988 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
989 Temporarily disable HTTP Keep-Alive since it somehow results in
990 wrong reuse of connection (shown as NRE in HttpConnection).
991 Make sure to close RequestContext which was created from it.
992 * HttpRequestContext.cs : simplify.
994 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
996 * HttpChannelListener.cs, TcpChannelListener.cs,
997 ChannelListenerBase_1.cs : put common internal listener base
998 and let it handle those async stuff.
1000 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1002 * ReplyChannelBase.cs : fix wrong null delegate check point.
1004 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1006 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1007 now implemented as virtual in base class. Remove NIEs in http.
1009 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1011 * HttpChannelListener.cs : hack async implementation.
1013 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1015 * HttpListenerManager.cs : oops, extra line removal.
1017 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1019 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1021 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1023 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1024 "ChannelManager" is confusing (there is ChannelManagerBase).
1026 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1028 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1029 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1030 they should be split into separate listener->reply channel lines
1031 (remove "if (HostingEnvironment.IsAspNet)".)
1033 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1035 * CommunicationObject.cs : OnClosed() requires call to base method.
1036 Close() could rather abort the channel, and Abort() does not
1037 always invke OnAbort().
1038 * ChannelBase.cs : add call to base as above.
1040 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1042 * ClientAccessPolicy.cs: Removed
1043 * CrossDomainAccessManager.cs: Removed
1044 * CrossDomainPolicy.cs: Removed
1045 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1046 since this is now done inside the BeginGetResponse call (outside
1047 this assembly) for Moonlight (NET_2_1)
1049 2009-06-04 Alan McGovern <amcgovern@novell.com>
1051 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1052 instead of the sync apis. Prevents a possible deadlock condition in
1055 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1057 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1058 callbacks, so add hacky ones.
1060 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1062 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1063 true when socket input is not available.
1065 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1067 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1068 I cannot precisely identify when EndRecord should be consumed,
1069 so allow it at either at the end of ReadSizedMessage() or on
1070 consuming preamble (it's likely handling EndRecord of previous
1073 Now duplex IPeerResolverContract communication works between
1074 either of .NET/Mono client and .NET/Mono server.
1076 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1078 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1079 code. Handle preamble ack on ReadSizedMessage() only at server.
1080 Consume EndRecord from server, at client side. Though it is likely
1081 changed as it's blocking when mono is at server side.
1083 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1085 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1086 different protocol than existing code with related to preamble ack.
1087 So changed it to work fine with .NET client (finally).
1089 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1091 * MessageBufferImpl.cs : do not output Action twice.
1093 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1095 * MessageBufferImpl.cs : it did not copy headers.
1096 * Message.cs : remove 2_1 conditional implementation for buffered
1097 copy and hence remove bogus code.
1099 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1101 * MessageProperties.cs : copy argument is wrong.
1103 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1105 * PeerCustomResolverBindingElement.cs : some argument check.
1107 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1109 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1110 xml open, so close the writer as well as open elements.
1111 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1112 Do not output EndRecord and SizedMessage at a time.
1114 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1116 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1117 length of the SizedMessage in the output.
1119 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1121 * CommunicationObject.cs : use sane default timeout.
1122 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1123 * TcpDuplexSessionChannel.cs : ditto.
1125 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1127 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1128 only accepts buffered messages, so do as such for write buffers.
1129 Add RelatesTo header.
1131 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1133 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1134 rename from former to latter.
1136 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1138 * TcpDuplexSessionChannel.cs : reader does not always return full
1139 buffer (depending on the stream).
1141 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1143 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1145 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1147 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1150 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1152 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1154 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1156 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1158 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1160 * ChannelManagerBase.cs : fix wrong session channel detection.
1162 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1164 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1165 This encoder factory implements CreateSessionEncoder() and binary
1166 encoder does support session transmit, in different media type.
1167 * ChannelManagerBase.cs : added utility method to create appropriate
1169 * HttpChannelFactory.cs, HttpChannelListener.cs,
1170 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1171 PeerChannelFactory.cs, PeerChannelListener.cs,
1172 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1174 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1176 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1178 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1180 * DuplexSessionBase.cs : new file, for session implementation.
1181 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1182 DuplexSessionChannelBase.cs : changed sync/async implementation
1183 pattern. Now async methods call sync methods using delegates.
1185 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1187 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1188 a few minor API fixes.
1190 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1192 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1194 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1196 * TcpDuplexSessionChannel.cs : add To header.
1198 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1200 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1203 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1205 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1207 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1209 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1210 CommunicationException in each CreateFault().
1212 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1214 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1215 Open(). Some (but not all yet) continuous communication works now.
1216 Use ProtocolException. Remove dummy binary session string.
1218 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1220 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1221 sending/receiving SizedMessageRecord parts to manager class.
1222 Handle writer session, though it is likely broken at dictionary
1223 writer part (no string is written so far).
1224 * BinaryMessageEncoder.cs : add writer session and rename reader
1227 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1229 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1230 is mandatory in initiator preamble packet. Handle Fault reply in
1233 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1235 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1236 based communication under TcpBinaryFrameManager class.
1238 2009-05-13 Jb Evain <jbevain@novell.com>
1240 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1241 from a StringReader.
1243 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1245 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1246 actually eliminate DOM-based implementation too in 2.0.
1248 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1250 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1251 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1252 comments for magic numbers based on [MC-NMF].
1254 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1256 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1257 support for [MC-NBFSE] record in [MC-NMF], in this class.
1259 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1261 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1263 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1265 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1267 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1269 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1271 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1273 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1275 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1277 * BinaryMessageEncoder.cs : use quotas in binding element.
1278 Implement WriteMessage().
1280 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1282 * PeerCustomResolverBindingElement.cs : do initialize field.
1284 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1286 * PeerCustomResolverBindingElement.cs :
1287 implement full custom resolver.
1289 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1291 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1292 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1293 PeerChannelFactory.cs : ongoing p2p channel implementation.
1295 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1297 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1299 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1301 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1302 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1303 implement GetProperty<T>(). Return documented objects or null.
1305 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1307 * PeerChannelFactory.cs, PeerChannelListener.cs,
1308 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1309 PeerInputChannel.cs, PeerOutputChannel.cs :
1310 new; ongoing peer transport implementation.
1311 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1312 MsmqOutputChannel.cs, OutputChannelBase.cs,
1313 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1314 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1315 several internal changes (either required or for simplification)
1316 for ongoing peer transport implementation.
1318 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1320 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1322 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1324 * TcpTransportBindingElement.cs : check build-ability before
1325 actually building channels.
1326 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1327 conditions according to MSDN.
1329 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1331 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1332 handle headers in SL2. Slightly changed 3.0 code too.
1334 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1336 * HttpRequestChannel.cs : use cross domain access manager.
1338 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1340 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1341 message as BodyWriter.
1342 (in GetReaderAtBodyContents) just write body contents.
1343 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1345 Add some state check in GetReaderAtBodyContents().
1346 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1348 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1350 * Message.cs : do not forget to flush.
1351 * HttpRequestChannel.cs : give more exact error info.
1353 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1355 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1356 make buffered copy in ML2 really buffered.
1358 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1360 * Message.cs : if there is no header item to write, do not write
1361 SOAP header element.
1363 2009-01-22 Alan McGovern <amcgovern@novell.com>
1365 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1366 Rewrite to avoid usage of it.
1368 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1370 * ChannelParameterCollection.cs : implement, rather than NIE.
1372 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1374 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1375 internal users to know the type of the detail.
1377 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1379 * Message.c: Use private setter for state private variable to ease debugging.
1380 Modify ToString not to change the state, as it is called quite often by VS debugger
1382 2008-04-21 Roei Erez <roeie@mainsoft.com>
1384 * HttpChannleManager: Fix for multithreaded use.
1385 * HttpReplyChannel: Fix crash during sutdown.
1387 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1389 * HttpChannleManager: ensure trailing slash in uri.
1391 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1393 * added: HttpChannleManager,
1394 * HttpChannelListener: added use of HttpChannelManager
1396 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1398 * MessageEncodingBindingElement.cs: fixed ctor
1400 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1402 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1404 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1406 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1408 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1410 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1412 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1414 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1416 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1418 * BindingElementCollection.cs: fix API - .ctor's signature.
1420 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1422 * XmlSerializerBodyWriter.cs: Removed.
1424 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1426 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1428 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1430 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1431 * TcpChannelFactory.cs, TcpChannelListener.cs :
1432 unify factory and listener into TcpChannelInfo for use in
1433 TCP channel implementation. Do not store stream in the listener.
1434 Factory now uses BinaryMessageEncoder.
1435 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1436 holds TcpClient that the listener has accepted.
1438 tcp-transport-binding-element sample now communicates (though
1439 only when both sides are mono: there seems binary mismatch).
1441 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1443 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1444 clone connection pool settings too.
1445 * NamedPipetransportBindingElement.cs,
1446 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1447 being likely implemented though).
1449 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1451 * ConnectionOrientedTransportBindingElement.cs,
1452 TcpTransportBindingElement.cs : some API updates.
1453 Initialize default values.
1454 * TcpConnectionPoolSettings.cs : new file.
1456 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1458 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1459 added support for "factory" attribute.
1461 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1463 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1465 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1467 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1469 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1471 * HttpRequestChannel.cs : create WebRequest against To message header
1473 Consider HttpRequestMessageProperty.
1474 Do not output body when suppressed or the method is GET.
1476 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1478 * HttpChannelListener.cs : BindingContext may not have listenUri
1479 at its .ctor() step.
1481 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1483 * BindingContext.cs : RemainingBindingElements is not just a dummy
1484 collection but is actually user-controlled.
1486 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1488 * TcpChannelFactory.cs, TcpChannelListener.cs,
1489 HttpChannelFactory.cs, HttpChannelListener.cs,
1490 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1491 TextMessageEncodingBindingElement.cs,
1492 BinaryMessageEncodingBindingElement.cs,
1493 MtomMessageEncodingBindingElement.cs :
1494 message encoder should be retrieved only through public API.
1495 * BindingContext.cs : so my old guess was wrong.
1497 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1499 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1501 * HttpTransportBindingElement.cs : implemented copy constructor.
1503 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1505 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1506 header when AddressingVersion is None.
1508 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1510 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1513 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1515 * OneWayBindingElementImporter.cs
1516 CompositeDuplexBindingElementImporter.cs : new files.
1518 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1520 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1521 semantic change, its bool parameter must be false, not true.
1523 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1525 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1526 new files. Msmq transport listener Implementation.
1527 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1528 (wait for System.Messaging impl.)
1529 * HttpReplyChannel.cs : added comment
1531 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1533 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1534 new files. internal stuff for msmq channel.
1535 * BinaryMessageEncoder.cs : added another .ctor().
1536 * MsmqTransportBindingElement.cs :
1537 implemented [Can]BuildChannelFactory().
1539 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1541 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1542 initialize some fields.
1544 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1546 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1547 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1548 couple of msmq stubs.
1550 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1552 * SecureMessageGenerator.cs : SecurityContextToken support (though
1553 it is still regarded as invalid by WCF).
1555 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1557 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1558 make header.Contents.Add() more strict.
1559 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1561 Added some hack to allow ssl token external mode.
1562 Commented out such lines that always premised asymmtric key.
1564 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1566 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1568 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1570 * MessageSecurityBindingSupport.cs : support check to create
1571 authenticator is now done in both initiator/recipient sides.
1572 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1574 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1576 * MessageSecurityBindingSupport.cs : for now, comment out the code
1577 that makes authenticator creation optional.
1578 * SecurityRequestContext.cs : don't decrypt message when it is
1579 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1581 * SecurityChannelListener.cs : GetProperty<T>() now returns
1582 MessageSecurityBindingSupport when requested. It is used by
1583 EndpointDispatcher to check if it supports WS-Trust negotiation.
1584 * ChannelListenerBase.cs :
1585 removed extra TODO and field. Implemented GetProperty<T>().
1586 * Message.cs : In CreateMessage() for SOAP Fault, create
1587 SimpleMessage with IsFault = true.
1589 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1591 * SecurityRequestContext.cs : try to reply fault with the inner
1592 channel when an error occurred internally.
1593 * FaultConverter.cs : implemented based on OperationContext (at normal
1594 state it does not seem to create messages, so I implemented it this
1597 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1599 * TransportBindingElement.cs : implemented GetProperty<T>().
1600 * TransactionFlowBindingElement.cs : on building factory or listener,
1601 reject channel types that cannot build.
1602 * SecurityBindingElement.cs : added some TODO comments.
1603 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1604 delegate to base, not BindingContext.
1605 * SecurityRequestContext.cs : somewhat late decryption.
1607 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1609 * MessageSecurityBindingSupport.cs,
1610 AsymmetricSecurityBindingElement.cs,
1611 SymmetricSecurityBindingElement.cs :
1612 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1613 implemented ISecurityCapabilities on them. Now those binding
1614 elements support GetProperty<ISecurityCapabilities>().
1616 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1618 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1619 will work only for predefined parameter types.
1621 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1623 * MessageSecurityBindingSupport.cs :
1624 Set proper MessageDirection to the requirement after creation.
1625 split CreateTokenAuthenticator() as MessageDirection is different.
1626 Removed extra creation of requirement.
1628 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1630 * MessageSecurityBindingSupport.cs : token authenticator is not
1631 always created on channel-opening stage.
1632 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1633 Sslnego binding factory method.
1635 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1637 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1638 signature velification failure.
1640 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1642 * SecureMessageGenerator.cs : encrypt signature confirmations only
1643 when they are required.
1645 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1647 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1648 when [Signature Protection is true i.e. when we use
1649 SignBeforeEncryptAndEncryptSignature.
1651 With this change finally samplesvc.cs/samplecli.cs became
1654 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1656 * SecureMessageDecryptor.cs : signature verification was not done
1657 for endorsing supporting tokens.
1658 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1659 in the security header. Don't output empty ReferenceList.
1661 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1663 * SecureMessageGenerator.cs : signingToken was added before being
1664 initialized and thus caused NRE.
1666 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1668 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1669 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1670 don't need workaround for symmetric key restoration.
1672 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1674 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1675 SecureMessageGenerator.cs :
1676 Avoid extra reference search from the request's ReferenceList.
1677 create HMACSHA1 always with the key to compute hash (I'm not sure
1678 it is correct; it is rather to adjust all hash consistent.)
1680 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1682 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1683 actually endorsed the primary signature.
1684 * SecureMessageGenerator.cs : implemented endorsing of the primary
1685 signature. So, now supporting tokens are fully implemented.
1687 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1689 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1690 totally signing tokens.
1691 * SecureMessageGenerator.cs : Endorsing tokens should also be
1692 included in the message. They are just not signed.
1694 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1696 * SecureMessageGenerator.cs : support signing and encryption of
1697 supporting tokens. Some required refactory to do it.
1698 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1700 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1702 * SecureMessageDecryptor.cs : fix exception message.
1703 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1704 XmlNamespaceManager is not required for GetIdElement().
1706 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1708 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1709 moved decryption part from former file to latter file, to reuse
1710 SignedXml instance (though now I doubt how it actually was good)
1711 which in turn required to replace EncryptedData in
1712 WSSecurityMessageHeader with decrypted one.
1713 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1715 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1717 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1718 EncryptedData should contain KeyInfo as it is not obvious which key
1719 is used there. .net<->mono DerivedKeyToken introp is done.
1720 * SecureMessageDecryptor.cs : check derived key requirement.
1721 Reduce dom-dependent parts.
1723 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1725 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1726 the related DerivedKeyToken (if any).
1727 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1728 support. Some refactoring to distinguish deried-token-related
1730 * SecureMessageDecryptor.cs : removed its own support for derived
1731 key tokens. Now it fully works with DerivedKeySecurityToken.
1733 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1735 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1736 SecureMessageDecryptor.cs :
1737 Implemented increment token reading in o:Security, as
1738 DerivedKeyToken could reference to existing wrapped key.
1739 Removed WsscDerivedKeyToken and all relevant code.
1740 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1741 DerivedKeySecurityToken.
1743 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1745 * SecureMessageGenerator.cs : it was setting security tokens into
1746 incorrect SecurityMessageProperty.
1747 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1748 Now it uses SecurityRequestContext instead of just primary key.
1749 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1750 to symmetric reply decryption, which is the only trouble case.
1751 Do not create another SignedXml.
1752 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1754 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1756 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1757 the resolver works with in-progress token reading in o:Security.
1758 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1759 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1760 * SecureMessageGenerator.cs : cosmetic refactoring.
1762 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1764 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1765 instead of EncryptedKey.
1767 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1769 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1770 should not be always prepared at channel Open(). It also caused
1771 that extra token requirements.
1772 * SecureMessageGenerator.cs : use correct key clause for encryption.
1773 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1775 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1777 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1778 for supporting 'supporting tokens' .
1779 * SecureMessageGenerator.cs : Supporting token creation is done only
1780 at initiator (not sure if it is supposed that, but for now it is).
1781 Removed extraneous CollectSupportingTokens().
1782 * SecureMessageDecryptor.cs : implemented supporting token
1783 authentication (partly). "Signed" supporting tokens are expected
1786 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1788 * SecureMessageGenerator.cs :
1789 make SignBeforeEncryptAndEncryptSignature working.
1791 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1793 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1794 the key itself. ProtectionToken is WrappedKey.
1795 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1796 not EncryptedKeyIdentifierClause which is not for embedded key.
1797 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1799 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1801 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1802 to switch asymmetric and symmetric. Not used yet.
1803 * SecurityRequestChannel.cs : now it pass the request security
1804 property to reply receiver so that it could use the primary key
1805 used at request phase.
1806 * SecurityRequestContext.cs : now it pass the context itself to
1807 reply sender so that it could embed related MessageID.
1808 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1809 binding element. Add RelatesTo output and remove MessageID when
1810 replying to the sender. Added some hacks to get symmetric binding
1812 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1813 in SecurityTokenReference (it also involved existing encrypted key
1814 retrieval). In reply receiver, reuse the key that was used at
1815 request phase. It needs significant token resolution refactoring.
1817 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1819 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1820 * SecureMessageDecryptor.cs : store token and its authentication
1821 policies into the security property, and reuse it on reply.
1822 Some code refactoring; there is at most one o:Security to solve at
1823 one endpoint (depends on Actor). Some attempt to use correct
1824 token parameters (but for now I have only samples that use x509).
1825 * SecureMessageGenerator.cs : For replying message, use initiator's
1826 signing token as the encryption token. Simply reuse security
1827 property from the input message.
1829 I have some nasty workaround at decryptor for initiator that could
1830 not retrieve decryption key.
1832 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1834 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1835 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1836 several refactoring on token acquisition. Large part of
1837 MessageSecurityBindingSupport code is unified.
1839 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1841 * MessageProperties.cs : Security property should be one of the items.
1842 Actually many other properties should be similar as well.
1843 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1844 when copying a message, copy properties as well.
1845 * SecurityRequestContext.cs : on replying, pass input
1846 SecurityMessageProperty to the security generator.
1847 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1849 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1851 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1854 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1855 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
1856 use new WSSignedXml instead of SignedXml, and remove coexisting
1857 Id and wsu:Id. Now we can live only with wsu:Id and therefore
1858 - our reply messages could be consumed by .NET, and
1859 - .NET signature could be verified.
1861 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1863 * SecureMessageDecryptor.cs : The signing key must be passed as
1864 CheckSignature() argument, not SigningKey.
1866 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1868 * MessageImpl.cs : don't read attribute after ReadStartElement().
1870 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1872 * MessageSecurityBindingSupport.cs : some Release() refactoring.
1873 * SecureMessageGenerator.cs : use correct signing key clause for
1874 SecurityTokenReferenceKeyInfo to be serialized.
1875 * SecureMessageDecryptor.cs : now it can try to parse signature.
1877 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1879 Ongoing changes to support signature confirmation
1880 * SecureMessageGenerator.cs :
1881 Don't output ReplyTo onto reply message.
1882 Write SignatureConfirmation if needed.
1883 * SecureMessageDecryptor.cs :
1884 Some refactoring for header cunsumption. Added commented-out
1885 signature verification part (not working yet, on client side due
1886 to incorrect reply from service and insufficient clause reader).
1887 * WSSecurityMessageHeader.cs :
1888 Added SignatureConfirmation support.
1889 KeyInfoClause for o:SecurityTokenReference should be replaced with
1890 SecurityTokenReferenceKeyInfo.
1892 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1894 * SecureMessageGenerator.cs : support Timestamp signature.
1895 Removed unused code, and extra argument in CreateReference().
1896 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
1898 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1900 * SecureMessageGenerator.cs :
1901 Several fixes to make asymmetric binding working:
1902 - Differentiate signing and encryption token in several areas.
1903 - Fixed signing keyinfo.
1905 Added initial SecurityMessageProperty handling, not sure if it is
1906 appropriate here though.
1907 * HttpRequestChannel.cs : (some debugging lines)
1909 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1911 Woohoo! Here is a very basic WS-Security compliant message which could
1912 be allowed by Indigo.
1913 * MessageHeader.cs : added Id support for writing.
1914 * Message.cs : added internal BodyId for signature reference.
1915 * MessageImpl.cs : write Body Id if required.
1916 * SecureMessageGenerator.cs : Before signing, the target elements must
1917 be given wsu:Id. Since I still use System.Security.dll, I need some
1918 trick for signing (I give both Id and wsu:Id, former to sign and
1919 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
1920 implementation later. Now singning mechanism works except for
1921 wsu:Timestamp (which is kind of mandatory).
1923 I can's still consume replies from Indigo but it's a big progress :)
1925 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1927 * MessageHeaderInfo.cs : added internal Id.
1928 * MessageHeader.cs : read and write wsu:Id.
1929 * Message.cs : output wsu namespace if Id exists in any header.
1930 * HttpReplyChannel.cs : (some debugging lines.)
1931 * SecureMessageDecryptor.cs : (remove debugging lines.)
1932 * MessageImpl.cs : removed obsolete code.
1933 * WSSecurityMessageHeader.cs : output "o" prefix.
1934 * SecureMessageGenerator.cs : replaced XmlElement-based header
1935 signing with MessageHeader-based signing, to support Id correctly.
1937 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
1939 * SecureMessageGenerator.cs : some more refactoring and code comments.
1940 * MessageSecurityUtility.cs : made decryptor into an instance class,
1941 like I've done for SecureMessageGenerator.
1942 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
1943 dependent changes for above.
1945 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1947 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
1948 causing NRE due to the lack of token reference.
1949 No need to pass doc to SignedXml.ctor() anymore.
1950 Moved ReferenceList before the signature(s).
1952 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1954 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
1955 Moved signing key generation code to non-HMACSHA1 signing part.
1956 Don't try to sign wss:Security.
1957 Pass document itself to SignedXml.ctor().
1958 Use temporary DataObjects to avoid adding Ids (not sure what is the
1959 expected processing yet).
1960 * WSSecurityMessageHeader.cs : to support timestamp signing, add
1961 WriteTo() method in WsuTimestamp.
1963 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1965 * SecureMessageGenerator.cs : wrong key was used for signing.
1966 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
1968 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1970 * SecureMessageGenerator.cs :
1971 Now ID generation process does not modify input message.
1972 Moved derived key generation part into (virtual) signing loop.
1973 MessagePartSpecification support for signing is done.
1975 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1977 * SecureMessageGenerator.cs : some reordering to handle signing and
1978 encryption with supporting tokens. Fixed XPath query bug for
1979 soap header contents (we want s:Header/*, not s:Header).
1981 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1983 * MessageSecurityBindingSupport.cs : more refactoring.
1984 Made it abstract and added Initiator- and Recipient- classes.
1985 Several members were moved to those derived types.
1986 * AsymmetricSecurityBindingElement.cs,
1987 SymmetricSecurityBindingElement.cs
1988 SecurityChannelFactory.cs, SecurityChannelListener.cs,
1989 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
1990 SecurityRequestContext.cs, SecureMessageGenerator.cs :
1991 All dependent changes by above. Removed ISecurityChannelSource
1992 which became useless.
1994 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1996 * SecureMessageGenerator.cs : encryption parts should exist too.
1997 * AsymmetricSecurityBindingElement.cs
1998 SymmetricSecurityBindingElement.cs,
1999 MessageSecurityBindingSupport.cs : some refactoring.
2000 Split MessageSecurityBindingSupport into security binding element
2001 specific parts and made MessageSecurityBindingSupport concrete.
2002 It is likely split again, next time based on initiator/recipient.
2004 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2006 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2007 split encryptor part in the former file into latter file, and
2009 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2010 SecurityRequestContext.cs : apply the change above.
2012 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2014 * MessageSecurityBindingSupport.cs :
2015 Fixed incorrect TrgGetValue() use.
2016 Added CollectRecipientSupportingTokens().
2018 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2020 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2021 EncryptedKey. So, when a key itself is used to encrypt data,
2022 ReferenceList is contained by itself.
2023 * MessageSecurityBindingSupport.cs :
2024 added CollectInitiatorSupportingTokens().
2026 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2028 * MessageSecurityUtility.cs: it should support ReferenceList-less
2031 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2033 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2034 * MessageSecurityUtility.cs : there already was uuid.
2036 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2038 * MessageSecurityUtility.cs : replaced EncryptedKey with
2039 WrappedKeySecurityToken, which seems to be in actual use in .net.
2040 * WSSecurityMessageHeader.cs : added internal Guid so that it
2041 could be shared between header items.
2043 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2045 * HttpRequestContext.cs, TextMessageEncoder.cs :
2046 some null arg check.
2048 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2050 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2051 for SecurityTokenReference resolution.
2053 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2055 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2056 consider DerivedKeyTokens correctly.
2057 When creating LocalId, don't add '#' here.
2059 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2061 * MessageSecurityUtility.cs :
2062 handle key mapping for each wsse:Security.
2064 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2066 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2068 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2070 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2072 * MessageSecurityUtility.cs :
2073 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2074 suggests, and it is used to dereference decryption targets.
2075 Now it premises multiple wsse:Security elements to read.
2077 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2079 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2080 manually (and actually the namespace URI was wrong).
2082 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2084 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2086 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2088 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2090 * SecurityBindingElement.cs,
2091 SymmetricSecurityBindingElement.cs,
2092 AsymmetricSecurityBindingElement.cs :
2093 implemented SetKeyDerivation().
2095 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2097 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2100 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2102 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2105 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2107 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2108 thus move it in front of encryption/signing.
2110 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2112 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2113 check state by themselves (btw it's not really working).
2114 * HttpChannelListener.cs : If the url does not end with '/' add it
2115 so that it could be fed to HttpListener.
2117 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2119 * HttpChannelFactory.cs : check scheme on CreateChannel.
2120 * MessageHeader.cs : finish IsMessageVersionSupported().
2122 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2124 * FaultConverter.cs : new file, not used yet though.
2126 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2128 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2130 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2132 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2133 GET as well as HttpReplyChannel, configuration would be ready now.
2135 2006-10-18 Ankit Jain <jankit@novell.com>
2137 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2138 EnvelopeVersion.Soap12 and 'text/xml' for others.
2139 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2141 Strip '?' from the query string.
2143 2006-10-13 Ankit Jain <jankit@novell.com>
2145 * MessageVersion.cs (None): Set AddressingVersion.None
2147 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2149 * SvcHttpHandler.cs : added config-based endpoint addition code.
2150 Though due to some weird bug in mono-core it does not seem to work,
2151 so commented out for now.
2152 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2153 mex request message might just be wrong.
2154 Use expected MessageVersion by the channel.
2155 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2157 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2159 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2160 which differs depending on whether it is asymmetric or symmetric.
2161 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2162 simplify SecureMessage() and DecryptMessage() arguments (just
2163 take MessageSecurityBindingSupport instead of several parameters).
2164 * MessageSecurityUtility.cs :
2165 - simplify SecureMessage() and DecryptMessage() arguments (just
2166 take MessageSecurityBindingSupport instead of several parameters).
2167 - Take token inclusion mode into account. Don't include them when
2168 it is not expected. Also, change the token reference style.
2169 - add wsa:MessageID to the headers.
2170 - For hmac-sha1 signing (default for symmetric binding), use
2171 symmetric key created for encryption as well to create HMACSHA1.
2172 - add Id to wsu:Timestamp.
2173 - start to handle SecurityMessageProperty.
2174 * WSSecurityMessageHeader.cs :
2175 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2176 Changed date format.
2178 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2180 * CommunicationObject.cs : reject faulted state on Open()/Close().
2181 * MessageHeaders.cs : removed extra fields.
2183 2006-10-06 Ankit Jain <jankit@novell.com>
2185 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2187 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2189 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2190 added some FIXMEs and additional arg.
2192 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2194 * MessageSecurityUtility.cs : remove duplicate Action header.
2196 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2198 * MessageFault.cs : partly implemented CreateFault(Message, int).
2199 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2200 handle IsFault correctly in each implementation.
2202 2006-10-04 Ankit Jain <jankit@novell.com>
2204 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2206 2006-10-04 Ankit Jain <jankit@novell.com>
2208 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2209 in WebConnectionStream.
2211 2006-10-04 Ankit Jain <jankit@novell.com>
2213 * MessageHeaders.cs (To): Use GetHeader<string> till
2214 DataContractSerializer gets ISerializable support.
2215 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2217 2006-10-04 Ankit Jain <jankit@novell.com>
2219 * ServiceHostParser.cs (Parse):
2220 (Split): Add some error checks.
2222 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2224 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2225 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2226 * SslStreamSecurityUpgradeProvider.cs,
2227 SslStreamSecurityUpgradeAcceptor.cs :
2228 new files for Ssl upgrade provider implementation.
2229 * MessageSecurityUtility.cs :
2230 Create proper C14NTransform. Don't use enveloped signature
2231 transform but sign every significant bits. On securing messages
2232 use ChannelProtectionRequirements.
2233 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2235 * MessageEncoder.cs : fix API (missing constraint).
2236 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2237 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2238 * AsymmetricSecurityBindingElement.cs : default protection order is
2239 SignBeforeEncryptAndEncryptSignature.
2241 2006-09-29 Ankit Jain <jankit@novell.com>
2243 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2244 ServicHostParser and use that here.
2245 (PrivateBinPath): New.
2246 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2247 (RemovedCallback): Remove and close the SvcHttpHandler when its
2248 corresponding file (.svc) changes.
2249 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2251 * ServiceHostParser.cs : New.
2252 * CachingCompiler.cs : New. Code extracted from
2253 System.Web.Compilation.CachingCompiler
2254 * CompilationException.cs : New. From System.Web.Compilation
2255 * HtmlizedException.cs : New. Likewise.
2257 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2259 * MessageSecurityBindingSupport.cs : For client side, it is always
2260 InitiatorServiceModelSecurityTokenRequirement which should be
2261 created. Fixed wrong client encryption key acquisition.
2263 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2265 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2266 MessageSecurityBindingSupport.cs : made similar changes as factories
2267 to listener so that session channels and input channels would work.
2268 Added authenticator creation.
2270 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2272 * Binding.cs : added missing members.
2274 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2276 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2277 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2278 reduce code duplication between request and output channels.
2279 The common parts are now in MessageSecurityBindingSupport.
2280 Now reduced several arguments in SecureMessage() for client.
2282 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2284 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2286 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2288 * AsymmetricSecurityBindingElement.cs,
2289 SecurityChannelListener.cs,
2290 SecurityRequestContext.cs,
2291 SymmetricSecurityBindingElement.cs,
2292 SecurityRequestChannel.cs,
2293 SecurityOutputChannel.cs,
2294 SecurityChannelFactory.cs,
2295 MessageSecurityBindingSupport.cs : 1) Refactoring.
2296 IMessageSecurityBindingSupport now becomes a class and contains
2297 all the members which resided in ISecurityChannelSource.
2298 Now it takes more constructor params.
2299 Made dependent changes on all sources above.
2301 2) Added SecurityTokenAuthenticator creation in
2302 SecurityRequestChannel (SecurityOutputChannel should do the same).
2304 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2306 * SecurityRequestChannel.cs : ongoing improvements on conditional
2307 key creation. Actually there must be some part that creates an
2308 authenticator (WinFX does that).
2310 2006-09-27 Ankit Jain <jankit@novell.com>
2312 Add suport for handling .svc files.
2313 * SvcHttpHandlerFactory.cs: New.
2314 * SvcHttpHandler.cs: New.
2316 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2317 asp.net environment.
2318 (OnOpen): Do nothing in asp.net environment.
2319 (OnClose): Likewise.
2320 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2321 * HttpRequestContext.cs: .. here.
2323 * AspNetReplyChannel.cs: New.
2324 * AspNetRequestContext.cs: New.
2326 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2328 * MessageSecurityUtility.cs :
2329 Significantly rewritten decryption parts to respect ReferenceList
2330 to decrypt (so no workaround anymore).
2331 Now e:ReferenceList inside o:Security is treated as the referenced
2332 EncryptedType items are encrypted by 1) the derived key which is
2333 immediately in front of it, or 2) the default key (it is according
2334 to WS-SecureConversation section 9.1). Thus removed immediately
2335 previous hack to auto-fill wsu:Id attributes.
2337 On securing a message, generate correct Id and add DataReference
2338 to ReferenceList properly.
2340 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2342 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2345 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2347 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2348 Actually WSSecurityTokenSerializer should be able to consume it, but after
2349 spending a lot of time I still cannot successfully read it on WinFX.
2350 Skip ReferenceList for now.
2351 * MessageSecurityUtility.cs :
2352 Replaced some string literals with constants.
2353 Added some workaround for DerivedKeyToken retrieval.
2354 WinFX somehow sends incomplete ISO10126 padding which contains
2355 bigger number than the key size and is rejected by EncryptedXml,
2356 so added DecryptLax() which processes such ones in PaddingMode.None
2357 to workaround it (only for cross-connection between mono and winfx).
2358 Added some incomplete implicit wsu:Id processing.
2359 Don't try to replace SignedXml with EncryptedData. It is not added
2360 to the document tree.
2362 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2364 * MessageSecurityUtility.cs : support message signature encryption. Some
2367 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2369 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2371 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2373 * MessageSecurityUtility.cs : fix warnings.
2375 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2377 * MessageSecurityUtility.cs : actually there would be more than one
2378 EncryptedData. Decrypt all.
2380 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2382 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2383 Use ISO10126 padding mode (it is not required but in manner).
2385 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2387 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2388 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2389 that class to make it work fine with mono client).
2390 Removed buggy lines that reset decryption key to AES.
2391 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2392 * WSSecurityMessageHeader.cs :
2393 (SecurityTokenReferenceKeyInfo) support LoadXml.
2395 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2397 * TransactionMessageProperty.cs : new file.
2399 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2401 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2402 gmcs happened to report wrong code.
2404 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2406 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2407 .ctor() now requires ChannelProtectionRequirements which will be
2408 supplied via BindingParameterCollection.
2409 * SymmetricSecurityBindingElement.cs,
2410 AsymmetricSecurityBindingElement.cs : thus add
2411 ChannelProtectionRequirement parameter to factory/listener.
2412 * SecurityRequestChannel.cs : use recipient token requirement to
2413 create an encryption token. Thus differentiate the logic from
2414 signing (initiator) token.
2416 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2418 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2419 renamed former to latter.
2420 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2423 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2425 * MessageSecurityBindingSupport.cs : new internal types to commonize
2426 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2427 and thus make internal factory and listener reusable.
2428 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2429 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2430 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2431 SymmetricSecurityBindingElement, using the new types above.
2432 * SymmetricSecurityBindingElement.cs :
2433 Use SymmetricMessageSecurityBindingSupport.
2434 * AsymmetricSecurityBindingElement.cs :
2435 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2437 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2439 * ChannelFactoryBase.cs : more RC1 update.
2441 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2443 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2444 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2445 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2446 ChannelBase.cs : RC1 API updates.
2447 * MessageImpl.cs : implemented Properties.
2448 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2450 2006-09-18 Ankit Jain <jankit@novell.com>
2452 * MessageHeaders.cs (MessageId):
2453 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2455 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2457 * ChannelParameterCollection.cs : new file.
2458 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2459 new files for IOutputChannel implementation.
2460 * OneWayBindingElement.cs : hacky implementation.
2461 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2462 * MessageSecurityUtility.cs : now create identifier from the security
2463 token and the token parameters which is added as an argument.
2464 * SecurityRequestContext.cs,
2465 SecurityRequestChannel.cs : SecureMessage() argument changes.
2466 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2469 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2471 * HttpRequestChannel.cs : close the HttpWebRequest.
2473 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2475 * HttpRequestChannel.cs,
2476 HttpChannelFactory.cs : implement async request/reply.
2477 * HttpChannelFactory.cs :
2478 verify factory state when creating a channel.
2480 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2482 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2483 BinaryMessageEncoder.cs : added message version mismatch check.
2485 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2487 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2488 Making incomplete changes to handle different tokens for encryption
2490 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2491 split channel implementation classes out to the latter file.
2492 * MessageSecurityUtility.cs : seems like there is
2493 TimeStampValidityDuration property, so use it (incomplete; a server
2494 needs another love).
2496 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2498 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2499 SecurityRequestContext.cs : now that we have key identifier clause
2500 and working ResolveKeyIdentifierClause(), just create keys inside
2501 SecureMessage(). Add KeyInfo to the xmldsig.
2503 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2505 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2506 pass SecurityKeyIdentifierClause to SecureMessage().
2507 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2508 for IssuedToken binding element.
2509 * SymmetricSecurityChannelListener.cs : removed hack to just create
2510 X509 security token, and implemented correct token creation.
2511 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2512 wraps SecurityTokenReference element.
2513 * MessageSecurityUtility.cs : use the above.
2515 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2517 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2518 could not find a security header.
2519 * SymmetricSecurityChannelFactory.cs : now it also supports
2520 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2523 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2525 * SecurityRequestContext.cs : moved securing message part to
2526 MessageSecurityUtility.cs.
2527 * MessageSecurityUtility.cs : the change above.
2528 use DateTime.Now for timestamp basis. Don't append signature to
2529 the document. Instead it is added to the header. Capture body
2530 content instead of the body itself.
2531 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2532 be processed by upper layers.
2534 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2536 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2537 SymmetricSecurityChannelListener.cs,
2538 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2539 more refactoring. Request serialization became much more conformant
2540 and add required header items.
2541 Security Token retrieval is needed to send it in the request.
2542 Fixed wrong key encryption.
2544 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2546 * SecurityRequestContext.cs : the workaround was not functional.
2548 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2550 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2551 API, especially ReplaceData(), instead of native crypto stuff.
2552 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2553 MessageProtectionOrder.SignBeforeEncrypt).
2555 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2557 * SecurityRequestContext.cs : label should be combined of both
2558 the client's and the server's.
2560 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2562 * SecurityRequestContext.cs : enable key derivation (though for now
2563 GenerateDerivedKey() is unimplemented). Create meaningful,
2564 decrypted request message to be consumed by the upper layer.
2566 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2568 * SecurityRequestContext.cs : implement Close() and Reply().
2569 ongoing implementation of Reply(TimeSpan).
2570 * MessageSecurityUtility.cs : new file to collect utility methods.
2571 * SymmetricSecurityChannelFactory.cs : moved securing message code
2573 * SymmetricSecurityChannelListener.cs : tiny renaming.
2575 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2577 * SecurityRequestContext.cs : security header is also stored.
2579 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2582 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2584 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2587 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2589 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2590 so that it retrieves the security key in that manner.
2592 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2594 * Binding.cs : MessageVersion is null when there is no
2595 MessageEncodingBindingElement.
2596 * Message.cs : null arg check.
2598 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2600 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2602 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2604 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2605 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2606 LayeredRequestChannel.cs : some refactoring.
2607 * SymmetricSecurityChannelFactory.cs :
2608 ongoing secure message creation implementation.
2610 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2612 * SymmetricSecurityBindingElement.cs :
2613 pass specific ServiceCredentialsSecurityTokenManager type to
2614 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2615 * SymmetricSecurityChannelListener.cs :
2616 get service certificate. It's a temporary hack.
2617 Move RequestContext code to below.
2618 * SecurityRequestContext.cs : new file.
2619 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2620 it I have to finish decryption of the incoming message.
2622 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2624 * MessageImpl.cs : don't write attributes on the first body content
2625 element *on soap Body element*.
2626 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2627 ObjectDisposedException is appropriate.
2628 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2629 in OnWriteHeader*Contents*().
2631 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2633 * WSSecurityMessageHeader.cs : new file.
2634 * SymmetricSecurityChannelFactory.cs :
2635 moved WSSecurityHeader and related types to the above.
2636 * SymmetricSecurityChannelListener.cs :
2637 reject SOAP-env-less message.
2639 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2641 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2642 renamed former to latter.
2643 * SymmetricSecurityChannelFactory.cs :
2644 create requirements every time. It is also likely that I need
2645 another requirement instance to get service credentials here.
2647 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2649 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2650 similar to BuildChannelFactory() (set credentials, issuer binding
2652 * SecurityChannelListener.cs :
2653 more ongoing security support implementation.
2654 * SymmetricSecurityChannelFactory.cs :
2655 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2657 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2659 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2660 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2661 Implementation is underway.
2662 * LayeredReplyChannel.cs :
2663 like LayeredRequestChannel, use ChannelListenerBase to provide
2666 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2668 * MessageHeader.cs : added another implementation type that uses
2669 XmlElement, for buffering purpose.
2670 * MessageImpl.cs : Header item types are user-driven by
2671 MessageHeader.GetHeader<T>(int), so at storing phase just store
2672 nodes as XmlElement.
2673 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2676 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2678 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2679 BindingParameterCollection, not from binding element properties.
2681 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2683 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2684 renamed former to latter.
2686 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2688 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2689 work for SslSecurityTokenParameters.
2691 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2693 * SecurityBindingElement.cs :
2694 Added SetIssuerBindingContextIfRequired().
2695 * SecurityChannelFactory.cs :
2696 Changed .ctor() arg again, just to receive binding element.
2697 * SymmetricSecurityBindingElement.cs :
2698 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2699 SymmetricSecurityChannelFactory .ctor() arg changes.
2700 "ProtectionTokenParameters" is not passed now.
2702 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2704 * SymmetricSecurityBindingElement.cs : requirements should be
2705 filled at InitializeSecurityTokenParameters as long as possible.
2706 SymmetricSecurityChannelFactory<T> now does not receive
2707 requirements (it now creates one inside it) at .ctor().
2708 * SecurityChannelFactory.cs : remove requirement argument.
2710 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2712 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2714 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2716 * SymmetricSecurityBindingElement.cs :
2717 MessageSecurityVersion property is of type SecurityTokenVersion.
2718 * SecurityBindingElement.cs :
2719 Implemented CreateSecureConversationBindingElement().
2720 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2721 the argument IssuedSecurityTokenParameters itself.
2723 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2725 * SymmetricSecurityBindingElement.cs :
2726 CreateSecurityTokenManager() can be directly used now.
2727 Use CallInitializeSecurityTokenRequirement() to fill requirement
2730 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2732 * ChannelFactoryBase.cs : GetProperty() is virtual.
2734 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2736 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2737 create token manager, token parameters and token requirements,
2738 and fill some requirements.
2739 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2740 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2741 * BindingContext.cs : implemented RemainingBindingElements.
2742 kill "no remaining binding element" error in GetInnerProperty()
2743 * SecurityChannelFactory.cs : now it became
2744 SymmetricSecurityChannelFactory, thus soon to be renamed.
2745 Several ongoing actual security resolution is on.
2747 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2749 * CommunicationObject.cs :
2750 add GetCommunicationObjectType() and use it.
2751 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2752 use ThrowIfDisposedOrNotOpen().
2753 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2754 to CommunicationObject. Make it IDisposable.
2755 * LayeredRequestChannel.cs : use above.
2756 * SecurityChannelFactory.cs : removed state check as it is done at
2759 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2761 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2762 CanBuildChannelListener) directly dispatch to BindingContext.
2763 * SymmetricSecurityBindingElement.cs : require protection token
2764 parameters before building a channel or a listener.
2765 * ChannelFactoryBase.cs : raise an error when a channel is being
2766 created without opening the factory.
2767 * ChannelListenerBase_1.cs : ditto for the listener.
2768 * SecurityChannelFactory.cs : before sending a request, it must be
2771 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2773 * MessageBufferImpl.cs : initialize fields.
2774 workaround BufferSize just to return 0.
2775 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2776 which does not support multi time write.
2777 * Message.cs : implemented State.
2779 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2781 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2782 is consuming XmlReader.
2783 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2784 * MessageBuffer.cs : implemented CreateNavigator().
2785 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2787 I kinda know that MS heavily depends on binary XmlReader and may have
2788 XPathNavigator implementation based on the binary stuff, but at
2789 least for now we have almost no motivation to mimick it.
2791 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2793 * SecurityChannelFactory.cs : a bit more of security header code.
2795 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2797 * SymmetricSecurityBindingElement.cs :
2798 set default MessageProtectionOrder in every construction.
2800 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2802 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2803 changed to require ChannelFactoryBase to support default timeout.
2804 Made some methods non-virtual. Preparing code to add security
2805 headers (empty yet).
2806 * SecurityBindingElement.cs : implemented several factory methods
2807 that return SymmetricSecurityBindingElement.
2809 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2811 * IStreamUpgradeBindingElement.cs,
2812 StreamUpgradeBindingElement.cs : renamed from former to latter.
2814 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2816 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2818 2006-07-31 Ankit Jain <jankit@novell.com>
2820 * MessageHeaders.cs (From): Use Constants.WSA1
2821 (MessageId): Implement the same pattern as other properties (From etc).
2823 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2825 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2826 * SecurityBindingElement.cs : some cosmetic changes.
2828 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2830 * SecurityBindingElement.cs : LocalClientSettings and
2831 LocalServiceSettings returns an instance for each.
2832 * LocalClientSecuritySettings.cs : initialized fields.
2834 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2836 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2837 kinda implemented Clone() just with MemberwiseClone().
2839 2006-07-27 Ankit Jain <jankit@novell.com>
2841 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2842 * MessageHeader.cs (knownTypes): New. Known type array containing
2844 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2846 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2848 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2849 LayeredCommunicationObject.cs,
2850 SecurityChannelFactory.cs, SecurityChannelListener.cs :
2851 new files to support security channels, though right now they
2852 just pass inner channels through.
2853 * SymmetricSecurityBindingElement.cs : use above.
2855 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2857 * AsymmetricSecurityBindingElement.cs,
2858 SymmetricSecurityBindingElement.cs :
2859 Default SecurityTokenParameters is null.
2861 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2863 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
2865 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2867 * Message.cs : When EnvelopeVersion is None, don't write SOAP
2869 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
2870 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
2871 headers. When AddressingVersion is None, don't output addressing
2872 headers as well, except for Action which is still needed by
2875 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2877 * MessageHeaders.cs : changed specific properties to find it from
2878 headers as Action property does (local variables won't be set by
2879 setter). Cache serializers. Check null serializer arguments.
2880 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
2882 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
2884 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
2885 use XmlObjectSerializer (since it is not data contract type).
2887 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2889 * MessageImpl.cs : Improved ReadHeaders().
2890 For certain header items, use EndpointAddress.ReadFrom().
2892 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2894 * AsymmetricSecurityBindingElement.cs :
2895 it is not ISecurityCapabilities anymore.
2897 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2899 * MessageVersion.cs : added None.
2901 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
2903 * Message.cs : GetReaderAtBodyContents() implementation using
2906 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
2908 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
2909 used MessageVersion.Default.
2911 2006-07-12 Duncan Mak <duncan@novell.com>
2913 * MessageBuffer.cs (MessageContentType): Return
2914 "application/soap+msbin1".
2916 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
2917 (SimpleMessage.OnCreateBufferedCopy):
2918 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
2919 MessageBuffer implementations.
2921 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
2922 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
2923 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
2925 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
2927 * MessageImpl.cs : Action should be added in request messages. Omit
2928 it only in reply message, thus moved to dispatcher logic.
2930 2006-07-12 Ankit Jain <jankit@novell.com>
2932 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
2933 bug in WebConnectionStream.
2934 * MessageHeaders.cs (MessageHeaders.From):
2935 (MessageHeaders.ReplyTo):
2936 (MessageHeaders.To): Add the corresponding MessageHeader on set.
2938 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
2940 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
2941 add SOAP Action to the response at any time.
2943 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
2945 * SymmetricSecurityBindingElement.cs,
2946 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
2947 Implemented .ctor() and some properties.
2949 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
2951 * TransactionFlowBindingElement.cs : new file.
2952 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
2954 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
2957 DefaultAction vanished. CreateFault() now takes bufferSize arg.
2958 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
2959 * AddressingVersion.cs : added None. Equals() and GetHashCode()
2960 vanished (there is anyways no way to instantiate this type).
2961 * MessageVersion.cs : added Soap11 and Soap12.
2962 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
2963 in June CTP. goodie.
2965 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2967 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
2968 removed some vanished CreateMessage() overloads.
2970 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2972 * CustomBinding.cs, HttpsTransportBindingElement.cs,
2973 HttpTransportBindingElement.cs :
2974 They are not ISecurityCapabilities anymore.
2975 Modified code to match June CTP behavior.
2977 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2979 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
2981 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2983 * EmptyFaultException.cs : removed unused code.
2984 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
2986 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2988 * LayeredChannelFactory.cs : removed obsolete class.
2989 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
2990 ChannelListenerBase.cs, HttpChannelListener.cs,
2991 HttpReplyChannel.cs, ChannelManagerBase.cs :
2992 all those changes were brought by ChannelManagerBase changes.
2994 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2996 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
2997 CommunicationObject.cs, HttpChannelListener.cs,
2998 ChannelFactoryBase.cs :
2999 CommunicationObject abstract changes brought this madness.
3001 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3003 * BindingContext.cs : listenUri address parameters could be null in
3006 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3008 * IRequestContext.cs :
3009 Now it became a class. File renaming will follow soon.
3010 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3011 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3012 IOutputChannel.cs, IOutputSessionChannel.cs,
3013 IRequestChannel.cs, IRequestSessionChannel.cs :
3014 They are not IDisposable anymore.
3015 For IReplyChannel, IRequestContext -> RequestContext.
3016 * IChannelListener.cs : removed Identity. Added GetProperty().
3017 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3018 ReplyChannelBase.cs, HttpReplyChannel.cs :
3019 Several members disappeared, and dependent changes.
3020 * HttpTransportBindingElement.cs,
3021 HttpChannelListener.cs, :
3022 ChannelListenerBase.SharedChannelListener vanished.
3024 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3026 * MessageEncodingBindingElement.cs
3027 MtomMessageEncodingBindingElement.cs,
3028 TextMessageEncodingBindingElement.cs,
3029 BinaryMessageEncodingBindingElement.cs :
3030 June CTP updates: AddressingVersion -> MessageVersion.
3031 * Binding.cs : June CTP. MessageVersion is added.
3032 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3033 ChannelListenerBase_1.cs,
3034 ChannelListenerBase.cs, IChannelListener.cs,
3036 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3037 June CTP. Several interface changes.
3038 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3039 * IChannelManager.cs, LayeredChannelListener.cs,
3040 GenericWrapperChannelFactory.cs,
3041 GenericWrapperChannelListener.cs : They are not used anymore.
3043 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3045 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3046 sync fix with June CTP API updates.
3048 2006-07-03 Ankit Jain <jankit@novell.com>
3050 * MessageEncodingBindingElementConverter.cs:
3051 * StandardBindingConverter.cs:
3052 * TransportBindingElementConverter.cs:
3053 * TransactionFlowBindingElementConverter.cs:
3054 * ReliableSessionBindingElementConverter.cs:
3055 * SecurityBindingElementConverter.cs:
3056 Rename *Converter.cs to *Importer.cs
3058 * TransferMode.cs: Move to System.ServiceModel
3060 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3062 * CommunicationObject.cs : make sure to change State before
3063 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3065 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3067 * Message.cs : output WSAddressing xmlns only when Action is
3068 specified (To should be affected, but seems like it is ignored).
3070 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3072 * MessageImpl.cs : don't set Action when it is null.
3074 2006-06-12 Ankit Jain <jankit@novell.com>
3076 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3078 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3080 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3081 some updated API fixes.
3083 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3085 * EnvelopeVersion.cs : moved back to S.SM.
3087 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3089 * IBindingManualAddressing.cs : vanished in beta2.
3090 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3091 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3093 * SecurityBindingElement.cs :
3094 SecurityStandardsManager -> SecurityTokenSerializer.
3096 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3098 * XmlSerializerBodyWriter.cs : new file to handle
3099 TypedMessageConverter.ToMessage().
3101 2006-04-26 Ankit Jain <jankit@novell.com>
3103 * TransportBindingElementConverter.cs (BeforeImport): Remove
3104 NotImplementedException.
3105 (ImportContract): Likewise.
3106 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3108 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3110 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3111 being used was not reflecting that of Binding elements.
3113 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3115 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3116 just assume that it is in the message.
3118 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3120 * HttpReplyChannel.cs : actually HTTP header item might be null.
3122 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3124 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3127 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3129 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3131 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3133 * MessageFault.cs : Fixed SOAP12 reason output.
3135 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3137 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3138 MessageEncoder.ContentType explicitly contains encoding.
3139 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3140 if it is SOAP version dependent.
3142 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3144 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3146 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3148 * HttpChannelFactory.cs BindingContext.cs
3149 HttpChannelListener.cs HttpTransportBindingElement.cs :
3150 Now BindingContext holds MessageEncoder, and non-custom
3151 channel factory/listener should use it.
3152 * MtomMessageEncodingBindingElement.cs
3153 TextMessageEncodingBindingElement.cs
3154 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3155 -Listener() now sets internal BindingContext.MessageEncoder.
3156 Fixed some public API.
3158 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3160 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3161 for insufficient elements.
3162 * DispatchRuntime.cs : OperationDescription name is not action. So
3163 OperationSelector is created by name, not by action.
3164 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3166 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3168 * MessageFaultBodyWriter.cs
3169 XmlReaderBodyWriter.cs
3170 XmlObjectSerializerBodyWriter.cs : made internal.
3171 * SecurityBindingElement.cs
3172 AsymmetricSecurityBindingElement.cs
3173 SymmetricSecurityBindingElement.cs : API fixes.
3174 * TransportBindingElementConverter.cs : ditto.
3175 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3176 * WindowsStreamSecurityBindingElement.cs
3177 SslStreamSecurityBindingElement.cs
3178 TransportSecurityBindingElement.cs : new files.
3180 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3182 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3183 reading can be any xs:boolean value.
3185 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3187 * Message.cs MessageImpl.cs : more sorting out the role of each
3189 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3191 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3193 * Message.cs : don't write body contents if it is empty.
3194 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3195 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3196 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3197 * HttpRequestChannel.cs : close request stream before GetResponse().
3199 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3201 * TextMessageEncoderFactory.cs
3202 TextMessageEncoder.cs : encoder does not hold reference to the
3203 factory anymore. Use MessageVersion property in CreateMssage().
3204 * HttpChannelListener.cs : now it holds message encoder.
3205 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3206 * MessageImpl.cs : header is optional.
3207 * EnvelopeVersion.cs : namespace URI is missing.
3209 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3211 * CustomBinding.cs : removed Initialize().
3212 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3213 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3214 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3215 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3217 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3219 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3220 could be also added by Add() method and could be reset by Remove()).
3221 * MessageImpl.cs : implemented more. As noted above, Now we don't
3222 have to add Action header explicitly.
3223 * MessageHeader.cs : recovered Writer methods and ToString() from
3224 commented old version. Use prefixes for writing.
3225 Use WriteObjectContent() rather than WriteObject() (it needs
3226 DataContractSerializer fix btw).
3228 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3230 * MessageHeader.cs : added missing IsReferenceParameter.
3231 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3232 * MessageHeaders.cs : avoid NullRef when actors is null.
3233 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3234 (ForwardingMessage) reader consumer is being added (not done).
3235 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3236 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3237 * HttpRequestChannel.cs : this channel automatically call Open()
3238 when Request() is called. Set content length for request.
3239 Use MessageEncoder's ContentType to also handle charset.
3241 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3243 * MessageImpl.cs : make them internal.
3244 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3246 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3248 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3249 * HttpChannelListener.cs : removed commented line.
3250 * RequestChannelBase.cs : new base class for request channel classes.
3251 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3252 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3253 * Message.cs : default IsEmpty and IsFault false by default.
3254 * LayeredChannelListener.cs : removed Uri (no chance to set).
3255 * ChannelBase.cs : reimplemented timeout properties.
3256 * HttpRequestChannel.cs : now it is mostly based on
3257 RequestChannelBase. Some more attempt to implement Request().
3259 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3261 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3262 OnInitialize(). Added more BuildChannelListener() overloads.
3264 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3266 * Binding.cs : added some more missing members especially to support
3268 * HttpChannelListener.cs : Uri should not be null.
3269 * HttpTransportBindingElement.cs : implemented
3270 CanBuildChannelFactory() and CanBuildChannelListener().
3271 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3273 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3275 * Binding.cs : updated default namespace property value to Feb. CTP.
3277 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3279 * AddressHeader.cs : avoid null reference when value is null.
3280 * BindingContext.cs : check null ListenUri args.
3282 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3284 * MessageFault.cs : Fixed default action name. Null arg check.
3286 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3288 * BindingElement.cs : Dequeue elements in BindingContext directly.
3289 * BindingContext.cs : Added GetProperty<T>().
3290 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3291 Now we don't need these extra classes, so marked as deprecated.
3293 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3295 * Binding.cs : null arg check.
3296 * AddressingVersion.cs : fixed constants to pass the tests.
3297 * BindingElement.cs : tiny meessage fix.
3299 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3301 * MessageEncodingBindingElement.cs
3302 BinaryMessageEncodingBindingElement.cs
3303 TextMessageEncodingBindingElement.cs
3304 MtomMessageEncodingBindingElement.cs
3305 MessageEncodingBindingElementConverter.cs : several API fixes.
3306 * BindingElement.cs : now if we use generic wrapper it causes
3307 infinite loop, so for now replace it with most-possible-but-
3310 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3312 (back to normal "record-ChangeLogs" mode after the big API change mess)
3313 * HttpTransportBindingElement.cs : fixed minor API differences.
3315 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3317 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3318 SymmetricSecurityBindingElement.cs :
3319 Dependent fixes for System.IdentityModel reorgainzation.
3321 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3323 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3324 IProxyFormatter.cs WSHttpBindingBase.cs
3325 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3326 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3327 WSFederationBinding.cs ISessionChannel.cs
3328 CompositeDuplexBindingElement.cs MessageVersion.cs
3329 MessageHeader.cs IRequestSessionChannel.cs
3330 BindingElementCollection.cs IReplySessionChannel.cs
3331 MessageProperties.cs IDuplexClientChannel.cs
3332 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3333 TcpTransportBindingElement.cs EmptyFaultException.cs
3334 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3335 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3336 ConnectionOrientedTransportBindingElement.cs
3337 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3338 PeerResolverBindingElement.cs Message.cs
3339 HttpsTransportBindingElement.cs BindingElement.cs
3340 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3341 MessageFaultBodyWriter.cs IReplyChannel.cs
3342 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3343 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3344 IRequestContext.cs IInputSessionShutdown.cs
3345 SecurityBindingElement.cs PeerTransportBindingElement.cs
3346 IDuplexSession.cs IChannelInitializer.cs
3347 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3348 AddressingVersion.cs FaultException.cs
3349 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3350 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3351 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3352 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3353 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3354 BindingParameterCollection.cs IInstanceProvider.cs
3355 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3356 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3357 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3358 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3359 moved from System.ServiceModel due to the API changes.
3361 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3363 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3364 HttpChannelListener.cs HttpRequestChannel.cs
3365 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3366 PeerNode.cs ReplyChannelBase.cs :
3367 Feb. CTP API changes - chapter 1.
3369 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3371 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3372 * ReplyChannelBase.cs : now it is based on ChannelBase.
3373 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3374 and check null argument in .ctor().
3375 * HttpReplyChannel.cs : several changes.
3376 Non-async members are mostly implemented.
3377 * HttpChannelListener.cs : no need to receive
3378 IDefaultCommunicationTimeouts.
3379 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3380 to allocate buffer array and int.MaxValue causes OutOfMemory.
3382 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3384 * ClientFramingDecoderState.cs : added missing enum.
3385 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3387 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3389 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3391 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3392 AcceptChannel() has some code now but it needs more love.
3394 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3396 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3397 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3398 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3400 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3402 * HttpRequestChannel.cs : close the streams.
3404 HttpChannelListener.cs : renamed from former to latter.
3406 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3408 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3409 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3410 * HttpListenerFactory.cs : removed obsolete file.
3411 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3412 * ChannelListenerBase_1.cs : implemented virtual stuff.
3413 * CommunicationObject.cs : Open() should not call BeginOpen() and
3414 EndOpen(). Instead, invoke events individually.
3415 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3417 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3419 * HttpRequestChannel.cs : call Flush() after serializing message
3422 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3424 * HttpRequestChannel.cs : implemented pretty hacky Request().
3426 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3428 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3430 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3432 * ChannelFactoryBase.cs : removed some NotImplementedException for
3433 further internal implementation.
3435 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3437 * HttpRequestChannel.cs : new file. mostly not implemented.
3438 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3439 Partly implemented CreateChannel().
3441 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3443 * HttpChannelFactory.cs : (.ctor())
3444 Don't take ChannelBuildContext.
3446 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3448 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3449 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3450 PeerMessagePropagation.cs : updated to Nov. CTP.
3452 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3454 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3455 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3456 StreamSecurityUpgradeAcceptor.cs,
3457 StreamSecurityUpgradeInitiator.cs :
3458 Updated to Nov. CTP API.
3460 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3462 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3464 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3466 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3468 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3470 * ChannelBase.cs : tiny filename fix.
3471 * ChannelListenerBase.cs : added more .ctor()s.
3473 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3475 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3476 ListenerFactoryBase.cs ChannelListenerBase.cs :
3477 updated IListener related stuff to Nov. CTP.
3478 file renaming will come soon.
3480 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3482 * ListenerBase.cs, ChannelListenerBase.cs :
3483 moved from former to latter.
3484 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3485 moved from former to latter.
3487 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3489 * SessionFaultedException.cs : removed in Nov. CTP
3491 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3493 * CommunicationObject.cs : updated to Nov. CTP.
3494 * SessionFaultedException.cs : removed (in Nov. CTP)
3496 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3498 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3501 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3503 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3504 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3505 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3506 * MessageEncoder.cs : largely implemented.
3508 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3510 * IRequestReplyCorrelator.cs : new file.
3512 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3514 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3515 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3516 * MessageEncoder.cs : added misssing ToString().
3518 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3520 * ChannelBehaviorCollection.cs : moved to sys.sm.
3522 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3524 * HttpListenerFactory.cs, HttpListener.cs : new files.
3525 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3526 CommunicationObject.cs, ChannelFactoryBase.cs,
3527 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3529 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3530 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3532 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3534 * ListenerFactoryBase.cs : some implementation.
3536 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3538 * CommunicationObject.cs : more state fixes.
3540 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3542 * CommunicationObject.cs : some state machine fixes.
3544 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3546 * PeerNode.cs, ChannelManagerBase.cs :
3547 several API fixes detected by improved corcompare.
3549 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3551 * LayeredListenerFactory.cs : added missing generic class constraint.
3553 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3555 * ListenerFactoryBase.cs,
3556 ListenerBase.cs : class constraints were missing for generic args.
3558 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3560 * StreamUpgradeInitiator.cs : tiny API fix.
3562 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3564 * PeerMessagePropagationFilter.cs : tiny build fix.
3566 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3568 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3569 added Name. fixed StatusCode type.
3570 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3571 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3572 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3573 DirectionalAction.cs, HostedTransportConfiguration.cs,
3574 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3575 PeerMessagePropagationFilter.cs : added missing files.
3576 * Dummy.cs : removed. MSMQ stuff can be added later.
3578 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3580 * DeliveryStatus.cs, DeliveryFailure.cs,
3581 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3582 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3584 * Dummy.cs : removed above.
3586 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3588 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3590 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3592 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3593 MessageEncoder.cs, BufferManager.cs : new files.
3594 * Dummy.cs : removed above.
3596 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3598 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3599 * Dummy.cs : removed above.
3600 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3602 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3604 * HttpChannelFactory.cs : new file.
3606 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3608 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3609 moved to ../System.ServiceModel (correct location).
3610 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3611 new files for channels.
3612 * Dummy.cs : reflected above changes.
3613 * ChannelManagerBase.cs : added a bit of code and todos.
3615 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3617 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3618 added listener support files.
3619 * Dummy.cs : removed above.
3621 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3623 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3624 added request/reply channel interfaces.
3625 * Dummy.cs : removed above.
3626 * CommunicationObject.cs : FIXME comments.
3628 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3630 * CommunicationObject.cs : implemented some members.
3632 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3634 * CommunicationObject.cs : some signature fixes.