1 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
3 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
6 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
8 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
10 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
12 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
15 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
17 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
19 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
21 * HttpRequestContext.cs : removed HTTP status rewriting for
24 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
26 * HttpRequestChannel.cs : handle only 4xx errors as to not process
29 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
31 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
33 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
35 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
36 Patch by Matt Dargavel.
38 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
40 * HttpListenerManager.cs : use lock object which is subject to
41 change. Fix by Matt Dargavel.
43 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
45 * HttpListenerManager.cs : remove consumed HttpListenerContext from
46 the pending queue. Compare "wsdl" request in case insensitive
47 manner. Patch by Matt Dargavel.
49 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
51 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
52 supposed to provide detailed 400 error message.
54 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
56 * TransactionFlowBindingElement.cs: revamp the previous change to
57 not regress regarding service metadata.
59 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
61 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
62 GetProperty<T>() bug that fails to retrieve properties. (This may
63 be rewritten later if an ongoing change proposal is to take place.)
65 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
67 * ReliableSessionBindingElement.cs,
68 PrivacyNoticeBindingElement.cs,
69 RemoteEndpointMessageProperty.cs : added some missing types.
71 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
74 why does it filter out most of the headers? kill it.
76 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
78 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
79 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
80 to not raise "not found" error (see bug #573795).
82 2010-03-16 Jb Evain <jbevain@novell.com>
84 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
85 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
87 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
89 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
90 type, and use null password unless we find a chance to get password
91 in ASP.NET HttpContext.
93 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
95 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
96 HttpListenerManager.cs : ongoing authentication support. It returns
97 401 as expected, but somehow fails to retrieve user info.
99 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
101 * HttpListenerManager.cs : this change (along with HttpListener
102 implementation) somehow fixes basic auth. connection error...
104 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
106 * MessageHeaders.cs : add !NET_2_1.
108 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
110 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
111 typed UniqueId output.
113 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
115 * MessageHeader.cs : no need to treat EndpointAddress as a special
118 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
120 * MessageHeaders.cs : remove duplicate constant.
122 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
124 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
125 EndpointAddress as a special case. Instead, each MessageHeaders
126 property should convert it to appropriate serializable objects.
128 (Our DataContractSerializer fails to reject EndpointAddress as
129 serializable type, so it's rather a preparation step.)
131 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
133 * MessageHeader.cs, Message.cs : use dictionary string whenever
134 applicable. The binary output on #577139 is getting closer (no
135 idea if it is really about binary output though).
137 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
139 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
141 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
143 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
145 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
147 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
148 enable authentication schemes on monotouch.
150 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
152 * SvcHttpHandler.cs : a wait handle could be used for more than one
153 requests and hence it sometimes blocked one reply channel. Now
154 it creates a wait handle for each ASP.NET request so that such
155 multiple use should not occur. This should fix blocking on
156 concurrent requests (it indeed fixes as long as I can see).
158 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
160 * AspNetReplyChannel.cs : remove garbage output.
162 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
164 * SvcHttpHandler.cs : Use lock when it tries to create the service
167 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
169 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
172 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
174 * HttpListenerManager.cs : add another workaround for blocking
177 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
179 * HttpListenerManager.cs : small refactoring.
181 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
183 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
184 that somehow makes callback client to not cause infinite loop.
186 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
188 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
189 DuplexChannelBase.cs : Receive() should rather use TryReceive().
190 It should not be in reverse order.
192 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
194 * HttpReplyChannel.cs, HttpListenerManager.cs :
195 Implement async cancellation in the expected manner (though with
196 some hack). This mostly removed nunit blockers.
198 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
200 * CommunicationObject.cs : fix wrong status changes.
202 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
204 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
206 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
208 * AddressHeader.cs : implement remaining bits.
209 Eliminate dependency on NetDataContractSerializer.
211 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
213 * CommunicationObject.cs : in Fault(), do similar work as previous
216 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
218 * CommunicationObject.cs : when process state changes, lock the
219 object to make sure the state transition is valid.
220 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
222 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
224 * MessageHeaders.cs : implement SetAction().
226 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
228 * ChannelFactoryBase.cs : fix build.
230 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
232 * ChannelBase.cs : cosmetic API fix for SL3.
234 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
236 * ChannelFactoryBase.cs :
237 implement On{Begin/End}Close() on the generic type.
239 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
241 * HttpChannelFactory.cs, TcpChannelFactory.cs,
242 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
243 PeerChannelFactory.cs, HttpRequestChannel.cs:
244 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
245 type and made required changes.
247 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
249 * HttpCookieContainerBindingElement.cs : new.
250 * IHttpCookieContainer.cs : fix type name.
251 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
253 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
255 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
256 does not happen when communicating with .NET client but happens with
257 mono). Seealso FIXME comment.
258 * TcpDuplexSessionChannel.cs : do not try to close session when it
259 failed to read sized message. The connection is already dead.
263 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
265 * TcpDuplexSessionChannel.cs :
266 Write EndRecord only when the connection is available.
267 Remove hack - do let ChannelDispatcher close the channel.
268 * TcpBinaryFrameManager.cs :
269 The socket may be disconnected when trying to read a sized message,
270 so check some socket exceptions.
271 In case the client silently shuts down without EndRecord and
272 reconnects to the server with preamble while expecting a sized
273 message (which is so lame, but that's what .NET often does), refresh
274 preamble and continue.
276 This fixes some cases of bug #567949 but not all.
278 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
280 * BinaryMessageEncoder.cs : enable workaround buffering only when
281 the argument stream does *not* support seek. This fixes some
282 net.tcp connection problem.
284 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
286 * TcpBinaryFrameManager.cs : If preamble byte is not available from
287 the client stream, detect it to close the reply or input channel.
288 * TcpRequestChannel.cs : send preamble at each request time.
289 It differentiates communication behavior on such cases that involve
290 single open and multiple requests.
291 * TcpReplyChannel.cs : close the channel only when the channel is
292 oeprated to close i.e. do not close the socket every time.
293 Process preambles on each request (the same as request channel).
295 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
297 * TcpBinaryFrameManager.cs : unsized envelope record may have more
298 than one data block, so consume them accordingly. This should fix
299 large buffer consumption.
301 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
303 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
306 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
308 * HttpRequestContext.cs : for DestinationUnreachable message, this
309 channel returns 400 in .NET.
311 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
313 * BinaryMessageEncoder.cs : added workaround for strange stream
314 consumption error raised by HttpTransport + Binary encoder example.
315 * BinaryMessageEncodingBindingElement.cs:
316 only SOAP 1.2 is allowed for this encoder.
318 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
320 * XmlReaderBodyWriter.cs : don't try to write empty xml.
322 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
324 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
325 default WebHeaderCollection items are overwritten.
327 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
329 * HttpRequestChannel.cs : when HTTP response was error, do not try
330 to read message but just raise an error.
332 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
334 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
336 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
338 * HttpRequestChannel.cs : WebException.Response might be null.
340 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
342 * ReplyChannelBase.cs : added listener property.
343 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
344 been updated to prefer async by default, a while ago.
346 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
348 * HttpTransportBindingElement.cs : finished all GetProperty() values.
350 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
352 * HttpRequestChannel.cs : disabled carelessly added
353 "UseDefaultCredentials = false" line. It blocked basic auth.
355 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
357 * HttpRequestChannel.cs, HttpChannelFactory.cs,
358 HttpChannelListener.cs, HttpListenerManager.cs :
359 implemented http client authentication and some of corresponding
360 service code. Only client works so far.
362 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
364 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
365 added URI scheme check.
367 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
369 * TransportSecurityBindingElement.cs : fix 2.1 build.
371 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
373 * HttpsTransportBindingElement.cs :
374 RequireClientCertificate is false by default.
375 Remove extra #if NET_2_1.
376 * SecurityBindingElement.cs :
377 Implement some transport security factory methods.
378 * TransportSecurityBindingElement.cs :
379 It is not ISecurityCapabilities anymore.
381 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
384 SecurityBindingElement.cs
385 LocalClientSecuritySettings.cs
386 TransportSecurityBindingElement.cs
387 FaultConverter.cs : They are now part of SL3 API.
389 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
391 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
393 2009-11-05 Geoff Norton <gnorton@novell.com>
395 * HttpsTransportBindingElement.cs: Implement basic https transport
396 binding support for Moonlight and MonoTouch
398 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
400 * HttpListenerManager.cs : remove CWLs.
402 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
404 * SvcHttpHandler.cs : move back previous listener selector code in
405 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
406 and differentiate requests to deeper paths (such as /jsdebug), so
407 we need such refinement here.
409 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
411 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
414 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
416 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
417 HttpChannelListener.cs, HttpListenerManager.cs :
418 Similar refactoring on ASP.NET side to the previous one.
419 Added ASP.NET implementation of HttpListenerManager and use some
420 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
422 Rewrote AspNetReplyChannel to become almost the same as
423 HttpSimpleReplyChannel, to hopefully unify them later.
424 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
425 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
428 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
430 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
431 Refactoring on listener manager to correctly handle wsdl and help
432 requests for such case that they conflict in addressing. Now it
433 can correctly distinguish service calls, WSDL requests and help
434 requests when all of them point to "http://localhost/foo.svc"
435 (which is very common case that the user does not change Http*Url).
437 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
439 * ChannelListenerBase.cs : add Properties property to add arbitrary
440 properties handy (only inside this assembly).
442 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
444 * HttpReplyChannel.cs : fix warning.
446 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
448 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
450 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
452 * HttpReplyChannel.cs : make sure to release wait lock.
453 * HttpChannelListener.cs : session channels are not supported, so
454 remove relevant NIEs.
456 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
458 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
459 support contexts so we call the non-overloaded WaitOne method
460 (which defaults to false).
462 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
464 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
465 significant rewrite to cooperate wcf handler and asp.net handler
466 to not mix multiple WCF listener within the asp.net handler.
467 So far it mostly works when 1) there are no ChannelDispatchers
468 that have an identical listen Uri and 2) MaxConcurrentSessions is
469 1 (must be explicitly set).
471 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
473 * CommunicationObject.cs : give better state error description.
475 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
477 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
478 to base methods. This resulted in not a few changes everywhere.
480 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
482 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
484 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
486 * SvcHttpHandler.cs : use file path given by the factory to
487 construct BaseAddresses. Requests to "test.svc/jsdebug" should
488 not be handled as request to "jsdebug" file, it's rather an
489 "argument" to "test.svc".
491 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
493 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
494 rewrite to handle shutdown situation better. The listeners should
495 not close channels that it opened. Instead, just stop accepting
496 further requests. Removed blocking mutex on WaitForRequest().
497 Now xsp shuts down as expected.
499 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
501 * HttpReplyChannel.cs : lock list when releasing its content contexts.
502 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
505 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
507 * SvcHttpHandlerFactory.cs : remove todo.
508 * ReplyChannelBase.cs : add comment.
510 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
512 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
513 revert the change, to use internal asp.net state again.
514 * SvcHttpHandler.cs : add VirtualPathExtension.
516 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
518 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
519 asp.net response was not written correctly.
520 Fill HttpRequestMessageProperty to get handle WSDL requests
521 processed in ServiceMetadataExtension without NRE.
522 Remove wrong HttpListenerContext iteration at Abort and Close in
523 common base class and move it to non-asp derived channel.
525 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
527 * SvcHttpHandler.cs : remove unused code.
529 2009-09-30 Jb Evain <jbevain@novell.com>
531 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
532 to use any of the remoting features.
534 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
536 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
537 use AspNetCompatibilityEnabled.
538 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
540 * AspNetReplyChannel.cs : remove extra field.
542 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
544 * HttpReplyChannel.cs : remove extra field.
546 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
548 * AspNetRequestContext.cs : remove CWL.
550 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
552 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
553 only after AspNetRequestContext is closed. Do not close it
554 immediately after receiving the context. (HttpRuntime destructs it
555 and further uses then becomes impossible.)
557 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
559 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
560 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
561 Make sure that AspNetChannelListener is bound to correct
562 SvcHttpHandler, regardless of specific request URI. It is required
563 for both WSDL requests and RESTful binding requests.
565 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
567 * MessageProperties.cs : fix CopyProperties() behavior to not
568 clear existing items. Make all properties call this[name].
570 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
572 * HttpTransportBindingElement.cs : fix 2.1 build.
574 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
576 * TransportBindingElement.cs : another GetProperty fix, iterate
577 other binding elements.
579 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
581 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
582 some GetProperty() implementation.
584 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
586 * HttpListenerManager.cs : release HttpListener and avoid extra
587 close process more than once.
589 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
591 * HttpChannelListener.cs : do not iterate channel list to close
592 channels which in turn removes them from the list while iteration.
594 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
596 * HttpRequestChannel.cs : Fix message version member comparison.
597 Double-quote SOAPAction. Remove extra Exception.
598 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
599 * HttpRequestContext.cs : when addressing is None, remove action
602 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
604 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
605 path, to pick those endpoints that are added at custom factories.
607 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
609 * SvcHttpHandler.cs : apply configuration, and if there is still no
610 endpoint, then add default one.
612 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
614 * SvcHttpHandler.cs : another URL to make relative.
616 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
618 * SvcHttpHandlerFactory.cs : some GetHandler changes.
619 * SvcHttpHandler.cs : significant changes on receiver structure. Now
620 ProcessRequest() stores pending requests (this might be extraneous,
621 but maybe useful when it implements async handler). Also removed
622 reply_channel field as it may become to handle multiple requests.
623 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
624 * AspNetReplyChannel.cs : make it receive requests like
625 HttpReplyChannel (for HttpListener) to make them consistent.
627 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
629 * AspNetRequestContext.cs, HttpRequestContext.cs :
630 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
631 by splitting HttpListener-based context out from common code base.
633 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
635 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
636 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
639 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
641 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
642 loads types from system assemblies appropriately.
644 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
646 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
649 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
651 * HttpRequestMessageProperty.cs : fix default values.
653 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
655 * HttpChannelFactory.cs, HttpRequestChannel.cs,
656 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
657 Check ManualAddressing value and reject address-missing ones.
659 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
661 * HttpChannelFactory.cs : reject URI mismatch cases when required.
663 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
665 * PeerDuplexChannel.cs : When received Connect() from neighbor,
666 add the peer to its internal list.
667 Finally ChatApplication got working.
669 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
671 * PeerDuplexChannel.cs : since the channel factory is per instance,
672 do not reuse factory that is tied to different callback instance.
673 It resolved the issue that mono callback client didn't receive
674 messages from the client itself.
676 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
678 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
679 of the receiver, not the requestor. It resolved the issue that
680 .NET client didn't send further messages to mono server.
682 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
684 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
685 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
686 TcpReplyChannel.cs, TcpRequestChannel.cs,
687 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
688 rename EndRecord handling method to appropriate one.
689 Write EndRecord from recipient too.
691 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
693 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
694 Process PeerTo header to upgrade Message To header. Now mono
695 service accepts mono client (somehow not true for .NET client).
697 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
699 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
700 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
702 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
704 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
706 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
708 * TcpDuplexSessionChannel.cs : check channel state before processing
711 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
713 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
714 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
715 ongoing works, not working at all yet.
717 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
719 * TcpChannelListener.cs, TcpReplyChannel.cs :
720 cosmetic cleanup and corrections.
722 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
724 * TcpChannelFactory.cs : use expected Via uri.
725 Remove extra NIE stuff that are implemented in base.
727 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
729 * TcpDuplexSessionChannel.cs : remove extra code.
731 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
733 * PeerDuplexChannel.cs : ongoing implementation towards get callback
734 replies on peer connector clients (not working as duplex client
735 callback is not working yet).
737 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
739 * TcpDuplexSessionChannel.cs : in callback client channels,
740 OperationContext.IncomingMessageHeaders is null.
742 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
744 * MessageHeaders.cs : duplicate check was sloppy.
746 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
748 * Message.cs, MessageImpl.cs, BodyWriter.cs :
749 Implement BodyWriter.OnCreateBufferedCopy() and use it.
751 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
753 * ReplyChannelBase.cs : initialize field.
755 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
757 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
758 implement GetProperty<T>() and return its channel manager.
760 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
762 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
763 destination address in Connect() request. To repeat sending
764 request, use buffered copy. Set some peer-channel specific
765 header items. (todo: and consume them.)
767 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
769 * Message.cs : state is set only after WriteBodyContents().
771 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
773 * MessageHeaders.cs : eliminate wrong use of
774 ReadElementContentAsString() (it is not always simple string).
776 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
778 * MessageHeaders.cs : when the value is null, do not try to
779 deserialize EndpointAddress.
781 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
783 * MessageHeader.cs : add Value property. (Forgot dependent change.)
785 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
787 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
788 serialization and deserialization of values.
790 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
792 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
793 Now simply use connector contract.
795 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
797 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
799 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
801 * TcpChannelListener.cs : do not try to compare dead connection's
802 IPEndPoint (it raises an error).
804 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
806 * MessageHeaders.cs : allow null header value on each specific setter.
808 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
810 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
811 get local and remote address of connected counterpart to get
812 callback channel connected.
813 * PeerDuplexChannel.cs : remove FIXME wrt above.
815 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
817 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
819 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
821 * MessageHeader.cs : fill IsReferenceParameter.
823 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
825 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
826 implement remaining async methods and LocalAddress.
828 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
830 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
831 ServiceHost to process neighbor connection (not sure if this is
832 right way to go though ...).
834 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
836 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
837 connection part to use new internal IPeerConnectorContract for
840 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
842 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
843 PeerChannelListener.cs, HttpChannelListener.cs :
844 support ListenUri accordingly too so that it could be used when
845 it is different from LocalAddress.Uri.
847 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
849 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
850 TcpRequestChannel.cs : use Via uri to validate and connect.
852 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
854 * RequestChannelBase.cs, DuplexChannelBase.cs :
855 Return endpoint address Uri when no explicit Via uri is specified.
856 * ChannelFactoryBase.cs : Remove extra async close methods.
857 Add async open methods. Reject null EndpointAddress.
858 * PeerChannelFactory.cs : remove async open methods (now in base).
860 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
862 * PeerDuplexChannel.cs : set correct message endpoint (To header).
864 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
866 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
867 DuplexChannelBase.cs : set LocalAddress property at base.
869 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
871 * PeerDuplexChannel.cs : ongoing refactoring to work both as
872 listener and client. Now it creates a listening peer node, and
873 creates a set of TCP client channels for each peer in the mesh.
875 (EndpointAddress must be fixed to not filter out correct inputs).
877 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
879 * PeerChannelListener.cs : do not accept more than one channel
880 which results in lots of listening peer node. Only one is enough.
882 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
884 * DuplexChannelBase.cs : fix wrong loop implementation.
886 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
888 * TcpChannelListener.cs : to avoid creating two or more channels
889 for one remote endpoint, check existing remote endpoints and
890 ignore such connections (it must be handled in different thread
891 fired by ChannelDispatcher loop).
893 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
895 * TcpReplyChannel.cs : make sure to not try to receive request when
896 it is already closed.
898 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
900 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
901 some mannerless clients [*1] do not send EndRecord accordingly, but
902 such channels at listener side should not be kept open. So, close
903 disconnected channels when the listener needs to accept another
905 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
907 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
909 * TcpDuplexSessionChannel.cs :
910 Remove extra NIE overrides.
911 Implement OnAbort() apart from OnClose().
912 For duplex session channel, unlike reply channel, it must acquire
913 TCP connection before OnOpen(), otherwise ChannelDispatcher
914 releases the connection acceptance WaitHandle and the detected
915 live connection may be stolen by another channel acceptor.
917 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
919 * HttpRequestChannel.cs : implement OnAbort().
921 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
923 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
924 * DuplexChannelBase.cs : comment out some extra fields (so far).
925 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
927 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
929 * PeerCustomResolverBindingElement.cs : add some null checks.
931 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
933 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
934 Acquire TcpClient for each request/reply. Now it is fully
935 interoperable with .NET.
937 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
939 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
940 ReplyTo and MessageId (though it is session-less), and it expects
941 EndRecord at weird stage, inconsistent with [MC-NMF]...
942 Now .NET service accepts one mono client request.
944 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
946 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
947 Send and receive unsized message terminator at once.
948 Send EndRecord mutually. Got one .net client request working.
950 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
952 * BinaryMessageEncoder.cs : revert the previous dictionary change.
953 They are indeed used for non-in-band-dictionary messages.
955 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
957 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
958 split out binary frame manager class into separate file.
960 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
962 * TcpReplyChannel.cs : new reply channel implementation.
963 * TcpChannelListener.cs : use above for streamed reply channel.
964 * TcpDuplexSessionChannel.cs : more streaming mode support.
965 * TcpRequestChannel.cs : a couple of updates to get it working
966 with the reply channel above. Still some issues on .NET interop.
968 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
970 * RequestContext.cs : added internal derived class that implements
973 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
975 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
978 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
980 * PeerDuplexChannel.cs: add the registered node itself to peer list.
981 (The messaging must be done as TCP request/reply pattern, so it's
984 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
986 * TcpRequestChannel.cs : new channel file (TCP for request/reply
987 messaging pattern). The messaging part is not working yet.
988 * TcpChannelFactory.cs : support IRequestChannel.
989 * TcpDuplexSessionChannel.cs : add unsized message support.
991 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
993 * HttpRequestChannel.cs, RequestChannelBase.cs :
994 A couple of async members are now implemented in the base class.
995 Ditto for EndpointAddress and Via.
997 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
999 * PeerDuplexChannel.cs : now it implements some of node management
1000 functionality and Send operation. The receiver part is not yet.
1002 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1004 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1005 timeout to channel constructor. it does not make sense.
1007 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1009 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1010 as common interface member, and use binary encoder (not text).
1012 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1014 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1016 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1018 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1019 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1020 going to be unified to PeerDuplexChannel. And it is likely that
1021 input and output functionalities are to be unified too.
1023 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1025 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1026 may have to reuse it for peer transport.
1027 * PeerChannelListener.cs : add binding member.
1028 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1030 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1032 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1033 PeerChannelFactory.cs : close opened channels at OnClose() as
1034 documented. Implement async methods.
1035 * PeerChannelListener.cs : removed some NIE overrides.
1037 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1039 * DuplexChannelBase.cs : some more async methods.
1041 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1043 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1045 * TcpChannelListener.cs : accept multiple channels at a time.
1047 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1049 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1050 session strings but output only those new ones in current message.
1051 This fixes inconsistent body output in repetitive use of sender.
1053 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1055 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1056 operation that does not involve session.
1057 Preserve writer session as well as reader session.
1058 * MessageHeaders.cs : take name and namespace into consideration
1059 when creating a serializer.
1061 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1063 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1064 Made required changes for repeated use of message exchanges.
1065 Hold binary reader session. The channels use it incrementally.
1066 Preambles are handled at Open, and EndRecords are handled at
1067 Close, Add session shutdown hook here (not working yet though).
1069 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1071 * ChannelListenerBase_1.cs : added cancellation hook here too.
1072 HttpChannelListener.cs : use above.
1073 Do not allow parallel channel creation (this listener does not
1074 allow more than one AcceptChannel().
1076 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1078 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1079 Add cancellation hook for async TryReceiveRequest.
1081 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1083 * HttpChannelListener.cs, HttpListenerManager.cs :
1084 slightly improved BuildChannelListener().
1085 Implement OnAbort() and differentiate it from OnClose().
1087 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1089 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1091 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1093 * DuplexChannelBase.cs : simple async delegate calls here too.
1095 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1097 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1099 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1101 * HttpReplyChannel.cs : cosometic simplification.
1103 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1105 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1106 infinite block in 2.0 profile.
1108 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1110 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1111 more careful close to avoid NRE.
1113 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1115 * HttpChannelListener.cs : do not Close() more than once (though
1116 it is allowed to call it twice, we don't reject it; just ignore).
1118 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1120 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1122 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1124 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1125 Temporarily disable HTTP Keep-Alive since it somehow results in
1126 wrong reuse of connection (shown as NRE in HttpConnection).
1127 Make sure to close RequestContext which was created from it.
1128 * HttpRequestContext.cs : simplify.
1130 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1132 * HttpChannelListener.cs, TcpChannelListener.cs,
1133 ChannelListenerBase_1.cs : put common internal listener base
1134 and let it handle those async stuff.
1136 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1138 * ReplyChannelBase.cs : fix wrong null delegate check point.
1140 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1142 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1143 now implemented as virtual in base class. Remove NIEs in http.
1145 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1147 * HttpChannelListener.cs : hack async implementation.
1149 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1151 * HttpListenerManager.cs : oops, extra line removal.
1153 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1155 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1157 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1159 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1160 "ChannelManager" is confusing (there is ChannelManagerBase).
1162 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1164 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1165 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1166 they should be split into separate listener->reply channel lines
1167 (remove "if (HostingEnvironment.IsAspNet)".)
1169 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1171 * CommunicationObject.cs : OnClosed() requires call to base method.
1172 Close() could rather abort the channel, and Abort() does not
1173 always invke OnAbort().
1174 * ChannelBase.cs : add call to base as above.
1176 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1178 * ClientAccessPolicy.cs: Removed
1179 * CrossDomainAccessManager.cs: Removed
1180 * CrossDomainPolicy.cs: Removed
1181 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1182 since this is now done inside the BeginGetResponse call (outside
1183 this assembly) for Moonlight (NET_2_1)
1185 2009-06-04 Alan McGovern <amcgovern@novell.com>
1187 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1188 instead of the sync apis. Prevents a possible deadlock condition in
1191 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1193 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1194 callbacks, so add hacky ones.
1196 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1198 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1199 true when socket input is not available.
1201 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1203 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1204 I cannot precisely identify when EndRecord should be consumed,
1205 so allow it at either at the end of ReadSizedMessage() or on
1206 consuming preamble (it's likely handling EndRecord of previous
1209 Now duplex IPeerResolverContract communication works between
1210 either of .NET/Mono client and .NET/Mono server.
1212 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1214 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1215 code. Handle preamble ack on ReadSizedMessage() only at server.
1216 Consume EndRecord from server, at client side. Though it is likely
1217 changed as it's blocking when mono is at server side.
1219 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1221 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1222 different protocol than existing code with related to preamble ack.
1223 So changed it to work fine with .NET client (finally).
1225 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1227 * MessageBufferImpl.cs : do not output Action twice.
1229 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1231 * MessageBufferImpl.cs : it did not copy headers.
1232 * Message.cs : remove 2_1 conditional implementation for buffered
1233 copy and hence remove bogus code.
1235 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1237 * MessageProperties.cs : copy argument is wrong.
1239 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1241 * PeerCustomResolverBindingElement.cs : some argument check.
1243 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1245 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1246 xml open, so close the writer as well as open elements.
1247 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1248 Do not output EndRecord and SizedMessage at a time.
1250 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1252 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1253 length of the SizedMessage in the output.
1255 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1257 * CommunicationObject.cs : use sane default timeout.
1258 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1259 * TcpDuplexSessionChannel.cs : ditto.
1261 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1263 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1264 only accepts buffered messages, so do as such for write buffers.
1265 Add RelatesTo header.
1267 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1269 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1270 rename from former to latter.
1272 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1274 * TcpDuplexSessionChannel.cs : reader does not always return full
1275 buffer (depending on the stream).
1277 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1279 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1281 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1283 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1286 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1288 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1290 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1292 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1294 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1296 * ChannelManagerBase.cs : fix wrong session channel detection.
1298 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1300 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1301 This encoder factory implements CreateSessionEncoder() and binary
1302 encoder does support session transmit, in different media type.
1303 * ChannelManagerBase.cs : added utility method to create appropriate
1305 * HttpChannelFactory.cs, HttpChannelListener.cs,
1306 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1307 PeerChannelFactory.cs, PeerChannelListener.cs,
1308 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1310 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1312 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1314 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1316 * DuplexSessionBase.cs : new file, for session implementation.
1317 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1318 DuplexSessionChannelBase.cs : changed sync/async implementation
1319 pattern. Now async methods call sync methods using delegates.
1321 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1323 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1324 a few minor API fixes.
1326 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1328 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1330 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1332 * TcpDuplexSessionChannel.cs : add To header.
1334 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1336 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1339 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1341 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1343 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1345 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1346 CommunicationException in each CreateFault().
1348 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1350 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1351 Open(). Some (but not all yet) continuous communication works now.
1352 Use ProtocolException. Remove dummy binary session string.
1354 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1356 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1357 sending/receiving SizedMessageRecord parts to manager class.
1358 Handle writer session, though it is likely broken at dictionary
1359 writer part (no string is written so far).
1360 * BinaryMessageEncoder.cs : add writer session and rename reader
1363 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1365 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1366 is mandatory in initiator preamble packet. Handle Fault reply in
1369 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1371 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1372 based communication under TcpBinaryFrameManager class.
1374 2009-05-13 Jb Evain <jbevain@novell.com>
1376 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1377 from a StringReader.
1379 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1381 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1382 actually eliminate DOM-based implementation too in 2.0.
1384 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1386 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1387 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1388 comments for magic numbers based on [MC-NMF].
1390 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1392 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1393 support for [MC-NBFSE] record in [MC-NMF], in this class.
1395 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1397 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1399 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1401 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1403 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1405 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1407 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1409 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1411 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1413 * BinaryMessageEncoder.cs : use quotas in binding element.
1414 Implement WriteMessage().
1416 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1418 * PeerCustomResolverBindingElement.cs : do initialize field.
1420 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1422 * PeerCustomResolverBindingElement.cs :
1423 implement full custom resolver.
1425 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1427 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1428 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1429 PeerChannelFactory.cs : ongoing p2p channel implementation.
1431 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1433 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1435 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1437 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1438 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1439 implement GetProperty<T>(). Return documented objects or null.
1441 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1443 * PeerChannelFactory.cs, PeerChannelListener.cs,
1444 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1445 PeerInputChannel.cs, PeerOutputChannel.cs :
1446 new; ongoing peer transport implementation.
1447 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1448 MsmqOutputChannel.cs, OutputChannelBase.cs,
1449 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1450 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1451 several internal changes (either required or for simplification)
1452 for ongoing peer transport implementation.
1454 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1456 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1458 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1460 * TcpTransportBindingElement.cs : check build-ability before
1461 actually building channels.
1462 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1463 conditions according to MSDN.
1465 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1467 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1468 handle headers in SL2. Slightly changed 3.0 code too.
1470 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1472 * HttpRequestChannel.cs : use cross domain access manager.
1474 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1476 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1477 message as BodyWriter.
1478 (in GetReaderAtBodyContents) just write body contents.
1479 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1481 Add some state check in GetReaderAtBodyContents().
1482 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1484 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1486 * Message.cs : do not forget to flush.
1487 * HttpRequestChannel.cs : give more exact error info.
1489 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1491 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1492 make buffered copy in ML2 really buffered.
1494 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1496 * Message.cs : if there is no header item to write, do not write
1497 SOAP header element.
1499 2009-01-22 Alan McGovern <amcgovern@novell.com>
1501 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1502 Rewrite to avoid usage of it.
1504 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1506 * ChannelParameterCollection.cs : implement, rather than NIE.
1508 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1510 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1511 internal users to know the type of the detail.
1513 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1515 * Message.c: Use private setter for state private variable to ease debugging.
1516 Modify ToString not to change the state, as it is called quite often by VS debugger
1518 2008-04-21 Roei Erez <roeie@mainsoft.com>
1520 * HttpChannleManager: Fix for multithreaded use.
1521 * HttpReplyChannel: Fix crash during sutdown.
1523 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1525 * HttpChannleManager: ensure trailing slash in uri.
1527 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1529 * added: HttpChannleManager,
1530 * HttpChannelListener: added use of HttpChannelManager
1532 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1534 * MessageEncodingBindingElement.cs: fixed ctor
1536 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1538 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1540 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1542 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1544 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1546 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1548 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1550 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1552 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1554 * BindingElementCollection.cs: fix API - .ctor's signature.
1556 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1558 * XmlSerializerBodyWriter.cs: Removed.
1560 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1562 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1564 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1566 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1567 * TcpChannelFactory.cs, TcpChannelListener.cs :
1568 unify factory and listener into TcpChannelInfo for use in
1569 TCP channel implementation. Do not store stream in the listener.
1570 Factory now uses BinaryMessageEncoder.
1571 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1572 holds TcpClient that the listener has accepted.
1574 tcp-transport-binding-element sample now communicates (though
1575 only when both sides are mono: there seems binary mismatch).
1577 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1579 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1580 clone connection pool settings too.
1581 * NamedPipetransportBindingElement.cs,
1582 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1583 being likely implemented though).
1585 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1587 * ConnectionOrientedTransportBindingElement.cs,
1588 TcpTransportBindingElement.cs : some API updates.
1589 Initialize default values.
1590 * TcpConnectionPoolSettings.cs : new file.
1592 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1594 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1595 added support for "factory" attribute.
1597 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1599 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1601 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1603 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1605 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1607 * HttpRequestChannel.cs : create WebRequest against To message header
1609 Consider HttpRequestMessageProperty.
1610 Do not output body when suppressed or the method is GET.
1612 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1614 * HttpChannelListener.cs : BindingContext may not have listenUri
1615 at its .ctor() step.
1617 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1619 * BindingContext.cs : RemainingBindingElements is not just a dummy
1620 collection but is actually user-controlled.
1622 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1624 * TcpChannelFactory.cs, TcpChannelListener.cs,
1625 HttpChannelFactory.cs, HttpChannelListener.cs,
1626 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1627 TextMessageEncodingBindingElement.cs,
1628 BinaryMessageEncodingBindingElement.cs,
1629 MtomMessageEncodingBindingElement.cs :
1630 message encoder should be retrieved only through public API.
1631 * BindingContext.cs : so my old guess was wrong.
1633 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1635 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1637 * HttpTransportBindingElement.cs : implemented copy constructor.
1639 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1641 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1642 header when AddressingVersion is None.
1644 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1646 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1649 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1651 * OneWayBindingElementImporter.cs
1652 CompositeDuplexBindingElementImporter.cs : new files.
1654 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1656 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1657 semantic change, its bool parameter must be false, not true.
1659 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1661 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1662 new files. Msmq transport listener Implementation.
1663 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1664 (wait for System.Messaging impl.)
1665 * HttpReplyChannel.cs : added comment
1667 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1669 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1670 new files. internal stuff for msmq channel.
1671 * BinaryMessageEncoder.cs : added another .ctor().
1672 * MsmqTransportBindingElement.cs :
1673 implemented [Can]BuildChannelFactory().
1675 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1677 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1678 initialize some fields.
1680 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1682 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1683 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1684 couple of msmq stubs.
1686 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1688 * SecureMessageGenerator.cs : SecurityContextToken support (though
1689 it is still regarded as invalid by WCF).
1691 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1693 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1694 make header.Contents.Add() more strict.
1695 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1697 Added some hack to allow ssl token external mode.
1698 Commented out such lines that always premised asymmtric key.
1700 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1702 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1704 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1706 * MessageSecurityBindingSupport.cs : support check to create
1707 authenticator is now done in both initiator/recipient sides.
1708 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1710 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1712 * MessageSecurityBindingSupport.cs : for now, comment out the code
1713 that makes authenticator creation optional.
1714 * SecurityRequestContext.cs : don't decrypt message when it is
1715 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1717 * SecurityChannelListener.cs : GetProperty<T>() now returns
1718 MessageSecurityBindingSupport when requested. It is used by
1719 EndpointDispatcher to check if it supports WS-Trust negotiation.
1720 * ChannelListenerBase.cs :
1721 removed extra TODO and field. Implemented GetProperty<T>().
1722 * Message.cs : In CreateMessage() for SOAP Fault, create
1723 SimpleMessage with IsFault = true.
1725 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1727 * SecurityRequestContext.cs : try to reply fault with the inner
1728 channel when an error occurred internally.
1729 * FaultConverter.cs : implemented based on OperationContext (at normal
1730 state it does not seem to create messages, so I implemented it this
1733 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1735 * TransportBindingElement.cs : implemented GetProperty<T>().
1736 * TransactionFlowBindingElement.cs : on building factory or listener,
1737 reject channel types that cannot build.
1738 * SecurityBindingElement.cs : added some TODO comments.
1739 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1740 delegate to base, not BindingContext.
1741 * SecurityRequestContext.cs : somewhat late decryption.
1743 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1745 * MessageSecurityBindingSupport.cs,
1746 AsymmetricSecurityBindingElement.cs,
1747 SymmetricSecurityBindingElement.cs :
1748 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1749 implemented ISecurityCapabilities on them. Now those binding
1750 elements support GetProperty<ISecurityCapabilities>().
1752 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1754 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1755 will work only for predefined parameter types.
1757 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1759 * MessageSecurityBindingSupport.cs :
1760 Set proper MessageDirection to the requirement after creation.
1761 split CreateTokenAuthenticator() as MessageDirection is different.
1762 Removed extra creation of requirement.
1764 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1766 * MessageSecurityBindingSupport.cs : token authenticator is not
1767 always created on channel-opening stage.
1768 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1769 Sslnego binding factory method.
1771 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1773 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1774 signature velification failure.
1776 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1778 * SecureMessageGenerator.cs : encrypt signature confirmations only
1779 when they are required.
1781 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1783 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1784 when [Signature Protection is true i.e. when we use
1785 SignBeforeEncryptAndEncryptSignature.
1787 With this change finally samplesvc.cs/samplecli.cs became
1790 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1792 * SecureMessageDecryptor.cs : signature verification was not done
1793 for endorsing supporting tokens.
1794 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1795 in the security header. Don't output empty ReferenceList.
1797 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1799 * SecureMessageGenerator.cs : signingToken was added before being
1800 initialized and thus caused NRE.
1802 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1804 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1805 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1806 don't need workaround for symmetric key restoration.
1808 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1810 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1811 SecureMessageGenerator.cs :
1812 Avoid extra reference search from the request's ReferenceList.
1813 create HMACSHA1 always with the key to compute hash (I'm not sure
1814 it is correct; it is rather to adjust all hash consistent.)
1816 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1818 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1819 actually endorsed the primary signature.
1820 * SecureMessageGenerator.cs : implemented endorsing of the primary
1821 signature. So, now supporting tokens are fully implemented.
1823 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1825 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1826 totally signing tokens.
1827 * SecureMessageGenerator.cs : Endorsing tokens should also be
1828 included in the message. They are just not signed.
1830 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1832 * SecureMessageGenerator.cs : support signing and encryption of
1833 supporting tokens. Some required refactory to do it.
1834 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1836 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1838 * SecureMessageDecryptor.cs : fix exception message.
1839 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1840 XmlNamespaceManager is not required for GetIdElement().
1842 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1844 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1845 moved decryption part from former file to latter file, to reuse
1846 SignedXml instance (though now I doubt how it actually was good)
1847 which in turn required to replace EncryptedData in
1848 WSSecurityMessageHeader with decrypted one.
1849 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1851 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1853 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1854 EncryptedData should contain KeyInfo as it is not obvious which key
1855 is used there. .net<->mono DerivedKeyToken introp is done.
1856 * SecureMessageDecryptor.cs : check derived key requirement.
1857 Reduce dom-dependent parts.
1859 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1861 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1862 the related DerivedKeyToken (if any).
1863 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1864 support. Some refactoring to distinguish deried-token-related
1866 * SecureMessageDecryptor.cs : removed its own support for derived
1867 key tokens. Now it fully works with DerivedKeySecurityToken.
1869 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1871 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1872 SecureMessageDecryptor.cs :
1873 Implemented increment token reading in o:Security, as
1874 DerivedKeyToken could reference to existing wrapped key.
1875 Removed WsscDerivedKeyToken and all relevant code.
1876 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1877 DerivedKeySecurityToken.
1879 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1881 * SecureMessageGenerator.cs : it was setting security tokens into
1882 incorrect SecurityMessageProperty.
1883 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1884 Now it uses SecurityRequestContext instead of just primary key.
1885 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1886 to symmetric reply decryption, which is the only trouble case.
1887 Do not create another SignedXml.
1888 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1890 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1892 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1893 the resolver works with in-progress token reading in o:Security.
1894 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1895 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1896 * SecureMessageGenerator.cs : cosmetic refactoring.
1898 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1900 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1901 instead of EncryptedKey.
1903 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1905 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1906 should not be always prepared at channel Open(). It also caused
1907 that extra token requirements.
1908 * SecureMessageGenerator.cs : use correct key clause for encryption.
1909 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1911 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1913 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1914 for supporting 'supporting tokens' .
1915 * SecureMessageGenerator.cs : Supporting token creation is done only
1916 at initiator (not sure if it is supposed that, but for now it is).
1917 Removed extraneous CollectSupportingTokens().
1918 * SecureMessageDecryptor.cs : implemented supporting token
1919 authentication (partly). "Signed" supporting tokens are expected
1922 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1924 * SecureMessageGenerator.cs :
1925 make SignBeforeEncryptAndEncryptSignature working.
1927 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1929 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1930 the key itself. ProtectionToken is WrappedKey.
1931 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1932 not EncryptedKeyIdentifierClause which is not for embedded key.
1933 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1935 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1937 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1938 to switch asymmetric and symmetric. Not used yet.
1939 * SecurityRequestChannel.cs : now it pass the request security
1940 property to reply receiver so that it could use the primary key
1941 used at request phase.
1942 * SecurityRequestContext.cs : now it pass the context itself to
1943 reply sender so that it could embed related MessageID.
1944 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1945 binding element. Add RelatesTo output and remove MessageID when
1946 replying to the sender. Added some hacks to get symmetric binding
1948 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1949 in SecurityTokenReference (it also involved existing encrypted key
1950 retrieval). In reply receiver, reuse the key that was used at
1951 request phase. It needs significant token resolution refactoring.
1953 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1955 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1956 * SecureMessageDecryptor.cs : store token and its authentication
1957 policies into the security property, and reuse it on reply.
1958 Some code refactoring; there is at most one o:Security to solve at
1959 one endpoint (depends on Actor). Some attempt to use correct
1960 token parameters (but for now I have only samples that use x509).
1961 * SecureMessageGenerator.cs : For replying message, use initiator's
1962 signing token as the encryption token. Simply reuse security
1963 property from the input message.
1965 I have some nasty workaround at decryptor for initiator that could
1966 not retrieve decryption key.
1968 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1970 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1971 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1972 several refactoring on token acquisition. Large part of
1973 MessageSecurityBindingSupport code is unified.
1975 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1977 * MessageProperties.cs : Security property should be one of the items.
1978 Actually many other properties should be similar as well.
1979 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1980 when copying a message, copy properties as well.
1981 * SecurityRequestContext.cs : on replying, pass input
1982 SecurityMessageProperty to the security generator.
1983 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1985 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1987 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1990 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1991 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
1992 use new WSSignedXml instead of SignedXml, and remove coexisting
1993 Id and wsu:Id. Now we can live only with wsu:Id and therefore
1994 - our reply messages could be consumed by .NET, and
1995 - .NET signature could be verified.
1997 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1999 * SecureMessageDecryptor.cs : The signing key must be passed as
2000 CheckSignature() argument, not SigningKey.
2002 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2004 * MessageImpl.cs : don't read attribute after ReadStartElement().
2006 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2008 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2009 * SecureMessageGenerator.cs : use correct signing key clause for
2010 SecurityTokenReferenceKeyInfo to be serialized.
2011 * SecureMessageDecryptor.cs : now it can try to parse signature.
2013 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2015 Ongoing changes to support signature confirmation
2016 * SecureMessageGenerator.cs :
2017 Don't output ReplyTo onto reply message.
2018 Write SignatureConfirmation if needed.
2019 * SecureMessageDecryptor.cs :
2020 Some refactoring for header cunsumption. Added commented-out
2021 signature verification part (not working yet, on client side due
2022 to incorrect reply from service and insufficient clause reader).
2023 * WSSecurityMessageHeader.cs :
2024 Added SignatureConfirmation support.
2025 KeyInfoClause for o:SecurityTokenReference should be replaced with
2026 SecurityTokenReferenceKeyInfo.
2028 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2030 * SecureMessageGenerator.cs : support Timestamp signature.
2031 Removed unused code, and extra argument in CreateReference().
2032 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2034 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2036 * SecureMessageGenerator.cs :
2037 Several fixes to make asymmetric binding working:
2038 - Differentiate signing and encryption token in several areas.
2039 - Fixed signing keyinfo.
2041 Added initial SecurityMessageProperty handling, not sure if it is
2042 appropriate here though.
2043 * HttpRequestChannel.cs : (some debugging lines)
2045 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2047 Woohoo! Here is a very basic WS-Security compliant message which could
2048 be allowed by Indigo.
2049 * MessageHeader.cs : added Id support for writing.
2050 * Message.cs : added internal BodyId for signature reference.
2051 * MessageImpl.cs : write Body Id if required.
2052 * SecureMessageGenerator.cs : Before signing, the target elements must
2053 be given wsu:Id. Since I still use System.Security.dll, I need some
2054 trick for signing (I give both Id and wsu:Id, former to sign and
2055 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2056 implementation later. Now singning mechanism works except for
2057 wsu:Timestamp (which is kind of mandatory).
2059 I can's still consume replies from Indigo but it's a big progress :)
2061 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2063 * MessageHeaderInfo.cs : added internal Id.
2064 * MessageHeader.cs : read and write wsu:Id.
2065 * Message.cs : output wsu namespace if Id exists in any header.
2066 * HttpReplyChannel.cs : (some debugging lines.)
2067 * SecureMessageDecryptor.cs : (remove debugging lines.)
2068 * MessageImpl.cs : removed obsolete code.
2069 * WSSecurityMessageHeader.cs : output "o" prefix.
2070 * SecureMessageGenerator.cs : replaced XmlElement-based header
2071 signing with MessageHeader-based signing, to support Id correctly.
2073 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2075 * SecureMessageGenerator.cs : some more refactoring and code comments.
2076 * MessageSecurityUtility.cs : made decryptor into an instance class,
2077 like I've done for SecureMessageGenerator.
2078 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2079 dependent changes for above.
2081 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2083 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2084 causing NRE due to the lack of token reference.
2085 No need to pass doc to SignedXml.ctor() anymore.
2086 Moved ReferenceList before the signature(s).
2088 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2090 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2091 Moved signing key generation code to non-HMACSHA1 signing part.
2092 Don't try to sign wss:Security.
2093 Pass document itself to SignedXml.ctor().
2094 Use temporary DataObjects to avoid adding Ids (not sure what is the
2095 expected processing yet).
2096 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2097 WriteTo() method in WsuTimestamp.
2099 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2101 * SecureMessageGenerator.cs : wrong key was used for signing.
2102 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2104 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2106 * SecureMessageGenerator.cs :
2107 Now ID generation process does not modify input message.
2108 Moved derived key generation part into (virtual) signing loop.
2109 MessagePartSpecification support for signing is done.
2111 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2113 * SecureMessageGenerator.cs : some reordering to handle signing and
2114 encryption with supporting tokens. Fixed XPath query bug for
2115 soap header contents (we want s:Header/*, not s:Header).
2117 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2119 * MessageSecurityBindingSupport.cs : more refactoring.
2120 Made it abstract and added Initiator- and Recipient- classes.
2121 Several members were moved to those derived types.
2122 * AsymmetricSecurityBindingElement.cs,
2123 SymmetricSecurityBindingElement.cs
2124 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2125 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2126 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2127 All dependent changes by above. Removed ISecurityChannelSource
2128 which became useless.
2130 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2132 * SecureMessageGenerator.cs : encryption parts should exist too.
2133 * AsymmetricSecurityBindingElement.cs
2134 SymmetricSecurityBindingElement.cs,
2135 MessageSecurityBindingSupport.cs : some refactoring.
2136 Split MessageSecurityBindingSupport into security binding element
2137 specific parts and made MessageSecurityBindingSupport concrete.
2138 It is likely split again, next time based on initiator/recipient.
2140 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2142 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2143 split encryptor part in the former file into latter file, and
2145 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2146 SecurityRequestContext.cs : apply the change above.
2148 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2150 * MessageSecurityBindingSupport.cs :
2151 Fixed incorrect TrgGetValue() use.
2152 Added CollectRecipientSupportingTokens().
2154 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2156 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2157 EncryptedKey. So, when a key itself is used to encrypt data,
2158 ReferenceList is contained by itself.
2159 * MessageSecurityBindingSupport.cs :
2160 added CollectInitiatorSupportingTokens().
2162 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2164 * MessageSecurityUtility.cs: it should support ReferenceList-less
2167 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2169 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2170 * MessageSecurityUtility.cs : there already was uuid.
2172 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2174 * MessageSecurityUtility.cs : replaced EncryptedKey with
2175 WrappedKeySecurityToken, which seems to be in actual use in .net.
2176 * WSSecurityMessageHeader.cs : added internal Guid so that it
2177 could be shared between header items.
2179 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2181 * HttpRequestContext.cs, TextMessageEncoder.cs :
2182 some null arg check.
2184 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2186 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2187 for SecurityTokenReference resolution.
2189 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2191 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2192 consider DerivedKeyTokens correctly.
2193 When creating LocalId, don't add '#' here.
2195 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2197 * MessageSecurityUtility.cs :
2198 handle key mapping for each wsse:Security.
2200 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2202 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2204 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2206 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2208 * MessageSecurityUtility.cs :
2209 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2210 suggests, and it is used to dereference decryption targets.
2211 Now it premises multiple wsse:Security elements to read.
2213 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2215 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2216 manually (and actually the namespace URI was wrong).
2218 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2220 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2222 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2224 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2226 * SecurityBindingElement.cs,
2227 SymmetricSecurityBindingElement.cs,
2228 AsymmetricSecurityBindingElement.cs :
2229 implemented SetKeyDerivation().
2231 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2233 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2236 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2238 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2241 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2243 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2244 thus move it in front of encryption/signing.
2246 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2248 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2249 check state by themselves (btw it's not really working).
2250 * HttpChannelListener.cs : If the url does not end with '/' add it
2251 so that it could be fed to HttpListener.
2253 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2255 * HttpChannelFactory.cs : check scheme on CreateChannel.
2256 * MessageHeader.cs : finish IsMessageVersionSupported().
2258 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2260 * FaultConverter.cs : new file, not used yet though.
2262 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2264 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2266 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2268 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2269 GET as well as HttpReplyChannel, configuration would be ready now.
2271 2006-10-18 Ankit Jain <jankit@novell.com>
2273 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2274 EnvelopeVersion.Soap12 and 'text/xml' for others.
2275 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2277 Strip '?' from the query string.
2279 2006-10-13 Ankit Jain <jankit@novell.com>
2281 * MessageVersion.cs (None): Set AddressingVersion.None
2283 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2285 * SvcHttpHandler.cs : added config-based endpoint addition code.
2286 Though due to some weird bug in mono-core it does not seem to work,
2287 so commented out for now.
2288 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2289 mex request message might just be wrong.
2290 Use expected MessageVersion by the channel.
2291 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2293 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2295 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2296 which differs depending on whether it is asymmetric or symmetric.
2297 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2298 simplify SecureMessage() and DecryptMessage() arguments (just
2299 take MessageSecurityBindingSupport instead of several parameters).
2300 * MessageSecurityUtility.cs :
2301 - simplify SecureMessage() and DecryptMessage() arguments (just
2302 take MessageSecurityBindingSupport instead of several parameters).
2303 - Take token inclusion mode into account. Don't include them when
2304 it is not expected. Also, change the token reference style.
2305 - add wsa:MessageID to the headers.
2306 - For hmac-sha1 signing (default for symmetric binding), use
2307 symmetric key created for encryption as well to create HMACSHA1.
2308 - add Id to wsu:Timestamp.
2309 - start to handle SecurityMessageProperty.
2310 * WSSecurityMessageHeader.cs :
2311 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2312 Changed date format.
2314 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2316 * CommunicationObject.cs : reject faulted state on Open()/Close().
2317 * MessageHeaders.cs : removed extra fields.
2319 2006-10-06 Ankit Jain <jankit@novell.com>
2321 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2323 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2325 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2326 added some FIXMEs and additional arg.
2328 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2330 * MessageSecurityUtility.cs : remove duplicate Action header.
2332 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2334 * MessageFault.cs : partly implemented CreateFault(Message, int).
2335 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2336 handle IsFault correctly in each implementation.
2338 2006-10-04 Ankit Jain <jankit@novell.com>
2340 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2342 2006-10-04 Ankit Jain <jankit@novell.com>
2344 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2345 in WebConnectionStream.
2347 2006-10-04 Ankit Jain <jankit@novell.com>
2349 * MessageHeaders.cs (To): Use GetHeader<string> till
2350 DataContractSerializer gets ISerializable support.
2351 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2353 2006-10-04 Ankit Jain <jankit@novell.com>
2355 * ServiceHostParser.cs (Parse):
2356 (Split): Add some error checks.
2358 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2360 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2361 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2362 * SslStreamSecurityUpgradeProvider.cs,
2363 SslStreamSecurityUpgradeAcceptor.cs :
2364 new files for Ssl upgrade provider implementation.
2365 * MessageSecurityUtility.cs :
2366 Create proper C14NTransform. Don't use enveloped signature
2367 transform but sign every significant bits. On securing messages
2368 use ChannelProtectionRequirements.
2369 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2371 * MessageEncoder.cs : fix API (missing constraint).
2372 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2373 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2374 * AsymmetricSecurityBindingElement.cs : default protection order is
2375 SignBeforeEncryptAndEncryptSignature.
2377 2006-09-29 Ankit Jain <jankit@novell.com>
2379 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2380 ServicHostParser and use that here.
2381 (PrivateBinPath): New.
2382 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2383 (RemovedCallback): Remove and close the SvcHttpHandler when its
2384 corresponding file (.svc) changes.
2385 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2387 * ServiceHostParser.cs : New.
2388 * CachingCompiler.cs : New. Code extracted from
2389 System.Web.Compilation.CachingCompiler
2390 * CompilationException.cs : New. From System.Web.Compilation
2391 * HtmlizedException.cs : New. Likewise.
2393 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2395 * MessageSecurityBindingSupport.cs : For client side, it is always
2396 InitiatorServiceModelSecurityTokenRequirement which should be
2397 created. Fixed wrong client encryption key acquisition.
2399 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2401 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2402 MessageSecurityBindingSupport.cs : made similar changes as factories
2403 to listener so that session channels and input channels would work.
2404 Added authenticator creation.
2406 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2408 * Binding.cs : added missing members.
2410 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2412 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2413 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2414 reduce code duplication between request and output channels.
2415 The common parts are now in MessageSecurityBindingSupport.
2416 Now reduced several arguments in SecureMessage() for client.
2418 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2420 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2422 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2424 * AsymmetricSecurityBindingElement.cs,
2425 SecurityChannelListener.cs,
2426 SecurityRequestContext.cs,
2427 SymmetricSecurityBindingElement.cs,
2428 SecurityRequestChannel.cs,
2429 SecurityOutputChannel.cs,
2430 SecurityChannelFactory.cs,
2431 MessageSecurityBindingSupport.cs : 1) Refactoring.
2432 IMessageSecurityBindingSupport now becomes a class and contains
2433 all the members which resided in ISecurityChannelSource.
2434 Now it takes more constructor params.
2435 Made dependent changes on all sources above.
2437 2) Added SecurityTokenAuthenticator creation in
2438 SecurityRequestChannel (SecurityOutputChannel should do the same).
2440 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2442 * SecurityRequestChannel.cs : ongoing improvements on conditional
2443 key creation. Actually there must be some part that creates an
2444 authenticator (WinFX does that).
2446 2006-09-27 Ankit Jain <jankit@novell.com>
2448 Add suport for handling .svc files.
2449 * SvcHttpHandlerFactory.cs: New.
2450 * SvcHttpHandler.cs: New.
2452 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2453 asp.net environment.
2454 (OnOpen): Do nothing in asp.net environment.
2455 (OnClose): Likewise.
2456 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2457 * HttpRequestContext.cs: .. here.
2459 * AspNetReplyChannel.cs: New.
2460 * AspNetRequestContext.cs: New.
2462 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2464 * MessageSecurityUtility.cs :
2465 Significantly rewritten decryption parts to respect ReferenceList
2466 to decrypt (so no workaround anymore).
2467 Now e:ReferenceList inside o:Security is treated as the referenced
2468 EncryptedType items are encrypted by 1) the derived key which is
2469 immediately in front of it, or 2) the default key (it is according
2470 to WS-SecureConversation section 9.1). Thus removed immediately
2471 previous hack to auto-fill wsu:Id attributes.
2473 On securing a message, generate correct Id and add DataReference
2474 to ReferenceList properly.
2476 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2478 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2481 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2483 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2484 Actually WSSecurityTokenSerializer should be able to consume it, but after
2485 spending a lot of time I still cannot successfully read it on WinFX.
2486 Skip ReferenceList for now.
2487 * MessageSecurityUtility.cs :
2488 Replaced some string literals with constants.
2489 Added some workaround for DerivedKeyToken retrieval.
2490 WinFX somehow sends incomplete ISO10126 padding which contains
2491 bigger number than the key size and is rejected by EncryptedXml,
2492 so added DecryptLax() which processes such ones in PaddingMode.None
2493 to workaround it (only for cross-connection between mono and winfx).
2494 Added some incomplete implicit wsu:Id processing.
2495 Don't try to replace SignedXml with EncryptedData. It is not added
2496 to the document tree.
2498 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2500 * MessageSecurityUtility.cs : support message signature encryption. Some
2503 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2505 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2507 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2509 * MessageSecurityUtility.cs : fix warnings.
2511 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2513 * MessageSecurityUtility.cs : actually there would be more than one
2514 EncryptedData. Decrypt all.
2516 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2518 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2519 Use ISO10126 padding mode (it is not required but in manner).
2521 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2523 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2524 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2525 that class to make it work fine with mono client).
2526 Removed buggy lines that reset decryption key to AES.
2527 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2528 * WSSecurityMessageHeader.cs :
2529 (SecurityTokenReferenceKeyInfo) support LoadXml.
2531 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2533 * TransactionMessageProperty.cs : new file.
2535 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2537 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2538 gmcs happened to report wrong code.
2540 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2542 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2543 .ctor() now requires ChannelProtectionRequirements which will be
2544 supplied via BindingParameterCollection.
2545 * SymmetricSecurityBindingElement.cs,
2546 AsymmetricSecurityBindingElement.cs : thus add
2547 ChannelProtectionRequirement parameter to factory/listener.
2548 * SecurityRequestChannel.cs : use recipient token requirement to
2549 create an encryption token. Thus differentiate the logic from
2550 signing (initiator) token.
2552 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2554 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2555 renamed former to latter.
2556 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2559 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2561 * MessageSecurityBindingSupport.cs : new internal types to commonize
2562 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2563 and thus make internal factory and listener reusable.
2564 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2565 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2566 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2567 SymmetricSecurityBindingElement, using the new types above.
2568 * SymmetricSecurityBindingElement.cs :
2569 Use SymmetricMessageSecurityBindingSupport.
2570 * AsymmetricSecurityBindingElement.cs :
2571 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2573 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2575 * ChannelFactoryBase.cs : more RC1 update.
2577 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2579 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2580 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2581 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2582 ChannelBase.cs : RC1 API updates.
2583 * MessageImpl.cs : implemented Properties.
2584 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2586 2006-09-18 Ankit Jain <jankit@novell.com>
2588 * MessageHeaders.cs (MessageId):
2589 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2591 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2593 * ChannelParameterCollection.cs : new file.
2594 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2595 new files for IOutputChannel implementation.
2596 * OneWayBindingElement.cs : hacky implementation.
2597 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2598 * MessageSecurityUtility.cs : now create identifier from the security
2599 token and the token parameters which is added as an argument.
2600 * SecurityRequestContext.cs,
2601 SecurityRequestChannel.cs : SecureMessage() argument changes.
2602 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2605 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2607 * HttpRequestChannel.cs : close the HttpWebRequest.
2609 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2611 * HttpRequestChannel.cs,
2612 HttpChannelFactory.cs : implement async request/reply.
2613 * HttpChannelFactory.cs :
2614 verify factory state when creating a channel.
2616 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2618 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2619 BinaryMessageEncoder.cs : added message version mismatch check.
2621 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2623 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2624 Making incomplete changes to handle different tokens for encryption
2626 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2627 split channel implementation classes out to the latter file.
2628 * MessageSecurityUtility.cs : seems like there is
2629 TimeStampValidityDuration property, so use it (incomplete; a server
2630 needs another love).
2632 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2634 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2635 SecurityRequestContext.cs : now that we have key identifier clause
2636 and working ResolveKeyIdentifierClause(), just create keys inside
2637 SecureMessage(). Add KeyInfo to the xmldsig.
2639 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2641 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2642 pass SecurityKeyIdentifierClause to SecureMessage().
2643 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2644 for IssuedToken binding element.
2645 * SymmetricSecurityChannelListener.cs : removed hack to just create
2646 X509 security token, and implemented correct token creation.
2647 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2648 wraps SecurityTokenReference element.
2649 * MessageSecurityUtility.cs : use the above.
2651 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2653 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2654 could not find a security header.
2655 * SymmetricSecurityChannelFactory.cs : now it also supports
2656 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2659 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2661 * SecurityRequestContext.cs : moved securing message part to
2662 MessageSecurityUtility.cs.
2663 * MessageSecurityUtility.cs : the change above.
2664 use DateTime.Now for timestamp basis. Don't append signature to
2665 the document. Instead it is added to the header. Capture body
2666 content instead of the body itself.
2667 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2668 be processed by upper layers.
2670 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2672 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2673 SymmetricSecurityChannelListener.cs,
2674 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2675 more refactoring. Request serialization became much more conformant
2676 and add required header items.
2677 Security Token retrieval is needed to send it in the request.
2678 Fixed wrong key encryption.
2680 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2682 * SecurityRequestContext.cs : the workaround was not functional.
2684 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2686 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2687 API, especially ReplaceData(), instead of native crypto stuff.
2688 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2689 MessageProtectionOrder.SignBeforeEncrypt).
2691 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2693 * SecurityRequestContext.cs : label should be combined of both
2694 the client's and the server's.
2696 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2698 * SecurityRequestContext.cs : enable key derivation (though for now
2699 GenerateDerivedKey() is unimplemented). Create meaningful,
2700 decrypted request message to be consumed by the upper layer.
2702 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2704 * SecurityRequestContext.cs : implement Close() and Reply().
2705 ongoing implementation of Reply(TimeSpan).
2706 * MessageSecurityUtility.cs : new file to collect utility methods.
2707 * SymmetricSecurityChannelFactory.cs : moved securing message code
2709 * SymmetricSecurityChannelListener.cs : tiny renaming.
2711 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2713 * SecurityRequestContext.cs : security header is also stored.
2715 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2718 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2720 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2723 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2725 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2726 so that it retrieves the security key in that manner.
2728 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2730 * Binding.cs : MessageVersion is null when there is no
2731 MessageEncodingBindingElement.
2732 * Message.cs : null arg check.
2734 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2736 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2738 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2740 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2741 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2742 LayeredRequestChannel.cs : some refactoring.
2743 * SymmetricSecurityChannelFactory.cs :
2744 ongoing secure message creation implementation.
2746 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2748 * SymmetricSecurityBindingElement.cs :
2749 pass specific ServiceCredentialsSecurityTokenManager type to
2750 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2751 * SymmetricSecurityChannelListener.cs :
2752 get service certificate. It's a temporary hack.
2753 Move RequestContext code to below.
2754 * SecurityRequestContext.cs : new file.
2755 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2756 it I have to finish decryption of the incoming message.
2758 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2760 * MessageImpl.cs : don't write attributes on the first body content
2761 element *on soap Body element*.
2762 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2763 ObjectDisposedException is appropriate.
2764 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2765 in OnWriteHeader*Contents*().
2767 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2769 * WSSecurityMessageHeader.cs : new file.
2770 * SymmetricSecurityChannelFactory.cs :
2771 moved WSSecurityHeader and related types to the above.
2772 * SymmetricSecurityChannelListener.cs :
2773 reject SOAP-env-less message.
2775 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2777 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2778 renamed former to latter.
2779 * SymmetricSecurityChannelFactory.cs :
2780 create requirements every time. It is also likely that I need
2781 another requirement instance to get service credentials here.
2783 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2785 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2786 similar to BuildChannelFactory() (set credentials, issuer binding
2788 * SecurityChannelListener.cs :
2789 more ongoing security support implementation.
2790 * SymmetricSecurityChannelFactory.cs :
2791 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2793 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2795 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2796 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2797 Implementation is underway.
2798 * LayeredReplyChannel.cs :
2799 like LayeredRequestChannel, use ChannelListenerBase to provide
2802 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2804 * MessageHeader.cs : added another implementation type that uses
2805 XmlElement, for buffering purpose.
2806 * MessageImpl.cs : Header item types are user-driven by
2807 MessageHeader.GetHeader<T>(int), so at storing phase just store
2808 nodes as XmlElement.
2809 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2812 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2814 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2815 BindingParameterCollection, not from binding element properties.
2817 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2819 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2820 renamed former to latter.
2822 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2824 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2825 work for SslSecurityTokenParameters.
2827 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2829 * SecurityBindingElement.cs :
2830 Added SetIssuerBindingContextIfRequired().
2831 * SecurityChannelFactory.cs :
2832 Changed .ctor() arg again, just to receive binding element.
2833 * SymmetricSecurityBindingElement.cs :
2834 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2835 SymmetricSecurityChannelFactory .ctor() arg changes.
2836 "ProtectionTokenParameters" is not passed now.
2838 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2840 * SymmetricSecurityBindingElement.cs : requirements should be
2841 filled at InitializeSecurityTokenParameters as long as possible.
2842 SymmetricSecurityChannelFactory<T> now does not receive
2843 requirements (it now creates one inside it) at .ctor().
2844 * SecurityChannelFactory.cs : remove requirement argument.
2846 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2848 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2850 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2852 * SymmetricSecurityBindingElement.cs :
2853 MessageSecurityVersion property is of type SecurityTokenVersion.
2854 * SecurityBindingElement.cs :
2855 Implemented CreateSecureConversationBindingElement().
2856 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2857 the argument IssuedSecurityTokenParameters itself.
2859 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2861 * SymmetricSecurityBindingElement.cs :
2862 CreateSecurityTokenManager() can be directly used now.
2863 Use CallInitializeSecurityTokenRequirement() to fill requirement
2866 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2868 * ChannelFactoryBase.cs : GetProperty() is virtual.
2870 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2872 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2873 create token manager, token parameters and token requirements,
2874 and fill some requirements.
2875 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2876 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2877 * BindingContext.cs : implemented RemainingBindingElements.
2878 kill "no remaining binding element" error in GetInnerProperty()
2879 * SecurityChannelFactory.cs : now it became
2880 SymmetricSecurityChannelFactory, thus soon to be renamed.
2881 Several ongoing actual security resolution is on.
2883 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2885 * CommunicationObject.cs :
2886 add GetCommunicationObjectType() and use it.
2887 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2888 use ThrowIfDisposedOrNotOpen().
2889 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2890 to CommunicationObject. Make it IDisposable.
2891 * LayeredRequestChannel.cs : use above.
2892 * SecurityChannelFactory.cs : removed state check as it is done at
2895 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2897 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2898 CanBuildChannelListener) directly dispatch to BindingContext.
2899 * SymmetricSecurityBindingElement.cs : require protection token
2900 parameters before building a channel or a listener.
2901 * ChannelFactoryBase.cs : raise an error when a channel is being
2902 created without opening the factory.
2903 * ChannelListenerBase_1.cs : ditto for the listener.
2904 * SecurityChannelFactory.cs : before sending a request, it must be
2907 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2909 * MessageBufferImpl.cs : initialize fields.
2910 workaround BufferSize just to return 0.
2911 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2912 which does not support multi time write.
2913 * Message.cs : implemented State.
2915 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2917 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2918 is consuming XmlReader.
2919 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2920 * MessageBuffer.cs : implemented CreateNavigator().
2921 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2923 I kinda know that MS heavily depends on binary XmlReader and may have
2924 XPathNavigator implementation based on the binary stuff, but at
2925 least for now we have almost no motivation to mimick it.
2927 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2929 * SecurityChannelFactory.cs : a bit more of security header code.
2931 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2933 * SymmetricSecurityBindingElement.cs :
2934 set default MessageProtectionOrder in every construction.
2936 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2938 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2939 changed to require ChannelFactoryBase to support default timeout.
2940 Made some methods non-virtual. Preparing code to add security
2941 headers (empty yet).
2942 * SecurityBindingElement.cs : implemented several factory methods
2943 that return SymmetricSecurityBindingElement.
2945 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2947 * IStreamUpgradeBindingElement.cs,
2948 StreamUpgradeBindingElement.cs : renamed from former to latter.
2950 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2952 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2954 2006-07-31 Ankit Jain <jankit@novell.com>
2956 * MessageHeaders.cs (From): Use Constants.WSA1
2957 (MessageId): Implement the same pattern as other properties (From etc).
2959 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2961 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2962 * SecurityBindingElement.cs : some cosmetic changes.
2964 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2966 * SecurityBindingElement.cs : LocalClientSettings and
2967 LocalServiceSettings returns an instance for each.
2968 * LocalClientSecuritySettings.cs : initialized fields.
2970 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2972 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2973 kinda implemented Clone() just with MemberwiseClone().
2975 2006-07-27 Ankit Jain <jankit@novell.com>
2977 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2978 * MessageHeader.cs (knownTypes): New. Known type array containing
2980 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2982 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2984 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2985 LayeredCommunicationObject.cs,
2986 SecurityChannelFactory.cs, SecurityChannelListener.cs :
2987 new files to support security channels, though right now they
2988 just pass inner channels through.
2989 * SymmetricSecurityBindingElement.cs : use above.
2991 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2993 * AsymmetricSecurityBindingElement.cs,
2994 SymmetricSecurityBindingElement.cs :
2995 Default SecurityTokenParameters is null.
2997 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2999 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3001 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3003 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3005 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3006 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3007 headers. When AddressingVersion is None, don't output addressing
3008 headers as well, except for Action which is still needed by
3011 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3013 * MessageHeaders.cs : changed specific properties to find it from
3014 headers as Action property does (local variables won't be set by
3015 setter). Cache serializers. Check null serializer arguments.
3016 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3018 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3020 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3021 use XmlObjectSerializer (since it is not data contract type).
3023 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3025 * MessageImpl.cs : Improved ReadHeaders().
3026 For certain header items, use EndpointAddress.ReadFrom().
3028 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3030 * AsymmetricSecurityBindingElement.cs :
3031 it is not ISecurityCapabilities anymore.
3033 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3035 * MessageVersion.cs : added None.
3037 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3039 * Message.cs : GetReaderAtBodyContents() implementation using
3042 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3044 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3045 used MessageVersion.Default.
3047 2006-07-12 Duncan Mak <duncan@novell.com>
3049 * MessageBuffer.cs (MessageContentType): Return
3050 "application/soap+msbin1".
3052 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3053 (SimpleMessage.OnCreateBufferedCopy):
3054 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3055 MessageBuffer implementations.
3057 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3058 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3059 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3061 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3063 * MessageImpl.cs : Action should be added in request messages. Omit
3064 it only in reply message, thus moved to dispatcher logic.
3066 2006-07-12 Ankit Jain <jankit@novell.com>
3068 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3069 bug in WebConnectionStream.
3070 * MessageHeaders.cs (MessageHeaders.From):
3071 (MessageHeaders.ReplyTo):
3072 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3074 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3076 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3077 add SOAP Action to the response at any time.
3079 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3081 * SymmetricSecurityBindingElement.cs,
3082 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3083 Implemented .ctor() and some properties.
3085 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3087 * TransactionFlowBindingElement.cs : new file.
3088 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3090 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3093 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3094 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3095 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3096 vanished (there is anyways no way to instantiate this type).
3097 * MessageVersion.cs : added Soap11 and Soap12.
3098 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3099 in June CTP. goodie.
3101 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3103 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3104 removed some vanished CreateMessage() overloads.
3106 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3108 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3109 HttpTransportBindingElement.cs :
3110 They are not ISecurityCapabilities anymore.
3111 Modified code to match June CTP behavior.
3113 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3115 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3117 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3119 * EmptyFaultException.cs : removed unused code.
3120 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3122 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3124 * LayeredChannelFactory.cs : removed obsolete class.
3125 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3126 ChannelListenerBase.cs, HttpChannelListener.cs,
3127 HttpReplyChannel.cs, ChannelManagerBase.cs :
3128 all those changes were brought by ChannelManagerBase changes.
3130 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3132 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3133 CommunicationObject.cs, HttpChannelListener.cs,
3134 ChannelFactoryBase.cs :
3135 CommunicationObject abstract changes brought this madness.
3137 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3139 * BindingContext.cs : listenUri address parameters could be null in
3142 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3144 * IRequestContext.cs :
3145 Now it became a class. File renaming will follow soon.
3146 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3147 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3148 IOutputChannel.cs, IOutputSessionChannel.cs,
3149 IRequestChannel.cs, IRequestSessionChannel.cs :
3150 They are not IDisposable anymore.
3151 For IReplyChannel, IRequestContext -> RequestContext.
3152 * IChannelListener.cs : removed Identity. Added GetProperty().
3153 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3154 ReplyChannelBase.cs, HttpReplyChannel.cs :
3155 Several members disappeared, and dependent changes.
3156 * HttpTransportBindingElement.cs,
3157 HttpChannelListener.cs, :
3158 ChannelListenerBase.SharedChannelListener vanished.
3160 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3162 * MessageEncodingBindingElement.cs
3163 MtomMessageEncodingBindingElement.cs,
3164 TextMessageEncodingBindingElement.cs,
3165 BinaryMessageEncodingBindingElement.cs :
3166 June CTP updates: AddressingVersion -> MessageVersion.
3167 * Binding.cs : June CTP. MessageVersion is added.
3168 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3169 ChannelListenerBase_1.cs,
3170 ChannelListenerBase.cs, IChannelListener.cs,
3172 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3173 June CTP. Several interface changes.
3174 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3175 * IChannelManager.cs, LayeredChannelListener.cs,
3176 GenericWrapperChannelFactory.cs,
3177 GenericWrapperChannelListener.cs : They are not used anymore.
3179 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3181 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3182 sync fix with June CTP API updates.
3184 2006-07-03 Ankit Jain <jankit@novell.com>
3186 * MessageEncodingBindingElementConverter.cs:
3187 * StandardBindingConverter.cs:
3188 * TransportBindingElementConverter.cs:
3189 * TransactionFlowBindingElementConverter.cs:
3190 * ReliableSessionBindingElementConverter.cs:
3191 * SecurityBindingElementConverter.cs:
3192 Rename *Converter.cs to *Importer.cs
3194 * TransferMode.cs: Move to System.ServiceModel
3196 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3198 * CommunicationObject.cs : make sure to change State before
3199 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3201 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3203 * Message.cs : output WSAddressing xmlns only when Action is
3204 specified (To should be affected, but seems like it is ignored).
3206 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3208 * MessageImpl.cs : don't set Action when it is null.
3210 2006-06-12 Ankit Jain <jankit@novell.com>
3212 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3214 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3216 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3217 some updated API fixes.
3219 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3221 * EnvelopeVersion.cs : moved back to S.SM.
3223 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3225 * IBindingManualAddressing.cs : vanished in beta2.
3226 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3227 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3229 * SecurityBindingElement.cs :
3230 SecurityStandardsManager -> SecurityTokenSerializer.
3232 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3234 * XmlSerializerBodyWriter.cs : new file to handle
3235 TypedMessageConverter.ToMessage().
3237 2006-04-26 Ankit Jain <jankit@novell.com>
3239 * TransportBindingElementConverter.cs (BeforeImport): Remove
3240 NotImplementedException.
3241 (ImportContract): Likewise.
3242 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3244 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3246 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3247 being used was not reflecting that of Binding elements.
3249 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3251 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3252 just assume that it is in the message.
3254 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3256 * HttpReplyChannel.cs : actually HTTP header item might be null.
3258 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3260 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3263 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3265 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3267 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3269 * MessageFault.cs : Fixed SOAP12 reason output.
3271 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3273 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3274 MessageEncoder.ContentType explicitly contains encoding.
3275 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3276 if it is SOAP version dependent.
3278 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3280 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3282 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3284 * HttpChannelFactory.cs BindingContext.cs
3285 HttpChannelListener.cs HttpTransportBindingElement.cs :
3286 Now BindingContext holds MessageEncoder, and non-custom
3287 channel factory/listener should use it.
3288 * MtomMessageEncodingBindingElement.cs
3289 TextMessageEncodingBindingElement.cs
3290 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3291 -Listener() now sets internal BindingContext.MessageEncoder.
3292 Fixed some public API.
3294 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3296 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3297 for insufficient elements.
3298 * DispatchRuntime.cs : OperationDescription name is not action. So
3299 OperationSelector is created by name, not by action.
3300 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3302 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3304 * MessageFaultBodyWriter.cs
3305 XmlReaderBodyWriter.cs
3306 XmlObjectSerializerBodyWriter.cs : made internal.
3307 * SecurityBindingElement.cs
3308 AsymmetricSecurityBindingElement.cs
3309 SymmetricSecurityBindingElement.cs : API fixes.
3310 * TransportBindingElementConverter.cs : ditto.
3311 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3312 * WindowsStreamSecurityBindingElement.cs
3313 SslStreamSecurityBindingElement.cs
3314 TransportSecurityBindingElement.cs : new files.
3316 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3318 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3319 reading can be any xs:boolean value.
3321 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3323 * Message.cs MessageImpl.cs : more sorting out the role of each
3325 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3327 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3329 * Message.cs : don't write body contents if it is empty.
3330 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3331 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3332 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3333 * HttpRequestChannel.cs : close request stream before GetResponse().
3335 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3337 * TextMessageEncoderFactory.cs
3338 TextMessageEncoder.cs : encoder does not hold reference to the
3339 factory anymore. Use MessageVersion property in CreateMssage().
3340 * HttpChannelListener.cs : now it holds message encoder.
3341 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3342 * MessageImpl.cs : header is optional.
3343 * EnvelopeVersion.cs : namespace URI is missing.
3345 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3347 * CustomBinding.cs : removed Initialize().
3348 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3349 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3350 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3351 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3353 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3355 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3356 could be also added by Add() method and could be reset by Remove()).
3357 * MessageImpl.cs : implemented more. As noted above, Now we don't
3358 have to add Action header explicitly.
3359 * MessageHeader.cs : recovered Writer methods and ToString() from
3360 commented old version. Use prefixes for writing.
3361 Use WriteObjectContent() rather than WriteObject() (it needs
3362 DataContractSerializer fix btw).
3364 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3366 * MessageHeader.cs : added missing IsReferenceParameter.
3367 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3368 * MessageHeaders.cs : avoid NullRef when actors is null.
3369 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3370 (ForwardingMessage) reader consumer is being added (not done).
3371 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3372 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3373 * HttpRequestChannel.cs : this channel automatically call Open()
3374 when Request() is called. Set content length for request.
3375 Use MessageEncoder's ContentType to also handle charset.
3377 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3379 * MessageImpl.cs : make them internal.
3380 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3382 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3384 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3385 * HttpChannelListener.cs : removed commented line.
3386 * RequestChannelBase.cs : new base class for request channel classes.
3387 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3388 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3389 * Message.cs : default IsEmpty and IsFault false by default.
3390 * LayeredChannelListener.cs : removed Uri (no chance to set).
3391 * ChannelBase.cs : reimplemented timeout properties.
3392 * HttpRequestChannel.cs : now it is mostly based on
3393 RequestChannelBase. Some more attempt to implement Request().
3395 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3397 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3398 OnInitialize(). Added more BuildChannelListener() overloads.
3400 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3402 * Binding.cs : added some more missing members especially to support
3404 * HttpChannelListener.cs : Uri should not be null.
3405 * HttpTransportBindingElement.cs : implemented
3406 CanBuildChannelFactory() and CanBuildChannelListener().
3407 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3409 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3411 * Binding.cs : updated default namespace property value to Feb. CTP.
3413 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3415 * AddressHeader.cs : avoid null reference when value is null.
3416 * BindingContext.cs : check null ListenUri args.
3418 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3420 * MessageFault.cs : Fixed default action name. Null arg check.
3422 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3424 * BindingElement.cs : Dequeue elements in BindingContext directly.
3425 * BindingContext.cs : Added GetProperty<T>().
3426 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3427 Now we don't need these extra classes, so marked as deprecated.
3429 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3431 * Binding.cs : null arg check.
3432 * AddressingVersion.cs : fixed constants to pass the tests.
3433 * BindingElement.cs : tiny meessage fix.
3435 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3437 * MessageEncodingBindingElement.cs
3438 BinaryMessageEncodingBindingElement.cs
3439 TextMessageEncodingBindingElement.cs
3440 MtomMessageEncodingBindingElement.cs
3441 MessageEncodingBindingElementConverter.cs : several API fixes.
3442 * BindingElement.cs : now if we use generic wrapper it causes
3443 infinite loop, so for now replace it with most-possible-but-
3446 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3448 (back to normal "record-ChangeLogs" mode after the big API change mess)
3449 * HttpTransportBindingElement.cs : fixed minor API differences.
3451 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3453 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3454 SymmetricSecurityBindingElement.cs :
3455 Dependent fixes for System.IdentityModel reorgainzation.
3457 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3459 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3460 IProxyFormatter.cs WSHttpBindingBase.cs
3461 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3462 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3463 WSFederationBinding.cs ISessionChannel.cs
3464 CompositeDuplexBindingElement.cs MessageVersion.cs
3465 MessageHeader.cs IRequestSessionChannel.cs
3466 BindingElementCollection.cs IReplySessionChannel.cs
3467 MessageProperties.cs IDuplexClientChannel.cs
3468 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3469 TcpTransportBindingElement.cs EmptyFaultException.cs
3470 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3471 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3472 ConnectionOrientedTransportBindingElement.cs
3473 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3474 PeerResolverBindingElement.cs Message.cs
3475 HttpsTransportBindingElement.cs BindingElement.cs
3476 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3477 MessageFaultBodyWriter.cs IReplyChannel.cs
3478 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3479 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3480 IRequestContext.cs IInputSessionShutdown.cs
3481 SecurityBindingElement.cs PeerTransportBindingElement.cs
3482 IDuplexSession.cs IChannelInitializer.cs
3483 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3484 AddressingVersion.cs FaultException.cs
3485 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3486 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3487 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3488 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3489 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3490 BindingParameterCollection.cs IInstanceProvider.cs
3491 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3492 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3493 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3494 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3495 moved from System.ServiceModel due to the API changes.
3497 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3499 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3500 HttpChannelListener.cs HttpRequestChannel.cs
3501 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3502 PeerNode.cs ReplyChannelBase.cs :
3503 Feb. CTP API changes - chapter 1.
3505 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3507 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3508 * ReplyChannelBase.cs : now it is based on ChannelBase.
3509 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3510 and check null argument in .ctor().
3511 * HttpReplyChannel.cs : several changes.
3512 Non-async members are mostly implemented.
3513 * HttpChannelListener.cs : no need to receive
3514 IDefaultCommunicationTimeouts.
3515 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3516 to allocate buffer array and int.MaxValue causes OutOfMemory.
3518 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3520 * ClientFramingDecoderState.cs : added missing enum.
3521 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3523 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3525 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3527 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3528 AcceptChannel() has some code now but it needs more love.
3530 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3532 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3533 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3534 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3536 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3538 * HttpRequestChannel.cs : close the streams.
3540 HttpChannelListener.cs : renamed from former to latter.
3542 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3544 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3545 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3546 * HttpListenerFactory.cs : removed obsolete file.
3547 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3548 * ChannelListenerBase_1.cs : implemented virtual stuff.
3549 * CommunicationObject.cs : Open() should not call BeginOpen() and
3550 EndOpen(). Instead, invoke events individually.
3551 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3553 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3555 * HttpRequestChannel.cs : call Flush() after serializing message
3558 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3560 * HttpRequestChannel.cs : implemented pretty hacky Request().
3562 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3564 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3566 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3568 * ChannelFactoryBase.cs : removed some NotImplementedException for
3569 further internal implementation.
3571 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3573 * HttpRequestChannel.cs : new file. mostly not implemented.
3574 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3575 Partly implemented CreateChannel().
3577 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3579 * HttpChannelFactory.cs : (.ctor())
3580 Don't take ChannelBuildContext.
3582 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3584 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3585 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3586 PeerMessagePropagation.cs : updated to Nov. CTP.
3588 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3590 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3591 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3592 StreamSecurityUpgradeAcceptor.cs,
3593 StreamSecurityUpgradeInitiator.cs :
3594 Updated to Nov. CTP API.
3596 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3598 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3600 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3602 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3604 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3606 * ChannelBase.cs : tiny filename fix.
3607 * ChannelListenerBase.cs : added more .ctor()s.
3609 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3611 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3612 ListenerFactoryBase.cs ChannelListenerBase.cs :
3613 updated IListener related stuff to Nov. CTP.
3614 file renaming will come soon.
3616 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3618 * ListenerBase.cs, ChannelListenerBase.cs :
3619 moved from former to latter.
3620 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3621 moved from former to latter.
3623 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3625 * SessionFaultedException.cs : removed in Nov. CTP
3627 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3629 * CommunicationObject.cs : updated to Nov. CTP.
3630 * SessionFaultedException.cs : removed (in Nov. CTP)
3632 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3634 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3637 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3639 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3640 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3641 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3642 * MessageEncoder.cs : largely implemented.
3644 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3646 * IRequestReplyCorrelator.cs : new file.
3648 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3650 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3651 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3652 * MessageEncoder.cs : added misssing ToString().
3654 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3656 * ChannelBehaviorCollection.cs : moved to sys.sm.
3658 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3660 * HttpListenerFactory.cs, HttpListener.cs : new files.
3661 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3662 CommunicationObject.cs, ChannelFactoryBase.cs,
3663 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3665 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3666 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3668 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3670 * ListenerFactoryBase.cs : some implementation.
3672 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3674 * CommunicationObject.cs : more state fixes.
3676 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3678 * CommunicationObject.cs : some state machine fixes.
3680 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3682 * PeerNode.cs, ChannelManagerBase.cs :
3683 several API fixes detected by improved corcompare.
3685 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3687 * LayeredListenerFactory.cs : added missing generic class constraint.
3689 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3691 * ListenerFactoryBase.cs,
3692 ListenerBase.cs : class constraints were missing for generic args.
3694 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3696 * StreamUpgradeInitiator.cs : tiny API fix.
3698 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3700 * PeerMessagePropagationFilter.cs : tiny build fix.
3702 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3704 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3705 added Name. fixed StatusCode type.
3706 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3707 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3708 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3709 DirectionalAction.cs, HostedTransportConfiguration.cs,
3710 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3711 PeerMessagePropagationFilter.cs : added missing files.
3712 * Dummy.cs : removed. MSMQ stuff can be added later.
3714 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3716 * DeliveryStatus.cs, DeliveryFailure.cs,
3717 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3718 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3720 * Dummy.cs : removed above.
3722 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3724 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3726 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3728 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3729 MessageEncoder.cs, BufferManager.cs : new files.
3730 * Dummy.cs : removed above.
3732 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3734 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3735 * Dummy.cs : removed above.
3736 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3738 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3740 * HttpChannelFactory.cs : new file.
3742 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3744 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3745 moved to ../System.ServiceModel (correct location).
3746 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3747 new files for channels.
3748 * Dummy.cs : reflected above changes.
3749 * ChannelManagerBase.cs : added a bit of code and todos.
3751 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3753 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3754 added listener support files.
3755 * Dummy.cs : removed above.
3757 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3759 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3760 added request/reply channel interfaces.
3761 * Dummy.cs : removed above.
3762 * CommunicationObject.cs : FIXME comments.
3764 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3766 * CommunicationObject.cs : implemented some members.
3768 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3770 * CommunicationObject.cs : some signature fixes.