1 2010-03-16 Jb Evain <jbevain@novell.com>
3 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
4 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
6 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
8 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
9 type, and use null password unless we find a chance to get password
10 in ASP.NET HttpContext.
12 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
14 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
15 HttpListenerManager.cs : ongoing authentication support. It returns
16 401 as expected, but somehow fails to retrieve user info.
18 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
20 * HttpListenerManager.cs : this change (along with HttpListener
21 implementation) somehow fixes basic auth. connection error...
23 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
25 * MessageHeaders.cs : add !NET_2_1.
27 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
29 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
30 typed UniqueId output.
32 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
34 * MessageHeader.cs : no need to treat EndpointAddress as a special
37 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
39 * MessageHeaders.cs : remove duplicate constant.
41 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
43 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
44 EndpointAddress as a special case. Instead, each MessageHeaders
45 property should convert it to appropriate serializable objects.
47 (Our DataContractSerializer fails to reject EndpointAddress as
48 serializable type, so it's rather a preparation step.)
50 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
52 * MessageHeader.cs, Message.cs : use dictionary string whenever
53 applicable. The binary output on #577139 is getting closer (no
54 idea if it is really about binary output though).
56 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
58 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
60 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
62 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
64 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
66 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
67 enable authentication schemes on monotouch.
69 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
71 * SvcHttpHandler.cs : a wait handle could be used for more than one
72 requests and hence it sometimes blocked one reply channel. Now
73 it creates a wait handle for each ASP.NET request so that such
74 multiple use should not occur. This should fix blocking on
75 concurrent requests (it indeed fixes as long as I can see).
77 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
79 * AspNetReplyChannel.cs : remove garbage output.
81 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
83 * SvcHttpHandler.cs : Use lock when it tries to create the service
86 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
88 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
91 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
93 * HttpListenerManager.cs : add another workaround for blocking
96 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
98 * HttpListenerManager.cs : small refactoring.
100 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
102 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
103 that somehow makes callback client to not cause infinite loop.
105 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
107 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
108 DuplexChannelBase.cs : Receive() should rather use TryReceive().
109 It should not be in reverse order.
111 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
113 * HttpReplyChannel.cs, HttpListenerManager.cs :
114 Implement async cancellation in the expected manner (though with
115 some hack). This mostly removed nunit blockers.
117 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
119 * CommunicationObject.cs : fix wrong status changes.
121 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
123 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
125 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
127 * AddressHeader.cs : implement remaining bits.
128 Eliminate dependency on NetDataContractSerializer.
130 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
132 * CommunicationObject.cs : in Fault(), do similar work as previous
135 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
137 * CommunicationObject.cs : when process state changes, lock the
138 object to make sure the state transition is valid.
139 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
141 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
143 * MessageHeaders.cs : implement SetAction().
145 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
147 * ChannelFactoryBase.cs : fix build.
149 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
151 * ChannelBase.cs : cosmetic API fix for SL3.
153 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
155 * ChannelFactoryBase.cs :
156 implement On{Begin/End}Close() on the generic type.
158 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
160 * HttpChannelFactory.cs, TcpChannelFactory.cs,
161 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
162 PeerChannelFactory.cs, HttpRequestChannel.cs:
163 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
164 type and made required changes.
166 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
168 * HttpCookieContainerBindingElement.cs : new.
169 * IHttpCookieContainer.cs : fix type name.
170 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
172 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
174 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
175 does not happen when communicating with .NET client but happens with
176 mono). Seealso FIXME comment.
177 * TcpDuplexSessionChannel.cs : do not try to close session when it
178 failed to read sized message. The connection is already dead.
182 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
184 * TcpDuplexSessionChannel.cs :
185 Write EndRecord only when the connection is available.
186 Remove hack - do let ChannelDispatcher close the channel.
187 * TcpBinaryFrameManager.cs :
188 The socket may be disconnected when trying to read a sized message,
189 so check some socket exceptions.
190 In case the client silently shuts down without EndRecord and
191 reconnects to the server with preamble while expecting a sized
192 message (which is so lame, but that's what .NET often does), refresh
193 preamble and continue.
195 This fixes some cases of bug #567949 but not all.
197 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
199 * BinaryMessageEncoder.cs : enable workaround buffering only when
200 the argument stream does *not* support seek. This fixes some
201 net.tcp connection problem.
203 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
205 * TcpBinaryFrameManager.cs : If preamble byte is not available from
206 the client stream, detect it to close the reply or input channel.
207 * TcpRequestChannel.cs : send preamble at each request time.
208 It differentiates communication behavior on such cases that involve
209 single open and multiple requests.
210 * TcpReplyChannel.cs : close the channel only when the channel is
211 oeprated to close i.e. do not close the socket every time.
212 Process preambles on each request (the same as request channel).
214 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
216 * TcpBinaryFrameManager.cs : unsized envelope record may have more
217 than one data block, so consume them accordingly. This should fix
218 large buffer consumption.
220 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
222 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
225 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
227 * HttpRequestContext.cs : for DestinationUnreachable message, this
228 channel returns 400 in .NET.
230 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
232 * BinaryMessageEncoder.cs : added workaround for strange stream
233 consumption error raised by HttpTransport + Binary encoder example.
234 * BinaryMessageEncodingBindingElement.cs:
235 only SOAP 1.2 is allowed for this encoder.
237 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
239 * XmlReaderBodyWriter.cs : don't try to write empty xml.
241 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
243 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
244 default WebHeaderCollection items are overwritten.
246 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
248 * HttpRequestChannel.cs : when HTTP response was error, do not try
249 to read message but just raise an error.
251 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
253 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
255 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
257 * HttpRequestChannel.cs : WebException.Response might be null.
259 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
261 * ReplyChannelBase.cs : added listener property.
262 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
263 been updated to prefer async by default, a while ago.
265 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
267 * HttpTransportBindingElement.cs : finished all GetProperty() values.
269 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
271 * HttpRequestChannel.cs : disabled carelessly added
272 "UseDefaultCredentials = false" line. It blocked basic auth.
274 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
276 * HttpRequestChannel.cs, HttpChannelFactory.cs,
277 HttpChannelListener.cs, HttpListenerManager.cs :
278 implemented http client authentication and some of corresponding
279 service code. Only client works so far.
281 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
283 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
284 added URI scheme check.
286 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
288 * TransportSecurityBindingElement.cs : fix 2.1 build.
290 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
292 * HttpsTransportBindingElement.cs :
293 RequireClientCertificate is false by default.
294 Remove extra #if NET_2_1.
295 * SecurityBindingElement.cs :
296 Implement some transport security factory methods.
297 * TransportSecurityBindingElement.cs :
298 It is not ISecurityCapabilities anymore.
300 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
303 SecurityBindingElement.cs
304 LocalClientSecuritySettings.cs
305 TransportSecurityBindingElement.cs
306 FaultConverter.cs : They are now part of SL3 API.
308 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
310 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
312 2009-11-05 Geoff Norton <gnorton@novell.com>
314 * HttpsTransportBindingElement.cs: Implement basic https transport
315 binding support for Moonlight and MonoTouch
317 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
319 * HttpListenerManager.cs : remove CWLs.
321 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
323 * SvcHttpHandler.cs : move back previous listener selector code in
324 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
325 and differentiate requests to deeper paths (such as /jsdebug), so
326 we need such refinement here.
328 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
330 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
333 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
335 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
336 HttpChannelListener.cs, HttpListenerManager.cs :
337 Similar refactoring on ASP.NET side to the previous one.
338 Added ASP.NET implementation of HttpListenerManager and use some
339 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
341 Rewrote AspNetReplyChannel to become almost the same as
342 HttpSimpleReplyChannel, to hopefully unify them later.
343 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
344 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
347 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
349 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
350 Refactoring on listener manager to correctly handle wsdl and help
351 requests for such case that they conflict in addressing. Now it
352 can correctly distinguish service calls, WSDL requests and help
353 requests when all of them point to "http://localhost/foo.svc"
354 (which is very common case that the user does not change Http*Url).
356 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
358 * ChannelListenerBase.cs : add Properties property to add arbitrary
359 properties handy (only inside this assembly).
361 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
363 * HttpReplyChannel.cs : fix warning.
365 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
367 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
369 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
371 * HttpReplyChannel.cs : make sure to release wait lock.
372 * HttpChannelListener.cs : session channels are not supported, so
373 remove relevant NIEs.
375 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
377 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
378 support contexts so we call the non-overloaded WaitOne method
379 (which defaults to false).
381 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
383 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
384 significant rewrite to cooperate wcf handler and asp.net handler
385 to not mix multiple WCF listener within the asp.net handler.
386 So far it mostly works when 1) there are no ChannelDispatchers
387 that have an identical listen Uri and 2) MaxConcurrentSessions is
388 1 (must be explicitly set).
390 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
392 * CommunicationObject.cs : give better state error description.
394 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
396 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
397 to base methods. This resulted in not a few changes everywhere.
399 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
401 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
403 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
405 * SvcHttpHandler.cs : use file path given by the factory to
406 construct BaseAddresses. Requests to "test.svc/jsdebug" should
407 not be handled as request to "jsdebug" file, it's rather an
408 "argument" to "test.svc".
410 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
412 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
413 rewrite to handle shutdown situation better. The listeners should
414 not close channels that it opened. Instead, just stop accepting
415 further requests. Removed blocking mutex on WaitForRequest().
416 Now xsp shuts down as expected.
418 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
420 * HttpReplyChannel.cs : lock list when releasing its content contexts.
421 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
424 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
426 * SvcHttpHandlerFactory.cs : remove todo.
427 * ReplyChannelBase.cs : add comment.
429 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
431 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
432 revert the change, to use internal asp.net state again.
433 * SvcHttpHandler.cs : add VirtualPathExtension.
435 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
437 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
438 asp.net response was not written correctly.
439 Fill HttpRequestMessageProperty to get handle WSDL requests
440 processed in ServiceMetadataExtension without NRE.
441 Remove wrong HttpListenerContext iteration at Abort and Close in
442 common base class and move it to non-asp derived channel.
444 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
446 * SvcHttpHandler.cs : remove unused code.
448 2009-09-30 Jb Evain <jbevain@novell.com>
450 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
451 to use any of the remoting features.
453 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
455 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
456 use AspNetCompatibilityEnabled.
457 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
459 * AspNetReplyChannel.cs : remove extra field.
461 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
463 * HttpReplyChannel.cs : remove extra field.
465 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
467 * AspNetRequestContext.cs : remove CWL.
469 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
471 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
472 only after AspNetRequestContext is closed. Do not close it
473 immediately after receiving the context. (HttpRuntime destructs it
474 and further uses then becomes impossible.)
476 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
478 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
479 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
480 Make sure that AspNetChannelListener is bound to correct
481 SvcHttpHandler, regardless of specific request URI. It is required
482 for both WSDL requests and RESTful binding requests.
484 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
486 * MessageProperties.cs : fix CopyProperties() behavior to not
487 clear existing items. Make all properties call this[name].
489 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
491 * HttpTransportBindingElement.cs : fix 2.1 build.
493 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
495 * TransportBindingElement.cs : another GetProperty fix, iterate
496 other binding elements.
498 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
500 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
501 some GetProperty() implementation.
503 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
505 * HttpListenerManager.cs : release HttpListener and avoid extra
506 close process more than once.
508 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
510 * HttpChannelListener.cs : do not iterate channel list to close
511 channels which in turn removes them from the list while iteration.
513 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
515 * HttpRequestChannel.cs : Fix message version member comparison.
516 Double-quote SOAPAction. Remove extra Exception.
517 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
518 * HttpRequestContext.cs : when addressing is None, remove action
521 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
523 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
524 path, to pick those endpoints that are added at custom factories.
526 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
528 * SvcHttpHandler.cs : apply configuration, and if there is still no
529 endpoint, then add default one.
531 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
533 * SvcHttpHandler.cs : another URL to make relative.
535 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
537 * SvcHttpHandlerFactory.cs : some GetHandler changes.
538 * SvcHttpHandler.cs : significant changes on receiver structure. Now
539 ProcessRequest() stores pending requests (this might be extraneous,
540 but maybe useful when it implements async handler). Also removed
541 reply_channel field as it may become to handle multiple requests.
542 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
543 * AspNetReplyChannel.cs : make it receive requests like
544 HttpReplyChannel (for HttpListener) to make them consistent.
546 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
548 * AspNetRequestContext.cs, HttpRequestContext.cs :
549 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
550 by splitting HttpListener-based context out from common code base.
552 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
554 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
555 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
558 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
560 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
561 loads types from system assemblies appropriately.
563 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
565 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
568 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
570 * HttpRequestMessageProperty.cs : fix default values.
572 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
574 * HttpChannelFactory.cs, HttpRequestChannel.cs,
575 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
576 Check ManualAddressing value and reject address-missing ones.
578 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
580 * HttpChannelFactory.cs : reject URI mismatch cases when required.
582 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
584 * PeerDuplexChannel.cs : When received Connect() from neighbor,
585 add the peer to its internal list.
586 Finally ChatApplication got working.
588 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
590 * PeerDuplexChannel.cs : since the channel factory is per instance,
591 do not reuse factory that is tied to different callback instance.
592 It resolved the issue that mono callback client didn't receive
593 messages from the client itself.
595 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
597 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
598 of the receiver, not the requestor. It resolved the issue that
599 .NET client didn't send further messages to mono server.
601 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
603 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
604 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
605 TcpReplyChannel.cs, TcpRequestChannel.cs,
606 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
607 rename EndRecord handling method to appropriate one.
608 Write EndRecord from recipient too.
610 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
612 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
613 Process PeerTo header to upgrade Message To header. Now mono
614 service accepts mono client (somehow not true for .NET client).
616 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
618 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
619 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
621 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
623 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
625 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
627 * TcpDuplexSessionChannel.cs : check channel state before processing
630 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
632 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
633 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
634 ongoing works, not working at all yet.
636 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
638 * TcpChannelListener.cs, TcpReplyChannel.cs :
639 cosmetic cleanup and corrections.
641 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
643 * TcpChannelFactory.cs : use expected Via uri.
644 Remove extra NIE stuff that are implemented in base.
646 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
648 * TcpDuplexSessionChannel.cs : remove extra code.
650 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
652 * PeerDuplexChannel.cs : ongoing implementation towards get callback
653 replies on peer connector clients (not working as duplex client
654 callback is not working yet).
656 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
658 * TcpDuplexSessionChannel.cs : in callback client channels,
659 OperationContext.IncomingMessageHeaders is null.
661 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
663 * MessageHeaders.cs : duplicate check was sloppy.
665 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
667 * Message.cs, MessageImpl.cs, BodyWriter.cs :
668 Implement BodyWriter.OnCreateBufferedCopy() and use it.
670 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
672 * ReplyChannelBase.cs : initialize field.
674 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
676 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
677 implement GetProperty<T>() and return its channel manager.
679 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
681 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
682 destination address in Connect() request. To repeat sending
683 request, use buffered copy. Set some peer-channel specific
684 header items. (todo: and consume them.)
686 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
688 * Message.cs : state is set only after WriteBodyContents().
690 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
692 * MessageHeaders.cs : eliminate wrong use of
693 ReadElementContentAsString() (it is not always simple string).
695 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
697 * MessageHeaders.cs : when the value is null, do not try to
698 deserialize EndpointAddress.
700 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
702 * MessageHeader.cs : add Value property. (Forgot dependent change.)
704 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
706 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
707 serialization and deserialization of values.
709 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
711 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
712 Now simply use connector contract.
714 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
716 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
718 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
720 * TcpChannelListener.cs : do not try to compare dead connection's
721 IPEndPoint (it raises an error).
723 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
725 * MessageHeaders.cs : allow null header value on each specific setter.
727 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
729 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
730 get local and remote address of connected counterpart to get
731 callback channel connected.
732 * PeerDuplexChannel.cs : remove FIXME wrt above.
734 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
736 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
738 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
740 * MessageHeader.cs : fill IsReferenceParameter.
742 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
744 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
745 implement remaining async methods and LocalAddress.
747 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
749 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
750 ServiceHost to process neighbor connection (not sure if this is
751 right way to go though ...).
753 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
755 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
756 connection part to use new internal IPeerConnectorContract for
759 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
761 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
762 PeerChannelListener.cs, HttpChannelListener.cs :
763 support ListenUri accordingly too so that it could be used when
764 it is different from LocalAddress.Uri.
766 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
768 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
769 TcpRequestChannel.cs : use Via uri to validate and connect.
771 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
773 * RequestChannelBase.cs, DuplexChannelBase.cs :
774 Return endpoint address Uri when no explicit Via uri is specified.
775 * ChannelFactoryBase.cs : Remove extra async close methods.
776 Add async open methods. Reject null EndpointAddress.
777 * PeerChannelFactory.cs : remove async open methods (now in base).
779 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
781 * PeerDuplexChannel.cs : set correct message endpoint (To header).
783 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
785 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
786 DuplexChannelBase.cs : set LocalAddress property at base.
788 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
790 * PeerDuplexChannel.cs : ongoing refactoring to work both as
791 listener and client. Now it creates a listening peer node, and
792 creates a set of TCP client channels for each peer in the mesh.
794 (EndpointAddress must be fixed to not filter out correct inputs).
796 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
798 * PeerChannelListener.cs : do not accept more than one channel
799 which results in lots of listening peer node. Only one is enough.
801 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
803 * DuplexChannelBase.cs : fix wrong loop implementation.
805 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
807 * TcpChannelListener.cs : to avoid creating two or more channels
808 for one remote endpoint, check existing remote endpoints and
809 ignore such connections (it must be handled in different thread
810 fired by ChannelDispatcher loop).
812 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
814 * TcpReplyChannel.cs : make sure to not try to receive request when
815 it is already closed.
817 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
819 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
820 some mannerless clients [*1] do not send EndRecord accordingly, but
821 such channels at listener side should not be kept open. So, close
822 disconnected channels when the listener needs to accept another
824 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
826 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
828 * TcpDuplexSessionChannel.cs :
829 Remove extra NIE overrides.
830 Implement OnAbort() apart from OnClose().
831 For duplex session channel, unlike reply channel, it must acquire
832 TCP connection before OnOpen(), otherwise ChannelDispatcher
833 releases the connection acceptance WaitHandle and the detected
834 live connection may be stolen by another channel acceptor.
836 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
838 * HttpRequestChannel.cs : implement OnAbort().
840 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
842 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
843 * DuplexChannelBase.cs : comment out some extra fields (so far).
844 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
846 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
848 * PeerCustomResolverBindingElement.cs : add some null checks.
850 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
852 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
853 Acquire TcpClient for each request/reply. Now it is fully
854 interoperable with .NET.
856 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
858 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
859 ReplyTo and MessageId (though it is session-less), and it expects
860 EndRecord at weird stage, inconsistent with [MC-NMF]...
861 Now .NET service accepts one mono client request.
863 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
865 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
866 Send and receive unsized message terminator at once.
867 Send EndRecord mutually. Got one .net client request working.
869 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
871 * BinaryMessageEncoder.cs : revert the previous dictionary change.
872 They are indeed used for non-in-band-dictionary messages.
874 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
876 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
877 split out binary frame manager class into separate file.
879 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
881 * TcpReplyChannel.cs : new reply channel implementation.
882 * TcpChannelListener.cs : use above for streamed reply channel.
883 * TcpDuplexSessionChannel.cs : more streaming mode support.
884 * TcpRequestChannel.cs : a couple of updates to get it working
885 with the reply channel above. Still some issues on .NET interop.
887 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
889 * RequestContext.cs : added internal derived class that implements
892 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
894 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
897 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
899 * PeerDuplexChannel.cs: add the registered node itself to peer list.
900 (The messaging must be done as TCP request/reply pattern, so it's
903 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
905 * TcpRequestChannel.cs : new channel file (TCP for request/reply
906 messaging pattern). The messaging part is not working yet.
907 * TcpChannelFactory.cs : support IRequestChannel.
908 * TcpDuplexSessionChannel.cs : add unsized message support.
910 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
912 * HttpRequestChannel.cs, RequestChannelBase.cs :
913 A couple of async members are now implemented in the base class.
914 Ditto for EndpointAddress and Via.
916 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
918 * PeerDuplexChannel.cs : now it implements some of node management
919 functionality and Send operation. The receiver part is not yet.
921 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
923 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
924 timeout to channel constructor. it does not make sense.
926 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
928 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
929 as common interface member, and use binary encoder (not text).
931 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
933 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
935 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
937 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
938 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
939 going to be unified to PeerDuplexChannel. And it is likely that
940 input and output functionalities are to be unified too.
942 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
944 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
945 may have to reuse it for peer transport.
946 * PeerChannelListener.cs : add binding member.
947 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
949 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
951 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
952 PeerChannelFactory.cs : close opened channels at OnClose() as
953 documented. Implement async methods.
954 * PeerChannelListener.cs : removed some NIE overrides.
956 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
958 * DuplexChannelBase.cs : some more async methods.
960 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
962 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
964 * TcpChannelListener.cs : accept multiple channels at a time.
966 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
968 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
969 session strings but output only those new ones in current message.
970 This fixes inconsistent body output in repetitive use of sender.
972 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
974 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
975 operation that does not involve session.
976 Preserve writer session as well as reader session.
977 * MessageHeaders.cs : take name and namespace into consideration
978 when creating a serializer.
980 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
982 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
983 Made required changes for repeated use of message exchanges.
984 Hold binary reader session. The channels use it incrementally.
985 Preambles are handled at Open, and EndRecords are handled at
986 Close, Add session shutdown hook here (not working yet though).
988 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
990 * ChannelListenerBase_1.cs : added cancellation hook here too.
991 HttpChannelListener.cs : use above.
992 Do not allow parallel channel creation (this listener does not
993 allow more than one AcceptChannel().
995 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
997 * ReplyChannelBase.cs, HttpReplyChannel.cs :
998 Add cancellation hook for async TryReceiveRequest.
1000 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1002 * HttpChannelListener.cs, HttpListenerManager.cs :
1003 slightly improved BuildChannelListener().
1004 Implement OnAbort() and differentiate it from OnClose().
1006 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1008 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1010 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1012 * DuplexChannelBase.cs : simple async delegate calls here too.
1014 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1016 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1018 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1020 * HttpReplyChannel.cs : cosometic simplification.
1022 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1024 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1025 infinite block in 2.0 profile.
1027 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1029 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1030 more careful close to avoid NRE.
1032 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1034 * HttpChannelListener.cs : do not Close() more than once (though
1035 it is allowed to call it twice, we don't reject it; just ignore).
1037 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1039 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1041 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1043 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1044 Temporarily disable HTTP Keep-Alive since it somehow results in
1045 wrong reuse of connection (shown as NRE in HttpConnection).
1046 Make sure to close RequestContext which was created from it.
1047 * HttpRequestContext.cs : simplify.
1049 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1051 * HttpChannelListener.cs, TcpChannelListener.cs,
1052 ChannelListenerBase_1.cs : put common internal listener base
1053 and let it handle those async stuff.
1055 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1057 * ReplyChannelBase.cs : fix wrong null delegate check point.
1059 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1061 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1062 now implemented as virtual in base class. Remove NIEs in http.
1064 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1066 * HttpChannelListener.cs : hack async implementation.
1068 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1070 * HttpListenerManager.cs : oops, extra line removal.
1072 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1074 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1076 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1078 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1079 "ChannelManager" is confusing (there is ChannelManagerBase).
1081 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1083 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1084 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1085 they should be split into separate listener->reply channel lines
1086 (remove "if (HostingEnvironment.IsAspNet)".)
1088 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1090 * CommunicationObject.cs : OnClosed() requires call to base method.
1091 Close() could rather abort the channel, and Abort() does not
1092 always invke OnAbort().
1093 * ChannelBase.cs : add call to base as above.
1095 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1097 * ClientAccessPolicy.cs: Removed
1098 * CrossDomainAccessManager.cs: Removed
1099 * CrossDomainPolicy.cs: Removed
1100 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1101 since this is now done inside the BeginGetResponse call (outside
1102 this assembly) for Moonlight (NET_2_1)
1104 2009-06-04 Alan McGovern <amcgovern@novell.com>
1106 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1107 instead of the sync apis. Prevents a possible deadlock condition in
1110 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1112 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1113 callbacks, so add hacky ones.
1115 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1117 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1118 true when socket input is not available.
1120 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1122 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1123 I cannot precisely identify when EndRecord should be consumed,
1124 so allow it at either at the end of ReadSizedMessage() or on
1125 consuming preamble (it's likely handling EndRecord of previous
1128 Now duplex IPeerResolverContract communication works between
1129 either of .NET/Mono client and .NET/Mono server.
1131 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1133 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1134 code. Handle preamble ack on ReadSizedMessage() only at server.
1135 Consume EndRecord from server, at client side. Though it is likely
1136 changed as it's blocking when mono is at server side.
1138 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1140 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1141 different protocol than existing code with related to preamble ack.
1142 So changed it to work fine with .NET client (finally).
1144 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1146 * MessageBufferImpl.cs : do not output Action twice.
1148 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1150 * MessageBufferImpl.cs : it did not copy headers.
1151 * Message.cs : remove 2_1 conditional implementation for buffered
1152 copy and hence remove bogus code.
1154 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1156 * MessageProperties.cs : copy argument is wrong.
1158 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1160 * PeerCustomResolverBindingElement.cs : some argument check.
1162 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1164 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1165 xml open, so close the writer as well as open elements.
1166 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1167 Do not output EndRecord and SizedMessage at a time.
1169 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1171 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1172 length of the SizedMessage in the output.
1174 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1176 * CommunicationObject.cs : use sane default timeout.
1177 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1178 * TcpDuplexSessionChannel.cs : ditto.
1180 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1182 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1183 only accepts buffered messages, so do as such for write buffers.
1184 Add RelatesTo header.
1186 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1188 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1189 rename from former to latter.
1191 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1193 * TcpDuplexSessionChannel.cs : reader does not always return full
1194 buffer (depending on the stream).
1196 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1198 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1200 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1202 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1205 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1207 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1209 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1211 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1213 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1215 * ChannelManagerBase.cs : fix wrong session channel detection.
1217 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1219 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1220 This encoder factory implements CreateSessionEncoder() and binary
1221 encoder does support session transmit, in different media type.
1222 * ChannelManagerBase.cs : added utility method to create appropriate
1224 * HttpChannelFactory.cs, HttpChannelListener.cs,
1225 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1226 PeerChannelFactory.cs, PeerChannelListener.cs,
1227 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1229 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1231 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1233 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1235 * DuplexSessionBase.cs : new file, for session implementation.
1236 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1237 DuplexSessionChannelBase.cs : changed sync/async implementation
1238 pattern. Now async methods call sync methods using delegates.
1240 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1242 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1243 a few minor API fixes.
1245 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1247 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1249 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1251 * TcpDuplexSessionChannel.cs : add To header.
1253 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1255 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1258 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1260 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1262 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1264 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1265 CommunicationException in each CreateFault().
1267 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1269 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1270 Open(). Some (but not all yet) continuous communication works now.
1271 Use ProtocolException. Remove dummy binary session string.
1273 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1275 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1276 sending/receiving SizedMessageRecord parts to manager class.
1277 Handle writer session, though it is likely broken at dictionary
1278 writer part (no string is written so far).
1279 * BinaryMessageEncoder.cs : add writer session and rename reader
1282 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1284 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1285 is mandatory in initiator preamble packet. Handle Fault reply in
1288 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1290 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1291 based communication under TcpBinaryFrameManager class.
1293 2009-05-13 Jb Evain <jbevain@novell.com>
1295 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1296 from a StringReader.
1298 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1300 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1301 actually eliminate DOM-based implementation too in 2.0.
1303 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1305 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1306 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1307 comments for magic numbers based on [MC-NMF].
1309 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1311 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1312 support for [MC-NBFSE] record in [MC-NMF], in this class.
1314 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1316 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1318 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1320 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1322 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1324 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1326 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1328 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1330 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1332 * BinaryMessageEncoder.cs : use quotas in binding element.
1333 Implement WriteMessage().
1335 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1337 * PeerCustomResolverBindingElement.cs : do initialize field.
1339 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1341 * PeerCustomResolverBindingElement.cs :
1342 implement full custom resolver.
1344 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1346 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1347 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1348 PeerChannelFactory.cs : ongoing p2p channel implementation.
1350 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1352 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1354 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1356 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1357 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1358 implement GetProperty<T>(). Return documented objects or null.
1360 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1362 * PeerChannelFactory.cs, PeerChannelListener.cs,
1363 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1364 PeerInputChannel.cs, PeerOutputChannel.cs :
1365 new; ongoing peer transport implementation.
1366 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1367 MsmqOutputChannel.cs, OutputChannelBase.cs,
1368 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1369 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1370 several internal changes (either required or for simplification)
1371 for ongoing peer transport implementation.
1373 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1375 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1377 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1379 * TcpTransportBindingElement.cs : check build-ability before
1380 actually building channels.
1381 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1382 conditions according to MSDN.
1384 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1386 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1387 handle headers in SL2. Slightly changed 3.0 code too.
1389 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1391 * HttpRequestChannel.cs : use cross domain access manager.
1393 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1395 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1396 message as BodyWriter.
1397 (in GetReaderAtBodyContents) just write body contents.
1398 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1400 Add some state check in GetReaderAtBodyContents().
1401 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1403 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1405 * Message.cs : do not forget to flush.
1406 * HttpRequestChannel.cs : give more exact error info.
1408 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1410 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1411 make buffered copy in ML2 really buffered.
1413 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1415 * Message.cs : if there is no header item to write, do not write
1416 SOAP header element.
1418 2009-01-22 Alan McGovern <amcgovern@novell.com>
1420 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1421 Rewrite to avoid usage of it.
1423 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1425 * ChannelParameterCollection.cs : implement, rather than NIE.
1427 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1429 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1430 internal users to know the type of the detail.
1432 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1434 * Message.c: Use private setter for state private variable to ease debugging.
1435 Modify ToString not to change the state, as it is called quite often by VS debugger
1437 2008-04-21 Roei Erez <roeie@mainsoft.com>
1439 * HttpChannleManager: Fix for multithreaded use.
1440 * HttpReplyChannel: Fix crash during sutdown.
1442 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1444 * HttpChannleManager: ensure trailing slash in uri.
1446 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1448 * added: HttpChannleManager,
1449 * HttpChannelListener: added use of HttpChannelManager
1451 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1453 * MessageEncodingBindingElement.cs: fixed ctor
1455 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1457 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1459 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1461 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1463 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1465 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1467 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1469 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1471 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1473 * BindingElementCollection.cs: fix API - .ctor's signature.
1475 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1477 * XmlSerializerBodyWriter.cs: Removed.
1479 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1481 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1483 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1485 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1486 * TcpChannelFactory.cs, TcpChannelListener.cs :
1487 unify factory and listener into TcpChannelInfo for use in
1488 TCP channel implementation. Do not store stream in the listener.
1489 Factory now uses BinaryMessageEncoder.
1490 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1491 holds TcpClient that the listener has accepted.
1493 tcp-transport-binding-element sample now communicates (though
1494 only when both sides are mono: there seems binary mismatch).
1496 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1498 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1499 clone connection pool settings too.
1500 * NamedPipetransportBindingElement.cs,
1501 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1502 being likely implemented though).
1504 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1506 * ConnectionOrientedTransportBindingElement.cs,
1507 TcpTransportBindingElement.cs : some API updates.
1508 Initialize default values.
1509 * TcpConnectionPoolSettings.cs : new file.
1511 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1513 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1514 added support for "factory" attribute.
1516 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1518 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1520 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1522 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1524 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1526 * HttpRequestChannel.cs : create WebRequest against To message header
1528 Consider HttpRequestMessageProperty.
1529 Do not output body when suppressed or the method is GET.
1531 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1533 * HttpChannelListener.cs : BindingContext may not have listenUri
1534 at its .ctor() step.
1536 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1538 * BindingContext.cs : RemainingBindingElements is not just a dummy
1539 collection but is actually user-controlled.
1541 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1543 * TcpChannelFactory.cs, TcpChannelListener.cs,
1544 HttpChannelFactory.cs, HttpChannelListener.cs,
1545 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1546 TextMessageEncodingBindingElement.cs,
1547 BinaryMessageEncodingBindingElement.cs,
1548 MtomMessageEncodingBindingElement.cs :
1549 message encoder should be retrieved only through public API.
1550 * BindingContext.cs : so my old guess was wrong.
1552 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1554 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1556 * HttpTransportBindingElement.cs : implemented copy constructor.
1558 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1560 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1561 header when AddressingVersion is None.
1563 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1565 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1568 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1570 * OneWayBindingElementImporter.cs
1571 CompositeDuplexBindingElementImporter.cs : new files.
1573 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1575 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1576 semantic change, its bool parameter must be false, not true.
1578 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1580 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1581 new files. Msmq transport listener Implementation.
1582 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1583 (wait for System.Messaging impl.)
1584 * HttpReplyChannel.cs : added comment
1586 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1588 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1589 new files. internal stuff for msmq channel.
1590 * BinaryMessageEncoder.cs : added another .ctor().
1591 * MsmqTransportBindingElement.cs :
1592 implemented [Can]BuildChannelFactory().
1594 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1596 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1597 initialize some fields.
1599 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1601 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1602 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1603 couple of msmq stubs.
1605 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1607 * SecureMessageGenerator.cs : SecurityContextToken support (though
1608 it is still regarded as invalid by WCF).
1610 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1612 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1613 make header.Contents.Add() more strict.
1614 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1616 Added some hack to allow ssl token external mode.
1617 Commented out such lines that always premised asymmtric key.
1619 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1621 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1623 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1625 * MessageSecurityBindingSupport.cs : support check to create
1626 authenticator is now done in both initiator/recipient sides.
1627 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1629 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1631 * MessageSecurityBindingSupport.cs : for now, comment out the code
1632 that makes authenticator creation optional.
1633 * SecurityRequestContext.cs : don't decrypt message when it is
1634 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1636 * SecurityChannelListener.cs : GetProperty<T>() now returns
1637 MessageSecurityBindingSupport when requested. It is used by
1638 EndpointDispatcher to check if it supports WS-Trust negotiation.
1639 * ChannelListenerBase.cs :
1640 removed extra TODO and field. Implemented GetProperty<T>().
1641 * Message.cs : In CreateMessage() for SOAP Fault, create
1642 SimpleMessage with IsFault = true.
1644 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1646 * SecurityRequestContext.cs : try to reply fault with the inner
1647 channel when an error occurred internally.
1648 * FaultConverter.cs : implemented based on OperationContext (at normal
1649 state it does not seem to create messages, so I implemented it this
1652 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1654 * TransportBindingElement.cs : implemented GetProperty<T>().
1655 * TransactionFlowBindingElement.cs : on building factory or listener,
1656 reject channel types that cannot build.
1657 * SecurityBindingElement.cs : added some TODO comments.
1658 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1659 delegate to base, not BindingContext.
1660 * SecurityRequestContext.cs : somewhat late decryption.
1662 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1664 * MessageSecurityBindingSupport.cs,
1665 AsymmetricSecurityBindingElement.cs,
1666 SymmetricSecurityBindingElement.cs :
1667 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1668 implemented ISecurityCapabilities on them. Now those binding
1669 elements support GetProperty<ISecurityCapabilities>().
1671 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1673 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1674 will work only for predefined parameter types.
1676 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1678 * MessageSecurityBindingSupport.cs :
1679 Set proper MessageDirection to the requirement after creation.
1680 split CreateTokenAuthenticator() as MessageDirection is different.
1681 Removed extra creation of requirement.
1683 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1685 * MessageSecurityBindingSupport.cs : token authenticator is not
1686 always created on channel-opening stage.
1687 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1688 Sslnego binding factory method.
1690 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1692 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1693 signature velification failure.
1695 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1697 * SecureMessageGenerator.cs : encrypt signature confirmations only
1698 when they are required.
1700 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1702 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1703 when [Signature Protection is true i.e. when we use
1704 SignBeforeEncryptAndEncryptSignature.
1706 With this change finally samplesvc.cs/samplecli.cs became
1709 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1711 * SecureMessageDecryptor.cs : signature verification was not done
1712 for endorsing supporting tokens.
1713 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1714 in the security header. Don't output empty ReferenceList.
1716 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1718 * SecureMessageGenerator.cs : signingToken was added before being
1719 initialized and thus caused NRE.
1721 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1723 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1724 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1725 don't need workaround for symmetric key restoration.
1727 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1729 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1730 SecureMessageGenerator.cs :
1731 Avoid extra reference search from the request's ReferenceList.
1732 create HMACSHA1 always with the key to compute hash (I'm not sure
1733 it is correct; it is rather to adjust all hash consistent.)
1735 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1737 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1738 actually endorsed the primary signature.
1739 * SecureMessageGenerator.cs : implemented endorsing of the primary
1740 signature. So, now supporting tokens are fully implemented.
1742 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1744 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1745 totally signing tokens.
1746 * SecureMessageGenerator.cs : Endorsing tokens should also be
1747 included in the message. They are just not signed.
1749 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1751 * SecureMessageGenerator.cs : support signing and encryption of
1752 supporting tokens. Some required refactory to do it.
1753 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1755 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1757 * SecureMessageDecryptor.cs : fix exception message.
1758 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1759 XmlNamespaceManager is not required for GetIdElement().
1761 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1763 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1764 moved decryption part from former file to latter file, to reuse
1765 SignedXml instance (though now I doubt how it actually was good)
1766 which in turn required to replace EncryptedData in
1767 WSSecurityMessageHeader with decrypted one.
1768 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1770 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1772 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1773 EncryptedData should contain KeyInfo as it is not obvious which key
1774 is used there. .net<->mono DerivedKeyToken introp is done.
1775 * SecureMessageDecryptor.cs : check derived key requirement.
1776 Reduce dom-dependent parts.
1778 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1780 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1781 the related DerivedKeyToken (if any).
1782 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1783 support. Some refactoring to distinguish deried-token-related
1785 * SecureMessageDecryptor.cs : removed its own support for derived
1786 key tokens. Now it fully works with DerivedKeySecurityToken.
1788 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1790 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1791 SecureMessageDecryptor.cs :
1792 Implemented increment token reading in o:Security, as
1793 DerivedKeyToken could reference to existing wrapped key.
1794 Removed WsscDerivedKeyToken and all relevant code.
1795 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1796 DerivedKeySecurityToken.
1798 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1800 * SecureMessageGenerator.cs : it was setting security tokens into
1801 incorrect SecurityMessageProperty.
1802 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1803 Now it uses SecurityRequestContext instead of just primary key.
1804 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1805 to symmetric reply decryption, which is the only trouble case.
1806 Do not create another SignedXml.
1807 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1809 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1811 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1812 the resolver works with in-progress token reading in o:Security.
1813 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1814 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1815 * SecureMessageGenerator.cs : cosmetic refactoring.
1817 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1819 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1820 instead of EncryptedKey.
1822 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1824 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1825 should not be always prepared at channel Open(). It also caused
1826 that extra token requirements.
1827 * SecureMessageGenerator.cs : use correct key clause for encryption.
1828 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1830 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1832 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1833 for supporting 'supporting tokens' .
1834 * SecureMessageGenerator.cs : Supporting token creation is done only
1835 at initiator (not sure if it is supposed that, but for now it is).
1836 Removed extraneous CollectSupportingTokens().
1837 * SecureMessageDecryptor.cs : implemented supporting token
1838 authentication (partly). "Signed" supporting tokens are expected
1841 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1843 * SecureMessageGenerator.cs :
1844 make SignBeforeEncryptAndEncryptSignature working.
1846 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1848 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1849 the key itself. ProtectionToken is WrappedKey.
1850 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1851 not EncryptedKeyIdentifierClause which is not for embedded key.
1852 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1854 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1856 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1857 to switch asymmetric and symmetric. Not used yet.
1858 * SecurityRequestChannel.cs : now it pass the request security
1859 property to reply receiver so that it could use the primary key
1860 used at request phase.
1861 * SecurityRequestContext.cs : now it pass the context itself to
1862 reply sender so that it could embed related MessageID.
1863 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1864 binding element. Add RelatesTo output and remove MessageID when
1865 replying to the sender. Added some hacks to get symmetric binding
1867 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1868 in SecurityTokenReference (it also involved existing encrypted key
1869 retrieval). In reply receiver, reuse the key that was used at
1870 request phase. It needs significant token resolution refactoring.
1872 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1874 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1875 * SecureMessageDecryptor.cs : store token and its authentication
1876 policies into the security property, and reuse it on reply.
1877 Some code refactoring; there is at most one o:Security to solve at
1878 one endpoint (depends on Actor). Some attempt to use correct
1879 token parameters (but for now I have only samples that use x509).
1880 * SecureMessageGenerator.cs : For replying message, use initiator's
1881 signing token as the encryption token. Simply reuse security
1882 property from the input message.
1884 I have some nasty workaround at decryptor for initiator that could
1885 not retrieve decryption key.
1887 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1889 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1890 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1891 several refactoring on token acquisition. Large part of
1892 MessageSecurityBindingSupport code is unified.
1894 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1896 * MessageProperties.cs : Security property should be one of the items.
1897 Actually many other properties should be similar as well.
1898 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1899 when copying a message, copy properties as well.
1900 * SecurityRequestContext.cs : on replying, pass input
1901 SecurityMessageProperty to the security generator.
1902 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1904 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1906 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1909 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1910 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
1911 use new WSSignedXml instead of SignedXml, and remove coexisting
1912 Id and wsu:Id. Now we can live only with wsu:Id and therefore
1913 - our reply messages could be consumed by .NET, and
1914 - .NET signature could be verified.
1916 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1918 * SecureMessageDecryptor.cs : The signing key must be passed as
1919 CheckSignature() argument, not SigningKey.
1921 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1923 * MessageImpl.cs : don't read attribute after ReadStartElement().
1925 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1927 * MessageSecurityBindingSupport.cs : some Release() refactoring.
1928 * SecureMessageGenerator.cs : use correct signing key clause for
1929 SecurityTokenReferenceKeyInfo to be serialized.
1930 * SecureMessageDecryptor.cs : now it can try to parse signature.
1932 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1934 Ongoing changes to support signature confirmation
1935 * SecureMessageGenerator.cs :
1936 Don't output ReplyTo onto reply message.
1937 Write SignatureConfirmation if needed.
1938 * SecureMessageDecryptor.cs :
1939 Some refactoring for header cunsumption. Added commented-out
1940 signature verification part (not working yet, on client side due
1941 to incorrect reply from service and insufficient clause reader).
1942 * WSSecurityMessageHeader.cs :
1943 Added SignatureConfirmation support.
1944 KeyInfoClause for o:SecurityTokenReference should be replaced with
1945 SecurityTokenReferenceKeyInfo.
1947 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1949 * SecureMessageGenerator.cs : support Timestamp signature.
1950 Removed unused code, and extra argument in CreateReference().
1951 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
1953 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1955 * SecureMessageGenerator.cs :
1956 Several fixes to make asymmetric binding working:
1957 - Differentiate signing and encryption token in several areas.
1958 - Fixed signing keyinfo.
1960 Added initial SecurityMessageProperty handling, not sure if it is
1961 appropriate here though.
1962 * HttpRequestChannel.cs : (some debugging lines)
1964 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1966 Woohoo! Here is a very basic WS-Security compliant message which could
1967 be allowed by Indigo.
1968 * MessageHeader.cs : added Id support for writing.
1969 * Message.cs : added internal BodyId for signature reference.
1970 * MessageImpl.cs : write Body Id if required.
1971 * SecureMessageGenerator.cs : Before signing, the target elements must
1972 be given wsu:Id. Since I still use System.Security.dll, I need some
1973 trick for signing (I give both Id and wsu:Id, former to sign and
1974 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
1975 implementation later. Now singning mechanism works except for
1976 wsu:Timestamp (which is kind of mandatory).
1978 I can's still consume replies from Indigo but it's a big progress :)
1980 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1982 * MessageHeaderInfo.cs : added internal Id.
1983 * MessageHeader.cs : read and write wsu:Id.
1984 * Message.cs : output wsu namespace if Id exists in any header.
1985 * HttpReplyChannel.cs : (some debugging lines.)
1986 * SecureMessageDecryptor.cs : (remove debugging lines.)
1987 * MessageImpl.cs : removed obsolete code.
1988 * WSSecurityMessageHeader.cs : output "o" prefix.
1989 * SecureMessageGenerator.cs : replaced XmlElement-based header
1990 signing with MessageHeader-based signing, to support Id correctly.
1992 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
1994 * SecureMessageGenerator.cs : some more refactoring and code comments.
1995 * MessageSecurityUtility.cs : made decryptor into an instance class,
1996 like I've done for SecureMessageGenerator.
1997 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
1998 dependent changes for above.
2000 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2002 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2003 causing NRE due to the lack of token reference.
2004 No need to pass doc to SignedXml.ctor() anymore.
2005 Moved ReferenceList before the signature(s).
2007 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2009 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2010 Moved signing key generation code to non-HMACSHA1 signing part.
2011 Don't try to sign wss:Security.
2012 Pass document itself to SignedXml.ctor().
2013 Use temporary DataObjects to avoid adding Ids (not sure what is the
2014 expected processing yet).
2015 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2016 WriteTo() method in WsuTimestamp.
2018 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2020 * SecureMessageGenerator.cs : wrong key was used for signing.
2021 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2023 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2025 * SecureMessageGenerator.cs :
2026 Now ID generation process does not modify input message.
2027 Moved derived key generation part into (virtual) signing loop.
2028 MessagePartSpecification support for signing is done.
2030 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2032 * SecureMessageGenerator.cs : some reordering to handle signing and
2033 encryption with supporting tokens. Fixed XPath query bug for
2034 soap header contents (we want s:Header/*, not s:Header).
2036 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2038 * MessageSecurityBindingSupport.cs : more refactoring.
2039 Made it abstract and added Initiator- and Recipient- classes.
2040 Several members were moved to those derived types.
2041 * AsymmetricSecurityBindingElement.cs,
2042 SymmetricSecurityBindingElement.cs
2043 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2044 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2045 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2046 All dependent changes by above. Removed ISecurityChannelSource
2047 which became useless.
2049 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2051 * SecureMessageGenerator.cs : encryption parts should exist too.
2052 * AsymmetricSecurityBindingElement.cs
2053 SymmetricSecurityBindingElement.cs,
2054 MessageSecurityBindingSupport.cs : some refactoring.
2055 Split MessageSecurityBindingSupport into security binding element
2056 specific parts and made MessageSecurityBindingSupport concrete.
2057 It is likely split again, next time based on initiator/recipient.
2059 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2061 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2062 split encryptor part in the former file into latter file, and
2064 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2065 SecurityRequestContext.cs : apply the change above.
2067 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2069 * MessageSecurityBindingSupport.cs :
2070 Fixed incorrect TrgGetValue() use.
2071 Added CollectRecipientSupportingTokens().
2073 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2075 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2076 EncryptedKey. So, when a key itself is used to encrypt data,
2077 ReferenceList is contained by itself.
2078 * MessageSecurityBindingSupport.cs :
2079 added CollectInitiatorSupportingTokens().
2081 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2083 * MessageSecurityUtility.cs: it should support ReferenceList-less
2086 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2088 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2089 * MessageSecurityUtility.cs : there already was uuid.
2091 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2093 * MessageSecurityUtility.cs : replaced EncryptedKey with
2094 WrappedKeySecurityToken, which seems to be in actual use in .net.
2095 * WSSecurityMessageHeader.cs : added internal Guid so that it
2096 could be shared between header items.
2098 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2100 * HttpRequestContext.cs, TextMessageEncoder.cs :
2101 some null arg check.
2103 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2105 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2106 for SecurityTokenReference resolution.
2108 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2110 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2111 consider DerivedKeyTokens correctly.
2112 When creating LocalId, don't add '#' here.
2114 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2116 * MessageSecurityUtility.cs :
2117 handle key mapping for each wsse:Security.
2119 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2121 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2123 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2125 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2127 * MessageSecurityUtility.cs :
2128 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2129 suggests, and it is used to dereference decryption targets.
2130 Now it premises multiple wsse:Security elements to read.
2132 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2134 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2135 manually (and actually the namespace URI was wrong).
2137 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2139 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2141 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2143 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2145 * SecurityBindingElement.cs,
2146 SymmetricSecurityBindingElement.cs,
2147 AsymmetricSecurityBindingElement.cs :
2148 implemented SetKeyDerivation().
2150 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2152 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2155 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2157 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2160 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2162 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2163 thus move it in front of encryption/signing.
2165 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2167 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2168 check state by themselves (btw it's not really working).
2169 * HttpChannelListener.cs : If the url does not end with '/' add it
2170 so that it could be fed to HttpListener.
2172 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2174 * HttpChannelFactory.cs : check scheme on CreateChannel.
2175 * MessageHeader.cs : finish IsMessageVersionSupported().
2177 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2179 * FaultConverter.cs : new file, not used yet though.
2181 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2183 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2185 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2187 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2188 GET as well as HttpReplyChannel, configuration would be ready now.
2190 2006-10-18 Ankit Jain <jankit@novell.com>
2192 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2193 EnvelopeVersion.Soap12 and 'text/xml' for others.
2194 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2196 Strip '?' from the query string.
2198 2006-10-13 Ankit Jain <jankit@novell.com>
2200 * MessageVersion.cs (None): Set AddressingVersion.None
2202 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2204 * SvcHttpHandler.cs : added config-based endpoint addition code.
2205 Though due to some weird bug in mono-core it does not seem to work,
2206 so commented out for now.
2207 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2208 mex request message might just be wrong.
2209 Use expected MessageVersion by the channel.
2210 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2212 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2214 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2215 which differs depending on whether it is asymmetric or symmetric.
2216 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2217 simplify SecureMessage() and DecryptMessage() arguments (just
2218 take MessageSecurityBindingSupport instead of several parameters).
2219 * MessageSecurityUtility.cs :
2220 - simplify SecureMessage() and DecryptMessage() arguments (just
2221 take MessageSecurityBindingSupport instead of several parameters).
2222 - Take token inclusion mode into account. Don't include them when
2223 it is not expected. Also, change the token reference style.
2224 - add wsa:MessageID to the headers.
2225 - For hmac-sha1 signing (default for symmetric binding), use
2226 symmetric key created for encryption as well to create HMACSHA1.
2227 - add Id to wsu:Timestamp.
2228 - start to handle SecurityMessageProperty.
2229 * WSSecurityMessageHeader.cs :
2230 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2231 Changed date format.
2233 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2235 * CommunicationObject.cs : reject faulted state on Open()/Close().
2236 * MessageHeaders.cs : removed extra fields.
2238 2006-10-06 Ankit Jain <jankit@novell.com>
2240 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2242 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2244 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2245 added some FIXMEs and additional arg.
2247 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2249 * MessageSecurityUtility.cs : remove duplicate Action header.
2251 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2253 * MessageFault.cs : partly implemented CreateFault(Message, int).
2254 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2255 handle IsFault correctly in each implementation.
2257 2006-10-04 Ankit Jain <jankit@novell.com>
2259 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2261 2006-10-04 Ankit Jain <jankit@novell.com>
2263 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2264 in WebConnectionStream.
2266 2006-10-04 Ankit Jain <jankit@novell.com>
2268 * MessageHeaders.cs (To): Use GetHeader<string> till
2269 DataContractSerializer gets ISerializable support.
2270 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2272 2006-10-04 Ankit Jain <jankit@novell.com>
2274 * ServiceHostParser.cs (Parse):
2275 (Split): Add some error checks.
2277 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2279 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2280 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2281 * SslStreamSecurityUpgradeProvider.cs,
2282 SslStreamSecurityUpgradeAcceptor.cs :
2283 new files for Ssl upgrade provider implementation.
2284 * MessageSecurityUtility.cs :
2285 Create proper C14NTransform. Don't use enveloped signature
2286 transform but sign every significant bits. On securing messages
2287 use ChannelProtectionRequirements.
2288 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2290 * MessageEncoder.cs : fix API (missing constraint).
2291 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2292 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2293 * AsymmetricSecurityBindingElement.cs : default protection order is
2294 SignBeforeEncryptAndEncryptSignature.
2296 2006-09-29 Ankit Jain <jankit@novell.com>
2298 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2299 ServicHostParser and use that here.
2300 (PrivateBinPath): New.
2301 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2302 (RemovedCallback): Remove and close the SvcHttpHandler when its
2303 corresponding file (.svc) changes.
2304 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2306 * ServiceHostParser.cs : New.
2307 * CachingCompiler.cs : New. Code extracted from
2308 System.Web.Compilation.CachingCompiler
2309 * CompilationException.cs : New. From System.Web.Compilation
2310 * HtmlizedException.cs : New. Likewise.
2312 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2314 * MessageSecurityBindingSupport.cs : For client side, it is always
2315 InitiatorServiceModelSecurityTokenRequirement which should be
2316 created. Fixed wrong client encryption key acquisition.
2318 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2320 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2321 MessageSecurityBindingSupport.cs : made similar changes as factories
2322 to listener so that session channels and input channels would work.
2323 Added authenticator creation.
2325 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2327 * Binding.cs : added missing members.
2329 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2331 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2332 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2333 reduce code duplication between request and output channels.
2334 The common parts are now in MessageSecurityBindingSupport.
2335 Now reduced several arguments in SecureMessage() for client.
2337 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2339 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2341 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2343 * AsymmetricSecurityBindingElement.cs,
2344 SecurityChannelListener.cs,
2345 SecurityRequestContext.cs,
2346 SymmetricSecurityBindingElement.cs,
2347 SecurityRequestChannel.cs,
2348 SecurityOutputChannel.cs,
2349 SecurityChannelFactory.cs,
2350 MessageSecurityBindingSupport.cs : 1) Refactoring.
2351 IMessageSecurityBindingSupport now becomes a class and contains
2352 all the members which resided in ISecurityChannelSource.
2353 Now it takes more constructor params.
2354 Made dependent changes on all sources above.
2356 2) Added SecurityTokenAuthenticator creation in
2357 SecurityRequestChannel (SecurityOutputChannel should do the same).
2359 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2361 * SecurityRequestChannel.cs : ongoing improvements on conditional
2362 key creation. Actually there must be some part that creates an
2363 authenticator (WinFX does that).
2365 2006-09-27 Ankit Jain <jankit@novell.com>
2367 Add suport for handling .svc files.
2368 * SvcHttpHandlerFactory.cs: New.
2369 * SvcHttpHandler.cs: New.
2371 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2372 asp.net environment.
2373 (OnOpen): Do nothing in asp.net environment.
2374 (OnClose): Likewise.
2375 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2376 * HttpRequestContext.cs: .. here.
2378 * AspNetReplyChannel.cs: New.
2379 * AspNetRequestContext.cs: New.
2381 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2383 * MessageSecurityUtility.cs :
2384 Significantly rewritten decryption parts to respect ReferenceList
2385 to decrypt (so no workaround anymore).
2386 Now e:ReferenceList inside o:Security is treated as the referenced
2387 EncryptedType items are encrypted by 1) the derived key which is
2388 immediately in front of it, or 2) the default key (it is according
2389 to WS-SecureConversation section 9.1). Thus removed immediately
2390 previous hack to auto-fill wsu:Id attributes.
2392 On securing a message, generate correct Id and add DataReference
2393 to ReferenceList properly.
2395 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2397 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2400 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2402 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2403 Actually WSSecurityTokenSerializer should be able to consume it, but after
2404 spending a lot of time I still cannot successfully read it on WinFX.
2405 Skip ReferenceList for now.
2406 * MessageSecurityUtility.cs :
2407 Replaced some string literals with constants.
2408 Added some workaround for DerivedKeyToken retrieval.
2409 WinFX somehow sends incomplete ISO10126 padding which contains
2410 bigger number than the key size and is rejected by EncryptedXml,
2411 so added DecryptLax() which processes such ones in PaddingMode.None
2412 to workaround it (only for cross-connection between mono and winfx).
2413 Added some incomplete implicit wsu:Id processing.
2414 Don't try to replace SignedXml with EncryptedData. It is not added
2415 to the document tree.
2417 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2419 * MessageSecurityUtility.cs : support message signature encryption. Some
2422 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2424 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2426 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2428 * MessageSecurityUtility.cs : fix warnings.
2430 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2432 * MessageSecurityUtility.cs : actually there would be more than one
2433 EncryptedData. Decrypt all.
2435 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2437 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2438 Use ISO10126 padding mode (it is not required but in manner).
2440 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2442 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2443 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2444 that class to make it work fine with mono client).
2445 Removed buggy lines that reset decryption key to AES.
2446 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2447 * WSSecurityMessageHeader.cs :
2448 (SecurityTokenReferenceKeyInfo) support LoadXml.
2450 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2452 * TransactionMessageProperty.cs : new file.
2454 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2456 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2457 gmcs happened to report wrong code.
2459 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2461 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2462 .ctor() now requires ChannelProtectionRequirements which will be
2463 supplied via BindingParameterCollection.
2464 * SymmetricSecurityBindingElement.cs,
2465 AsymmetricSecurityBindingElement.cs : thus add
2466 ChannelProtectionRequirement parameter to factory/listener.
2467 * SecurityRequestChannel.cs : use recipient token requirement to
2468 create an encryption token. Thus differentiate the logic from
2469 signing (initiator) token.
2471 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2473 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2474 renamed former to latter.
2475 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2478 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2480 * MessageSecurityBindingSupport.cs : new internal types to commonize
2481 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2482 and thus make internal factory and listener reusable.
2483 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2484 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2485 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2486 SymmetricSecurityBindingElement, using the new types above.
2487 * SymmetricSecurityBindingElement.cs :
2488 Use SymmetricMessageSecurityBindingSupport.
2489 * AsymmetricSecurityBindingElement.cs :
2490 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2492 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2494 * ChannelFactoryBase.cs : more RC1 update.
2496 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2498 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2499 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2500 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2501 ChannelBase.cs : RC1 API updates.
2502 * MessageImpl.cs : implemented Properties.
2503 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2505 2006-09-18 Ankit Jain <jankit@novell.com>
2507 * MessageHeaders.cs (MessageId):
2508 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2510 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2512 * ChannelParameterCollection.cs : new file.
2513 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2514 new files for IOutputChannel implementation.
2515 * OneWayBindingElement.cs : hacky implementation.
2516 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2517 * MessageSecurityUtility.cs : now create identifier from the security
2518 token and the token parameters which is added as an argument.
2519 * SecurityRequestContext.cs,
2520 SecurityRequestChannel.cs : SecureMessage() argument changes.
2521 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2524 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2526 * HttpRequestChannel.cs : close the HttpWebRequest.
2528 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2530 * HttpRequestChannel.cs,
2531 HttpChannelFactory.cs : implement async request/reply.
2532 * HttpChannelFactory.cs :
2533 verify factory state when creating a channel.
2535 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2537 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2538 BinaryMessageEncoder.cs : added message version mismatch check.
2540 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2542 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2543 Making incomplete changes to handle different tokens for encryption
2545 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2546 split channel implementation classes out to the latter file.
2547 * MessageSecurityUtility.cs : seems like there is
2548 TimeStampValidityDuration property, so use it (incomplete; a server
2549 needs another love).
2551 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2553 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2554 SecurityRequestContext.cs : now that we have key identifier clause
2555 and working ResolveKeyIdentifierClause(), just create keys inside
2556 SecureMessage(). Add KeyInfo to the xmldsig.
2558 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2560 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2561 pass SecurityKeyIdentifierClause to SecureMessage().
2562 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2563 for IssuedToken binding element.
2564 * SymmetricSecurityChannelListener.cs : removed hack to just create
2565 X509 security token, and implemented correct token creation.
2566 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2567 wraps SecurityTokenReference element.
2568 * MessageSecurityUtility.cs : use the above.
2570 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2572 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2573 could not find a security header.
2574 * SymmetricSecurityChannelFactory.cs : now it also supports
2575 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2578 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2580 * SecurityRequestContext.cs : moved securing message part to
2581 MessageSecurityUtility.cs.
2582 * MessageSecurityUtility.cs : the change above.
2583 use DateTime.Now for timestamp basis. Don't append signature to
2584 the document. Instead it is added to the header. Capture body
2585 content instead of the body itself.
2586 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2587 be processed by upper layers.
2589 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2591 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2592 SymmetricSecurityChannelListener.cs,
2593 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2594 more refactoring. Request serialization became much more conformant
2595 and add required header items.
2596 Security Token retrieval is needed to send it in the request.
2597 Fixed wrong key encryption.
2599 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2601 * SecurityRequestContext.cs : the workaround was not functional.
2603 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2605 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2606 API, especially ReplaceData(), instead of native crypto stuff.
2607 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2608 MessageProtectionOrder.SignBeforeEncrypt).
2610 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2612 * SecurityRequestContext.cs : label should be combined of both
2613 the client's and the server's.
2615 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2617 * SecurityRequestContext.cs : enable key derivation (though for now
2618 GenerateDerivedKey() is unimplemented). Create meaningful,
2619 decrypted request message to be consumed by the upper layer.
2621 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2623 * SecurityRequestContext.cs : implement Close() and Reply().
2624 ongoing implementation of Reply(TimeSpan).
2625 * MessageSecurityUtility.cs : new file to collect utility methods.
2626 * SymmetricSecurityChannelFactory.cs : moved securing message code
2628 * SymmetricSecurityChannelListener.cs : tiny renaming.
2630 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2632 * SecurityRequestContext.cs : security header is also stored.
2634 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2637 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2639 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2642 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2644 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2645 so that it retrieves the security key in that manner.
2647 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2649 * Binding.cs : MessageVersion is null when there is no
2650 MessageEncodingBindingElement.
2651 * Message.cs : null arg check.
2653 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2655 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2657 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2659 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2660 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2661 LayeredRequestChannel.cs : some refactoring.
2662 * SymmetricSecurityChannelFactory.cs :
2663 ongoing secure message creation implementation.
2665 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2667 * SymmetricSecurityBindingElement.cs :
2668 pass specific ServiceCredentialsSecurityTokenManager type to
2669 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2670 * SymmetricSecurityChannelListener.cs :
2671 get service certificate. It's a temporary hack.
2672 Move RequestContext code to below.
2673 * SecurityRequestContext.cs : new file.
2674 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2675 it I have to finish decryption of the incoming message.
2677 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2679 * MessageImpl.cs : don't write attributes on the first body content
2680 element *on soap Body element*.
2681 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2682 ObjectDisposedException is appropriate.
2683 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2684 in OnWriteHeader*Contents*().
2686 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2688 * WSSecurityMessageHeader.cs : new file.
2689 * SymmetricSecurityChannelFactory.cs :
2690 moved WSSecurityHeader and related types to the above.
2691 * SymmetricSecurityChannelListener.cs :
2692 reject SOAP-env-less message.
2694 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2696 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2697 renamed former to latter.
2698 * SymmetricSecurityChannelFactory.cs :
2699 create requirements every time. It is also likely that I need
2700 another requirement instance to get service credentials here.
2702 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2704 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2705 similar to BuildChannelFactory() (set credentials, issuer binding
2707 * SecurityChannelListener.cs :
2708 more ongoing security support implementation.
2709 * SymmetricSecurityChannelFactory.cs :
2710 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2712 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2714 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2715 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2716 Implementation is underway.
2717 * LayeredReplyChannel.cs :
2718 like LayeredRequestChannel, use ChannelListenerBase to provide
2721 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2723 * MessageHeader.cs : added another implementation type that uses
2724 XmlElement, for buffering purpose.
2725 * MessageImpl.cs : Header item types are user-driven by
2726 MessageHeader.GetHeader<T>(int), so at storing phase just store
2727 nodes as XmlElement.
2728 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2731 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2733 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2734 BindingParameterCollection, not from binding element properties.
2736 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2738 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2739 renamed former to latter.
2741 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2743 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2744 work for SslSecurityTokenParameters.
2746 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2748 * SecurityBindingElement.cs :
2749 Added SetIssuerBindingContextIfRequired().
2750 * SecurityChannelFactory.cs :
2751 Changed .ctor() arg again, just to receive binding element.
2752 * SymmetricSecurityBindingElement.cs :
2753 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2754 SymmetricSecurityChannelFactory .ctor() arg changes.
2755 "ProtectionTokenParameters" is not passed now.
2757 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2759 * SymmetricSecurityBindingElement.cs : requirements should be
2760 filled at InitializeSecurityTokenParameters as long as possible.
2761 SymmetricSecurityChannelFactory<T> now does not receive
2762 requirements (it now creates one inside it) at .ctor().
2763 * SecurityChannelFactory.cs : remove requirement argument.
2765 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2767 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2769 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2771 * SymmetricSecurityBindingElement.cs :
2772 MessageSecurityVersion property is of type SecurityTokenVersion.
2773 * SecurityBindingElement.cs :
2774 Implemented CreateSecureConversationBindingElement().
2775 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2776 the argument IssuedSecurityTokenParameters itself.
2778 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2780 * SymmetricSecurityBindingElement.cs :
2781 CreateSecurityTokenManager() can be directly used now.
2782 Use CallInitializeSecurityTokenRequirement() to fill requirement
2785 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2787 * ChannelFactoryBase.cs : GetProperty() is virtual.
2789 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2791 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2792 create token manager, token parameters and token requirements,
2793 and fill some requirements.
2794 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2795 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2796 * BindingContext.cs : implemented RemainingBindingElements.
2797 kill "no remaining binding element" error in GetInnerProperty()
2798 * SecurityChannelFactory.cs : now it became
2799 SymmetricSecurityChannelFactory, thus soon to be renamed.
2800 Several ongoing actual security resolution is on.
2802 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2804 * CommunicationObject.cs :
2805 add GetCommunicationObjectType() and use it.
2806 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2807 use ThrowIfDisposedOrNotOpen().
2808 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2809 to CommunicationObject. Make it IDisposable.
2810 * LayeredRequestChannel.cs : use above.
2811 * SecurityChannelFactory.cs : removed state check as it is done at
2814 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2816 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2817 CanBuildChannelListener) directly dispatch to BindingContext.
2818 * SymmetricSecurityBindingElement.cs : require protection token
2819 parameters before building a channel or a listener.
2820 * ChannelFactoryBase.cs : raise an error when a channel is being
2821 created without opening the factory.
2822 * ChannelListenerBase_1.cs : ditto for the listener.
2823 * SecurityChannelFactory.cs : before sending a request, it must be
2826 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2828 * MessageBufferImpl.cs : initialize fields.
2829 workaround BufferSize just to return 0.
2830 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2831 which does not support multi time write.
2832 * Message.cs : implemented State.
2834 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2836 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2837 is consuming XmlReader.
2838 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2839 * MessageBuffer.cs : implemented CreateNavigator().
2840 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2842 I kinda know that MS heavily depends on binary XmlReader and may have
2843 XPathNavigator implementation based on the binary stuff, but at
2844 least for now we have almost no motivation to mimick it.
2846 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2848 * SecurityChannelFactory.cs : a bit more of security header code.
2850 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2852 * SymmetricSecurityBindingElement.cs :
2853 set default MessageProtectionOrder in every construction.
2855 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2857 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2858 changed to require ChannelFactoryBase to support default timeout.
2859 Made some methods non-virtual. Preparing code to add security
2860 headers (empty yet).
2861 * SecurityBindingElement.cs : implemented several factory methods
2862 that return SymmetricSecurityBindingElement.
2864 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2866 * IStreamUpgradeBindingElement.cs,
2867 StreamUpgradeBindingElement.cs : renamed from former to latter.
2869 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2871 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2873 2006-07-31 Ankit Jain <jankit@novell.com>
2875 * MessageHeaders.cs (From): Use Constants.WSA1
2876 (MessageId): Implement the same pattern as other properties (From etc).
2878 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2880 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2881 * SecurityBindingElement.cs : some cosmetic changes.
2883 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2885 * SecurityBindingElement.cs : LocalClientSettings and
2886 LocalServiceSettings returns an instance for each.
2887 * LocalClientSecuritySettings.cs : initialized fields.
2889 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2891 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2892 kinda implemented Clone() just with MemberwiseClone().
2894 2006-07-27 Ankit Jain <jankit@novell.com>
2896 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2897 * MessageHeader.cs (knownTypes): New. Known type array containing
2899 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2901 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2903 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2904 LayeredCommunicationObject.cs,
2905 SecurityChannelFactory.cs, SecurityChannelListener.cs :
2906 new files to support security channels, though right now they
2907 just pass inner channels through.
2908 * SymmetricSecurityBindingElement.cs : use above.
2910 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2912 * AsymmetricSecurityBindingElement.cs,
2913 SymmetricSecurityBindingElement.cs :
2914 Default SecurityTokenParameters is null.
2916 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2918 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
2920 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2922 * Message.cs : When EnvelopeVersion is None, don't write SOAP
2924 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
2925 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
2926 headers. When AddressingVersion is None, don't output addressing
2927 headers as well, except for Action which is still needed by
2930 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2932 * MessageHeaders.cs : changed specific properties to find it from
2933 headers as Action property does (local variables won't be set by
2934 setter). Cache serializers. Check null serializer arguments.
2935 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
2937 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
2939 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
2940 use XmlObjectSerializer (since it is not data contract type).
2942 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2944 * MessageImpl.cs : Improved ReadHeaders().
2945 For certain header items, use EndpointAddress.ReadFrom().
2947 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2949 * AsymmetricSecurityBindingElement.cs :
2950 it is not ISecurityCapabilities anymore.
2952 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2954 * MessageVersion.cs : added None.
2956 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
2958 * Message.cs : GetReaderAtBodyContents() implementation using
2961 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
2963 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
2964 used MessageVersion.Default.
2966 2006-07-12 Duncan Mak <duncan@novell.com>
2968 * MessageBuffer.cs (MessageContentType): Return
2969 "application/soap+msbin1".
2971 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
2972 (SimpleMessage.OnCreateBufferedCopy):
2973 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
2974 MessageBuffer implementations.
2976 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
2977 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
2978 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
2980 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
2982 * MessageImpl.cs : Action should be added in request messages. Omit
2983 it only in reply message, thus moved to dispatcher logic.
2985 2006-07-12 Ankit Jain <jankit@novell.com>
2987 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
2988 bug in WebConnectionStream.
2989 * MessageHeaders.cs (MessageHeaders.From):
2990 (MessageHeaders.ReplyTo):
2991 (MessageHeaders.To): Add the corresponding MessageHeader on set.
2993 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
2995 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
2996 add SOAP Action to the response at any time.
2998 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3000 * SymmetricSecurityBindingElement.cs,
3001 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3002 Implemented .ctor() and some properties.
3004 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3006 * TransactionFlowBindingElement.cs : new file.
3007 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3009 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3012 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3013 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3014 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3015 vanished (there is anyways no way to instantiate this type).
3016 * MessageVersion.cs : added Soap11 and Soap12.
3017 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3018 in June CTP. goodie.
3020 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3022 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3023 removed some vanished CreateMessage() overloads.
3025 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3027 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3028 HttpTransportBindingElement.cs :
3029 They are not ISecurityCapabilities anymore.
3030 Modified code to match June CTP behavior.
3032 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3034 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3036 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3038 * EmptyFaultException.cs : removed unused code.
3039 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3041 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3043 * LayeredChannelFactory.cs : removed obsolete class.
3044 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3045 ChannelListenerBase.cs, HttpChannelListener.cs,
3046 HttpReplyChannel.cs, ChannelManagerBase.cs :
3047 all those changes were brought by ChannelManagerBase changes.
3049 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3051 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3052 CommunicationObject.cs, HttpChannelListener.cs,
3053 ChannelFactoryBase.cs :
3054 CommunicationObject abstract changes brought this madness.
3056 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3058 * BindingContext.cs : listenUri address parameters could be null in
3061 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3063 * IRequestContext.cs :
3064 Now it became a class. File renaming will follow soon.
3065 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3066 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3067 IOutputChannel.cs, IOutputSessionChannel.cs,
3068 IRequestChannel.cs, IRequestSessionChannel.cs :
3069 They are not IDisposable anymore.
3070 For IReplyChannel, IRequestContext -> RequestContext.
3071 * IChannelListener.cs : removed Identity. Added GetProperty().
3072 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3073 ReplyChannelBase.cs, HttpReplyChannel.cs :
3074 Several members disappeared, and dependent changes.
3075 * HttpTransportBindingElement.cs,
3076 HttpChannelListener.cs, :
3077 ChannelListenerBase.SharedChannelListener vanished.
3079 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3081 * MessageEncodingBindingElement.cs
3082 MtomMessageEncodingBindingElement.cs,
3083 TextMessageEncodingBindingElement.cs,
3084 BinaryMessageEncodingBindingElement.cs :
3085 June CTP updates: AddressingVersion -> MessageVersion.
3086 * Binding.cs : June CTP. MessageVersion is added.
3087 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3088 ChannelListenerBase_1.cs,
3089 ChannelListenerBase.cs, IChannelListener.cs,
3091 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3092 June CTP. Several interface changes.
3093 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3094 * IChannelManager.cs, LayeredChannelListener.cs,
3095 GenericWrapperChannelFactory.cs,
3096 GenericWrapperChannelListener.cs : They are not used anymore.
3098 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3100 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3101 sync fix with June CTP API updates.
3103 2006-07-03 Ankit Jain <jankit@novell.com>
3105 * MessageEncodingBindingElementConverter.cs:
3106 * StandardBindingConverter.cs:
3107 * TransportBindingElementConverter.cs:
3108 * TransactionFlowBindingElementConverter.cs:
3109 * ReliableSessionBindingElementConverter.cs:
3110 * SecurityBindingElementConverter.cs:
3111 Rename *Converter.cs to *Importer.cs
3113 * TransferMode.cs: Move to System.ServiceModel
3115 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3117 * CommunicationObject.cs : make sure to change State before
3118 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3120 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3122 * Message.cs : output WSAddressing xmlns only when Action is
3123 specified (To should be affected, but seems like it is ignored).
3125 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3127 * MessageImpl.cs : don't set Action when it is null.
3129 2006-06-12 Ankit Jain <jankit@novell.com>
3131 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3133 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3135 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3136 some updated API fixes.
3138 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3140 * EnvelopeVersion.cs : moved back to S.SM.
3142 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3144 * IBindingManualAddressing.cs : vanished in beta2.
3145 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3146 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3148 * SecurityBindingElement.cs :
3149 SecurityStandardsManager -> SecurityTokenSerializer.
3151 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3153 * XmlSerializerBodyWriter.cs : new file to handle
3154 TypedMessageConverter.ToMessage().
3156 2006-04-26 Ankit Jain <jankit@novell.com>
3158 * TransportBindingElementConverter.cs (BeforeImport): Remove
3159 NotImplementedException.
3160 (ImportContract): Likewise.
3161 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3163 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3165 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3166 being used was not reflecting that of Binding elements.
3168 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3170 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3171 just assume that it is in the message.
3173 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3175 * HttpReplyChannel.cs : actually HTTP header item might be null.
3177 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3179 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3182 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3184 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3186 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3188 * MessageFault.cs : Fixed SOAP12 reason output.
3190 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3192 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3193 MessageEncoder.ContentType explicitly contains encoding.
3194 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3195 if it is SOAP version dependent.
3197 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3199 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3201 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3203 * HttpChannelFactory.cs BindingContext.cs
3204 HttpChannelListener.cs HttpTransportBindingElement.cs :
3205 Now BindingContext holds MessageEncoder, and non-custom
3206 channel factory/listener should use it.
3207 * MtomMessageEncodingBindingElement.cs
3208 TextMessageEncodingBindingElement.cs
3209 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3210 -Listener() now sets internal BindingContext.MessageEncoder.
3211 Fixed some public API.
3213 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3215 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3216 for insufficient elements.
3217 * DispatchRuntime.cs : OperationDescription name is not action. So
3218 OperationSelector is created by name, not by action.
3219 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3221 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3223 * MessageFaultBodyWriter.cs
3224 XmlReaderBodyWriter.cs
3225 XmlObjectSerializerBodyWriter.cs : made internal.
3226 * SecurityBindingElement.cs
3227 AsymmetricSecurityBindingElement.cs
3228 SymmetricSecurityBindingElement.cs : API fixes.
3229 * TransportBindingElementConverter.cs : ditto.
3230 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3231 * WindowsStreamSecurityBindingElement.cs
3232 SslStreamSecurityBindingElement.cs
3233 TransportSecurityBindingElement.cs : new files.
3235 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3237 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3238 reading can be any xs:boolean value.
3240 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3242 * Message.cs MessageImpl.cs : more sorting out the role of each
3244 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3246 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3248 * Message.cs : don't write body contents if it is empty.
3249 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3250 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3251 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3252 * HttpRequestChannel.cs : close request stream before GetResponse().
3254 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3256 * TextMessageEncoderFactory.cs
3257 TextMessageEncoder.cs : encoder does not hold reference to the
3258 factory anymore. Use MessageVersion property in CreateMssage().
3259 * HttpChannelListener.cs : now it holds message encoder.
3260 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3261 * MessageImpl.cs : header is optional.
3262 * EnvelopeVersion.cs : namespace URI is missing.
3264 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3266 * CustomBinding.cs : removed Initialize().
3267 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3268 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3269 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3270 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3272 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3274 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3275 could be also added by Add() method and could be reset by Remove()).
3276 * MessageImpl.cs : implemented more. As noted above, Now we don't
3277 have to add Action header explicitly.
3278 * MessageHeader.cs : recovered Writer methods and ToString() from
3279 commented old version. Use prefixes for writing.
3280 Use WriteObjectContent() rather than WriteObject() (it needs
3281 DataContractSerializer fix btw).
3283 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3285 * MessageHeader.cs : added missing IsReferenceParameter.
3286 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3287 * MessageHeaders.cs : avoid NullRef when actors is null.
3288 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3289 (ForwardingMessage) reader consumer is being added (not done).
3290 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3291 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3292 * HttpRequestChannel.cs : this channel automatically call Open()
3293 when Request() is called. Set content length for request.
3294 Use MessageEncoder's ContentType to also handle charset.
3296 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3298 * MessageImpl.cs : make them internal.
3299 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3301 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3303 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3304 * HttpChannelListener.cs : removed commented line.
3305 * RequestChannelBase.cs : new base class for request channel classes.
3306 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3307 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3308 * Message.cs : default IsEmpty and IsFault false by default.
3309 * LayeredChannelListener.cs : removed Uri (no chance to set).
3310 * ChannelBase.cs : reimplemented timeout properties.
3311 * HttpRequestChannel.cs : now it is mostly based on
3312 RequestChannelBase. Some more attempt to implement Request().
3314 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3316 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3317 OnInitialize(). Added more BuildChannelListener() overloads.
3319 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3321 * Binding.cs : added some more missing members especially to support
3323 * HttpChannelListener.cs : Uri should not be null.
3324 * HttpTransportBindingElement.cs : implemented
3325 CanBuildChannelFactory() and CanBuildChannelListener().
3326 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3328 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3330 * Binding.cs : updated default namespace property value to Feb. CTP.
3332 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3334 * AddressHeader.cs : avoid null reference when value is null.
3335 * BindingContext.cs : check null ListenUri args.
3337 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3339 * MessageFault.cs : Fixed default action name. Null arg check.
3341 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3343 * BindingElement.cs : Dequeue elements in BindingContext directly.
3344 * BindingContext.cs : Added GetProperty<T>().
3345 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3346 Now we don't need these extra classes, so marked as deprecated.
3348 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3350 * Binding.cs : null arg check.
3351 * AddressingVersion.cs : fixed constants to pass the tests.
3352 * BindingElement.cs : tiny meessage fix.
3354 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3356 * MessageEncodingBindingElement.cs
3357 BinaryMessageEncodingBindingElement.cs
3358 TextMessageEncodingBindingElement.cs
3359 MtomMessageEncodingBindingElement.cs
3360 MessageEncodingBindingElementConverter.cs : several API fixes.
3361 * BindingElement.cs : now if we use generic wrapper it causes
3362 infinite loop, so for now replace it with most-possible-but-
3365 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3367 (back to normal "record-ChangeLogs" mode after the big API change mess)
3368 * HttpTransportBindingElement.cs : fixed minor API differences.
3370 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3372 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3373 SymmetricSecurityBindingElement.cs :
3374 Dependent fixes for System.IdentityModel reorgainzation.
3376 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3378 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3379 IProxyFormatter.cs WSHttpBindingBase.cs
3380 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3381 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3382 WSFederationBinding.cs ISessionChannel.cs
3383 CompositeDuplexBindingElement.cs MessageVersion.cs
3384 MessageHeader.cs IRequestSessionChannel.cs
3385 BindingElementCollection.cs IReplySessionChannel.cs
3386 MessageProperties.cs IDuplexClientChannel.cs
3387 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3388 TcpTransportBindingElement.cs EmptyFaultException.cs
3389 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3390 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3391 ConnectionOrientedTransportBindingElement.cs
3392 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3393 PeerResolverBindingElement.cs Message.cs
3394 HttpsTransportBindingElement.cs BindingElement.cs
3395 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3396 MessageFaultBodyWriter.cs IReplyChannel.cs
3397 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3398 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3399 IRequestContext.cs IInputSessionShutdown.cs
3400 SecurityBindingElement.cs PeerTransportBindingElement.cs
3401 IDuplexSession.cs IChannelInitializer.cs
3402 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3403 AddressingVersion.cs FaultException.cs
3404 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3405 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3406 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3407 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3408 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3409 BindingParameterCollection.cs IInstanceProvider.cs
3410 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3411 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3412 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3413 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3414 moved from System.ServiceModel due to the API changes.
3416 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3418 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3419 HttpChannelListener.cs HttpRequestChannel.cs
3420 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3421 PeerNode.cs ReplyChannelBase.cs :
3422 Feb. CTP API changes - chapter 1.
3424 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3426 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3427 * ReplyChannelBase.cs : now it is based on ChannelBase.
3428 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3429 and check null argument in .ctor().
3430 * HttpReplyChannel.cs : several changes.
3431 Non-async members are mostly implemented.
3432 * HttpChannelListener.cs : no need to receive
3433 IDefaultCommunicationTimeouts.
3434 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3435 to allocate buffer array and int.MaxValue causes OutOfMemory.
3437 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3439 * ClientFramingDecoderState.cs : added missing enum.
3440 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3442 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3444 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3446 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3447 AcceptChannel() has some code now but it needs more love.
3449 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3451 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3452 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3453 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3455 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3457 * HttpRequestChannel.cs : close the streams.
3459 HttpChannelListener.cs : renamed from former to latter.
3461 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3463 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3464 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3465 * HttpListenerFactory.cs : removed obsolete file.
3466 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3467 * ChannelListenerBase_1.cs : implemented virtual stuff.
3468 * CommunicationObject.cs : Open() should not call BeginOpen() and
3469 EndOpen(). Instead, invoke events individually.
3470 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3472 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3474 * HttpRequestChannel.cs : call Flush() after serializing message
3477 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3479 * HttpRequestChannel.cs : implemented pretty hacky Request().
3481 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3483 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3485 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3487 * ChannelFactoryBase.cs : removed some NotImplementedException for
3488 further internal implementation.
3490 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3492 * HttpRequestChannel.cs : new file. mostly not implemented.
3493 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3494 Partly implemented CreateChannel().
3496 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3498 * HttpChannelFactory.cs : (.ctor())
3499 Don't take ChannelBuildContext.
3501 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3503 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3504 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3505 PeerMessagePropagation.cs : updated to Nov. CTP.
3507 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3509 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3510 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3511 StreamSecurityUpgradeAcceptor.cs,
3512 StreamSecurityUpgradeInitiator.cs :
3513 Updated to Nov. CTP API.
3515 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3517 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3519 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3521 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3523 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3525 * ChannelBase.cs : tiny filename fix.
3526 * ChannelListenerBase.cs : added more .ctor()s.
3528 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3530 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3531 ListenerFactoryBase.cs ChannelListenerBase.cs :
3532 updated IListener related stuff to Nov. CTP.
3533 file renaming will come soon.
3535 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3537 * ListenerBase.cs, ChannelListenerBase.cs :
3538 moved from former to latter.
3539 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3540 moved from former to latter.
3542 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3544 * SessionFaultedException.cs : removed in Nov. CTP
3546 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3548 * CommunicationObject.cs : updated to Nov. CTP.
3549 * SessionFaultedException.cs : removed (in Nov. CTP)
3551 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3553 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3556 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3558 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3559 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3560 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3561 * MessageEncoder.cs : largely implemented.
3563 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3565 * IRequestReplyCorrelator.cs : new file.
3567 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3569 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3570 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3571 * MessageEncoder.cs : added misssing ToString().
3573 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3575 * ChannelBehaviorCollection.cs : moved to sys.sm.
3577 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3579 * HttpListenerFactory.cs, HttpListener.cs : new files.
3580 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3581 CommunicationObject.cs, ChannelFactoryBase.cs,
3582 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3584 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3585 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3587 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3589 * ListenerFactoryBase.cs : some implementation.
3591 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3593 * CommunicationObject.cs : more state fixes.
3595 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3597 * CommunicationObject.cs : some state machine fixes.
3599 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3601 * PeerNode.cs, ChannelManagerBase.cs :
3602 several API fixes detected by improved corcompare.
3604 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3606 * LayeredListenerFactory.cs : added missing generic class constraint.
3608 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3610 * ListenerFactoryBase.cs,
3611 ListenerBase.cs : class constraints were missing for generic args.
3613 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3615 * StreamUpgradeInitiator.cs : tiny API fix.
3617 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3619 * PeerMessagePropagationFilter.cs : tiny build fix.
3621 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3623 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3624 added Name. fixed StatusCode type.
3625 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3626 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3627 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3628 DirectionalAction.cs, HostedTransportConfiguration.cs,
3629 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3630 PeerMessagePropagationFilter.cs : added missing files.
3631 * Dummy.cs : removed. MSMQ stuff can be added later.
3633 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3635 * DeliveryStatus.cs, DeliveryFailure.cs,
3636 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3637 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3639 * Dummy.cs : removed above.
3641 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3643 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3645 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3647 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3648 MessageEncoder.cs, BufferManager.cs : new files.
3649 * Dummy.cs : removed above.
3651 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3653 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3654 * Dummy.cs : removed above.
3655 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3657 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3659 * HttpChannelFactory.cs : new file.
3661 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3663 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3664 moved to ../System.ServiceModel (correct location).
3665 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3666 new files for channels.
3667 * Dummy.cs : reflected above changes.
3668 * ChannelManagerBase.cs : added a bit of code and todos.
3670 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3672 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3673 added listener support files.
3674 * Dummy.cs : removed above.
3676 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3678 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3679 added request/reply channel interfaces.
3680 * Dummy.cs : removed above.
3681 * CommunicationObject.cs : FIXME comments.
3683 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3685 * CommunicationObject.cs : implemented some members.
3687 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3689 * CommunicationObject.cs : some signature fixes.