1 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
3 * HttpListenerManager.cs : this change (along with HttpListener
4 implementation) somehow fixes basic auth. connection error...
6 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
8 * MessageHeaders.cs : add !NET_2_1.
10 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
12 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
13 typed UniqueId output.
15 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
17 * MessageHeader.cs : no need to treat EndpointAddress as a special
20 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
22 * MessageHeaders.cs : remove duplicate constant.
24 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
26 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
27 EndpointAddress as a special case. Instead, each MessageHeaders
28 property should convert it to appropriate serializable objects.
30 (Our DataContractSerializer fails to reject EndpointAddress as
31 serializable type, so it's rather a preparation step.)
33 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
35 * MessageHeader.cs, Message.cs : use dictionary string whenever
36 applicable. The binary output on #577139 is getting closer (no
37 idea if it is really about binary output though).
39 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
41 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
43 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
45 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
47 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
49 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
50 enable authentication schemes on monotouch.
52 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
54 * SvcHttpHandler.cs : a wait handle could be used for more than one
55 requests and hence it sometimes blocked one reply channel. Now
56 it creates a wait handle for each ASP.NET request so that such
57 multiple use should not occur. This should fix blocking on
58 concurrent requests (it indeed fixes as long as I can see).
60 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
62 * AspNetReplyChannel.cs : remove garbage output.
64 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
66 * SvcHttpHandler.cs : Use lock when it tries to create the service
69 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
71 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
74 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
76 * HttpListenerManager.cs : add another workaround for blocking
79 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
81 * HttpListenerManager.cs : small refactoring.
83 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
85 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
86 that somehow makes callback client to not cause infinite loop.
88 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
90 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
91 DuplexChannelBase.cs : Receive() should rather use TryReceive().
92 It should not be in reverse order.
94 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
96 * HttpReplyChannel.cs, HttpListenerManager.cs :
97 Implement async cancellation in the expected manner (though with
98 some hack). This mostly removed nunit blockers.
100 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
102 * CommunicationObject.cs : fix wrong status changes.
104 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
106 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
108 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
110 * AddressHeader.cs : implement remaining bits.
111 Eliminate dependency on NetDataContractSerializer.
113 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
115 * CommunicationObject.cs : in Fault(), do similar work as previous
118 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
120 * CommunicationObject.cs : when process state changes, lock the
121 object to make sure the state transition is valid.
122 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
124 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
126 * MessageHeaders.cs : implement SetAction().
128 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
130 * ChannelFactoryBase.cs : fix build.
132 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
134 * ChannelBase.cs : cosmetic API fix for SL3.
136 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
138 * ChannelFactoryBase.cs :
139 implement On{Begin/End}Close() on the generic type.
141 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
143 * HttpChannelFactory.cs, TcpChannelFactory.cs,
144 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
145 PeerChannelFactory.cs, HttpRequestChannel.cs:
146 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
147 type and made required changes.
149 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
151 * HttpCookieContainerBindingElement.cs : new.
152 * IHttpCookieContainer.cs : fix type name.
153 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
155 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
157 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
158 does not happen when communicating with .NET client but happens with
159 mono). Seealso FIXME comment.
160 * TcpDuplexSessionChannel.cs : do not try to close session when it
161 failed to read sized message. The connection is already dead.
165 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
167 * TcpDuplexSessionChannel.cs :
168 Write EndRecord only when the connection is available.
169 Remove hack - do let ChannelDispatcher close the channel.
170 * TcpBinaryFrameManager.cs :
171 The socket may be disconnected when trying to read a sized message,
172 so check some socket exceptions.
173 In case the client silently shuts down without EndRecord and
174 reconnects to the server with preamble while expecting a sized
175 message (which is so lame, but that's what .NET often does), refresh
176 preamble and continue.
178 This fixes some cases of bug #567949 but not all.
180 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
182 * BinaryMessageEncoder.cs : enable workaround buffering only when
183 the argument stream does *not* support seek. This fixes some
184 net.tcp connection problem.
186 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
188 * TcpBinaryFrameManager.cs : If preamble byte is not available from
189 the client stream, detect it to close the reply or input channel.
190 * TcpRequestChannel.cs : send preamble at each request time.
191 It differentiates communication behavior on such cases that involve
192 single open and multiple requests.
193 * TcpReplyChannel.cs : close the channel only when the channel is
194 oeprated to close i.e. do not close the socket every time.
195 Process preambles on each request (the same as request channel).
197 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
199 * TcpBinaryFrameManager.cs : unsized envelope record may have more
200 than one data block, so consume them accordingly. This should fix
201 large buffer consumption.
203 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
205 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
208 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
210 * HttpRequestContext.cs : for DestinationUnreachable message, this
211 channel returns 400 in .NET.
213 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
215 * BinaryMessageEncoder.cs : added workaround for strange stream
216 consumption error raised by HttpTransport + Binary encoder example.
217 * BinaryMessageEncodingBindingElement.cs:
218 only SOAP 1.2 is allowed for this encoder.
220 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
222 * XmlReaderBodyWriter.cs : don't try to write empty xml.
224 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
226 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
227 default WebHeaderCollection items are overwritten.
229 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
231 * HttpRequestChannel.cs : when HTTP response was error, do not try
232 to read message but just raise an error.
234 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
236 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
238 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
240 * HttpRequestChannel.cs : WebException.Response might be null.
242 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
244 * ReplyChannelBase.cs : added listener property.
245 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
246 been updated to prefer async by default, a while ago.
248 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
250 * HttpTransportBindingElement.cs : finished all GetProperty() values.
252 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
254 * HttpRequestChannel.cs : disabled carelessly added
255 "UseDefaultCredentials = false" line. It blocked basic auth.
257 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
259 * HttpRequestChannel.cs, HttpChannelFactory.cs,
260 HttpChannelListener.cs, HttpListenerManager.cs :
261 implemented http client authentication and some of corresponding
262 service code. Only client works so far.
264 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
266 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
267 added URI scheme check.
269 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
271 * TransportSecurityBindingElement.cs : fix 2.1 build.
273 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
275 * HttpsTransportBindingElement.cs :
276 RequireClientCertificate is false by default.
277 Remove extra #if NET_2_1.
278 * SecurityBindingElement.cs :
279 Implement some transport security factory methods.
280 * TransportSecurityBindingElement.cs :
281 It is not ISecurityCapabilities anymore.
283 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
286 SecurityBindingElement.cs
287 LocalClientSecuritySettings.cs
288 TransportSecurityBindingElement.cs
289 FaultConverter.cs : They are now part of SL3 API.
291 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
293 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
295 2009-11-05 Geoff Norton <gnorton@novell.com>
297 * HttpsTransportBindingElement.cs: Implement basic https transport
298 binding support for Moonlight and MonoTouch
300 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
302 * HttpListenerManager.cs : remove CWLs.
304 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
306 * SvcHttpHandler.cs : move back previous listener selector code in
307 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
308 and differentiate requests to deeper paths (such as /jsdebug), so
309 we need such refinement here.
311 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
313 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
316 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
318 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
319 HttpChannelListener.cs, HttpListenerManager.cs :
320 Similar refactoring on ASP.NET side to the previous one.
321 Added ASP.NET implementation of HttpListenerManager and use some
322 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
324 Rewrote AspNetReplyChannel to become almost the same as
325 HttpSimpleReplyChannel, to hopefully unify them later.
326 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
327 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
330 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
332 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
333 Refactoring on listener manager to correctly handle wsdl and help
334 requests for such case that they conflict in addressing. Now it
335 can correctly distinguish service calls, WSDL requests and help
336 requests when all of them point to "http://localhost/foo.svc"
337 (which is very common case that the user does not change Http*Url).
339 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
341 * ChannelListenerBase.cs : add Properties property to add arbitrary
342 properties handy (only inside this assembly).
344 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
346 * HttpReplyChannel.cs : fix warning.
348 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
350 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
352 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
354 * HttpReplyChannel.cs : make sure to release wait lock.
355 * HttpChannelListener.cs : session channels are not supported, so
356 remove relevant NIEs.
358 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
360 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
361 support contexts so we call the non-overloaded WaitOne method
362 (which defaults to false).
364 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
366 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
367 significant rewrite to cooperate wcf handler and asp.net handler
368 to not mix multiple WCF listener within the asp.net handler.
369 So far it mostly works when 1) there are no ChannelDispatchers
370 that have an identical listen Uri and 2) MaxConcurrentSessions is
371 1 (must be explicitly set).
373 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
375 * CommunicationObject.cs : give better state error description.
377 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
379 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
380 to base methods. This resulted in not a few changes everywhere.
382 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
384 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
386 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
388 * SvcHttpHandler.cs : use file path given by the factory to
389 construct BaseAddresses. Requests to "test.svc/jsdebug" should
390 not be handled as request to "jsdebug" file, it's rather an
391 "argument" to "test.svc".
393 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
395 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
396 rewrite to handle shutdown situation better. The listeners should
397 not close channels that it opened. Instead, just stop accepting
398 further requests. Removed blocking mutex on WaitForRequest().
399 Now xsp shuts down as expected.
401 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
403 * HttpReplyChannel.cs : lock list when releasing its content contexts.
404 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
407 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
409 * SvcHttpHandlerFactory.cs : remove todo.
410 * ReplyChannelBase.cs : add comment.
412 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
414 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
415 revert the change, to use internal asp.net state again.
416 * SvcHttpHandler.cs : add VirtualPathExtension.
418 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
420 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
421 asp.net response was not written correctly.
422 Fill HttpRequestMessageProperty to get handle WSDL requests
423 processed in ServiceMetadataExtension without NRE.
424 Remove wrong HttpListenerContext iteration at Abort and Close in
425 common base class and move it to non-asp derived channel.
427 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
429 * SvcHttpHandler.cs : remove unused code.
431 2009-09-30 Jb Evain <jbevain@novell.com>
433 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
434 to use any of the remoting features.
436 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
438 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
439 use AspNetCompatibilityEnabled.
440 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
442 * AspNetReplyChannel.cs : remove extra field.
444 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
446 * HttpReplyChannel.cs : remove extra field.
448 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
450 * AspNetRequestContext.cs : remove CWL.
452 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
454 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
455 only after AspNetRequestContext is closed. Do not close it
456 immediately after receiving the context. (HttpRuntime destructs it
457 and further uses then becomes impossible.)
459 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
461 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
462 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
463 Make sure that AspNetChannelListener is bound to correct
464 SvcHttpHandler, regardless of specific request URI. It is required
465 for both WSDL requests and RESTful binding requests.
467 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
469 * MessageProperties.cs : fix CopyProperties() behavior to not
470 clear existing items. Make all properties call this[name].
472 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
474 * HttpTransportBindingElement.cs : fix 2.1 build.
476 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
478 * TransportBindingElement.cs : another GetProperty fix, iterate
479 other binding elements.
481 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
483 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
484 some GetProperty() implementation.
486 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
488 * HttpListenerManager.cs : release HttpListener and avoid extra
489 close process more than once.
491 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
493 * HttpChannelListener.cs : do not iterate channel list to close
494 channels which in turn removes them from the list while iteration.
496 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
498 * HttpRequestChannel.cs : Fix message version member comparison.
499 Double-quote SOAPAction. Remove extra Exception.
500 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
501 * HttpRequestContext.cs : when addressing is None, remove action
504 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
506 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
507 path, to pick those endpoints that are added at custom factories.
509 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
511 * SvcHttpHandler.cs : apply configuration, and if there is still no
512 endpoint, then add default one.
514 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
516 * SvcHttpHandler.cs : another URL to make relative.
518 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
520 * SvcHttpHandlerFactory.cs : some GetHandler changes.
521 * SvcHttpHandler.cs : significant changes on receiver structure. Now
522 ProcessRequest() stores pending requests (this might be extraneous,
523 but maybe useful when it implements async handler). Also removed
524 reply_channel field as it may become to handle multiple requests.
525 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
526 * AspNetReplyChannel.cs : make it receive requests like
527 HttpReplyChannel (for HttpListener) to make them consistent.
529 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
531 * AspNetRequestContext.cs, HttpRequestContext.cs :
532 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
533 by splitting HttpListener-based context out from common code base.
535 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
537 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
538 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
541 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
543 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
544 loads types from system assemblies appropriately.
546 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
548 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
551 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
553 * HttpRequestMessageProperty.cs : fix default values.
555 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
557 * HttpChannelFactory.cs, HttpRequestChannel.cs,
558 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
559 Check ManualAddressing value and reject address-missing ones.
561 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
563 * HttpChannelFactory.cs : reject URI mismatch cases when required.
565 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
567 * PeerDuplexChannel.cs : When received Connect() from neighbor,
568 add the peer to its internal list.
569 Finally ChatApplication got working.
571 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
573 * PeerDuplexChannel.cs : since the channel factory is per instance,
574 do not reuse factory that is tied to different callback instance.
575 It resolved the issue that mono callback client didn't receive
576 messages from the client itself.
578 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
580 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
581 of the receiver, not the requestor. It resolved the issue that
582 .NET client didn't send further messages to mono server.
584 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
586 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
587 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
588 TcpReplyChannel.cs, TcpRequestChannel.cs,
589 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
590 rename EndRecord handling method to appropriate one.
591 Write EndRecord from recipient too.
593 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
595 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
596 Process PeerTo header to upgrade Message To header. Now mono
597 service accepts mono client (somehow not true for .NET client).
599 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
601 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
602 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
604 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
606 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
608 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
610 * TcpDuplexSessionChannel.cs : check channel state before processing
613 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
615 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
616 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
617 ongoing works, not working at all yet.
619 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
621 * TcpChannelListener.cs, TcpReplyChannel.cs :
622 cosmetic cleanup and corrections.
624 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
626 * TcpChannelFactory.cs : use expected Via uri.
627 Remove extra NIE stuff that are implemented in base.
629 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
631 * TcpDuplexSessionChannel.cs : remove extra code.
633 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
635 * PeerDuplexChannel.cs : ongoing implementation towards get callback
636 replies on peer connector clients (not working as duplex client
637 callback is not working yet).
639 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
641 * TcpDuplexSessionChannel.cs : in callback client channels,
642 OperationContext.IncomingMessageHeaders is null.
644 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
646 * MessageHeaders.cs : duplicate check was sloppy.
648 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
650 * Message.cs, MessageImpl.cs, BodyWriter.cs :
651 Implement BodyWriter.OnCreateBufferedCopy() and use it.
653 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
655 * ReplyChannelBase.cs : initialize field.
657 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
659 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
660 implement GetProperty<T>() and return its channel manager.
662 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
664 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
665 destination address in Connect() request. To repeat sending
666 request, use buffered copy. Set some peer-channel specific
667 header items. (todo: and consume them.)
669 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
671 * Message.cs : state is set only after WriteBodyContents().
673 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
675 * MessageHeaders.cs : eliminate wrong use of
676 ReadElementContentAsString() (it is not always simple string).
678 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
680 * MessageHeaders.cs : when the value is null, do not try to
681 deserialize EndpointAddress.
683 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
685 * MessageHeader.cs : add Value property. (Forgot dependent change.)
687 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
689 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
690 serialization and deserialization of values.
692 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
694 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
695 Now simply use connector contract.
697 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
699 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
701 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
703 * TcpChannelListener.cs : do not try to compare dead connection's
704 IPEndPoint (it raises an error).
706 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
708 * MessageHeaders.cs : allow null header value on each specific setter.
710 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
712 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
713 get local and remote address of connected counterpart to get
714 callback channel connected.
715 * PeerDuplexChannel.cs : remove FIXME wrt above.
717 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
719 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
721 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
723 * MessageHeader.cs : fill IsReferenceParameter.
725 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
727 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
728 implement remaining async methods and LocalAddress.
730 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
732 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
733 ServiceHost to process neighbor connection (not sure if this is
734 right way to go though ...).
736 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
738 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
739 connection part to use new internal IPeerConnectorContract for
742 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
744 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
745 PeerChannelListener.cs, HttpChannelListener.cs :
746 support ListenUri accordingly too so that it could be used when
747 it is different from LocalAddress.Uri.
749 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
751 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
752 TcpRequestChannel.cs : use Via uri to validate and connect.
754 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
756 * RequestChannelBase.cs, DuplexChannelBase.cs :
757 Return endpoint address Uri when no explicit Via uri is specified.
758 * ChannelFactoryBase.cs : Remove extra async close methods.
759 Add async open methods. Reject null EndpointAddress.
760 * PeerChannelFactory.cs : remove async open methods (now in base).
762 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
764 * PeerDuplexChannel.cs : set correct message endpoint (To header).
766 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
768 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
769 DuplexChannelBase.cs : set LocalAddress property at base.
771 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
773 * PeerDuplexChannel.cs : ongoing refactoring to work both as
774 listener and client. Now it creates a listening peer node, and
775 creates a set of TCP client channels for each peer in the mesh.
777 (EndpointAddress must be fixed to not filter out correct inputs).
779 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
781 * PeerChannelListener.cs : do not accept more than one channel
782 which results in lots of listening peer node. Only one is enough.
784 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
786 * DuplexChannelBase.cs : fix wrong loop implementation.
788 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
790 * TcpChannelListener.cs : to avoid creating two or more channels
791 for one remote endpoint, check existing remote endpoints and
792 ignore such connections (it must be handled in different thread
793 fired by ChannelDispatcher loop).
795 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
797 * TcpReplyChannel.cs : make sure to not try to receive request when
798 it is already closed.
800 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
802 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
803 some mannerless clients [*1] do not send EndRecord accordingly, but
804 such channels at listener side should not be kept open. So, close
805 disconnected channels when the listener needs to accept another
807 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
809 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
811 * TcpDuplexSessionChannel.cs :
812 Remove extra NIE overrides.
813 Implement OnAbort() apart from OnClose().
814 For duplex session channel, unlike reply channel, it must acquire
815 TCP connection before OnOpen(), otherwise ChannelDispatcher
816 releases the connection acceptance WaitHandle and the detected
817 live connection may be stolen by another channel acceptor.
819 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
821 * HttpRequestChannel.cs : implement OnAbort().
823 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
825 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
826 * DuplexChannelBase.cs : comment out some extra fields (so far).
827 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
829 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
831 * PeerCustomResolverBindingElement.cs : add some null checks.
833 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
835 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
836 Acquire TcpClient for each request/reply. Now it is fully
837 interoperable with .NET.
839 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
841 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
842 ReplyTo and MessageId (though it is session-less), and it expects
843 EndRecord at weird stage, inconsistent with [MC-NMF]...
844 Now .NET service accepts one mono client request.
846 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
848 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
849 Send and receive unsized message terminator at once.
850 Send EndRecord mutually. Got one .net client request working.
852 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
854 * BinaryMessageEncoder.cs : revert the previous dictionary change.
855 They are indeed used for non-in-band-dictionary messages.
857 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
859 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
860 split out binary frame manager class into separate file.
862 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
864 * TcpReplyChannel.cs : new reply channel implementation.
865 * TcpChannelListener.cs : use above for streamed reply channel.
866 * TcpDuplexSessionChannel.cs : more streaming mode support.
867 * TcpRequestChannel.cs : a couple of updates to get it working
868 with the reply channel above. Still some issues on .NET interop.
870 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
872 * RequestContext.cs : added internal derived class that implements
875 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
877 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
880 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
882 * PeerDuplexChannel.cs: add the registered node itself to peer list.
883 (The messaging must be done as TCP request/reply pattern, so it's
886 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
888 * TcpRequestChannel.cs : new channel file (TCP for request/reply
889 messaging pattern). The messaging part is not working yet.
890 * TcpChannelFactory.cs : support IRequestChannel.
891 * TcpDuplexSessionChannel.cs : add unsized message support.
893 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
895 * HttpRequestChannel.cs, RequestChannelBase.cs :
896 A couple of async members are now implemented in the base class.
897 Ditto for EndpointAddress and Via.
899 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
901 * PeerDuplexChannel.cs : now it implements some of node management
902 functionality and Send operation. The receiver part is not yet.
904 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
906 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
907 timeout to channel constructor. it does not make sense.
909 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
911 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
912 as common interface member, and use binary encoder (not text).
914 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
916 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
918 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
920 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
921 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
922 going to be unified to PeerDuplexChannel. And it is likely that
923 input and output functionalities are to be unified too.
925 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
927 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
928 may have to reuse it for peer transport.
929 * PeerChannelListener.cs : add binding member.
930 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
932 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
934 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
935 PeerChannelFactory.cs : close opened channels at OnClose() as
936 documented. Implement async methods.
937 * PeerChannelListener.cs : removed some NIE overrides.
939 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
941 * DuplexChannelBase.cs : some more async methods.
943 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
945 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
947 * TcpChannelListener.cs : accept multiple channels at a time.
949 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
951 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
952 session strings but output only those new ones in current message.
953 This fixes inconsistent body output in repetitive use of sender.
955 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
957 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
958 operation that does not involve session.
959 Preserve writer session as well as reader session.
960 * MessageHeaders.cs : take name and namespace into consideration
961 when creating a serializer.
963 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
965 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
966 Made required changes for repeated use of message exchanges.
967 Hold binary reader session. The channels use it incrementally.
968 Preambles are handled at Open, and EndRecords are handled at
969 Close, Add session shutdown hook here (not working yet though).
971 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
973 * ChannelListenerBase_1.cs : added cancellation hook here too.
974 HttpChannelListener.cs : use above.
975 Do not allow parallel channel creation (this listener does not
976 allow more than one AcceptChannel().
978 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
980 * ReplyChannelBase.cs, HttpReplyChannel.cs :
981 Add cancellation hook for async TryReceiveRequest.
983 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
985 * HttpChannelListener.cs, HttpListenerManager.cs :
986 slightly improved BuildChannelListener().
987 Implement OnAbort() and differentiate it from OnClose().
989 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
991 * TcpDuplexSessionChannel.cs : remove NIE stubs.
993 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
995 * DuplexChannelBase.cs : simple async delegate calls here too.
997 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
999 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1001 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1003 * HttpReplyChannel.cs : cosometic simplification.
1005 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1007 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1008 infinite block in 2.0 profile.
1010 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1012 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1013 more careful close to avoid NRE.
1015 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1017 * HttpChannelListener.cs : do not Close() more than once (though
1018 it is allowed to call it twice, we don't reject it; just ignore).
1020 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1022 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1024 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1026 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1027 Temporarily disable HTTP Keep-Alive since it somehow results in
1028 wrong reuse of connection (shown as NRE in HttpConnection).
1029 Make sure to close RequestContext which was created from it.
1030 * HttpRequestContext.cs : simplify.
1032 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1034 * HttpChannelListener.cs, TcpChannelListener.cs,
1035 ChannelListenerBase_1.cs : put common internal listener base
1036 and let it handle those async stuff.
1038 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1040 * ReplyChannelBase.cs : fix wrong null delegate check point.
1042 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1044 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1045 now implemented as virtual in base class. Remove NIEs in http.
1047 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1049 * HttpChannelListener.cs : hack async implementation.
1051 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1053 * HttpListenerManager.cs : oops, extra line removal.
1055 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1057 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1059 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1061 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1062 "ChannelManager" is confusing (there is ChannelManagerBase).
1064 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1066 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1067 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1068 they should be split into separate listener->reply channel lines
1069 (remove "if (HostingEnvironment.IsAspNet)".)
1071 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1073 * CommunicationObject.cs : OnClosed() requires call to base method.
1074 Close() could rather abort the channel, and Abort() does not
1075 always invke OnAbort().
1076 * ChannelBase.cs : add call to base as above.
1078 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1080 * ClientAccessPolicy.cs: Removed
1081 * CrossDomainAccessManager.cs: Removed
1082 * CrossDomainPolicy.cs: Removed
1083 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1084 since this is now done inside the BeginGetResponse call (outside
1085 this assembly) for Moonlight (NET_2_1)
1087 2009-06-04 Alan McGovern <amcgovern@novell.com>
1089 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1090 instead of the sync apis. Prevents a possible deadlock condition in
1093 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1095 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1096 callbacks, so add hacky ones.
1098 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1100 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1101 true when socket input is not available.
1103 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1105 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1106 I cannot precisely identify when EndRecord should be consumed,
1107 so allow it at either at the end of ReadSizedMessage() or on
1108 consuming preamble (it's likely handling EndRecord of previous
1111 Now duplex IPeerResolverContract communication works between
1112 either of .NET/Mono client and .NET/Mono server.
1114 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1116 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1117 code. Handle preamble ack on ReadSizedMessage() only at server.
1118 Consume EndRecord from server, at client side. Though it is likely
1119 changed as it's blocking when mono is at server side.
1121 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1123 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1124 different protocol than existing code with related to preamble ack.
1125 So changed it to work fine with .NET client (finally).
1127 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1129 * MessageBufferImpl.cs : do not output Action twice.
1131 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1133 * MessageBufferImpl.cs : it did not copy headers.
1134 * Message.cs : remove 2_1 conditional implementation for buffered
1135 copy and hence remove bogus code.
1137 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1139 * MessageProperties.cs : copy argument is wrong.
1141 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1143 * PeerCustomResolverBindingElement.cs : some argument check.
1145 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1147 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1148 xml open, so close the writer as well as open elements.
1149 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1150 Do not output EndRecord and SizedMessage at a time.
1152 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1154 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1155 length of the SizedMessage in the output.
1157 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1159 * CommunicationObject.cs : use sane default timeout.
1160 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1161 * TcpDuplexSessionChannel.cs : ditto.
1163 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1165 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1166 only accepts buffered messages, so do as such for write buffers.
1167 Add RelatesTo header.
1169 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1171 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1172 rename from former to latter.
1174 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1176 * TcpDuplexSessionChannel.cs : reader does not always return full
1177 buffer (depending on the stream).
1179 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1181 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1183 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1185 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1188 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1190 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1192 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1194 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1196 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1198 * ChannelManagerBase.cs : fix wrong session channel detection.
1200 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1202 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1203 This encoder factory implements CreateSessionEncoder() and binary
1204 encoder does support session transmit, in different media type.
1205 * ChannelManagerBase.cs : added utility method to create appropriate
1207 * HttpChannelFactory.cs, HttpChannelListener.cs,
1208 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1209 PeerChannelFactory.cs, PeerChannelListener.cs,
1210 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1212 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1214 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1216 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1218 * DuplexSessionBase.cs : new file, for session implementation.
1219 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1220 DuplexSessionChannelBase.cs : changed sync/async implementation
1221 pattern. Now async methods call sync methods using delegates.
1223 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1225 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1226 a few minor API fixes.
1228 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1230 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1232 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1234 * TcpDuplexSessionChannel.cs : add To header.
1236 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1238 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1241 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1243 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1245 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1247 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1248 CommunicationException in each CreateFault().
1250 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1252 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1253 Open(). Some (but not all yet) continuous communication works now.
1254 Use ProtocolException. Remove dummy binary session string.
1256 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1258 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1259 sending/receiving SizedMessageRecord parts to manager class.
1260 Handle writer session, though it is likely broken at dictionary
1261 writer part (no string is written so far).
1262 * BinaryMessageEncoder.cs : add writer session and rename reader
1265 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1267 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1268 is mandatory in initiator preamble packet. Handle Fault reply in
1271 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1273 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1274 based communication under TcpBinaryFrameManager class.
1276 2009-05-13 Jb Evain <jbevain@novell.com>
1278 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1279 from a StringReader.
1281 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1283 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1284 actually eliminate DOM-based implementation too in 2.0.
1286 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1288 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1289 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1290 comments for magic numbers based on [MC-NMF].
1292 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1294 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1295 support for [MC-NBFSE] record in [MC-NMF], in this class.
1297 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1299 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1301 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1303 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1305 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1307 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1309 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1311 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1313 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1315 * BinaryMessageEncoder.cs : use quotas in binding element.
1316 Implement WriteMessage().
1318 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1320 * PeerCustomResolverBindingElement.cs : do initialize field.
1322 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1324 * PeerCustomResolverBindingElement.cs :
1325 implement full custom resolver.
1327 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1329 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1330 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1331 PeerChannelFactory.cs : ongoing p2p channel implementation.
1333 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1335 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1337 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1339 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1340 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1341 implement GetProperty<T>(). Return documented objects or null.
1343 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1345 * PeerChannelFactory.cs, PeerChannelListener.cs,
1346 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1347 PeerInputChannel.cs, PeerOutputChannel.cs :
1348 new; ongoing peer transport implementation.
1349 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1350 MsmqOutputChannel.cs, OutputChannelBase.cs,
1351 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1352 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1353 several internal changes (either required or for simplification)
1354 for ongoing peer transport implementation.
1356 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1358 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1360 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1362 * TcpTransportBindingElement.cs : check build-ability before
1363 actually building channels.
1364 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1365 conditions according to MSDN.
1367 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1369 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1370 handle headers in SL2. Slightly changed 3.0 code too.
1372 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1374 * HttpRequestChannel.cs : use cross domain access manager.
1376 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1378 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1379 message as BodyWriter.
1380 (in GetReaderAtBodyContents) just write body contents.
1381 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1383 Add some state check in GetReaderAtBodyContents().
1384 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1386 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1388 * Message.cs : do not forget to flush.
1389 * HttpRequestChannel.cs : give more exact error info.
1391 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1393 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1394 make buffered copy in ML2 really buffered.
1396 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1398 * Message.cs : if there is no header item to write, do not write
1399 SOAP header element.
1401 2009-01-22 Alan McGovern <amcgovern@novell.com>
1403 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1404 Rewrite to avoid usage of it.
1406 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1408 * ChannelParameterCollection.cs : implement, rather than NIE.
1410 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1412 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1413 internal users to know the type of the detail.
1415 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1417 * Message.c: Use private setter for state private variable to ease debugging.
1418 Modify ToString not to change the state, as it is called quite often by VS debugger
1420 2008-04-21 Roei Erez <roeie@mainsoft.com>
1422 * HttpChannleManager: Fix for multithreaded use.
1423 * HttpReplyChannel: Fix crash during sutdown.
1425 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1427 * HttpChannleManager: ensure trailing slash in uri.
1429 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1431 * added: HttpChannleManager,
1432 * HttpChannelListener: added use of HttpChannelManager
1434 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1436 * MessageEncodingBindingElement.cs: fixed ctor
1438 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1440 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1442 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1444 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1446 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1448 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1450 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1452 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1454 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1456 * BindingElementCollection.cs: fix API - .ctor's signature.
1458 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1460 * XmlSerializerBodyWriter.cs: Removed.
1462 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1464 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1466 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1468 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1469 * TcpChannelFactory.cs, TcpChannelListener.cs :
1470 unify factory and listener into TcpChannelInfo for use in
1471 TCP channel implementation. Do not store stream in the listener.
1472 Factory now uses BinaryMessageEncoder.
1473 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1474 holds TcpClient that the listener has accepted.
1476 tcp-transport-binding-element sample now communicates (though
1477 only when both sides are mono: there seems binary mismatch).
1479 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1481 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1482 clone connection pool settings too.
1483 * NamedPipetransportBindingElement.cs,
1484 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1485 being likely implemented though).
1487 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1489 * ConnectionOrientedTransportBindingElement.cs,
1490 TcpTransportBindingElement.cs : some API updates.
1491 Initialize default values.
1492 * TcpConnectionPoolSettings.cs : new file.
1494 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1496 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1497 added support for "factory" attribute.
1499 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1501 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1503 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1505 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1507 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1509 * HttpRequestChannel.cs : create WebRequest against To message header
1511 Consider HttpRequestMessageProperty.
1512 Do not output body when suppressed or the method is GET.
1514 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1516 * HttpChannelListener.cs : BindingContext may not have listenUri
1517 at its .ctor() step.
1519 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1521 * BindingContext.cs : RemainingBindingElements is not just a dummy
1522 collection but is actually user-controlled.
1524 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1526 * TcpChannelFactory.cs, TcpChannelListener.cs,
1527 HttpChannelFactory.cs, HttpChannelListener.cs,
1528 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1529 TextMessageEncodingBindingElement.cs,
1530 BinaryMessageEncodingBindingElement.cs,
1531 MtomMessageEncodingBindingElement.cs :
1532 message encoder should be retrieved only through public API.
1533 * BindingContext.cs : so my old guess was wrong.
1535 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1537 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1539 * HttpTransportBindingElement.cs : implemented copy constructor.
1541 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1543 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1544 header when AddressingVersion is None.
1546 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1548 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1551 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1553 * OneWayBindingElementImporter.cs
1554 CompositeDuplexBindingElementImporter.cs : new files.
1556 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1558 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1559 semantic change, its bool parameter must be false, not true.
1561 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1563 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1564 new files. Msmq transport listener Implementation.
1565 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1566 (wait for System.Messaging impl.)
1567 * HttpReplyChannel.cs : added comment
1569 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1571 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1572 new files. internal stuff for msmq channel.
1573 * BinaryMessageEncoder.cs : added another .ctor().
1574 * MsmqTransportBindingElement.cs :
1575 implemented [Can]BuildChannelFactory().
1577 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1579 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1580 initialize some fields.
1582 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1584 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1585 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1586 couple of msmq stubs.
1588 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1590 * SecureMessageGenerator.cs : SecurityContextToken support (though
1591 it is still regarded as invalid by WCF).
1593 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1595 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1596 make header.Contents.Add() more strict.
1597 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1599 Added some hack to allow ssl token external mode.
1600 Commented out such lines that always premised asymmtric key.
1602 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1604 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1606 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1608 * MessageSecurityBindingSupport.cs : support check to create
1609 authenticator is now done in both initiator/recipient sides.
1610 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1612 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1614 * MessageSecurityBindingSupport.cs : for now, comment out the code
1615 that makes authenticator creation optional.
1616 * SecurityRequestContext.cs : don't decrypt message when it is
1617 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1619 * SecurityChannelListener.cs : GetProperty<T>() now returns
1620 MessageSecurityBindingSupport when requested. It is used by
1621 EndpointDispatcher to check if it supports WS-Trust negotiation.
1622 * ChannelListenerBase.cs :
1623 removed extra TODO and field. Implemented GetProperty<T>().
1624 * Message.cs : In CreateMessage() for SOAP Fault, create
1625 SimpleMessage with IsFault = true.
1627 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1629 * SecurityRequestContext.cs : try to reply fault with the inner
1630 channel when an error occurred internally.
1631 * FaultConverter.cs : implemented based on OperationContext (at normal
1632 state it does not seem to create messages, so I implemented it this
1635 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1637 * TransportBindingElement.cs : implemented GetProperty<T>().
1638 * TransactionFlowBindingElement.cs : on building factory or listener,
1639 reject channel types that cannot build.
1640 * SecurityBindingElement.cs : added some TODO comments.
1641 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1642 delegate to base, not BindingContext.
1643 * SecurityRequestContext.cs : somewhat late decryption.
1645 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1647 * MessageSecurityBindingSupport.cs,
1648 AsymmetricSecurityBindingElement.cs,
1649 SymmetricSecurityBindingElement.cs :
1650 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1651 implemented ISecurityCapabilities on them. Now those binding
1652 elements support GetProperty<ISecurityCapabilities>().
1654 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1656 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1657 will work only for predefined parameter types.
1659 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1661 * MessageSecurityBindingSupport.cs :
1662 Set proper MessageDirection to the requirement after creation.
1663 split CreateTokenAuthenticator() as MessageDirection is different.
1664 Removed extra creation of requirement.
1666 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1668 * MessageSecurityBindingSupport.cs : token authenticator is not
1669 always created on channel-opening stage.
1670 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1671 Sslnego binding factory method.
1673 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1675 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1676 signature velification failure.
1678 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1680 * SecureMessageGenerator.cs : encrypt signature confirmations only
1681 when they are required.
1683 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1685 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1686 when [Signature Protection is true i.e. when we use
1687 SignBeforeEncryptAndEncryptSignature.
1689 With this change finally samplesvc.cs/samplecli.cs became
1692 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1694 * SecureMessageDecryptor.cs : signature verification was not done
1695 for endorsing supporting tokens.
1696 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1697 in the security header. Don't output empty ReferenceList.
1699 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1701 * SecureMessageGenerator.cs : signingToken was added before being
1702 initialized and thus caused NRE.
1704 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1706 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1707 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1708 don't need workaround for symmetric key restoration.
1710 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1712 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1713 SecureMessageGenerator.cs :
1714 Avoid extra reference search from the request's ReferenceList.
1715 create HMACSHA1 always with the key to compute hash (I'm not sure
1716 it is correct; it is rather to adjust all hash consistent.)
1718 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1720 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1721 actually endorsed the primary signature.
1722 * SecureMessageGenerator.cs : implemented endorsing of the primary
1723 signature. So, now supporting tokens are fully implemented.
1725 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1727 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1728 totally signing tokens.
1729 * SecureMessageGenerator.cs : Endorsing tokens should also be
1730 included in the message. They are just not signed.
1732 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1734 * SecureMessageGenerator.cs : support signing and encryption of
1735 supporting tokens. Some required refactory to do it.
1736 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1738 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1740 * SecureMessageDecryptor.cs : fix exception message.
1741 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1742 XmlNamespaceManager is not required for GetIdElement().
1744 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1746 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1747 moved decryption part from former file to latter file, to reuse
1748 SignedXml instance (though now I doubt how it actually was good)
1749 which in turn required to replace EncryptedData in
1750 WSSecurityMessageHeader with decrypted one.
1751 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1753 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1755 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1756 EncryptedData should contain KeyInfo as it is not obvious which key
1757 is used there. .net<->mono DerivedKeyToken introp is done.
1758 * SecureMessageDecryptor.cs : check derived key requirement.
1759 Reduce dom-dependent parts.
1761 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1763 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1764 the related DerivedKeyToken (if any).
1765 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1766 support. Some refactoring to distinguish deried-token-related
1768 * SecureMessageDecryptor.cs : removed its own support for derived
1769 key tokens. Now it fully works with DerivedKeySecurityToken.
1771 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1773 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1774 SecureMessageDecryptor.cs :
1775 Implemented increment token reading in o:Security, as
1776 DerivedKeyToken could reference to existing wrapped key.
1777 Removed WsscDerivedKeyToken and all relevant code.
1778 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1779 DerivedKeySecurityToken.
1781 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1783 * SecureMessageGenerator.cs : it was setting security tokens into
1784 incorrect SecurityMessageProperty.
1785 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1786 Now it uses SecurityRequestContext instead of just primary key.
1787 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1788 to symmetric reply decryption, which is the only trouble case.
1789 Do not create another SignedXml.
1790 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1792 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1794 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1795 the resolver works with in-progress token reading in o:Security.
1796 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1797 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1798 * SecureMessageGenerator.cs : cosmetic refactoring.
1800 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1802 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1803 instead of EncryptedKey.
1805 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1807 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1808 should not be always prepared at channel Open(). It also caused
1809 that extra token requirements.
1810 * SecureMessageGenerator.cs : use correct key clause for encryption.
1811 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1813 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1815 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1816 for supporting 'supporting tokens' .
1817 * SecureMessageGenerator.cs : Supporting token creation is done only
1818 at initiator (not sure if it is supposed that, but for now it is).
1819 Removed extraneous CollectSupportingTokens().
1820 * SecureMessageDecryptor.cs : implemented supporting token
1821 authentication (partly). "Signed" supporting tokens are expected
1824 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1826 * SecureMessageGenerator.cs :
1827 make SignBeforeEncryptAndEncryptSignature working.
1829 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1831 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1832 the key itself. ProtectionToken is WrappedKey.
1833 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1834 not EncryptedKeyIdentifierClause which is not for embedded key.
1835 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1837 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1839 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1840 to switch asymmetric and symmetric. Not used yet.
1841 * SecurityRequestChannel.cs : now it pass the request security
1842 property to reply receiver so that it could use the primary key
1843 used at request phase.
1844 * SecurityRequestContext.cs : now it pass the context itself to
1845 reply sender so that it could embed related MessageID.
1846 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1847 binding element. Add RelatesTo output and remove MessageID when
1848 replying to the sender. Added some hacks to get symmetric binding
1850 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1851 in SecurityTokenReference (it also involved existing encrypted key
1852 retrieval). In reply receiver, reuse the key that was used at
1853 request phase. It needs significant token resolution refactoring.
1855 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1857 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1858 * SecureMessageDecryptor.cs : store token and its authentication
1859 policies into the security property, and reuse it on reply.
1860 Some code refactoring; there is at most one o:Security to solve at
1861 one endpoint (depends on Actor). Some attempt to use correct
1862 token parameters (but for now I have only samples that use x509).
1863 * SecureMessageGenerator.cs : For replying message, use initiator's
1864 signing token as the encryption token. Simply reuse security
1865 property from the input message.
1867 I have some nasty workaround at decryptor for initiator that could
1868 not retrieve decryption key.
1870 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1872 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1873 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1874 several refactoring on token acquisition. Large part of
1875 MessageSecurityBindingSupport code is unified.
1877 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1879 * MessageProperties.cs : Security property should be one of the items.
1880 Actually many other properties should be similar as well.
1881 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1882 when copying a message, copy properties as well.
1883 * SecurityRequestContext.cs : on replying, pass input
1884 SecurityMessageProperty to the security generator.
1885 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1887 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1889 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1892 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1893 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
1894 use new WSSignedXml instead of SignedXml, and remove coexisting
1895 Id and wsu:Id. Now we can live only with wsu:Id and therefore
1896 - our reply messages could be consumed by .NET, and
1897 - .NET signature could be verified.
1899 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1901 * SecureMessageDecryptor.cs : The signing key must be passed as
1902 CheckSignature() argument, not SigningKey.
1904 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1906 * MessageImpl.cs : don't read attribute after ReadStartElement().
1908 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1910 * MessageSecurityBindingSupport.cs : some Release() refactoring.
1911 * SecureMessageGenerator.cs : use correct signing key clause for
1912 SecurityTokenReferenceKeyInfo to be serialized.
1913 * SecureMessageDecryptor.cs : now it can try to parse signature.
1915 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1917 Ongoing changes to support signature confirmation
1918 * SecureMessageGenerator.cs :
1919 Don't output ReplyTo onto reply message.
1920 Write SignatureConfirmation if needed.
1921 * SecureMessageDecryptor.cs :
1922 Some refactoring for header cunsumption. Added commented-out
1923 signature verification part (not working yet, on client side due
1924 to incorrect reply from service and insufficient clause reader).
1925 * WSSecurityMessageHeader.cs :
1926 Added SignatureConfirmation support.
1927 KeyInfoClause for o:SecurityTokenReference should be replaced with
1928 SecurityTokenReferenceKeyInfo.
1930 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1932 * SecureMessageGenerator.cs : support Timestamp signature.
1933 Removed unused code, and extra argument in CreateReference().
1934 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
1936 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1938 * SecureMessageGenerator.cs :
1939 Several fixes to make asymmetric binding working:
1940 - Differentiate signing and encryption token in several areas.
1941 - Fixed signing keyinfo.
1943 Added initial SecurityMessageProperty handling, not sure if it is
1944 appropriate here though.
1945 * HttpRequestChannel.cs : (some debugging lines)
1947 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1949 Woohoo! Here is a very basic WS-Security compliant message which could
1950 be allowed by Indigo.
1951 * MessageHeader.cs : added Id support for writing.
1952 * Message.cs : added internal BodyId for signature reference.
1953 * MessageImpl.cs : write Body Id if required.
1954 * SecureMessageGenerator.cs : Before signing, the target elements must
1955 be given wsu:Id. Since I still use System.Security.dll, I need some
1956 trick for signing (I give both Id and wsu:Id, former to sign and
1957 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
1958 implementation later. Now singning mechanism works except for
1959 wsu:Timestamp (which is kind of mandatory).
1961 I can's still consume replies from Indigo but it's a big progress :)
1963 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1965 * MessageHeaderInfo.cs : added internal Id.
1966 * MessageHeader.cs : read and write wsu:Id.
1967 * Message.cs : output wsu namespace if Id exists in any header.
1968 * HttpReplyChannel.cs : (some debugging lines.)
1969 * SecureMessageDecryptor.cs : (remove debugging lines.)
1970 * MessageImpl.cs : removed obsolete code.
1971 * WSSecurityMessageHeader.cs : output "o" prefix.
1972 * SecureMessageGenerator.cs : replaced XmlElement-based header
1973 signing with MessageHeader-based signing, to support Id correctly.
1975 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
1977 * SecureMessageGenerator.cs : some more refactoring and code comments.
1978 * MessageSecurityUtility.cs : made decryptor into an instance class,
1979 like I've done for SecureMessageGenerator.
1980 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
1981 dependent changes for above.
1983 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1985 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
1986 causing NRE due to the lack of token reference.
1987 No need to pass doc to SignedXml.ctor() anymore.
1988 Moved ReferenceList before the signature(s).
1990 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1992 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
1993 Moved signing key generation code to non-HMACSHA1 signing part.
1994 Don't try to sign wss:Security.
1995 Pass document itself to SignedXml.ctor().
1996 Use temporary DataObjects to avoid adding Ids (not sure what is the
1997 expected processing yet).
1998 * WSSecurityMessageHeader.cs : to support timestamp signing, add
1999 WriteTo() method in WsuTimestamp.
2001 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2003 * SecureMessageGenerator.cs : wrong key was used for signing.
2004 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2006 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2008 * SecureMessageGenerator.cs :
2009 Now ID generation process does not modify input message.
2010 Moved derived key generation part into (virtual) signing loop.
2011 MessagePartSpecification support for signing is done.
2013 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2015 * SecureMessageGenerator.cs : some reordering to handle signing and
2016 encryption with supporting tokens. Fixed XPath query bug for
2017 soap header contents (we want s:Header/*, not s:Header).
2019 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2021 * MessageSecurityBindingSupport.cs : more refactoring.
2022 Made it abstract and added Initiator- and Recipient- classes.
2023 Several members were moved to those derived types.
2024 * AsymmetricSecurityBindingElement.cs,
2025 SymmetricSecurityBindingElement.cs
2026 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2027 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2028 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2029 All dependent changes by above. Removed ISecurityChannelSource
2030 which became useless.
2032 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2034 * SecureMessageGenerator.cs : encryption parts should exist too.
2035 * AsymmetricSecurityBindingElement.cs
2036 SymmetricSecurityBindingElement.cs,
2037 MessageSecurityBindingSupport.cs : some refactoring.
2038 Split MessageSecurityBindingSupport into security binding element
2039 specific parts and made MessageSecurityBindingSupport concrete.
2040 It is likely split again, next time based on initiator/recipient.
2042 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2044 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2045 split encryptor part in the former file into latter file, and
2047 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2048 SecurityRequestContext.cs : apply the change above.
2050 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2052 * MessageSecurityBindingSupport.cs :
2053 Fixed incorrect TrgGetValue() use.
2054 Added CollectRecipientSupportingTokens().
2056 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2058 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2059 EncryptedKey. So, when a key itself is used to encrypt data,
2060 ReferenceList is contained by itself.
2061 * MessageSecurityBindingSupport.cs :
2062 added CollectInitiatorSupportingTokens().
2064 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2066 * MessageSecurityUtility.cs: it should support ReferenceList-less
2069 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2071 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2072 * MessageSecurityUtility.cs : there already was uuid.
2074 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2076 * MessageSecurityUtility.cs : replaced EncryptedKey with
2077 WrappedKeySecurityToken, which seems to be in actual use in .net.
2078 * WSSecurityMessageHeader.cs : added internal Guid so that it
2079 could be shared between header items.
2081 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2083 * HttpRequestContext.cs, TextMessageEncoder.cs :
2084 some null arg check.
2086 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2088 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2089 for SecurityTokenReference resolution.
2091 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2093 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2094 consider DerivedKeyTokens correctly.
2095 When creating LocalId, don't add '#' here.
2097 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2099 * MessageSecurityUtility.cs :
2100 handle key mapping for each wsse:Security.
2102 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2104 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2106 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2108 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2110 * MessageSecurityUtility.cs :
2111 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2112 suggests, and it is used to dereference decryption targets.
2113 Now it premises multiple wsse:Security elements to read.
2115 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2117 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2118 manually (and actually the namespace URI was wrong).
2120 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2122 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2124 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2126 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2128 * SecurityBindingElement.cs,
2129 SymmetricSecurityBindingElement.cs,
2130 AsymmetricSecurityBindingElement.cs :
2131 implemented SetKeyDerivation().
2133 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2135 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2138 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2140 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2143 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2145 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2146 thus move it in front of encryption/signing.
2148 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2150 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2151 check state by themselves (btw it's not really working).
2152 * HttpChannelListener.cs : If the url does not end with '/' add it
2153 so that it could be fed to HttpListener.
2155 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2157 * HttpChannelFactory.cs : check scheme on CreateChannel.
2158 * MessageHeader.cs : finish IsMessageVersionSupported().
2160 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2162 * FaultConverter.cs : new file, not used yet though.
2164 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2166 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2168 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2170 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2171 GET as well as HttpReplyChannel, configuration would be ready now.
2173 2006-10-18 Ankit Jain <jankit@novell.com>
2175 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2176 EnvelopeVersion.Soap12 and 'text/xml' for others.
2177 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2179 Strip '?' from the query string.
2181 2006-10-13 Ankit Jain <jankit@novell.com>
2183 * MessageVersion.cs (None): Set AddressingVersion.None
2185 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2187 * SvcHttpHandler.cs : added config-based endpoint addition code.
2188 Though due to some weird bug in mono-core it does not seem to work,
2189 so commented out for now.
2190 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2191 mex request message might just be wrong.
2192 Use expected MessageVersion by the channel.
2193 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2195 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2197 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2198 which differs depending on whether it is asymmetric or symmetric.
2199 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2200 simplify SecureMessage() and DecryptMessage() arguments (just
2201 take MessageSecurityBindingSupport instead of several parameters).
2202 * MessageSecurityUtility.cs :
2203 - simplify SecureMessage() and DecryptMessage() arguments (just
2204 take MessageSecurityBindingSupport instead of several parameters).
2205 - Take token inclusion mode into account. Don't include them when
2206 it is not expected. Also, change the token reference style.
2207 - add wsa:MessageID to the headers.
2208 - For hmac-sha1 signing (default for symmetric binding), use
2209 symmetric key created for encryption as well to create HMACSHA1.
2210 - add Id to wsu:Timestamp.
2211 - start to handle SecurityMessageProperty.
2212 * WSSecurityMessageHeader.cs :
2213 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2214 Changed date format.
2216 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2218 * CommunicationObject.cs : reject faulted state on Open()/Close().
2219 * MessageHeaders.cs : removed extra fields.
2221 2006-10-06 Ankit Jain <jankit@novell.com>
2223 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2225 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2227 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2228 added some FIXMEs and additional arg.
2230 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2232 * MessageSecurityUtility.cs : remove duplicate Action header.
2234 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2236 * MessageFault.cs : partly implemented CreateFault(Message, int).
2237 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2238 handle IsFault correctly in each implementation.
2240 2006-10-04 Ankit Jain <jankit@novell.com>
2242 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2244 2006-10-04 Ankit Jain <jankit@novell.com>
2246 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2247 in WebConnectionStream.
2249 2006-10-04 Ankit Jain <jankit@novell.com>
2251 * MessageHeaders.cs (To): Use GetHeader<string> till
2252 DataContractSerializer gets ISerializable support.
2253 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2255 2006-10-04 Ankit Jain <jankit@novell.com>
2257 * ServiceHostParser.cs (Parse):
2258 (Split): Add some error checks.
2260 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2262 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2263 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2264 * SslStreamSecurityUpgradeProvider.cs,
2265 SslStreamSecurityUpgradeAcceptor.cs :
2266 new files for Ssl upgrade provider implementation.
2267 * MessageSecurityUtility.cs :
2268 Create proper C14NTransform. Don't use enveloped signature
2269 transform but sign every significant bits. On securing messages
2270 use ChannelProtectionRequirements.
2271 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2273 * MessageEncoder.cs : fix API (missing constraint).
2274 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2275 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2276 * AsymmetricSecurityBindingElement.cs : default protection order is
2277 SignBeforeEncryptAndEncryptSignature.
2279 2006-09-29 Ankit Jain <jankit@novell.com>
2281 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2282 ServicHostParser and use that here.
2283 (PrivateBinPath): New.
2284 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2285 (RemovedCallback): Remove and close the SvcHttpHandler when its
2286 corresponding file (.svc) changes.
2287 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2289 * ServiceHostParser.cs : New.
2290 * CachingCompiler.cs : New. Code extracted from
2291 System.Web.Compilation.CachingCompiler
2292 * CompilationException.cs : New. From System.Web.Compilation
2293 * HtmlizedException.cs : New. Likewise.
2295 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2297 * MessageSecurityBindingSupport.cs : For client side, it is always
2298 InitiatorServiceModelSecurityTokenRequirement which should be
2299 created. Fixed wrong client encryption key acquisition.
2301 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2303 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2304 MessageSecurityBindingSupport.cs : made similar changes as factories
2305 to listener so that session channels and input channels would work.
2306 Added authenticator creation.
2308 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2310 * Binding.cs : added missing members.
2312 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2314 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2315 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2316 reduce code duplication between request and output channels.
2317 The common parts are now in MessageSecurityBindingSupport.
2318 Now reduced several arguments in SecureMessage() for client.
2320 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2322 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2324 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2326 * AsymmetricSecurityBindingElement.cs,
2327 SecurityChannelListener.cs,
2328 SecurityRequestContext.cs,
2329 SymmetricSecurityBindingElement.cs,
2330 SecurityRequestChannel.cs,
2331 SecurityOutputChannel.cs,
2332 SecurityChannelFactory.cs,
2333 MessageSecurityBindingSupport.cs : 1) Refactoring.
2334 IMessageSecurityBindingSupport now becomes a class and contains
2335 all the members which resided in ISecurityChannelSource.
2336 Now it takes more constructor params.
2337 Made dependent changes on all sources above.
2339 2) Added SecurityTokenAuthenticator creation in
2340 SecurityRequestChannel (SecurityOutputChannel should do the same).
2342 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2344 * SecurityRequestChannel.cs : ongoing improvements on conditional
2345 key creation. Actually there must be some part that creates an
2346 authenticator (WinFX does that).
2348 2006-09-27 Ankit Jain <jankit@novell.com>
2350 Add suport for handling .svc files.
2351 * SvcHttpHandlerFactory.cs: New.
2352 * SvcHttpHandler.cs: New.
2354 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2355 asp.net environment.
2356 (OnOpen): Do nothing in asp.net environment.
2357 (OnClose): Likewise.
2358 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2359 * HttpRequestContext.cs: .. here.
2361 * AspNetReplyChannel.cs: New.
2362 * AspNetRequestContext.cs: New.
2364 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2366 * MessageSecurityUtility.cs :
2367 Significantly rewritten decryption parts to respect ReferenceList
2368 to decrypt (so no workaround anymore).
2369 Now e:ReferenceList inside o:Security is treated as the referenced
2370 EncryptedType items are encrypted by 1) the derived key which is
2371 immediately in front of it, or 2) the default key (it is according
2372 to WS-SecureConversation section 9.1). Thus removed immediately
2373 previous hack to auto-fill wsu:Id attributes.
2375 On securing a message, generate correct Id and add DataReference
2376 to ReferenceList properly.
2378 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2380 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2383 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2385 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2386 Actually WSSecurityTokenSerializer should be able to consume it, but after
2387 spending a lot of time I still cannot successfully read it on WinFX.
2388 Skip ReferenceList for now.
2389 * MessageSecurityUtility.cs :
2390 Replaced some string literals with constants.
2391 Added some workaround for DerivedKeyToken retrieval.
2392 WinFX somehow sends incomplete ISO10126 padding which contains
2393 bigger number than the key size and is rejected by EncryptedXml,
2394 so added DecryptLax() which processes such ones in PaddingMode.None
2395 to workaround it (only for cross-connection between mono and winfx).
2396 Added some incomplete implicit wsu:Id processing.
2397 Don't try to replace SignedXml with EncryptedData. It is not added
2398 to the document tree.
2400 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2402 * MessageSecurityUtility.cs : support message signature encryption. Some
2405 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2407 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2409 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2411 * MessageSecurityUtility.cs : fix warnings.
2413 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2415 * MessageSecurityUtility.cs : actually there would be more than one
2416 EncryptedData. Decrypt all.
2418 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2420 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2421 Use ISO10126 padding mode (it is not required but in manner).
2423 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2425 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2426 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2427 that class to make it work fine with mono client).
2428 Removed buggy lines that reset decryption key to AES.
2429 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2430 * WSSecurityMessageHeader.cs :
2431 (SecurityTokenReferenceKeyInfo) support LoadXml.
2433 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2435 * TransactionMessageProperty.cs : new file.
2437 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2439 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2440 gmcs happened to report wrong code.
2442 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2444 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2445 .ctor() now requires ChannelProtectionRequirements which will be
2446 supplied via BindingParameterCollection.
2447 * SymmetricSecurityBindingElement.cs,
2448 AsymmetricSecurityBindingElement.cs : thus add
2449 ChannelProtectionRequirement parameter to factory/listener.
2450 * SecurityRequestChannel.cs : use recipient token requirement to
2451 create an encryption token. Thus differentiate the logic from
2452 signing (initiator) token.
2454 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2456 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2457 renamed former to latter.
2458 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2461 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2463 * MessageSecurityBindingSupport.cs : new internal types to commonize
2464 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2465 and thus make internal factory and listener reusable.
2466 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2467 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2468 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2469 SymmetricSecurityBindingElement, using the new types above.
2470 * SymmetricSecurityBindingElement.cs :
2471 Use SymmetricMessageSecurityBindingSupport.
2472 * AsymmetricSecurityBindingElement.cs :
2473 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2475 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2477 * ChannelFactoryBase.cs : more RC1 update.
2479 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2481 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2482 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2483 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2484 ChannelBase.cs : RC1 API updates.
2485 * MessageImpl.cs : implemented Properties.
2486 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2488 2006-09-18 Ankit Jain <jankit@novell.com>
2490 * MessageHeaders.cs (MessageId):
2491 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2493 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2495 * ChannelParameterCollection.cs : new file.
2496 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2497 new files for IOutputChannel implementation.
2498 * OneWayBindingElement.cs : hacky implementation.
2499 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2500 * MessageSecurityUtility.cs : now create identifier from the security
2501 token and the token parameters which is added as an argument.
2502 * SecurityRequestContext.cs,
2503 SecurityRequestChannel.cs : SecureMessage() argument changes.
2504 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2507 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2509 * HttpRequestChannel.cs : close the HttpWebRequest.
2511 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2513 * HttpRequestChannel.cs,
2514 HttpChannelFactory.cs : implement async request/reply.
2515 * HttpChannelFactory.cs :
2516 verify factory state when creating a channel.
2518 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2520 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2521 BinaryMessageEncoder.cs : added message version mismatch check.
2523 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2525 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2526 Making incomplete changes to handle different tokens for encryption
2528 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2529 split channel implementation classes out to the latter file.
2530 * MessageSecurityUtility.cs : seems like there is
2531 TimeStampValidityDuration property, so use it (incomplete; a server
2532 needs another love).
2534 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2536 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2537 SecurityRequestContext.cs : now that we have key identifier clause
2538 and working ResolveKeyIdentifierClause(), just create keys inside
2539 SecureMessage(). Add KeyInfo to the xmldsig.
2541 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2543 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2544 pass SecurityKeyIdentifierClause to SecureMessage().
2545 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2546 for IssuedToken binding element.
2547 * SymmetricSecurityChannelListener.cs : removed hack to just create
2548 X509 security token, and implemented correct token creation.
2549 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2550 wraps SecurityTokenReference element.
2551 * MessageSecurityUtility.cs : use the above.
2553 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2555 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2556 could not find a security header.
2557 * SymmetricSecurityChannelFactory.cs : now it also supports
2558 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2561 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2563 * SecurityRequestContext.cs : moved securing message part to
2564 MessageSecurityUtility.cs.
2565 * MessageSecurityUtility.cs : the change above.
2566 use DateTime.Now for timestamp basis. Don't append signature to
2567 the document. Instead it is added to the header. Capture body
2568 content instead of the body itself.
2569 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2570 be processed by upper layers.
2572 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2574 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2575 SymmetricSecurityChannelListener.cs,
2576 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2577 more refactoring. Request serialization became much more conformant
2578 and add required header items.
2579 Security Token retrieval is needed to send it in the request.
2580 Fixed wrong key encryption.
2582 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2584 * SecurityRequestContext.cs : the workaround was not functional.
2586 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2588 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2589 API, especially ReplaceData(), instead of native crypto stuff.
2590 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2591 MessageProtectionOrder.SignBeforeEncrypt).
2593 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2595 * SecurityRequestContext.cs : label should be combined of both
2596 the client's and the server's.
2598 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2600 * SecurityRequestContext.cs : enable key derivation (though for now
2601 GenerateDerivedKey() is unimplemented). Create meaningful,
2602 decrypted request message to be consumed by the upper layer.
2604 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2606 * SecurityRequestContext.cs : implement Close() and Reply().
2607 ongoing implementation of Reply(TimeSpan).
2608 * MessageSecurityUtility.cs : new file to collect utility methods.
2609 * SymmetricSecurityChannelFactory.cs : moved securing message code
2611 * SymmetricSecurityChannelListener.cs : tiny renaming.
2613 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2615 * SecurityRequestContext.cs : security header is also stored.
2617 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2620 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2622 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2625 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2627 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2628 so that it retrieves the security key in that manner.
2630 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2632 * Binding.cs : MessageVersion is null when there is no
2633 MessageEncodingBindingElement.
2634 * Message.cs : null arg check.
2636 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2638 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2640 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2642 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2643 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2644 LayeredRequestChannel.cs : some refactoring.
2645 * SymmetricSecurityChannelFactory.cs :
2646 ongoing secure message creation implementation.
2648 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2650 * SymmetricSecurityBindingElement.cs :
2651 pass specific ServiceCredentialsSecurityTokenManager type to
2652 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2653 * SymmetricSecurityChannelListener.cs :
2654 get service certificate. It's a temporary hack.
2655 Move RequestContext code to below.
2656 * SecurityRequestContext.cs : new file.
2657 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2658 it I have to finish decryption of the incoming message.
2660 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2662 * MessageImpl.cs : don't write attributes on the first body content
2663 element *on soap Body element*.
2664 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2665 ObjectDisposedException is appropriate.
2666 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2667 in OnWriteHeader*Contents*().
2669 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2671 * WSSecurityMessageHeader.cs : new file.
2672 * SymmetricSecurityChannelFactory.cs :
2673 moved WSSecurityHeader and related types to the above.
2674 * SymmetricSecurityChannelListener.cs :
2675 reject SOAP-env-less message.
2677 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2679 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2680 renamed former to latter.
2681 * SymmetricSecurityChannelFactory.cs :
2682 create requirements every time. It is also likely that I need
2683 another requirement instance to get service credentials here.
2685 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2687 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2688 similar to BuildChannelFactory() (set credentials, issuer binding
2690 * SecurityChannelListener.cs :
2691 more ongoing security support implementation.
2692 * SymmetricSecurityChannelFactory.cs :
2693 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2695 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2697 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2698 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2699 Implementation is underway.
2700 * LayeredReplyChannel.cs :
2701 like LayeredRequestChannel, use ChannelListenerBase to provide
2704 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2706 * MessageHeader.cs : added another implementation type that uses
2707 XmlElement, for buffering purpose.
2708 * MessageImpl.cs : Header item types are user-driven by
2709 MessageHeader.GetHeader<T>(int), so at storing phase just store
2710 nodes as XmlElement.
2711 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2714 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2716 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2717 BindingParameterCollection, not from binding element properties.
2719 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2721 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2722 renamed former to latter.
2724 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2726 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2727 work for SslSecurityTokenParameters.
2729 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2731 * SecurityBindingElement.cs :
2732 Added SetIssuerBindingContextIfRequired().
2733 * SecurityChannelFactory.cs :
2734 Changed .ctor() arg again, just to receive binding element.
2735 * SymmetricSecurityBindingElement.cs :
2736 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2737 SymmetricSecurityChannelFactory .ctor() arg changes.
2738 "ProtectionTokenParameters" is not passed now.
2740 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2742 * SymmetricSecurityBindingElement.cs : requirements should be
2743 filled at InitializeSecurityTokenParameters as long as possible.
2744 SymmetricSecurityChannelFactory<T> now does not receive
2745 requirements (it now creates one inside it) at .ctor().
2746 * SecurityChannelFactory.cs : remove requirement argument.
2748 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2750 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2752 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2754 * SymmetricSecurityBindingElement.cs :
2755 MessageSecurityVersion property is of type SecurityTokenVersion.
2756 * SecurityBindingElement.cs :
2757 Implemented CreateSecureConversationBindingElement().
2758 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2759 the argument IssuedSecurityTokenParameters itself.
2761 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2763 * SymmetricSecurityBindingElement.cs :
2764 CreateSecurityTokenManager() can be directly used now.
2765 Use CallInitializeSecurityTokenRequirement() to fill requirement
2768 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2770 * ChannelFactoryBase.cs : GetProperty() is virtual.
2772 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2774 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2775 create token manager, token parameters and token requirements,
2776 and fill some requirements.
2777 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2778 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2779 * BindingContext.cs : implemented RemainingBindingElements.
2780 kill "no remaining binding element" error in GetInnerProperty()
2781 * SecurityChannelFactory.cs : now it became
2782 SymmetricSecurityChannelFactory, thus soon to be renamed.
2783 Several ongoing actual security resolution is on.
2785 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2787 * CommunicationObject.cs :
2788 add GetCommunicationObjectType() and use it.
2789 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2790 use ThrowIfDisposedOrNotOpen().
2791 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2792 to CommunicationObject. Make it IDisposable.
2793 * LayeredRequestChannel.cs : use above.
2794 * SecurityChannelFactory.cs : removed state check as it is done at
2797 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2799 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2800 CanBuildChannelListener) directly dispatch to BindingContext.
2801 * SymmetricSecurityBindingElement.cs : require protection token
2802 parameters before building a channel or a listener.
2803 * ChannelFactoryBase.cs : raise an error when a channel is being
2804 created without opening the factory.
2805 * ChannelListenerBase_1.cs : ditto for the listener.
2806 * SecurityChannelFactory.cs : before sending a request, it must be
2809 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2811 * MessageBufferImpl.cs : initialize fields.
2812 workaround BufferSize just to return 0.
2813 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2814 which does not support multi time write.
2815 * Message.cs : implemented State.
2817 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2819 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2820 is consuming XmlReader.
2821 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2822 * MessageBuffer.cs : implemented CreateNavigator().
2823 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2825 I kinda know that MS heavily depends on binary XmlReader and may have
2826 XPathNavigator implementation based on the binary stuff, but at
2827 least for now we have almost no motivation to mimick it.
2829 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2831 * SecurityChannelFactory.cs : a bit more of security header code.
2833 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2835 * SymmetricSecurityBindingElement.cs :
2836 set default MessageProtectionOrder in every construction.
2838 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2840 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2841 changed to require ChannelFactoryBase to support default timeout.
2842 Made some methods non-virtual. Preparing code to add security
2843 headers (empty yet).
2844 * SecurityBindingElement.cs : implemented several factory methods
2845 that return SymmetricSecurityBindingElement.
2847 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2849 * IStreamUpgradeBindingElement.cs,
2850 StreamUpgradeBindingElement.cs : renamed from former to latter.
2852 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2854 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2856 2006-07-31 Ankit Jain <jankit@novell.com>
2858 * MessageHeaders.cs (From): Use Constants.WSA1
2859 (MessageId): Implement the same pattern as other properties (From etc).
2861 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2863 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2864 * SecurityBindingElement.cs : some cosmetic changes.
2866 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2868 * SecurityBindingElement.cs : LocalClientSettings and
2869 LocalServiceSettings returns an instance for each.
2870 * LocalClientSecuritySettings.cs : initialized fields.
2872 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2874 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2875 kinda implemented Clone() just with MemberwiseClone().
2877 2006-07-27 Ankit Jain <jankit@novell.com>
2879 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2880 * MessageHeader.cs (knownTypes): New. Known type array containing
2882 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2884 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2886 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2887 LayeredCommunicationObject.cs,
2888 SecurityChannelFactory.cs, SecurityChannelListener.cs :
2889 new files to support security channels, though right now they
2890 just pass inner channels through.
2891 * SymmetricSecurityBindingElement.cs : use above.
2893 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2895 * AsymmetricSecurityBindingElement.cs,
2896 SymmetricSecurityBindingElement.cs :
2897 Default SecurityTokenParameters is null.
2899 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2901 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
2903 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2905 * Message.cs : When EnvelopeVersion is None, don't write SOAP
2907 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
2908 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
2909 headers. When AddressingVersion is None, don't output addressing
2910 headers as well, except for Action which is still needed by
2913 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2915 * MessageHeaders.cs : changed specific properties to find it from
2916 headers as Action property does (local variables won't be set by
2917 setter). Cache serializers. Check null serializer arguments.
2918 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
2920 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
2922 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
2923 use XmlObjectSerializer (since it is not data contract type).
2925 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2927 * MessageImpl.cs : Improved ReadHeaders().
2928 For certain header items, use EndpointAddress.ReadFrom().
2930 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2932 * AsymmetricSecurityBindingElement.cs :
2933 it is not ISecurityCapabilities anymore.
2935 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2937 * MessageVersion.cs : added None.
2939 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
2941 * Message.cs : GetReaderAtBodyContents() implementation using
2944 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
2946 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
2947 used MessageVersion.Default.
2949 2006-07-12 Duncan Mak <duncan@novell.com>
2951 * MessageBuffer.cs (MessageContentType): Return
2952 "application/soap+msbin1".
2954 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
2955 (SimpleMessage.OnCreateBufferedCopy):
2956 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
2957 MessageBuffer implementations.
2959 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
2960 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
2961 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
2963 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
2965 * MessageImpl.cs : Action should be added in request messages. Omit
2966 it only in reply message, thus moved to dispatcher logic.
2968 2006-07-12 Ankit Jain <jankit@novell.com>
2970 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
2971 bug in WebConnectionStream.
2972 * MessageHeaders.cs (MessageHeaders.From):
2973 (MessageHeaders.ReplyTo):
2974 (MessageHeaders.To): Add the corresponding MessageHeader on set.
2976 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
2978 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
2979 add SOAP Action to the response at any time.
2981 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
2983 * SymmetricSecurityBindingElement.cs,
2984 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
2985 Implemented .ctor() and some properties.
2987 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
2989 * TransactionFlowBindingElement.cs : new file.
2990 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
2992 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
2995 DefaultAction vanished. CreateFault() now takes bufferSize arg.
2996 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
2997 * AddressingVersion.cs : added None. Equals() and GetHashCode()
2998 vanished (there is anyways no way to instantiate this type).
2999 * MessageVersion.cs : added Soap11 and Soap12.
3000 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3001 in June CTP. goodie.
3003 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3005 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3006 removed some vanished CreateMessage() overloads.
3008 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3010 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3011 HttpTransportBindingElement.cs :
3012 They are not ISecurityCapabilities anymore.
3013 Modified code to match June CTP behavior.
3015 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3017 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3019 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3021 * EmptyFaultException.cs : removed unused code.
3022 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3024 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3026 * LayeredChannelFactory.cs : removed obsolete class.
3027 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3028 ChannelListenerBase.cs, HttpChannelListener.cs,
3029 HttpReplyChannel.cs, ChannelManagerBase.cs :
3030 all those changes were brought by ChannelManagerBase changes.
3032 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3034 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3035 CommunicationObject.cs, HttpChannelListener.cs,
3036 ChannelFactoryBase.cs :
3037 CommunicationObject abstract changes brought this madness.
3039 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3041 * BindingContext.cs : listenUri address parameters could be null in
3044 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3046 * IRequestContext.cs :
3047 Now it became a class. File renaming will follow soon.
3048 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3049 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3050 IOutputChannel.cs, IOutputSessionChannel.cs,
3051 IRequestChannel.cs, IRequestSessionChannel.cs :
3052 They are not IDisposable anymore.
3053 For IReplyChannel, IRequestContext -> RequestContext.
3054 * IChannelListener.cs : removed Identity. Added GetProperty().
3055 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3056 ReplyChannelBase.cs, HttpReplyChannel.cs :
3057 Several members disappeared, and dependent changes.
3058 * HttpTransportBindingElement.cs,
3059 HttpChannelListener.cs, :
3060 ChannelListenerBase.SharedChannelListener vanished.
3062 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3064 * MessageEncodingBindingElement.cs
3065 MtomMessageEncodingBindingElement.cs,
3066 TextMessageEncodingBindingElement.cs,
3067 BinaryMessageEncodingBindingElement.cs :
3068 June CTP updates: AddressingVersion -> MessageVersion.
3069 * Binding.cs : June CTP. MessageVersion is added.
3070 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3071 ChannelListenerBase_1.cs,
3072 ChannelListenerBase.cs, IChannelListener.cs,
3074 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3075 June CTP. Several interface changes.
3076 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3077 * IChannelManager.cs, LayeredChannelListener.cs,
3078 GenericWrapperChannelFactory.cs,
3079 GenericWrapperChannelListener.cs : They are not used anymore.
3081 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3083 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3084 sync fix with June CTP API updates.
3086 2006-07-03 Ankit Jain <jankit@novell.com>
3088 * MessageEncodingBindingElementConverter.cs:
3089 * StandardBindingConverter.cs:
3090 * TransportBindingElementConverter.cs:
3091 * TransactionFlowBindingElementConverter.cs:
3092 * ReliableSessionBindingElementConverter.cs:
3093 * SecurityBindingElementConverter.cs:
3094 Rename *Converter.cs to *Importer.cs
3096 * TransferMode.cs: Move to System.ServiceModel
3098 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3100 * CommunicationObject.cs : make sure to change State before
3101 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3103 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3105 * Message.cs : output WSAddressing xmlns only when Action is
3106 specified (To should be affected, but seems like it is ignored).
3108 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3110 * MessageImpl.cs : don't set Action when it is null.
3112 2006-06-12 Ankit Jain <jankit@novell.com>
3114 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3116 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3118 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3119 some updated API fixes.
3121 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3123 * EnvelopeVersion.cs : moved back to S.SM.
3125 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3127 * IBindingManualAddressing.cs : vanished in beta2.
3128 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3129 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3131 * SecurityBindingElement.cs :
3132 SecurityStandardsManager -> SecurityTokenSerializer.
3134 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3136 * XmlSerializerBodyWriter.cs : new file to handle
3137 TypedMessageConverter.ToMessage().
3139 2006-04-26 Ankit Jain <jankit@novell.com>
3141 * TransportBindingElementConverter.cs (BeforeImport): Remove
3142 NotImplementedException.
3143 (ImportContract): Likewise.
3144 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3146 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3148 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3149 being used was not reflecting that of Binding elements.
3151 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3153 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3154 just assume that it is in the message.
3156 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3158 * HttpReplyChannel.cs : actually HTTP header item might be null.
3160 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3162 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3165 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3167 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3169 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3171 * MessageFault.cs : Fixed SOAP12 reason output.
3173 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3175 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3176 MessageEncoder.ContentType explicitly contains encoding.
3177 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3178 if it is SOAP version dependent.
3180 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3182 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3184 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3186 * HttpChannelFactory.cs BindingContext.cs
3187 HttpChannelListener.cs HttpTransportBindingElement.cs :
3188 Now BindingContext holds MessageEncoder, and non-custom
3189 channel factory/listener should use it.
3190 * MtomMessageEncodingBindingElement.cs
3191 TextMessageEncodingBindingElement.cs
3192 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3193 -Listener() now sets internal BindingContext.MessageEncoder.
3194 Fixed some public API.
3196 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3198 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3199 for insufficient elements.
3200 * DispatchRuntime.cs : OperationDescription name is not action. So
3201 OperationSelector is created by name, not by action.
3202 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3204 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3206 * MessageFaultBodyWriter.cs
3207 XmlReaderBodyWriter.cs
3208 XmlObjectSerializerBodyWriter.cs : made internal.
3209 * SecurityBindingElement.cs
3210 AsymmetricSecurityBindingElement.cs
3211 SymmetricSecurityBindingElement.cs : API fixes.
3212 * TransportBindingElementConverter.cs : ditto.
3213 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3214 * WindowsStreamSecurityBindingElement.cs
3215 SslStreamSecurityBindingElement.cs
3216 TransportSecurityBindingElement.cs : new files.
3218 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3220 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3221 reading can be any xs:boolean value.
3223 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3225 * Message.cs MessageImpl.cs : more sorting out the role of each
3227 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3229 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3231 * Message.cs : don't write body contents if it is empty.
3232 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3233 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3234 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3235 * HttpRequestChannel.cs : close request stream before GetResponse().
3237 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3239 * TextMessageEncoderFactory.cs
3240 TextMessageEncoder.cs : encoder does not hold reference to the
3241 factory anymore. Use MessageVersion property in CreateMssage().
3242 * HttpChannelListener.cs : now it holds message encoder.
3243 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3244 * MessageImpl.cs : header is optional.
3245 * EnvelopeVersion.cs : namespace URI is missing.
3247 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3249 * CustomBinding.cs : removed Initialize().
3250 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3251 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3252 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3253 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3255 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3257 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3258 could be also added by Add() method and could be reset by Remove()).
3259 * MessageImpl.cs : implemented more. As noted above, Now we don't
3260 have to add Action header explicitly.
3261 * MessageHeader.cs : recovered Writer methods and ToString() from
3262 commented old version. Use prefixes for writing.
3263 Use WriteObjectContent() rather than WriteObject() (it needs
3264 DataContractSerializer fix btw).
3266 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3268 * MessageHeader.cs : added missing IsReferenceParameter.
3269 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3270 * MessageHeaders.cs : avoid NullRef when actors is null.
3271 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3272 (ForwardingMessage) reader consumer is being added (not done).
3273 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3274 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3275 * HttpRequestChannel.cs : this channel automatically call Open()
3276 when Request() is called. Set content length for request.
3277 Use MessageEncoder's ContentType to also handle charset.
3279 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3281 * MessageImpl.cs : make them internal.
3282 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3284 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3286 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3287 * HttpChannelListener.cs : removed commented line.
3288 * RequestChannelBase.cs : new base class for request channel classes.
3289 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3290 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3291 * Message.cs : default IsEmpty and IsFault false by default.
3292 * LayeredChannelListener.cs : removed Uri (no chance to set).
3293 * ChannelBase.cs : reimplemented timeout properties.
3294 * HttpRequestChannel.cs : now it is mostly based on
3295 RequestChannelBase. Some more attempt to implement Request().
3297 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3299 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3300 OnInitialize(). Added more BuildChannelListener() overloads.
3302 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3304 * Binding.cs : added some more missing members especially to support
3306 * HttpChannelListener.cs : Uri should not be null.
3307 * HttpTransportBindingElement.cs : implemented
3308 CanBuildChannelFactory() and CanBuildChannelListener().
3309 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3311 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3313 * Binding.cs : updated default namespace property value to Feb. CTP.
3315 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3317 * AddressHeader.cs : avoid null reference when value is null.
3318 * BindingContext.cs : check null ListenUri args.
3320 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3322 * MessageFault.cs : Fixed default action name. Null arg check.
3324 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3326 * BindingElement.cs : Dequeue elements in BindingContext directly.
3327 * BindingContext.cs : Added GetProperty<T>().
3328 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3329 Now we don't need these extra classes, so marked as deprecated.
3331 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3333 * Binding.cs : null arg check.
3334 * AddressingVersion.cs : fixed constants to pass the tests.
3335 * BindingElement.cs : tiny meessage fix.
3337 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3339 * MessageEncodingBindingElement.cs
3340 BinaryMessageEncodingBindingElement.cs
3341 TextMessageEncodingBindingElement.cs
3342 MtomMessageEncodingBindingElement.cs
3343 MessageEncodingBindingElementConverter.cs : several API fixes.
3344 * BindingElement.cs : now if we use generic wrapper it causes
3345 infinite loop, so for now replace it with most-possible-but-
3348 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3350 (back to normal "record-ChangeLogs" mode after the big API change mess)
3351 * HttpTransportBindingElement.cs : fixed minor API differences.
3353 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3355 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3356 SymmetricSecurityBindingElement.cs :
3357 Dependent fixes for System.IdentityModel reorgainzation.
3359 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3361 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3362 IProxyFormatter.cs WSHttpBindingBase.cs
3363 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3364 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3365 WSFederationBinding.cs ISessionChannel.cs
3366 CompositeDuplexBindingElement.cs MessageVersion.cs
3367 MessageHeader.cs IRequestSessionChannel.cs
3368 BindingElementCollection.cs IReplySessionChannel.cs
3369 MessageProperties.cs IDuplexClientChannel.cs
3370 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3371 TcpTransportBindingElement.cs EmptyFaultException.cs
3372 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3373 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3374 ConnectionOrientedTransportBindingElement.cs
3375 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3376 PeerResolverBindingElement.cs Message.cs
3377 HttpsTransportBindingElement.cs BindingElement.cs
3378 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3379 MessageFaultBodyWriter.cs IReplyChannel.cs
3380 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3381 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3382 IRequestContext.cs IInputSessionShutdown.cs
3383 SecurityBindingElement.cs PeerTransportBindingElement.cs
3384 IDuplexSession.cs IChannelInitializer.cs
3385 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3386 AddressingVersion.cs FaultException.cs
3387 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3388 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3389 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3390 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3391 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3392 BindingParameterCollection.cs IInstanceProvider.cs
3393 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3394 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3395 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3396 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3397 moved from System.ServiceModel due to the API changes.
3399 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3401 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3402 HttpChannelListener.cs HttpRequestChannel.cs
3403 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3404 PeerNode.cs ReplyChannelBase.cs :
3405 Feb. CTP API changes - chapter 1.
3407 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3409 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3410 * ReplyChannelBase.cs : now it is based on ChannelBase.
3411 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3412 and check null argument in .ctor().
3413 * HttpReplyChannel.cs : several changes.
3414 Non-async members are mostly implemented.
3415 * HttpChannelListener.cs : no need to receive
3416 IDefaultCommunicationTimeouts.
3417 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3418 to allocate buffer array and int.MaxValue causes OutOfMemory.
3420 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3422 * ClientFramingDecoderState.cs : added missing enum.
3423 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3425 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3427 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3429 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3430 AcceptChannel() has some code now but it needs more love.
3432 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3434 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3435 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3436 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3438 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3440 * HttpRequestChannel.cs : close the streams.
3442 HttpChannelListener.cs : renamed from former to latter.
3444 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3446 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3447 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3448 * HttpListenerFactory.cs : removed obsolete file.
3449 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3450 * ChannelListenerBase_1.cs : implemented virtual stuff.
3451 * CommunicationObject.cs : Open() should not call BeginOpen() and
3452 EndOpen(). Instead, invoke events individually.
3453 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3455 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3457 * HttpRequestChannel.cs : call Flush() after serializing message
3460 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3462 * HttpRequestChannel.cs : implemented pretty hacky Request().
3464 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3466 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3468 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3470 * ChannelFactoryBase.cs : removed some NotImplementedException for
3471 further internal implementation.
3473 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3475 * HttpRequestChannel.cs : new file. mostly not implemented.
3476 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3477 Partly implemented CreateChannel().
3479 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3481 * HttpChannelFactory.cs : (.ctor())
3482 Don't take ChannelBuildContext.
3484 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3486 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3487 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3488 PeerMessagePropagation.cs : updated to Nov. CTP.
3490 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3492 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3493 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3494 StreamSecurityUpgradeAcceptor.cs,
3495 StreamSecurityUpgradeInitiator.cs :
3496 Updated to Nov. CTP API.
3498 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3500 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3502 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3504 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3506 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3508 * ChannelBase.cs : tiny filename fix.
3509 * ChannelListenerBase.cs : added more .ctor()s.
3511 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3513 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3514 ListenerFactoryBase.cs ChannelListenerBase.cs :
3515 updated IListener related stuff to Nov. CTP.
3516 file renaming will come soon.
3518 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3520 * ListenerBase.cs, ChannelListenerBase.cs :
3521 moved from former to latter.
3522 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3523 moved from former to latter.
3525 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3527 * SessionFaultedException.cs : removed in Nov. CTP
3529 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3531 * CommunicationObject.cs : updated to Nov. CTP.
3532 * SessionFaultedException.cs : removed (in Nov. CTP)
3534 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3536 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3539 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3541 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3542 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3543 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3544 * MessageEncoder.cs : largely implemented.
3546 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3548 * IRequestReplyCorrelator.cs : new file.
3550 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3552 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3553 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3554 * MessageEncoder.cs : added misssing ToString().
3556 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3558 * ChannelBehaviorCollection.cs : moved to sys.sm.
3560 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3562 * HttpListenerFactory.cs, HttpListener.cs : new files.
3563 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3564 CommunicationObject.cs, ChannelFactoryBase.cs,
3565 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3567 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3568 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3570 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3572 * ListenerFactoryBase.cs : some implementation.
3574 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3576 * CommunicationObject.cs : more state fixes.
3578 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3580 * CommunicationObject.cs : some state machine fixes.
3582 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3584 * PeerNode.cs, ChannelManagerBase.cs :
3585 several API fixes detected by improved corcompare.
3587 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3589 * LayeredListenerFactory.cs : added missing generic class constraint.
3591 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3593 * ListenerFactoryBase.cs,
3594 ListenerBase.cs : class constraints were missing for generic args.
3596 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3598 * StreamUpgradeInitiator.cs : tiny API fix.
3600 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3602 * PeerMessagePropagationFilter.cs : tiny build fix.
3604 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3606 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3607 added Name. fixed StatusCode type.
3608 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3609 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3610 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3611 DirectionalAction.cs, HostedTransportConfiguration.cs,
3612 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3613 PeerMessagePropagationFilter.cs : added missing files.
3614 * Dummy.cs : removed. MSMQ stuff can be added later.
3616 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3618 * DeliveryStatus.cs, DeliveryFailure.cs,
3619 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3620 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3622 * Dummy.cs : removed above.
3624 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3626 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3628 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3630 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3631 MessageEncoder.cs, BufferManager.cs : new files.
3632 * Dummy.cs : removed above.
3634 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3636 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3637 * Dummy.cs : removed above.
3638 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3640 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3642 * HttpChannelFactory.cs : new file.
3644 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3646 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3647 moved to ../System.ServiceModel (correct location).
3648 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3649 new files for channels.
3650 * Dummy.cs : reflected above changes.
3651 * ChannelManagerBase.cs : added a bit of code and todos.
3653 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3655 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3656 added listener support files.
3657 * Dummy.cs : removed above.
3659 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3661 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3662 added request/reply channel interfaces.
3663 * Dummy.cs : removed above.
3664 * CommunicationObject.cs : FIXME comments.
3666 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3668 * CommunicationObject.cs : implemented some members.
3670 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3672 * CommunicationObject.cs : some signature fixes.