1 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
3 * HttpRequestChannel.cs : ok, no need for conditional code path.
5 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
7 * AddressingVersion.cs : add fault action namespace.
9 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
11 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
14 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
16 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
18 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
20 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
23 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
25 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
27 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
29 * HttpRequestContext.cs : removed HTTP status rewriting for
32 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
34 * HttpRequestChannel.cs : handle only 4xx errors as to not process
37 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
39 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
41 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
43 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
44 Patch by Matt Dargavel.
46 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
48 * HttpListenerManager.cs : use lock object which is subject to
49 change. Fix by Matt Dargavel.
51 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
53 * HttpListenerManager.cs : remove consumed HttpListenerContext from
54 the pending queue. Compare "wsdl" request in case insensitive
55 manner. Patch by Matt Dargavel.
57 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
59 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
60 supposed to provide detailed 400 error message.
62 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
64 * TransactionFlowBindingElement.cs: revamp the previous change to
65 not regress regarding service metadata.
67 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
69 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
70 GetProperty<T>() bug that fails to retrieve properties. (This may
71 be rewritten later if an ongoing change proposal is to take place.)
73 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
75 * ReliableSessionBindingElement.cs,
76 PrivacyNoticeBindingElement.cs,
77 RemoteEndpointMessageProperty.cs : added some missing types.
79 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
82 why does it filter out most of the headers? kill it.
84 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
86 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
87 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
88 to not raise "not found" error (see bug #573795).
90 2010-03-16 Jb Evain <jbevain@novell.com>
92 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
93 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
95 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
97 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
98 type, and use null password unless we find a chance to get password
99 in ASP.NET HttpContext.
101 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
103 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
104 HttpListenerManager.cs : ongoing authentication support. It returns
105 401 as expected, but somehow fails to retrieve user info.
107 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
109 * HttpListenerManager.cs : this change (along with HttpListener
110 implementation) somehow fixes basic auth. connection error...
112 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
114 * MessageHeaders.cs : add !NET_2_1.
116 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
118 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
119 typed UniqueId output.
121 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
123 * MessageHeader.cs : no need to treat EndpointAddress as a special
126 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
128 * MessageHeaders.cs : remove duplicate constant.
130 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
132 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
133 EndpointAddress as a special case. Instead, each MessageHeaders
134 property should convert it to appropriate serializable objects.
136 (Our DataContractSerializer fails to reject EndpointAddress as
137 serializable type, so it's rather a preparation step.)
139 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
141 * MessageHeader.cs, Message.cs : use dictionary string whenever
142 applicable. The binary output on #577139 is getting closer (no
143 idea if it is really about binary output though).
145 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
147 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
149 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
151 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
153 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
155 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
156 enable authentication schemes on monotouch.
158 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
160 * SvcHttpHandler.cs : a wait handle could be used for more than one
161 requests and hence it sometimes blocked one reply channel. Now
162 it creates a wait handle for each ASP.NET request so that such
163 multiple use should not occur. This should fix blocking on
164 concurrent requests (it indeed fixes as long as I can see).
166 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
168 * AspNetReplyChannel.cs : remove garbage output.
170 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
172 * SvcHttpHandler.cs : Use lock when it tries to create the service
175 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
177 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
180 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
182 * HttpListenerManager.cs : add another workaround for blocking
185 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
187 * HttpListenerManager.cs : small refactoring.
189 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
191 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
192 that somehow makes callback client to not cause infinite loop.
194 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
196 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
197 DuplexChannelBase.cs : Receive() should rather use TryReceive().
198 It should not be in reverse order.
200 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
202 * HttpReplyChannel.cs, HttpListenerManager.cs :
203 Implement async cancellation in the expected manner (though with
204 some hack). This mostly removed nunit blockers.
206 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
208 * CommunicationObject.cs : fix wrong status changes.
210 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
212 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
214 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
216 * AddressHeader.cs : implement remaining bits.
217 Eliminate dependency on NetDataContractSerializer.
219 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
221 * CommunicationObject.cs : in Fault(), do similar work as previous
224 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
226 * CommunicationObject.cs : when process state changes, lock the
227 object to make sure the state transition is valid.
228 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
230 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
232 * MessageHeaders.cs : implement SetAction().
234 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
236 * ChannelFactoryBase.cs : fix build.
238 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
240 * ChannelBase.cs : cosmetic API fix for SL3.
242 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
244 * ChannelFactoryBase.cs :
245 implement On{Begin/End}Close() on the generic type.
247 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
249 * HttpChannelFactory.cs, TcpChannelFactory.cs,
250 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
251 PeerChannelFactory.cs, HttpRequestChannel.cs:
252 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
253 type and made required changes.
255 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
257 * HttpCookieContainerBindingElement.cs : new.
258 * IHttpCookieContainer.cs : fix type name.
259 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
261 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
263 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
264 does not happen when communicating with .NET client but happens with
265 mono). Seealso FIXME comment.
266 * TcpDuplexSessionChannel.cs : do not try to close session when it
267 failed to read sized message. The connection is already dead.
271 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
273 * TcpDuplexSessionChannel.cs :
274 Write EndRecord only when the connection is available.
275 Remove hack - do let ChannelDispatcher close the channel.
276 * TcpBinaryFrameManager.cs :
277 The socket may be disconnected when trying to read a sized message,
278 so check some socket exceptions.
279 In case the client silently shuts down without EndRecord and
280 reconnects to the server with preamble while expecting a sized
281 message (which is so lame, but that's what .NET often does), refresh
282 preamble and continue.
284 This fixes some cases of bug #567949 but not all.
286 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
288 * BinaryMessageEncoder.cs : enable workaround buffering only when
289 the argument stream does *not* support seek. This fixes some
290 net.tcp connection problem.
292 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
294 * TcpBinaryFrameManager.cs : If preamble byte is not available from
295 the client stream, detect it to close the reply or input channel.
296 * TcpRequestChannel.cs : send preamble at each request time.
297 It differentiates communication behavior on such cases that involve
298 single open and multiple requests.
299 * TcpReplyChannel.cs : close the channel only when the channel is
300 oeprated to close i.e. do not close the socket every time.
301 Process preambles on each request (the same as request channel).
303 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
305 * TcpBinaryFrameManager.cs : unsized envelope record may have more
306 than one data block, so consume them accordingly. This should fix
307 large buffer consumption.
309 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
311 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
314 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
316 * HttpRequestContext.cs : for DestinationUnreachable message, this
317 channel returns 400 in .NET.
319 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
321 * BinaryMessageEncoder.cs : added workaround for strange stream
322 consumption error raised by HttpTransport + Binary encoder example.
323 * BinaryMessageEncodingBindingElement.cs:
324 only SOAP 1.2 is allowed for this encoder.
326 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
328 * XmlReaderBodyWriter.cs : don't try to write empty xml.
330 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
332 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
333 default WebHeaderCollection items are overwritten.
335 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
337 * HttpRequestChannel.cs : when HTTP response was error, do not try
338 to read message but just raise an error.
340 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
342 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
344 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
346 * HttpRequestChannel.cs : WebException.Response might be null.
348 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
350 * ReplyChannelBase.cs : added listener property.
351 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
352 been updated to prefer async by default, a while ago.
354 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
356 * HttpTransportBindingElement.cs : finished all GetProperty() values.
358 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
360 * HttpRequestChannel.cs : disabled carelessly added
361 "UseDefaultCredentials = false" line. It blocked basic auth.
363 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
365 * HttpRequestChannel.cs, HttpChannelFactory.cs,
366 HttpChannelListener.cs, HttpListenerManager.cs :
367 implemented http client authentication and some of corresponding
368 service code. Only client works so far.
370 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
372 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
373 added URI scheme check.
375 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
377 * TransportSecurityBindingElement.cs : fix 2.1 build.
379 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
381 * HttpsTransportBindingElement.cs :
382 RequireClientCertificate is false by default.
383 Remove extra #if NET_2_1.
384 * SecurityBindingElement.cs :
385 Implement some transport security factory methods.
386 * TransportSecurityBindingElement.cs :
387 It is not ISecurityCapabilities anymore.
389 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
392 SecurityBindingElement.cs
393 LocalClientSecuritySettings.cs
394 TransportSecurityBindingElement.cs
395 FaultConverter.cs : They are now part of SL3 API.
397 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
399 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
401 2009-11-05 Geoff Norton <gnorton@novell.com>
403 * HttpsTransportBindingElement.cs: Implement basic https transport
404 binding support for Moonlight and MonoTouch
406 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
408 * HttpListenerManager.cs : remove CWLs.
410 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
412 * SvcHttpHandler.cs : move back previous listener selector code in
413 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
414 and differentiate requests to deeper paths (such as /jsdebug), so
415 we need such refinement here.
417 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
419 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
422 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
424 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
425 HttpChannelListener.cs, HttpListenerManager.cs :
426 Similar refactoring on ASP.NET side to the previous one.
427 Added ASP.NET implementation of HttpListenerManager and use some
428 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
430 Rewrote AspNetReplyChannel to become almost the same as
431 HttpSimpleReplyChannel, to hopefully unify them later.
432 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
433 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
436 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
438 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
439 Refactoring on listener manager to correctly handle wsdl and help
440 requests for such case that they conflict in addressing. Now it
441 can correctly distinguish service calls, WSDL requests and help
442 requests when all of them point to "http://localhost/foo.svc"
443 (which is very common case that the user does not change Http*Url).
445 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
447 * ChannelListenerBase.cs : add Properties property to add arbitrary
448 properties handy (only inside this assembly).
450 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
452 * HttpReplyChannel.cs : fix warning.
454 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
456 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
458 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
460 * HttpReplyChannel.cs : make sure to release wait lock.
461 * HttpChannelListener.cs : session channels are not supported, so
462 remove relevant NIEs.
464 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
466 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
467 support contexts so we call the non-overloaded WaitOne method
468 (which defaults to false).
470 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
472 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
473 significant rewrite to cooperate wcf handler and asp.net handler
474 to not mix multiple WCF listener within the asp.net handler.
475 So far it mostly works when 1) there are no ChannelDispatchers
476 that have an identical listen Uri and 2) MaxConcurrentSessions is
477 1 (must be explicitly set).
479 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
481 * CommunicationObject.cs : give better state error description.
483 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
485 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
486 to base methods. This resulted in not a few changes everywhere.
488 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
490 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
492 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
494 * SvcHttpHandler.cs : use file path given by the factory to
495 construct BaseAddresses. Requests to "test.svc/jsdebug" should
496 not be handled as request to "jsdebug" file, it's rather an
497 "argument" to "test.svc".
499 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
501 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
502 rewrite to handle shutdown situation better. The listeners should
503 not close channels that it opened. Instead, just stop accepting
504 further requests. Removed blocking mutex on WaitForRequest().
505 Now xsp shuts down as expected.
507 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
509 * HttpReplyChannel.cs : lock list when releasing its content contexts.
510 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
513 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
515 * SvcHttpHandlerFactory.cs : remove todo.
516 * ReplyChannelBase.cs : add comment.
518 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
520 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
521 revert the change, to use internal asp.net state again.
522 * SvcHttpHandler.cs : add VirtualPathExtension.
524 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
526 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
527 asp.net response was not written correctly.
528 Fill HttpRequestMessageProperty to get handle WSDL requests
529 processed in ServiceMetadataExtension without NRE.
530 Remove wrong HttpListenerContext iteration at Abort and Close in
531 common base class and move it to non-asp derived channel.
533 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
535 * SvcHttpHandler.cs : remove unused code.
537 2009-09-30 Jb Evain <jbevain@novell.com>
539 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
540 to use any of the remoting features.
542 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
544 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
545 use AspNetCompatibilityEnabled.
546 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
548 * AspNetReplyChannel.cs : remove extra field.
550 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
552 * HttpReplyChannel.cs : remove extra field.
554 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
556 * AspNetRequestContext.cs : remove CWL.
558 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
560 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
561 only after AspNetRequestContext is closed. Do not close it
562 immediately after receiving the context. (HttpRuntime destructs it
563 and further uses then becomes impossible.)
565 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
567 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
568 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
569 Make sure that AspNetChannelListener is bound to correct
570 SvcHttpHandler, regardless of specific request URI. It is required
571 for both WSDL requests and RESTful binding requests.
573 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
575 * MessageProperties.cs : fix CopyProperties() behavior to not
576 clear existing items. Make all properties call this[name].
578 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
580 * HttpTransportBindingElement.cs : fix 2.1 build.
582 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
584 * TransportBindingElement.cs : another GetProperty fix, iterate
585 other binding elements.
587 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
589 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
590 some GetProperty() implementation.
592 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
594 * HttpListenerManager.cs : release HttpListener and avoid extra
595 close process more than once.
597 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
599 * HttpChannelListener.cs : do not iterate channel list to close
600 channels which in turn removes them from the list while iteration.
602 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
604 * HttpRequestChannel.cs : Fix message version member comparison.
605 Double-quote SOAPAction. Remove extra Exception.
606 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
607 * HttpRequestContext.cs : when addressing is None, remove action
610 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
612 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
613 path, to pick those endpoints that are added at custom factories.
615 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
617 * SvcHttpHandler.cs : apply configuration, and if there is still no
618 endpoint, then add default one.
620 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
622 * SvcHttpHandler.cs : another URL to make relative.
624 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
626 * SvcHttpHandlerFactory.cs : some GetHandler changes.
627 * SvcHttpHandler.cs : significant changes on receiver structure. Now
628 ProcessRequest() stores pending requests (this might be extraneous,
629 but maybe useful when it implements async handler). Also removed
630 reply_channel field as it may become to handle multiple requests.
631 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
632 * AspNetReplyChannel.cs : make it receive requests like
633 HttpReplyChannel (for HttpListener) to make them consistent.
635 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
637 * AspNetRequestContext.cs, HttpRequestContext.cs :
638 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
639 by splitting HttpListener-based context out from common code base.
641 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
643 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
644 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
647 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
649 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
650 loads types from system assemblies appropriately.
652 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
654 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
657 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
659 * HttpRequestMessageProperty.cs : fix default values.
661 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
663 * HttpChannelFactory.cs, HttpRequestChannel.cs,
664 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
665 Check ManualAddressing value and reject address-missing ones.
667 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
669 * HttpChannelFactory.cs : reject URI mismatch cases when required.
671 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
673 * PeerDuplexChannel.cs : When received Connect() from neighbor,
674 add the peer to its internal list.
675 Finally ChatApplication got working.
677 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
679 * PeerDuplexChannel.cs : since the channel factory is per instance,
680 do not reuse factory that is tied to different callback instance.
681 It resolved the issue that mono callback client didn't receive
682 messages from the client itself.
684 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
686 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
687 of the receiver, not the requestor. It resolved the issue that
688 .NET client didn't send further messages to mono server.
690 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
692 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
693 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
694 TcpReplyChannel.cs, TcpRequestChannel.cs,
695 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
696 rename EndRecord handling method to appropriate one.
697 Write EndRecord from recipient too.
699 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
701 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
702 Process PeerTo header to upgrade Message To header. Now mono
703 service accepts mono client (somehow not true for .NET client).
705 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
707 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
708 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
710 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
712 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
714 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
716 * TcpDuplexSessionChannel.cs : check channel state before processing
719 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
721 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
722 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
723 ongoing works, not working at all yet.
725 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
727 * TcpChannelListener.cs, TcpReplyChannel.cs :
728 cosmetic cleanup and corrections.
730 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
732 * TcpChannelFactory.cs : use expected Via uri.
733 Remove extra NIE stuff that are implemented in base.
735 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
737 * TcpDuplexSessionChannel.cs : remove extra code.
739 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
741 * PeerDuplexChannel.cs : ongoing implementation towards get callback
742 replies on peer connector clients (not working as duplex client
743 callback is not working yet).
745 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
747 * TcpDuplexSessionChannel.cs : in callback client channels,
748 OperationContext.IncomingMessageHeaders is null.
750 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
752 * MessageHeaders.cs : duplicate check was sloppy.
754 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
756 * Message.cs, MessageImpl.cs, BodyWriter.cs :
757 Implement BodyWriter.OnCreateBufferedCopy() and use it.
759 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
761 * ReplyChannelBase.cs : initialize field.
763 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
765 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
766 implement GetProperty<T>() and return its channel manager.
768 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
770 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
771 destination address in Connect() request. To repeat sending
772 request, use buffered copy. Set some peer-channel specific
773 header items. (todo: and consume them.)
775 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
777 * Message.cs : state is set only after WriteBodyContents().
779 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
781 * MessageHeaders.cs : eliminate wrong use of
782 ReadElementContentAsString() (it is not always simple string).
784 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
786 * MessageHeaders.cs : when the value is null, do not try to
787 deserialize EndpointAddress.
789 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
791 * MessageHeader.cs : add Value property. (Forgot dependent change.)
793 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
795 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
796 serialization and deserialization of values.
798 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
800 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
801 Now simply use connector contract.
803 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
805 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
807 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
809 * TcpChannelListener.cs : do not try to compare dead connection's
810 IPEndPoint (it raises an error).
812 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
814 * MessageHeaders.cs : allow null header value on each specific setter.
816 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
818 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
819 get local and remote address of connected counterpart to get
820 callback channel connected.
821 * PeerDuplexChannel.cs : remove FIXME wrt above.
823 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
825 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
827 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
829 * MessageHeader.cs : fill IsReferenceParameter.
831 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
833 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
834 implement remaining async methods and LocalAddress.
836 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
838 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
839 ServiceHost to process neighbor connection (not sure if this is
840 right way to go though ...).
842 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
844 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
845 connection part to use new internal IPeerConnectorContract for
848 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
850 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
851 PeerChannelListener.cs, HttpChannelListener.cs :
852 support ListenUri accordingly too so that it could be used when
853 it is different from LocalAddress.Uri.
855 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
857 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
858 TcpRequestChannel.cs : use Via uri to validate and connect.
860 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
862 * RequestChannelBase.cs, DuplexChannelBase.cs :
863 Return endpoint address Uri when no explicit Via uri is specified.
864 * ChannelFactoryBase.cs : Remove extra async close methods.
865 Add async open methods. Reject null EndpointAddress.
866 * PeerChannelFactory.cs : remove async open methods (now in base).
868 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
870 * PeerDuplexChannel.cs : set correct message endpoint (To header).
872 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
874 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
875 DuplexChannelBase.cs : set LocalAddress property at base.
877 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
879 * PeerDuplexChannel.cs : ongoing refactoring to work both as
880 listener and client. Now it creates a listening peer node, and
881 creates a set of TCP client channels for each peer in the mesh.
883 (EndpointAddress must be fixed to not filter out correct inputs).
885 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
887 * PeerChannelListener.cs : do not accept more than one channel
888 which results in lots of listening peer node. Only one is enough.
890 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
892 * DuplexChannelBase.cs : fix wrong loop implementation.
894 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
896 * TcpChannelListener.cs : to avoid creating two or more channels
897 for one remote endpoint, check existing remote endpoints and
898 ignore such connections (it must be handled in different thread
899 fired by ChannelDispatcher loop).
901 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
903 * TcpReplyChannel.cs : make sure to not try to receive request when
904 it is already closed.
906 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
908 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
909 some mannerless clients [*1] do not send EndRecord accordingly, but
910 such channels at listener side should not be kept open. So, close
911 disconnected channels when the listener needs to accept another
913 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
915 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
917 * TcpDuplexSessionChannel.cs :
918 Remove extra NIE overrides.
919 Implement OnAbort() apart from OnClose().
920 For duplex session channel, unlike reply channel, it must acquire
921 TCP connection before OnOpen(), otherwise ChannelDispatcher
922 releases the connection acceptance WaitHandle and the detected
923 live connection may be stolen by another channel acceptor.
925 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
927 * HttpRequestChannel.cs : implement OnAbort().
929 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
931 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
932 * DuplexChannelBase.cs : comment out some extra fields (so far).
933 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
935 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
937 * PeerCustomResolverBindingElement.cs : add some null checks.
939 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
941 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
942 Acquire TcpClient for each request/reply. Now it is fully
943 interoperable with .NET.
945 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
947 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
948 ReplyTo and MessageId (though it is session-less), and it expects
949 EndRecord at weird stage, inconsistent with [MC-NMF]...
950 Now .NET service accepts one mono client request.
952 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
954 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
955 Send and receive unsized message terminator at once.
956 Send EndRecord mutually. Got one .net client request working.
958 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
960 * BinaryMessageEncoder.cs : revert the previous dictionary change.
961 They are indeed used for non-in-band-dictionary messages.
963 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
965 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
966 split out binary frame manager class into separate file.
968 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
970 * TcpReplyChannel.cs : new reply channel implementation.
971 * TcpChannelListener.cs : use above for streamed reply channel.
972 * TcpDuplexSessionChannel.cs : more streaming mode support.
973 * TcpRequestChannel.cs : a couple of updates to get it working
974 with the reply channel above. Still some issues on .NET interop.
976 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
978 * RequestContext.cs : added internal derived class that implements
981 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
983 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
986 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
988 * PeerDuplexChannel.cs: add the registered node itself to peer list.
989 (The messaging must be done as TCP request/reply pattern, so it's
992 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
994 * TcpRequestChannel.cs : new channel file (TCP for request/reply
995 messaging pattern). The messaging part is not working yet.
996 * TcpChannelFactory.cs : support IRequestChannel.
997 * TcpDuplexSessionChannel.cs : add unsized message support.
999 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1001 * HttpRequestChannel.cs, RequestChannelBase.cs :
1002 A couple of async members are now implemented in the base class.
1003 Ditto for EndpointAddress and Via.
1005 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1007 * PeerDuplexChannel.cs : now it implements some of node management
1008 functionality and Send operation. The receiver part is not yet.
1010 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1012 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1013 timeout to channel constructor. it does not make sense.
1015 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1017 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1018 as common interface member, and use binary encoder (not text).
1020 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1022 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1024 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1026 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1027 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1028 going to be unified to PeerDuplexChannel. And it is likely that
1029 input and output functionalities are to be unified too.
1031 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1033 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1034 may have to reuse it for peer transport.
1035 * PeerChannelListener.cs : add binding member.
1036 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1038 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1040 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1041 PeerChannelFactory.cs : close opened channels at OnClose() as
1042 documented. Implement async methods.
1043 * PeerChannelListener.cs : removed some NIE overrides.
1045 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1047 * DuplexChannelBase.cs : some more async methods.
1049 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1051 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1053 * TcpChannelListener.cs : accept multiple channels at a time.
1055 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1057 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1058 session strings but output only those new ones in current message.
1059 This fixes inconsistent body output in repetitive use of sender.
1061 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1063 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1064 operation that does not involve session.
1065 Preserve writer session as well as reader session.
1066 * MessageHeaders.cs : take name and namespace into consideration
1067 when creating a serializer.
1069 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1071 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1072 Made required changes for repeated use of message exchanges.
1073 Hold binary reader session. The channels use it incrementally.
1074 Preambles are handled at Open, and EndRecords are handled at
1075 Close, Add session shutdown hook here (not working yet though).
1077 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1079 * ChannelListenerBase_1.cs : added cancellation hook here too.
1080 HttpChannelListener.cs : use above.
1081 Do not allow parallel channel creation (this listener does not
1082 allow more than one AcceptChannel().
1084 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1086 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1087 Add cancellation hook for async TryReceiveRequest.
1089 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1091 * HttpChannelListener.cs, HttpListenerManager.cs :
1092 slightly improved BuildChannelListener().
1093 Implement OnAbort() and differentiate it from OnClose().
1095 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1097 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1099 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1101 * DuplexChannelBase.cs : simple async delegate calls here too.
1103 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1105 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1107 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1109 * HttpReplyChannel.cs : cosometic simplification.
1111 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1113 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1114 infinite block in 2.0 profile.
1116 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1118 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1119 more careful close to avoid NRE.
1121 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1123 * HttpChannelListener.cs : do not Close() more than once (though
1124 it is allowed to call it twice, we don't reject it; just ignore).
1126 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1128 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1130 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1132 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1133 Temporarily disable HTTP Keep-Alive since it somehow results in
1134 wrong reuse of connection (shown as NRE in HttpConnection).
1135 Make sure to close RequestContext which was created from it.
1136 * HttpRequestContext.cs : simplify.
1138 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1140 * HttpChannelListener.cs, TcpChannelListener.cs,
1141 ChannelListenerBase_1.cs : put common internal listener base
1142 and let it handle those async stuff.
1144 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1146 * ReplyChannelBase.cs : fix wrong null delegate check point.
1148 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1150 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1151 now implemented as virtual in base class. Remove NIEs in http.
1153 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1155 * HttpChannelListener.cs : hack async implementation.
1157 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1159 * HttpListenerManager.cs : oops, extra line removal.
1161 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1163 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1165 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1167 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1168 "ChannelManager" is confusing (there is ChannelManagerBase).
1170 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1172 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1173 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1174 they should be split into separate listener->reply channel lines
1175 (remove "if (HostingEnvironment.IsAspNet)".)
1177 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1179 * CommunicationObject.cs : OnClosed() requires call to base method.
1180 Close() could rather abort the channel, and Abort() does not
1181 always invke OnAbort().
1182 * ChannelBase.cs : add call to base as above.
1184 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1186 * ClientAccessPolicy.cs: Removed
1187 * CrossDomainAccessManager.cs: Removed
1188 * CrossDomainPolicy.cs: Removed
1189 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1190 since this is now done inside the BeginGetResponse call (outside
1191 this assembly) for Moonlight (NET_2_1)
1193 2009-06-04 Alan McGovern <amcgovern@novell.com>
1195 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1196 instead of the sync apis. Prevents a possible deadlock condition in
1199 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1201 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1202 callbacks, so add hacky ones.
1204 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1206 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1207 true when socket input is not available.
1209 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1211 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1212 I cannot precisely identify when EndRecord should be consumed,
1213 so allow it at either at the end of ReadSizedMessage() or on
1214 consuming preamble (it's likely handling EndRecord of previous
1217 Now duplex IPeerResolverContract communication works between
1218 either of .NET/Mono client and .NET/Mono server.
1220 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1222 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1223 code. Handle preamble ack on ReadSizedMessage() only at server.
1224 Consume EndRecord from server, at client side. Though it is likely
1225 changed as it's blocking when mono is at server side.
1227 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1229 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1230 different protocol than existing code with related to preamble ack.
1231 So changed it to work fine with .NET client (finally).
1233 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1235 * MessageBufferImpl.cs : do not output Action twice.
1237 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1239 * MessageBufferImpl.cs : it did not copy headers.
1240 * Message.cs : remove 2_1 conditional implementation for buffered
1241 copy and hence remove bogus code.
1243 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1245 * MessageProperties.cs : copy argument is wrong.
1247 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1249 * PeerCustomResolverBindingElement.cs : some argument check.
1251 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1253 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1254 xml open, so close the writer as well as open elements.
1255 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1256 Do not output EndRecord and SizedMessage at a time.
1258 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1260 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1261 length of the SizedMessage in the output.
1263 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1265 * CommunicationObject.cs : use sane default timeout.
1266 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1267 * TcpDuplexSessionChannel.cs : ditto.
1269 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1271 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1272 only accepts buffered messages, so do as such for write buffers.
1273 Add RelatesTo header.
1275 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1277 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1278 rename from former to latter.
1280 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1282 * TcpDuplexSessionChannel.cs : reader does not always return full
1283 buffer (depending on the stream).
1285 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1287 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1289 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1291 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1294 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1296 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1298 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1300 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1302 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1304 * ChannelManagerBase.cs : fix wrong session channel detection.
1306 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1308 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1309 This encoder factory implements CreateSessionEncoder() and binary
1310 encoder does support session transmit, in different media type.
1311 * ChannelManagerBase.cs : added utility method to create appropriate
1313 * HttpChannelFactory.cs, HttpChannelListener.cs,
1314 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1315 PeerChannelFactory.cs, PeerChannelListener.cs,
1316 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1318 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1320 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1322 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1324 * DuplexSessionBase.cs : new file, for session implementation.
1325 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1326 DuplexSessionChannelBase.cs : changed sync/async implementation
1327 pattern. Now async methods call sync methods using delegates.
1329 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1331 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1332 a few minor API fixes.
1334 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1336 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1338 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1340 * TcpDuplexSessionChannel.cs : add To header.
1342 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1344 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1347 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1349 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1351 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1353 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1354 CommunicationException in each CreateFault().
1356 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1358 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1359 Open(). Some (but not all yet) continuous communication works now.
1360 Use ProtocolException. Remove dummy binary session string.
1362 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1364 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1365 sending/receiving SizedMessageRecord parts to manager class.
1366 Handle writer session, though it is likely broken at dictionary
1367 writer part (no string is written so far).
1368 * BinaryMessageEncoder.cs : add writer session and rename reader
1371 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1373 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1374 is mandatory in initiator preamble packet. Handle Fault reply in
1377 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1379 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1380 based communication under TcpBinaryFrameManager class.
1382 2009-05-13 Jb Evain <jbevain@novell.com>
1384 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1385 from a StringReader.
1387 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1389 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1390 actually eliminate DOM-based implementation too in 2.0.
1392 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1394 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1395 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1396 comments for magic numbers based on [MC-NMF].
1398 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1400 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1401 support for [MC-NBFSE] record in [MC-NMF], in this class.
1403 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1405 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1407 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1409 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1411 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1413 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1415 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1417 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1419 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1421 * BinaryMessageEncoder.cs : use quotas in binding element.
1422 Implement WriteMessage().
1424 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1426 * PeerCustomResolverBindingElement.cs : do initialize field.
1428 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1430 * PeerCustomResolverBindingElement.cs :
1431 implement full custom resolver.
1433 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1435 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1436 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1437 PeerChannelFactory.cs : ongoing p2p channel implementation.
1439 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1441 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1443 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1445 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1446 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1447 implement GetProperty<T>(). Return documented objects or null.
1449 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1451 * PeerChannelFactory.cs, PeerChannelListener.cs,
1452 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1453 PeerInputChannel.cs, PeerOutputChannel.cs :
1454 new; ongoing peer transport implementation.
1455 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1456 MsmqOutputChannel.cs, OutputChannelBase.cs,
1457 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1458 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1459 several internal changes (either required or for simplification)
1460 for ongoing peer transport implementation.
1462 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1464 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1466 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1468 * TcpTransportBindingElement.cs : check build-ability before
1469 actually building channels.
1470 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1471 conditions according to MSDN.
1473 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1475 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1476 handle headers in SL2. Slightly changed 3.0 code too.
1478 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1480 * HttpRequestChannel.cs : use cross domain access manager.
1482 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1484 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1485 message as BodyWriter.
1486 (in GetReaderAtBodyContents) just write body contents.
1487 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1489 Add some state check in GetReaderAtBodyContents().
1490 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1492 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1494 * Message.cs : do not forget to flush.
1495 * HttpRequestChannel.cs : give more exact error info.
1497 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1499 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1500 make buffered copy in ML2 really buffered.
1502 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1504 * Message.cs : if there is no header item to write, do not write
1505 SOAP header element.
1507 2009-01-22 Alan McGovern <amcgovern@novell.com>
1509 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1510 Rewrite to avoid usage of it.
1512 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1514 * ChannelParameterCollection.cs : implement, rather than NIE.
1516 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1518 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1519 internal users to know the type of the detail.
1521 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1523 * Message.c: Use private setter for state private variable to ease debugging.
1524 Modify ToString not to change the state, as it is called quite often by VS debugger
1526 2008-04-21 Roei Erez <roeie@mainsoft.com>
1528 * HttpChannleManager: Fix for multithreaded use.
1529 * HttpReplyChannel: Fix crash during sutdown.
1531 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1533 * HttpChannleManager: ensure trailing slash in uri.
1535 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1537 * added: HttpChannleManager,
1538 * HttpChannelListener: added use of HttpChannelManager
1540 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1542 * MessageEncodingBindingElement.cs: fixed ctor
1544 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1546 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1548 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1550 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1552 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1554 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1556 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1558 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1560 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1562 * BindingElementCollection.cs: fix API - .ctor's signature.
1564 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1566 * XmlSerializerBodyWriter.cs: Removed.
1568 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1570 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1572 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1574 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1575 * TcpChannelFactory.cs, TcpChannelListener.cs :
1576 unify factory and listener into TcpChannelInfo for use in
1577 TCP channel implementation. Do not store stream in the listener.
1578 Factory now uses BinaryMessageEncoder.
1579 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1580 holds TcpClient that the listener has accepted.
1582 tcp-transport-binding-element sample now communicates (though
1583 only when both sides are mono: there seems binary mismatch).
1585 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1587 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1588 clone connection pool settings too.
1589 * NamedPipetransportBindingElement.cs,
1590 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1591 being likely implemented though).
1593 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1595 * ConnectionOrientedTransportBindingElement.cs,
1596 TcpTransportBindingElement.cs : some API updates.
1597 Initialize default values.
1598 * TcpConnectionPoolSettings.cs : new file.
1600 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1602 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1603 added support for "factory" attribute.
1605 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1607 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1609 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1611 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1613 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1615 * HttpRequestChannel.cs : create WebRequest against To message header
1617 Consider HttpRequestMessageProperty.
1618 Do not output body when suppressed or the method is GET.
1620 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1622 * HttpChannelListener.cs : BindingContext may not have listenUri
1623 at its .ctor() step.
1625 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1627 * BindingContext.cs : RemainingBindingElements is not just a dummy
1628 collection but is actually user-controlled.
1630 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1632 * TcpChannelFactory.cs, TcpChannelListener.cs,
1633 HttpChannelFactory.cs, HttpChannelListener.cs,
1634 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1635 TextMessageEncodingBindingElement.cs,
1636 BinaryMessageEncodingBindingElement.cs,
1637 MtomMessageEncodingBindingElement.cs :
1638 message encoder should be retrieved only through public API.
1639 * BindingContext.cs : so my old guess was wrong.
1641 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1643 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1645 * HttpTransportBindingElement.cs : implemented copy constructor.
1647 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1649 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1650 header when AddressingVersion is None.
1652 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1654 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1657 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1659 * OneWayBindingElementImporter.cs
1660 CompositeDuplexBindingElementImporter.cs : new files.
1662 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1664 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1665 semantic change, its bool parameter must be false, not true.
1667 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1669 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1670 new files. Msmq transport listener Implementation.
1671 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1672 (wait for System.Messaging impl.)
1673 * HttpReplyChannel.cs : added comment
1675 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1677 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1678 new files. internal stuff for msmq channel.
1679 * BinaryMessageEncoder.cs : added another .ctor().
1680 * MsmqTransportBindingElement.cs :
1681 implemented [Can]BuildChannelFactory().
1683 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1685 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1686 initialize some fields.
1688 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1690 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1691 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1692 couple of msmq stubs.
1694 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1696 * SecureMessageGenerator.cs : SecurityContextToken support (though
1697 it is still regarded as invalid by WCF).
1699 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1701 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1702 make header.Contents.Add() more strict.
1703 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1705 Added some hack to allow ssl token external mode.
1706 Commented out such lines that always premised asymmtric key.
1708 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1710 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1712 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1714 * MessageSecurityBindingSupport.cs : support check to create
1715 authenticator is now done in both initiator/recipient sides.
1716 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1718 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1720 * MessageSecurityBindingSupport.cs : for now, comment out the code
1721 that makes authenticator creation optional.
1722 * SecurityRequestContext.cs : don't decrypt message when it is
1723 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1725 * SecurityChannelListener.cs : GetProperty<T>() now returns
1726 MessageSecurityBindingSupport when requested. It is used by
1727 EndpointDispatcher to check if it supports WS-Trust negotiation.
1728 * ChannelListenerBase.cs :
1729 removed extra TODO and field. Implemented GetProperty<T>().
1730 * Message.cs : In CreateMessage() for SOAP Fault, create
1731 SimpleMessage with IsFault = true.
1733 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1735 * SecurityRequestContext.cs : try to reply fault with the inner
1736 channel when an error occurred internally.
1737 * FaultConverter.cs : implemented based on OperationContext (at normal
1738 state it does not seem to create messages, so I implemented it this
1741 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1743 * TransportBindingElement.cs : implemented GetProperty<T>().
1744 * TransactionFlowBindingElement.cs : on building factory or listener,
1745 reject channel types that cannot build.
1746 * SecurityBindingElement.cs : added some TODO comments.
1747 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1748 delegate to base, not BindingContext.
1749 * SecurityRequestContext.cs : somewhat late decryption.
1751 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1753 * MessageSecurityBindingSupport.cs,
1754 AsymmetricSecurityBindingElement.cs,
1755 SymmetricSecurityBindingElement.cs :
1756 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1757 implemented ISecurityCapabilities on them. Now those binding
1758 elements support GetProperty<ISecurityCapabilities>().
1760 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1762 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1763 will work only for predefined parameter types.
1765 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1767 * MessageSecurityBindingSupport.cs :
1768 Set proper MessageDirection to the requirement after creation.
1769 split CreateTokenAuthenticator() as MessageDirection is different.
1770 Removed extra creation of requirement.
1772 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1774 * MessageSecurityBindingSupport.cs : token authenticator is not
1775 always created on channel-opening stage.
1776 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1777 Sslnego binding factory method.
1779 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1781 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1782 signature velification failure.
1784 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1786 * SecureMessageGenerator.cs : encrypt signature confirmations only
1787 when they are required.
1789 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1791 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1792 when [Signature Protection is true i.e. when we use
1793 SignBeforeEncryptAndEncryptSignature.
1795 With this change finally samplesvc.cs/samplecli.cs became
1798 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1800 * SecureMessageDecryptor.cs : signature verification was not done
1801 for endorsing supporting tokens.
1802 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1803 in the security header. Don't output empty ReferenceList.
1805 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1807 * SecureMessageGenerator.cs : signingToken was added before being
1808 initialized and thus caused NRE.
1810 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1812 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1813 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1814 don't need workaround for symmetric key restoration.
1816 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1818 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1819 SecureMessageGenerator.cs :
1820 Avoid extra reference search from the request's ReferenceList.
1821 create HMACSHA1 always with the key to compute hash (I'm not sure
1822 it is correct; it is rather to adjust all hash consistent.)
1824 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1826 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1827 actually endorsed the primary signature.
1828 * SecureMessageGenerator.cs : implemented endorsing of the primary
1829 signature. So, now supporting tokens are fully implemented.
1831 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1833 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1834 totally signing tokens.
1835 * SecureMessageGenerator.cs : Endorsing tokens should also be
1836 included in the message. They are just not signed.
1838 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1840 * SecureMessageGenerator.cs : support signing and encryption of
1841 supporting tokens. Some required refactory to do it.
1842 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1844 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1846 * SecureMessageDecryptor.cs : fix exception message.
1847 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1848 XmlNamespaceManager is not required for GetIdElement().
1850 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1852 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1853 moved decryption part from former file to latter file, to reuse
1854 SignedXml instance (though now I doubt how it actually was good)
1855 which in turn required to replace EncryptedData in
1856 WSSecurityMessageHeader with decrypted one.
1857 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1859 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1861 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1862 EncryptedData should contain KeyInfo as it is not obvious which key
1863 is used there. .net<->mono DerivedKeyToken introp is done.
1864 * SecureMessageDecryptor.cs : check derived key requirement.
1865 Reduce dom-dependent parts.
1867 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1869 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1870 the related DerivedKeyToken (if any).
1871 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1872 support. Some refactoring to distinguish deried-token-related
1874 * SecureMessageDecryptor.cs : removed its own support for derived
1875 key tokens. Now it fully works with DerivedKeySecurityToken.
1877 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1879 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1880 SecureMessageDecryptor.cs :
1881 Implemented increment token reading in o:Security, as
1882 DerivedKeyToken could reference to existing wrapped key.
1883 Removed WsscDerivedKeyToken and all relevant code.
1884 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1885 DerivedKeySecurityToken.
1887 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1889 * SecureMessageGenerator.cs : it was setting security tokens into
1890 incorrect SecurityMessageProperty.
1891 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1892 Now it uses SecurityRequestContext instead of just primary key.
1893 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1894 to symmetric reply decryption, which is the only trouble case.
1895 Do not create another SignedXml.
1896 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1898 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1900 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1901 the resolver works with in-progress token reading in o:Security.
1902 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1903 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1904 * SecureMessageGenerator.cs : cosmetic refactoring.
1906 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1908 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1909 instead of EncryptedKey.
1911 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1913 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1914 should not be always prepared at channel Open(). It also caused
1915 that extra token requirements.
1916 * SecureMessageGenerator.cs : use correct key clause for encryption.
1917 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1919 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1921 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1922 for supporting 'supporting tokens' .
1923 * SecureMessageGenerator.cs : Supporting token creation is done only
1924 at initiator (not sure if it is supposed that, but for now it is).
1925 Removed extraneous CollectSupportingTokens().
1926 * SecureMessageDecryptor.cs : implemented supporting token
1927 authentication (partly). "Signed" supporting tokens are expected
1930 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1932 * SecureMessageGenerator.cs :
1933 make SignBeforeEncryptAndEncryptSignature working.
1935 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1937 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1938 the key itself. ProtectionToken is WrappedKey.
1939 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1940 not EncryptedKeyIdentifierClause which is not for embedded key.
1941 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1943 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1945 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1946 to switch asymmetric and symmetric. Not used yet.
1947 * SecurityRequestChannel.cs : now it pass the request security
1948 property to reply receiver so that it could use the primary key
1949 used at request phase.
1950 * SecurityRequestContext.cs : now it pass the context itself to
1951 reply sender so that it could embed related MessageID.
1952 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1953 binding element. Add RelatesTo output and remove MessageID when
1954 replying to the sender. Added some hacks to get symmetric binding
1956 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1957 in SecurityTokenReference (it also involved existing encrypted key
1958 retrieval). In reply receiver, reuse the key that was used at
1959 request phase. It needs significant token resolution refactoring.
1961 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1963 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1964 * SecureMessageDecryptor.cs : store token and its authentication
1965 policies into the security property, and reuse it on reply.
1966 Some code refactoring; there is at most one o:Security to solve at
1967 one endpoint (depends on Actor). Some attempt to use correct
1968 token parameters (but for now I have only samples that use x509).
1969 * SecureMessageGenerator.cs : For replying message, use initiator's
1970 signing token as the encryption token. Simply reuse security
1971 property from the input message.
1973 I have some nasty workaround at decryptor for initiator that could
1974 not retrieve decryption key.
1976 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1978 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1979 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1980 several refactoring on token acquisition. Large part of
1981 MessageSecurityBindingSupport code is unified.
1983 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1985 * MessageProperties.cs : Security property should be one of the items.
1986 Actually many other properties should be similar as well.
1987 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1988 when copying a message, copy properties as well.
1989 * SecurityRequestContext.cs : on replying, pass input
1990 SecurityMessageProperty to the security generator.
1991 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1993 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1995 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1998 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1999 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2000 use new WSSignedXml instead of SignedXml, and remove coexisting
2001 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2002 - our reply messages could be consumed by .NET, and
2003 - .NET signature could be verified.
2005 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2007 * SecureMessageDecryptor.cs : The signing key must be passed as
2008 CheckSignature() argument, not SigningKey.
2010 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2012 * MessageImpl.cs : don't read attribute after ReadStartElement().
2014 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2016 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2017 * SecureMessageGenerator.cs : use correct signing key clause for
2018 SecurityTokenReferenceKeyInfo to be serialized.
2019 * SecureMessageDecryptor.cs : now it can try to parse signature.
2021 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2023 Ongoing changes to support signature confirmation
2024 * SecureMessageGenerator.cs :
2025 Don't output ReplyTo onto reply message.
2026 Write SignatureConfirmation if needed.
2027 * SecureMessageDecryptor.cs :
2028 Some refactoring for header cunsumption. Added commented-out
2029 signature verification part (not working yet, on client side due
2030 to incorrect reply from service and insufficient clause reader).
2031 * WSSecurityMessageHeader.cs :
2032 Added SignatureConfirmation support.
2033 KeyInfoClause for o:SecurityTokenReference should be replaced with
2034 SecurityTokenReferenceKeyInfo.
2036 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2038 * SecureMessageGenerator.cs : support Timestamp signature.
2039 Removed unused code, and extra argument in CreateReference().
2040 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2042 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2044 * SecureMessageGenerator.cs :
2045 Several fixes to make asymmetric binding working:
2046 - Differentiate signing and encryption token in several areas.
2047 - Fixed signing keyinfo.
2049 Added initial SecurityMessageProperty handling, not sure if it is
2050 appropriate here though.
2051 * HttpRequestChannel.cs : (some debugging lines)
2053 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2055 Woohoo! Here is a very basic WS-Security compliant message which could
2056 be allowed by Indigo.
2057 * MessageHeader.cs : added Id support for writing.
2058 * Message.cs : added internal BodyId for signature reference.
2059 * MessageImpl.cs : write Body Id if required.
2060 * SecureMessageGenerator.cs : Before signing, the target elements must
2061 be given wsu:Id. Since I still use System.Security.dll, I need some
2062 trick for signing (I give both Id and wsu:Id, former to sign and
2063 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2064 implementation later. Now singning mechanism works except for
2065 wsu:Timestamp (which is kind of mandatory).
2067 I can's still consume replies from Indigo but it's a big progress :)
2069 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2071 * MessageHeaderInfo.cs : added internal Id.
2072 * MessageHeader.cs : read and write wsu:Id.
2073 * Message.cs : output wsu namespace if Id exists in any header.
2074 * HttpReplyChannel.cs : (some debugging lines.)
2075 * SecureMessageDecryptor.cs : (remove debugging lines.)
2076 * MessageImpl.cs : removed obsolete code.
2077 * WSSecurityMessageHeader.cs : output "o" prefix.
2078 * SecureMessageGenerator.cs : replaced XmlElement-based header
2079 signing with MessageHeader-based signing, to support Id correctly.
2081 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2083 * SecureMessageGenerator.cs : some more refactoring and code comments.
2084 * MessageSecurityUtility.cs : made decryptor into an instance class,
2085 like I've done for SecureMessageGenerator.
2086 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2087 dependent changes for above.
2089 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2091 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2092 causing NRE due to the lack of token reference.
2093 No need to pass doc to SignedXml.ctor() anymore.
2094 Moved ReferenceList before the signature(s).
2096 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2098 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2099 Moved signing key generation code to non-HMACSHA1 signing part.
2100 Don't try to sign wss:Security.
2101 Pass document itself to SignedXml.ctor().
2102 Use temporary DataObjects to avoid adding Ids (not sure what is the
2103 expected processing yet).
2104 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2105 WriteTo() method in WsuTimestamp.
2107 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2109 * SecureMessageGenerator.cs : wrong key was used for signing.
2110 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2112 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2114 * SecureMessageGenerator.cs :
2115 Now ID generation process does not modify input message.
2116 Moved derived key generation part into (virtual) signing loop.
2117 MessagePartSpecification support for signing is done.
2119 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2121 * SecureMessageGenerator.cs : some reordering to handle signing and
2122 encryption with supporting tokens. Fixed XPath query bug for
2123 soap header contents (we want s:Header/*, not s:Header).
2125 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2127 * MessageSecurityBindingSupport.cs : more refactoring.
2128 Made it abstract and added Initiator- and Recipient- classes.
2129 Several members were moved to those derived types.
2130 * AsymmetricSecurityBindingElement.cs,
2131 SymmetricSecurityBindingElement.cs
2132 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2133 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2134 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2135 All dependent changes by above. Removed ISecurityChannelSource
2136 which became useless.
2138 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2140 * SecureMessageGenerator.cs : encryption parts should exist too.
2141 * AsymmetricSecurityBindingElement.cs
2142 SymmetricSecurityBindingElement.cs,
2143 MessageSecurityBindingSupport.cs : some refactoring.
2144 Split MessageSecurityBindingSupport into security binding element
2145 specific parts and made MessageSecurityBindingSupport concrete.
2146 It is likely split again, next time based on initiator/recipient.
2148 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2150 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2151 split encryptor part in the former file into latter file, and
2153 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2154 SecurityRequestContext.cs : apply the change above.
2156 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2158 * MessageSecurityBindingSupport.cs :
2159 Fixed incorrect TrgGetValue() use.
2160 Added CollectRecipientSupportingTokens().
2162 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2164 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2165 EncryptedKey. So, when a key itself is used to encrypt data,
2166 ReferenceList is contained by itself.
2167 * MessageSecurityBindingSupport.cs :
2168 added CollectInitiatorSupportingTokens().
2170 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2172 * MessageSecurityUtility.cs: it should support ReferenceList-less
2175 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2177 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2178 * MessageSecurityUtility.cs : there already was uuid.
2180 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2182 * MessageSecurityUtility.cs : replaced EncryptedKey with
2183 WrappedKeySecurityToken, which seems to be in actual use in .net.
2184 * WSSecurityMessageHeader.cs : added internal Guid so that it
2185 could be shared between header items.
2187 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2189 * HttpRequestContext.cs, TextMessageEncoder.cs :
2190 some null arg check.
2192 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2194 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2195 for SecurityTokenReference resolution.
2197 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2199 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2200 consider DerivedKeyTokens correctly.
2201 When creating LocalId, don't add '#' here.
2203 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2205 * MessageSecurityUtility.cs :
2206 handle key mapping for each wsse:Security.
2208 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2210 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2212 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2214 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2216 * MessageSecurityUtility.cs :
2217 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2218 suggests, and it is used to dereference decryption targets.
2219 Now it premises multiple wsse:Security elements to read.
2221 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2223 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2224 manually (and actually the namespace URI was wrong).
2226 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2228 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2230 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2232 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2234 * SecurityBindingElement.cs,
2235 SymmetricSecurityBindingElement.cs,
2236 AsymmetricSecurityBindingElement.cs :
2237 implemented SetKeyDerivation().
2239 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2241 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2244 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2246 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2249 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2251 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2252 thus move it in front of encryption/signing.
2254 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2256 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2257 check state by themselves (btw it's not really working).
2258 * HttpChannelListener.cs : If the url does not end with '/' add it
2259 so that it could be fed to HttpListener.
2261 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2263 * HttpChannelFactory.cs : check scheme on CreateChannel.
2264 * MessageHeader.cs : finish IsMessageVersionSupported().
2266 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2268 * FaultConverter.cs : new file, not used yet though.
2270 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2272 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2274 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2276 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2277 GET as well as HttpReplyChannel, configuration would be ready now.
2279 2006-10-18 Ankit Jain <jankit@novell.com>
2281 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2282 EnvelopeVersion.Soap12 and 'text/xml' for others.
2283 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2285 Strip '?' from the query string.
2287 2006-10-13 Ankit Jain <jankit@novell.com>
2289 * MessageVersion.cs (None): Set AddressingVersion.None
2291 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2293 * SvcHttpHandler.cs : added config-based endpoint addition code.
2294 Though due to some weird bug in mono-core it does not seem to work,
2295 so commented out for now.
2296 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2297 mex request message might just be wrong.
2298 Use expected MessageVersion by the channel.
2299 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2301 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2303 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2304 which differs depending on whether it is asymmetric or symmetric.
2305 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2306 simplify SecureMessage() and DecryptMessage() arguments (just
2307 take MessageSecurityBindingSupport instead of several parameters).
2308 * MessageSecurityUtility.cs :
2309 - simplify SecureMessage() and DecryptMessage() arguments (just
2310 take MessageSecurityBindingSupport instead of several parameters).
2311 - Take token inclusion mode into account. Don't include them when
2312 it is not expected. Also, change the token reference style.
2313 - add wsa:MessageID to the headers.
2314 - For hmac-sha1 signing (default for symmetric binding), use
2315 symmetric key created for encryption as well to create HMACSHA1.
2316 - add Id to wsu:Timestamp.
2317 - start to handle SecurityMessageProperty.
2318 * WSSecurityMessageHeader.cs :
2319 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2320 Changed date format.
2322 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2324 * CommunicationObject.cs : reject faulted state on Open()/Close().
2325 * MessageHeaders.cs : removed extra fields.
2327 2006-10-06 Ankit Jain <jankit@novell.com>
2329 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2331 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2333 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2334 added some FIXMEs and additional arg.
2336 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2338 * MessageSecurityUtility.cs : remove duplicate Action header.
2340 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2342 * MessageFault.cs : partly implemented CreateFault(Message, int).
2343 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2344 handle IsFault correctly in each implementation.
2346 2006-10-04 Ankit Jain <jankit@novell.com>
2348 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2350 2006-10-04 Ankit Jain <jankit@novell.com>
2352 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2353 in WebConnectionStream.
2355 2006-10-04 Ankit Jain <jankit@novell.com>
2357 * MessageHeaders.cs (To): Use GetHeader<string> till
2358 DataContractSerializer gets ISerializable support.
2359 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2361 2006-10-04 Ankit Jain <jankit@novell.com>
2363 * ServiceHostParser.cs (Parse):
2364 (Split): Add some error checks.
2366 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2368 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2369 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2370 * SslStreamSecurityUpgradeProvider.cs,
2371 SslStreamSecurityUpgradeAcceptor.cs :
2372 new files for Ssl upgrade provider implementation.
2373 * MessageSecurityUtility.cs :
2374 Create proper C14NTransform. Don't use enveloped signature
2375 transform but sign every significant bits. On securing messages
2376 use ChannelProtectionRequirements.
2377 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2379 * MessageEncoder.cs : fix API (missing constraint).
2380 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2381 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2382 * AsymmetricSecurityBindingElement.cs : default protection order is
2383 SignBeforeEncryptAndEncryptSignature.
2385 2006-09-29 Ankit Jain <jankit@novell.com>
2387 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2388 ServicHostParser and use that here.
2389 (PrivateBinPath): New.
2390 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2391 (RemovedCallback): Remove and close the SvcHttpHandler when its
2392 corresponding file (.svc) changes.
2393 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2395 * ServiceHostParser.cs : New.
2396 * CachingCompiler.cs : New. Code extracted from
2397 System.Web.Compilation.CachingCompiler
2398 * CompilationException.cs : New. From System.Web.Compilation
2399 * HtmlizedException.cs : New. Likewise.
2401 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2403 * MessageSecurityBindingSupport.cs : For client side, it is always
2404 InitiatorServiceModelSecurityTokenRequirement which should be
2405 created. Fixed wrong client encryption key acquisition.
2407 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2409 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2410 MessageSecurityBindingSupport.cs : made similar changes as factories
2411 to listener so that session channels and input channels would work.
2412 Added authenticator creation.
2414 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2416 * Binding.cs : added missing members.
2418 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2420 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2421 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2422 reduce code duplication between request and output channels.
2423 The common parts are now in MessageSecurityBindingSupport.
2424 Now reduced several arguments in SecureMessage() for client.
2426 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2428 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2430 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2432 * AsymmetricSecurityBindingElement.cs,
2433 SecurityChannelListener.cs,
2434 SecurityRequestContext.cs,
2435 SymmetricSecurityBindingElement.cs,
2436 SecurityRequestChannel.cs,
2437 SecurityOutputChannel.cs,
2438 SecurityChannelFactory.cs,
2439 MessageSecurityBindingSupport.cs : 1) Refactoring.
2440 IMessageSecurityBindingSupport now becomes a class and contains
2441 all the members which resided in ISecurityChannelSource.
2442 Now it takes more constructor params.
2443 Made dependent changes on all sources above.
2445 2) Added SecurityTokenAuthenticator creation in
2446 SecurityRequestChannel (SecurityOutputChannel should do the same).
2448 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2450 * SecurityRequestChannel.cs : ongoing improvements on conditional
2451 key creation. Actually there must be some part that creates an
2452 authenticator (WinFX does that).
2454 2006-09-27 Ankit Jain <jankit@novell.com>
2456 Add suport for handling .svc files.
2457 * SvcHttpHandlerFactory.cs: New.
2458 * SvcHttpHandler.cs: New.
2460 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2461 asp.net environment.
2462 (OnOpen): Do nothing in asp.net environment.
2463 (OnClose): Likewise.
2464 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2465 * HttpRequestContext.cs: .. here.
2467 * AspNetReplyChannel.cs: New.
2468 * AspNetRequestContext.cs: New.
2470 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2472 * MessageSecurityUtility.cs :
2473 Significantly rewritten decryption parts to respect ReferenceList
2474 to decrypt (so no workaround anymore).
2475 Now e:ReferenceList inside o:Security is treated as the referenced
2476 EncryptedType items are encrypted by 1) the derived key which is
2477 immediately in front of it, or 2) the default key (it is according
2478 to WS-SecureConversation section 9.1). Thus removed immediately
2479 previous hack to auto-fill wsu:Id attributes.
2481 On securing a message, generate correct Id and add DataReference
2482 to ReferenceList properly.
2484 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2486 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2489 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2491 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2492 Actually WSSecurityTokenSerializer should be able to consume it, but after
2493 spending a lot of time I still cannot successfully read it on WinFX.
2494 Skip ReferenceList for now.
2495 * MessageSecurityUtility.cs :
2496 Replaced some string literals with constants.
2497 Added some workaround for DerivedKeyToken retrieval.
2498 WinFX somehow sends incomplete ISO10126 padding which contains
2499 bigger number than the key size and is rejected by EncryptedXml,
2500 so added DecryptLax() which processes such ones in PaddingMode.None
2501 to workaround it (only for cross-connection between mono and winfx).
2502 Added some incomplete implicit wsu:Id processing.
2503 Don't try to replace SignedXml with EncryptedData. It is not added
2504 to the document tree.
2506 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2508 * MessageSecurityUtility.cs : support message signature encryption. Some
2511 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2513 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2515 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2517 * MessageSecurityUtility.cs : fix warnings.
2519 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2521 * MessageSecurityUtility.cs : actually there would be more than one
2522 EncryptedData. Decrypt all.
2524 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2526 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2527 Use ISO10126 padding mode (it is not required but in manner).
2529 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2531 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2532 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2533 that class to make it work fine with mono client).
2534 Removed buggy lines that reset decryption key to AES.
2535 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2536 * WSSecurityMessageHeader.cs :
2537 (SecurityTokenReferenceKeyInfo) support LoadXml.
2539 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2541 * TransactionMessageProperty.cs : new file.
2543 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2545 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2546 gmcs happened to report wrong code.
2548 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2550 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2551 .ctor() now requires ChannelProtectionRequirements which will be
2552 supplied via BindingParameterCollection.
2553 * SymmetricSecurityBindingElement.cs,
2554 AsymmetricSecurityBindingElement.cs : thus add
2555 ChannelProtectionRequirement parameter to factory/listener.
2556 * SecurityRequestChannel.cs : use recipient token requirement to
2557 create an encryption token. Thus differentiate the logic from
2558 signing (initiator) token.
2560 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2562 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2563 renamed former to latter.
2564 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2567 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2569 * MessageSecurityBindingSupport.cs : new internal types to commonize
2570 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2571 and thus make internal factory and listener reusable.
2572 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2573 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2574 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2575 SymmetricSecurityBindingElement, using the new types above.
2576 * SymmetricSecurityBindingElement.cs :
2577 Use SymmetricMessageSecurityBindingSupport.
2578 * AsymmetricSecurityBindingElement.cs :
2579 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2581 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2583 * ChannelFactoryBase.cs : more RC1 update.
2585 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2587 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2588 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2589 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2590 ChannelBase.cs : RC1 API updates.
2591 * MessageImpl.cs : implemented Properties.
2592 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2594 2006-09-18 Ankit Jain <jankit@novell.com>
2596 * MessageHeaders.cs (MessageId):
2597 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2599 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2601 * ChannelParameterCollection.cs : new file.
2602 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2603 new files for IOutputChannel implementation.
2604 * OneWayBindingElement.cs : hacky implementation.
2605 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2606 * MessageSecurityUtility.cs : now create identifier from the security
2607 token and the token parameters which is added as an argument.
2608 * SecurityRequestContext.cs,
2609 SecurityRequestChannel.cs : SecureMessage() argument changes.
2610 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2613 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2615 * HttpRequestChannel.cs : close the HttpWebRequest.
2617 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2619 * HttpRequestChannel.cs,
2620 HttpChannelFactory.cs : implement async request/reply.
2621 * HttpChannelFactory.cs :
2622 verify factory state when creating a channel.
2624 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2626 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2627 BinaryMessageEncoder.cs : added message version mismatch check.
2629 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2631 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2632 Making incomplete changes to handle different tokens for encryption
2634 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2635 split channel implementation classes out to the latter file.
2636 * MessageSecurityUtility.cs : seems like there is
2637 TimeStampValidityDuration property, so use it (incomplete; a server
2638 needs another love).
2640 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2642 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2643 SecurityRequestContext.cs : now that we have key identifier clause
2644 and working ResolveKeyIdentifierClause(), just create keys inside
2645 SecureMessage(). Add KeyInfo to the xmldsig.
2647 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2649 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2650 pass SecurityKeyIdentifierClause to SecureMessage().
2651 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2652 for IssuedToken binding element.
2653 * SymmetricSecurityChannelListener.cs : removed hack to just create
2654 X509 security token, and implemented correct token creation.
2655 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2656 wraps SecurityTokenReference element.
2657 * MessageSecurityUtility.cs : use the above.
2659 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2661 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2662 could not find a security header.
2663 * SymmetricSecurityChannelFactory.cs : now it also supports
2664 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2667 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2669 * SecurityRequestContext.cs : moved securing message part to
2670 MessageSecurityUtility.cs.
2671 * MessageSecurityUtility.cs : the change above.
2672 use DateTime.Now for timestamp basis. Don't append signature to
2673 the document. Instead it is added to the header. Capture body
2674 content instead of the body itself.
2675 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2676 be processed by upper layers.
2678 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2680 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2681 SymmetricSecurityChannelListener.cs,
2682 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2683 more refactoring. Request serialization became much more conformant
2684 and add required header items.
2685 Security Token retrieval is needed to send it in the request.
2686 Fixed wrong key encryption.
2688 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2690 * SecurityRequestContext.cs : the workaround was not functional.
2692 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2694 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2695 API, especially ReplaceData(), instead of native crypto stuff.
2696 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2697 MessageProtectionOrder.SignBeforeEncrypt).
2699 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2701 * SecurityRequestContext.cs : label should be combined of both
2702 the client's and the server's.
2704 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2706 * SecurityRequestContext.cs : enable key derivation (though for now
2707 GenerateDerivedKey() is unimplemented). Create meaningful,
2708 decrypted request message to be consumed by the upper layer.
2710 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2712 * SecurityRequestContext.cs : implement Close() and Reply().
2713 ongoing implementation of Reply(TimeSpan).
2714 * MessageSecurityUtility.cs : new file to collect utility methods.
2715 * SymmetricSecurityChannelFactory.cs : moved securing message code
2717 * SymmetricSecurityChannelListener.cs : tiny renaming.
2719 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2721 * SecurityRequestContext.cs : security header is also stored.
2723 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2726 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2728 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2731 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2733 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2734 so that it retrieves the security key in that manner.
2736 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2738 * Binding.cs : MessageVersion is null when there is no
2739 MessageEncodingBindingElement.
2740 * Message.cs : null arg check.
2742 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2744 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2746 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2748 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2749 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2750 LayeredRequestChannel.cs : some refactoring.
2751 * SymmetricSecurityChannelFactory.cs :
2752 ongoing secure message creation implementation.
2754 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2756 * SymmetricSecurityBindingElement.cs :
2757 pass specific ServiceCredentialsSecurityTokenManager type to
2758 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2759 * SymmetricSecurityChannelListener.cs :
2760 get service certificate. It's a temporary hack.
2761 Move RequestContext code to below.
2762 * SecurityRequestContext.cs : new file.
2763 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2764 it I have to finish decryption of the incoming message.
2766 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2768 * MessageImpl.cs : don't write attributes on the first body content
2769 element *on soap Body element*.
2770 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2771 ObjectDisposedException is appropriate.
2772 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2773 in OnWriteHeader*Contents*().
2775 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2777 * WSSecurityMessageHeader.cs : new file.
2778 * SymmetricSecurityChannelFactory.cs :
2779 moved WSSecurityHeader and related types to the above.
2780 * SymmetricSecurityChannelListener.cs :
2781 reject SOAP-env-less message.
2783 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2785 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2786 renamed former to latter.
2787 * SymmetricSecurityChannelFactory.cs :
2788 create requirements every time. It is also likely that I need
2789 another requirement instance to get service credentials here.
2791 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2793 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2794 similar to BuildChannelFactory() (set credentials, issuer binding
2796 * SecurityChannelListener.cs :
2797 more ongoing security support implementation.
2798 * SymmetricSecurityChannelFactory.cs :
2799 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2801 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2803 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2804 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2805 Implementation is underway.
2806 * LayeredReplyChannel.cs :
2807 like LayeredRequestChannel, use ChannelListenerBase to provide
2810 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2812 * MessageHeader.cs : added another implementation type that uses
2813 XmlElement, for buffering purpose.
2814 * MessageImpl.cs : Header item types are user-driven by
2815 MessageHeader.GetHeader<T>(int), so at storing phase just store
2816 nodes as XmlElement.
2817 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2820 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2822 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2823 BindingParameterCollection, not from binding element properties.
2825 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2827 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2828 renamed former to latter.
2830 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2832 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2833 work for SslSecurityTokenParameters.
2835 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2837 * SecurityBindingElement.cs :
2838 Added SetIssuerBindingContextIfRequired().
2839 * SecurityChannelFactory.cs :
2840 Changed .ctor() arg again, just to receive binding element.
2841 * SymmetricSecurityBindingElement.cs :
2842 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2843 SymmetricSecurityChannelFactory .ctor() arg changes.
2844 "ProtectionTokenParameters" is not passed now.
2846 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2848 * SymmetricSecurityBindingElement.cs : requirements should be
2849 filled at InitializeSecurityTokenParameters as long as possible.
2850 SymmetricSecurityChannelFactory<T> now does not receive
2851 requirements (it now creates one inside it) at .ctor().
2852 * SecurityChannelFactory.cs : remove requirement argument.
2854 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2856 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2858 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2860 * SymmetricSecurityBindingElement.cs :
2861 MessageSecurityVersion property is of type SecurityTokenVersion.
2862 * SecurityBindingElement.cs :
2863 Implemented CreateSecureConversationBindingElement().
2864 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2865 the argument IssuedSecurityTokenParameters itself.
2867 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2869 * SymmetricSecurityBindingElement.cs :
2870 CreateSecurityTokenManager() can be directly used now.
2871 Use CallInitializeSecurityTokenRequirement() to fill requirement
2874 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2876 * ChannelFactoryBase.cs : GetProperty() is virtual.
2878 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2880 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2881 create token manager, token parameters and token requirements,
2882 and fill some requirements.
2883 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2884 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2885 * BindingContext.cs : implemented RemainingBindingElements.
2886 kill "no remaining binding element" error in GetInnerProperty()
2887 * SecurityChannelFactory.cs : now it became
2888 SymmetricSecurityChannelFactory, thus soon to be renamed.
2889 Several ongoing actual security resolution is on.
2891 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2893 * CommunicationObject.cs :
2894 add GetCommunicationObjectType() and use it.
2895 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2896 use ThrowIfDisposedOrNotOpen().
2897 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2898 to CommunicationObject. Make it IDisposable.
2899 * LayeredRequestChannel.cs : use above.
2900 * SecurityChannelFactory.cs : removed state check as it is done at
2903 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2905 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2906 CanBuildChannelListener) directly dispatch to BindingContext.
2907 * SymmetricSecurityBindingElement.cs : require protection token
2908 parameters before building a channel or a listener.
2909 * ChannelFactoryBase.cs : raise an error when a channel is being
2910 created without opening the factory.
2911 * ChannelListenerBase_1.cs : ditto for the listener.
2912 * SecurityChannelFactory.cs : before sending a request, it must be
2915 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2917 * MessageBufferImpl.cs : initialize fields.
2918 workaround BufferSize just to return 0.
2919 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2920 which does not support multi time write.
2921 * Message.cs : implemented State.
2923 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2925 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2926 is consuming XmlReader.
2927 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2928 * MessageBuffer.cs : implemented CreateNavigator().
2929 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2931 I kinda know that MS heavily depends on binary XmlReader and may have
2932 XPathNavigator implementation based on the binary stuff, but at
2933 least for now we have almost no motivation to mimick it.
2935 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2937 * SecurityChannelFactory.cs : a bit more of security header code.
2939 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2941 * SymmetricSecurityBindingElement.cs :
2942 set default MessageProtectionOrder in every construction.
2944 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2946 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2947 changed to require ChannelFactoryBase to support default timeout.
2948 Made some methods non-virtual. Preparing code to add security
2949 headers (empty yet).
2950 * SecurityBindingElement.cs : implemented several factory methods
2951 that return SymmetricSecurityBindingElement.
2953 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2955 * IStreamUpgradeBindingElement.cs,
2956 StreamUpgradeBindingElement.cs : renamed from former to latter.
2958 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2960 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2962 2006-07-31 Ankit Jain <jankit@novell.com>
2964 * MessageHeaders.cs (From): Use Constants.WSA1
2965 (MessageId): Implement the same pattern as other properties (From etc).
2967 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2969 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2970 * SecurityBindingElement.cs : some cosmetic changes.
2972 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2974 * SecurityBindingElement.cs : LocalClientSettings and
2975 LocalServiceSettings returns an instance for each.
2976 * LocalClientSecuritySettings.cs : initialized fields.
2978 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2980 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2981 kinda implemented Clone() just with MemberwiseClone().
2983 2006-07-27 Ankit Jain <jankit@novell.com>
2985 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2986 * MessageHeader.cs (knownTypes): New. Known type array containing
2988 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2990 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2992 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2993 LayeredCommunicationObject.cs,
2994 SecurityChannelFactory.cs, SecurityChannelListener.cs :
2995 new files to support security channels, though right now they
2996 just pass inner channels through.
2997 * SymmetricSecurityBindingElement.cs : use above.
2999 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3001 * AsymmetricSecurityBindingElement.cs,
3002 SymmetricSecurityBindingElement.cs :
3003 Default SecurityTokenParameters is null.
3005 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3007 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3009 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3011 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3013 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3014 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3015 headers. When AddressingVersion is None, don't output addressing
3016 headers as well, except for Action which is still needed by
3019 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3021 * MessageHeaders.cs : changed specific properties to find it from
3022 headers as Action property does (local variables won't be set by
3023 setter). Cache serializers. Check null serializer arguments.
3024 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3026 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3028 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3029 use XmlObjectSerializer (since it is not data contract type).
3031 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3033 * MessageImpl.cs : Improved ReadHeaders().
3034 For certain header items, use EndpointAddress.ReadFrom().
3036 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3038 * AsymmetricSecurityBindingElement.cs :
3039 it is not ISecurityCapabilities anymore.
3041 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3043 * MessageVersion.cs : added None.
3045 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3047 * Message.cs : GetReaderAtBodyContents() implementation using
3050 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3052 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3053 used MessageVersion.Default.
3055 2006-07-12 Duncan Mak <duncan@novell.com>
3057 * MessageBuffer.cs (MessageContentType): Return
3058 "application/soap+msbin1".
3060 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3061 (SimpleMessage.OnCreateBufferedCopy):
3062 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3063 MessageBuffer implementations.
3065 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3066 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3067 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3069 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3071 * MessageImpl.cs : Action should be added in request messages. Omit
3072 it only in reply message, thus moved to dispatcher logic.
3074 2006-07-12 Ankit Jain <jankit@novell.com>
3076 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3077 bug in WebConnectionStream.
3078 * MessageHeaders.cs (MessageHeaders.From):
3079 (MessageHeaders.ReplyTo):
3080 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3082 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3084 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3085 add SOAP Action to the response at any time.
3087 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3089 * SymmetricSecurityBindingElement.cs,
3090 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3091 Implemented .ctor() and some properties.
3093 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3095 * TransactionFlowBindingElement.cs : new file.
3096 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3098 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3101 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3102 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3103 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3104 vanished (there is anyways no way to instantiate this type).
3105 * MessageVersion.cs : added Soap11 and Soap12.
3106 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3107 in June CTP. goodie.
3109 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3111 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3112 removed some vanished CreateMessage() overloads.
3114 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3116 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3117 HttpTransportBindingElement.cs :
3118 They are not ISecurityCapabilities anymore.
3119 Modified code to match June CTP behavior.
3121 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3123 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3125 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3127 * EmptyFaultException.cs : removed unused code.
3128 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3130 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3132 * LayeredChannelFactory.cs : removed obsolete class.
3133 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3134 ChannelListenerBase.cs, HttpChannelListener.cs,
3135 HttpReplyChannel.cs, ChannelManagerBase.cs :
3136 all those changes were brought by ChannelManagerBase changes.
3138 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3140 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3141 CommunicationObject.cs, HttpChannelListener.cs,
3142 ChannelFactoryBase.cs :
3143 CommunicationObject abstract changes brought this madness.
3145 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3147 * BindingContext.cs : listenUri address parameters could be null in
3150 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3152 * IRequestContext.cs :
3153 Now it became a class. File renaming will follow soon.
3154 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3155 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3156 IOutputChannel.cs, IOutputSessionChannel.cs,
3157 IRequestChannel.cs, IRequestSessionChannel.cs :
3158 They are not IDisposable anymore.
3159 For IReplyChannel, IRequestContext -> RequestContext.
3160 * IChannelListener.cs : removed Identity. Added GetProperty().
3161 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3162 ReplyChannelBase.cs, HttpReplyChannel.cs :
3163 Several members disappeared, and dependent changes.
3164 * HttpTransportBindingElement.cs,
3165 HttpChannelListener.cs, :
3166 ChannelListenerBase.SharedChannelListener vanished.
3168 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3170 * MessageEncodingBindingElement.cs
3171 MtomMessageEncodingBindingElement.cs,
3172 TextMessageEncodingBindingElement.cs,
3173 BinaryMessageEncodingBindingElement.cs :
3174 June CTP updates: AddressingVersion -> MessageVersion.
3175 * Binding.cs : June CTP. MessageVersion is added.
3176 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3177 ChannelListenerBase_1.cs,
3178 ChannelListenerBase.cs, IChannelListener.cs,
3180 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3181 June CTP. Several interface changes.
3182 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3183 * IChannelManager.cs, LayeredChannelListener.cs,
3184 GenericWrapperChannelFactory.cs,
3185 GenericWrapperChannelListener.cs : They are not used anymore.
3187 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3189 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3190 sync fix with June CTP API updates.
3192 2006-07-03 Ankit Jain <jankit@novell.com>
3194 * MessageEncodingBindingElementConverter.cs:
3195 * StandardBindingConverter.cs:
3196 * TransportBindingElementConverter.cs:
3197 * TransactionFlowBindingElementConverter.cs:
3198 * ReliableSessionBindingElementConverter.cs:
3199 * SecurityBindingElementConverter.cs:
3200 Rename *Converter.cs to *Importer.cs
3202 * TransferMode.cs: Move to System.ServiceModel
3204 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3206 * CommunicationObject.cs : make sure to change State before
3207 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3209 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3211 * Message.cs : output WSAddressing xmlns only when Action is
3212 specified (To should be affected, but seems like it is ignored).
3214 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3216 * MessageImpl.cs : don't set Action when it is null.
3218 2006-06-12 Ankit Jain <jankit@novell.com>
3220 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3222 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3224 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3225 some updated API fixes.
3227 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3229 * EnvelopeVersion.cs : moved back to S.SM.
3231 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3233 * IBindingManualAddressing.cs : vanished in beta2.
3234 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3235 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3237 * SecurityBindingElement.cs :
3238 SecurityStandardsManager -> SecurityTokenSerializer.
3240 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3242 * XmlSerializerBodyWriter.cs : new file to handle
3243 TypedMessageConverter.ToMessage().
3245 2006-04-26 Ankit Jain <jankit@novell.com>
3247 * TransportBindingElementConverter.cs (BeforeImport): Remove
3248 NotImplementedException.
3249 (ImportContract): Likewise.
3250 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3252 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3254 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3255 being used was not reflecting that of Binding elements.
3257 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3259 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3260 just assume that it is in the message.
3262 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3264 * HttpReplyChannel.cs : actually HTTP header item might be null.
3266 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3268 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3271 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3273 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3275 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3277 * MessageFault.cs : Fixed SOAP12 reason output.
3279 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3281 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3282 MessageEncoder.ContentType explicitly contains encoding.
3283 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3284 if it is SOAP version dependent.
3286 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3288 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3290 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3292 * HttpChannelFactory.cs BindingContext.cs
3293 HttpChannelListener.cs HttpTransportBindingElement.cs :
3294 Now BindingContext holds MessageEncoder, and non-custom
3295 channel factory/listener should use it.
3296 * MtomMessageEncodingBindingElement.cs
3297 TextMessageEncodingBindingElement.cs
3298 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3299 -Listener() now sets internal BindingContext.MessageEncoder.
3300 Fixed some public API.
3302 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3304 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3305 for insufficient elements.
3306 * DispatchRuntime.cs : OperationDescription name is not action. So
3307 OperationSelector is created by name, not by action.
3308 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3310 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3312 * MessageFaultBodyWriter.cs
3313 XmlReaderBodyWriter.cs
3314 XmlObjectSerializerBodyWriter.cs : made internal.
3315 * SecurityBindingElement.cs
3316 AsymmetricSecurityBindingElement.cs
3317 SymmetricSecurityBindingElement.cs : API fixes.
3318 * TransportBindingElementConverter.cs : ditto.
3319 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3320 * WindowsStreamSecurityBindingElement.cs
3321 SslStreamSecurityBindingElement.cs
3322 TransportSecurityBindingElement.cs : new files.
3324 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3326 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3327 reading can be any xs:boolean value.
3329 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3331 * Message.cs MessageImpl.cs : more sorting out the role of each
3333 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3335 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3337 * Message.cs : don't write body contents if it is empty.
3338 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3339 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3340 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3341 * HttpRequestChannel.cs : close request stream before GetResponse().
3343 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3345 * TextMessageEncoderFactory.cs
3346 TextMessageEncoder.cs : encoder does not hold reference to the
3347 factory anymore. Use MessageVersion property in CreateMssage().
3348 * HttpChannelListener.cs : now it holds message encoder.
3349 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3350 * MessageImpl.cs : header is optional.
3351 * EnvelopeVersion.cs : namespace URI is missing.
3353 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3355 * CustomBinding.cs : removed Initialize().
3356 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3357 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3358 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3359 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3361 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3363 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3364 could be also added by Add() method and could be reset by Remove()).
3365 * MessageImpl.cs : implemented more. As noted above, Now we don't
3366 have to add Action header explicitly.
3367 * MessageHeader.cs : recovered Writer methods and ToString() from
3368 commented old version. Use prefixes for writing.
3369 Use WriteObjectContent() rather than WriteObject() (it needs
3370 DataContractSerializer fix btw).
3372 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3374 * MessageHeader.cs : added missing IsReferenceParameter.
3375 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3376 * MessageHeaders.cs : avoid NullRef when actors is null.
3377 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3378 (ForwardingMessage) reader consumer is being added (not done).
3379 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3380 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3381 * HttpRequestChannel.cs : this channel automatically call Open()
3382 when Request() is called. Set content length for request.
3383 Use MessageEncoder's ContentType to also handle charset.
3385 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3387 * MessageImpl.cs : make them internal.
3388 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3390 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3392 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3393 * HttpChannelListener.cs : removed commented line.
3394 * RequestChannelBase.cs : new base class for request channel classes.
3395 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3396 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3397 * Message.cs : default IsEmpty and IsFault false by default.
3398 * LayeredChannelListener.cs : removed Uri (no chance to set).
3399 * ChannelBase.cs : reimplemented timeout properties.
3400 * HttpRequestChannel.cs : now it is mostly based on
3401 RequestChannelBase. Some more attempt to implement Request().
3403 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3405 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3406 OnInitialize(). Added more BuildChannelListener() overloads.
3408 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3410 * Binding.cs : added some more missing members especially to support
3412 * HttpChannelListener.cs : Uri should not be null.
3413 * HttpTransportBindingElement.cs : implemented
3414 CanBuildChannelFactory() and CanBuildChannelListener().
3415 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3417 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3419 * Binding.cs : updated default namespace property value to Feb. CTP.
3421 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3423 * AddressHeader.cs : avoid null reference when value is null.
3424 * BindingContext.cs : check null ListenUri args.
3426 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3428 * MessageFault.cs : Fixed default action name. Null arg check.
3430 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3432 * BindingElement.cs : Dequeue elements in BindingContext directly.
3433 * BindingContext.cs : Added GetProperty<T>().
3434 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3435 Now we don't need these extra classes, so marked as deprecated.
3437 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3439 * Binding.cs : null arg check.
3440 * AddressingVersion.cs : fixed constants to pass the tests.
3441 * BindingElement.cs : tiny meessage fix.
3443 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3445 * MessageEncodingBindingElement.cs
3446 BinaryMessageEncodingBindingElement.cs
3447 TextMessageEncodingBindingElement.cs
3448 MtomMessageEncodingBindingElement.cs
3449 MessageEncodingBindingElementConverter.cs : several API fixes.
3450 * BindingElement.cs : now if we use generic wrapper it causes
3451 infinite loop, so for now replace it with most-possible-but-
3454 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3456 (back to normal "record-ChangeLogs" mode after the big API change mess)
3457 * HttpTransportBindingElement.cs : fixed minor API differences.
3459 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3461 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3462 SymmetricSecurityBindingElement.cs :
3463 Dependent fixes for System.IdentityModel reorgainzation.
3465 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3467 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3468 IProxyFormatter.cs WSHttpBindingBase.cs
3469 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3470 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3471 WSFederationBinding.cs ISessionChannel.cs
3472 CompositeDuplexBindingElement.cs MessageVersion.cs
3473 MessageHeader.cs IRequestSessionChannel.cs
3474 BindingElementCollection.cs IReplySessionChannel.cs
3475 MessageProperties.cs IDuplexClientChannel.cs
3476 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3477 TcpTransportBindingElement.cs EmptyFaultException.cs
3478 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3479 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3480 ConnectionOrientedTransportBindingElement.cs
3481 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3482 PeerResolverBindingElement.cs Message.cs
3483 HttpsTransportBindingElement.cs BindingElement.cs
3484 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3485 MessageFaultBodyWriter.cs IReplyChannel.cs
3486 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3487 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3488 IRequestContext.cs IInputSessionShutdown.cs
3489 SecurityBindingElement.cs PeerTransportBindingElement.cs
3490 IDuplexSession.cs IChannelInitializer.cs
3491 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3492 AddressingVersion.cs FaultException.cs
3493 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3494 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3495 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3496 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3497 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3498 BindingParameterCollection.cs IInstanceProvider.cs
3499 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3500 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3501 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3502 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3503 moved from System.ServiceModel due to the API changes.
3505 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3507 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3508 HttpChannelListener.cs HttpRequestChannel.cs
3509 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3510 PeerNode.cs ReplyChannelBase.cs :
3511 Feb. CTP API changes - chapter 1.
3513 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3515 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3516 * ReplyChannelBase.cs : now it is based on ChannelBase.
3517 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3518 and check null argument in .ctor().
3519 * HttpReplyChannel.cs : several changes.
3520 Non-async members are mostly implemented.
3521 * HttpChannelListener.cs : no need to receive
3522 IDefaultCommunicationTimeouts.
3523 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3524 to allocate buffer array and int.MaxValue causes OutOfMemory.
3526 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3528 * ClientFramingDecoderState.cs : added missing enum.
3529 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3531 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3533 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3535 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3536 AcceptChannel() has some code now but it needs more love.
3538 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3540 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3541 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3542 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3544 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3546 * HttpRequestChannel.cs : close the streams.
3548 HttpChannelListener.cs : renamed from former to latter.
3550 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3552 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3553 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3554 * HttpListenerFactory.cs : removed obsolete file.
3555 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3556 * ChannelListenerBase_1.cs : implemented virtual stuff.
3557 * CommunicationObject.cs : Open() should not call BeginOpen() and
3558 EndOpen(). Instead, invoke events individually.
3559 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3561 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3563 * HttpRequestChannel.cs : call Flush() after serializing message
3566 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3568 * HttpRequestChannel.cs : implemented pretty hacky Request().
3570 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3572 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3574 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3576 * ChannelFactoryBase.cs : removed some NotImplementedException for
3577 further internal implementation.
3579 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3581 * HttpRequestChannel.cs : new file. mostly not implemented.
3582 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3583 Partly implemented CreateChannel().
3585 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3587 * HttpChannelFactory.cs : (.ctor())
3588 Don't take ChannelBuildContext.
3590 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3592 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3593 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3594 PeerMessagePropagation.cs : updated to Nov. CTP.
3596 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3598 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3599 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3600 StreamSecurityUpgradeAcceptor.cs,
3601 StreamSecurityUpgradeInitiator.cs :
3602 Updated to Nov. CTP API.
3604 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3606 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3608 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3610 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3612 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3614 * ChannelBase.cs : tiny filename fix.
3615 * ChannelListenerBase.cs : added more .ctor()s.
3617 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3619 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3620 ListenerFactoryBase.cs ChannelListenerBase.cs :
3621 updated IListener related stuff to Nov. CTP.
3622 file renaming will come soon.
3624 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3626 * ListenerBase.cs, ChannelListenerBase.cs :
3627 moved from former to latter.
3628 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3629 moved from former to latter.
3631 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3633 * SessionFaultedException.cs : removed in Nov. CTP
3635 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3637 * CommunicationObject.cs : updated to Nov. CTP.
3638 * SessionFaultedException.cs : removed (in Nov. CTP)
3640 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3642 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3645 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3647 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3648 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3649 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3650 * MessageEncoder.cs : largely implemented.
3652 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3654 * IRequestReplyCorrelator.cs : new file.
3656 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3658 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3659 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3660 * MessageEncoder.cs : added misssing ToString().
3662 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3664 * ChannelBehaviorCollection.cs : moved to sys.sm.
3666 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3668 * HttpListenerFactory.cs, HttpListener.cs : new files.
3669 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3670 CommunicationObject.cs, ChannelFactoryBase.cs,
3671 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3673 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3674 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3676 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3678 * ListenerFactoryBase.cs : some implementation.
3680 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3682 * CommunicationObject.cs : more state fixes.
3684 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3686 * CommunicationObject.cs : some state machine fixes.
3688 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3690 * PeerNode.cs, ChannelManagerBase.cs :
3691 several API fixes detected by improved corcompare.
3693 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3695 * LayeredListenerFactory.cs : added missing generic class constraint.
3697 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3699 * ListenerFactoryBase.cs,
3700 ListenerBase.cs : class constraints were missing for generic args.
3702 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3704 * StreamUpgradeInitiator.cs : tiny API fix.
3706 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3708 * PeerMessagePropagationFilter.cs : tiny build fix.
3710 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3712 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3713 added Name. fixed StatusCode type.
3714 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3715 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3716 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3717 DirectionalAction.cs, HostedTransportConfiguration.cs,
3718 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3719 PeerMessagePropagationFilter.cs : added missing files.
3720 * Dummy.cs : removed. MSMQ stuff can be added later.
3722 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3724 * DeliveryStatus.cs, DeliveryFailure.cs,
3725 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3726 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3728 * Dummy.cs : removed above.
3730 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3732 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3734 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3736 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3737 MessageEncoder.cs, BufferManager.cs : new files.
3738 * Dummy.cs : removed above.
3740 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3742 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3743 * Dummy.cs : removed above.
3744 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3746 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3748 * HttpChannelFactory.cs : new file.
3750 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3752 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3753 moved to ../System.ServiceModel (correct location).
3754 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3755 new files for channels.
3756 * Dummy.cs : reflected above changes.
3757 * ChannelManagerBase.cs : added a bit of code and todos.
3759 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3761 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3762 added listener support files.
3763 * Dummy.cs : removed above.
3765 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3767 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3768 added request/reply channel interfaces.
3769 * Dummy.cs : removed above.
3770 * CommunicationObject.cs : FIXME comments.
3772 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3774 * CommunicationObject.cs : implemented some members.
3776 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3778 * CommunicationObject.cs : some signature fixes.