1 2010-04-07 Atsushi Enomoto <atsushi@ximian.com>
3 * WSSecurityMessageHeader.cs : add FIXME comment.
5 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
7 * HttpRequestChannel.cs : add commented note.
9 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
11 * HttpReplyChannel.cs : fill To header only if it does not exist.
13 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
15 * SecureMessageGenerator.cs : set ReplyTo and To, do not add.
17 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
19 * MessageHeaders.cs : use matching addressing version.
20 Remove header item if the same ones already exist.
22 2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
24 * HttpRequestChannel.cs: don't create the wait handle unless it is
27 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
29 * HttpRequestChannel.cs : use correct max buffer size.
31 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
33 * MessageFault.cs : check null serializer and detail.
34 Make sure to consume s12:Reason EndElement.
36 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
38 * MessageFault.cs : when created from XmlReader, it should not
39 deserialize fault details immediately. This class itself should
40 not do that. Strongly typed FaultContractInfo may want to use the
41 reader (GetReaderAtDetailContents()) for its own deserialization.
43 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
45 * ConnectionOrientedTransportBindingElement.cs,
46 TcpTransportBindingElement.cs : implement GetProperty<T>().
48 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
50 * HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
51 implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
52 properties type from HTTP.
54 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
56 * FaultConverter.cs : use addressing version from the message.
58 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
60 * FaultConverter.cs : check envelope version, not addressing version.
62 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
64 * FaultConverter.cs : implemented TryCreateException().
66 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
68 * MessageFault.cs : cosmetic method name clarification.
70 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
72 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
73 fix BodyWriter buffering that dropped in-scope namespaces and thus
74 caused problem on resolving QNames.
76 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
78 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
79 with certain Exception types.
81 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
83 * Message.cs : fix explanation on CreateMessage() overloads.
85 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
87 * MessageFault.cs : Write Subcode element correctly and fix wrong
88 Code/Value/Subcode element relationship. Give better error message.
90 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
92 * HttpRequestChannel.cs : ok, no need for conditional code path.
94 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
96 * AddressingVersion.cs : add fault action namespace.
98 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
100 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
103 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
105 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
107 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
109 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
112 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
114 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
116 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
118 * HttpRequestContext.cs : removed HTTP status rewriting for
121 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
123 * HttpRequestChannel.cs : handle only 4xx errors as to not process
126 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
128 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
130 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
132 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
133 Patch by Matt Dargavel.
135 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
137 * HttpListenerManager.cs : use lock object which is subject to
138 change. Fix by Matt Dargavel.
140 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
142 * HttpListenerManager.cs : remove consumed HttpListenerContext from
143 the pending queue. Compare "wsdl" request in case insensitive
144 manner. Patch by Matt Dargavel.
146 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
148 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
149 supposed to provide detailed 400 error message.
151 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
153 * TransactionFlowBindingElement.cs: revamp the previous change to
154 not regress regarding service metadata.
156 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
158 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
159 GetProperty<T>() bug that fails to retrieve properties. (This may
160 be rewritten later if an ongoing change proposal is to take place.)
162 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
164 * ReliableSessionBindingElement.cs,
165 PrivacyNoticeBindingElement.cs,
166 RemoteEndpointMessageProperty.cs : added some missing types.
168 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
170 * MessageHeaders.cs :
171 why does it filter out most of the headers? kill it.
173 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
175 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
176 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
177 to not raise "not found" error (see bug #573795).
179 2010-03-16 Jb Evain <jbevain@novell.com>
181 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
182 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
184 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
186 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
187 type, and use null password unless we find a chance to get password
188 in ASP.NET HttpContext.
190 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
192 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
193 HttpListenerManager.cs : ongoing authentication support. It returns
194 401 as expected, but somehow fails to retrieve user info.
196 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
198 * HttpListenerManager.cs : this change (along with HttpListener
199 implementation) somehow fixes basic auth. connection error...
201 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
203 * MessageHeaders.cs : add !NET_2_1.
205 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
207 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
208 typed UniqueId output.
210 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
212 * MessageHeader.cs : no need to treat EndpointAddress as a special
215 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
217 * MessageHeaders.cs : remove duplicate constant.
219 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
221 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
222 EndpointAddress as a special case. Instead, each MessageHeaders
223 property should convert it to appropriate serializable objects.
225 (Our DataContractSerializer fails to reject EndpointAddress as
226 serializable type, so it's rather a preparation step.)
228 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
230 * MessageHeader.cs, Message.cs : use dictionary string whenever
231 applicable. The binary output on #577139 is getting closer (no
232 idea if it is really about binary output though).
234 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
236 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
238 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
240 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
242 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
244 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
245 enable authentication schemes on monotouch.
247 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
249 * SvcHttpHandler.cs : a wait handle could be used for more than one
250 requests and hence it sometimes blocked one reply channel. Now
251 it creates a wait handle for each ASP.NET request so that such
252 multiple use should not occur. This should fix blocking on
253 concurrent requests (it indeed fixes as long as I can see).
255 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
257 * AspNetReplyChannel.cs : remove garbage output.
259 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
261 * SvcHttpHandler.cs : Use lock when it tries to create the service
264 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
266 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
269 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
271 * HttpListenerManager.cs : add another workaround for blocking
274 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
276 * HttpListenerManager.cs : small refactoring.
278 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
280 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
281 that somehow makes callback client to not cause infinite loop.
283 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
285 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
286 DuplexChannelBase.cs : Receive() should rather use TryReceive().
287 It should not be in reverse order.
289 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
291 * HttpReplyChannel.cs, HttpListenerManager.cs :
292 Implement async cancellation in the expected manner (though with
293 some hack). This mostly removed nunit blockers.
295 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
297 * CommunicationObject.cs : fix wrong status changes.
299 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
301 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
303 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
305 * AddressHeader.cs : implement remaining bits.
306 Eliminate dependency on NetDataContractSerializer.
308 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
310 * CommunicationObject.cs : in Fault(), do similar work as previous
313 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
315 * CommunicationObject.cs : when process state changes, lock the
316 object to make sure the state transition is valid.
317 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
319 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
321 * MessageHeaders.cs : implement SetAction().
323 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
325 * ChannelFactoryBase.cs : fix build.
327 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
329 * ChannelBase.cs : cosmetic API fix for SL3.
331 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
333 * ChannelFactoryBase.cs :
334 implement On{Begin/End}Close() on the generic type.
336 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
338 * HttpChannelFactory.cs, TcpChannelFactory.cs,
339 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
340 PeerChannelFactory.cs, HttpRequestChannel.cs:
341 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
342 type and made required changes.
344 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
346 * HttpCookieContainerBindingElement.cs : new.
347 * IHttpCookieContainer.cs : fix type name.
348 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
350 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
352 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
353 does not happen when communicating with .NET client but happens with
354 mono). Seealso FIXME comment.
355 * TcpDuplexSessionChannel.cs : do not try to close session when it
356 failed to read sized message. The connection is already dead.
360 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
362 * TcpDuplexSessionChannel.cs :
363 Write EndRecord only when the connection is available.
364 Remove hack - do let ChannelDispatcher close the channel.
365 * TcpBinaryFrameManager.cs :
366 The socket may be disconnected when trying to read a sized message,
367 so check some socket exceptions.
368 In case the client silently shuts down without EndRecord and
369 reconnects to the server with preamble while expecting a sized
370 message (which is so lame, but that's what .NET often does), refresh
371 preamble and continue.
373 This fixes some cases of bug #567949 but not all.
375 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
377 * BinaryMessageEncoder.cs : enable workaround buffering only when
378 the argument stream does *not* support seek. This fixes some
379 net.tcp connection problem.
381 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
383 * TcpBinaryFrameManager.cs : If preamble byte is not available from
384 the client stream, detect it to close the reply or input channel.
385 * TcpRequestChannel.cs : send preamble at each request time.
386 It differentiates communication behavior on such cases that involve
387 single open and multiple requests.
388 * TcpReplyChannel.cs : close the channel only when the channel is
389 oeprated to close i.e. do not close the socket every time.
390 Process preambles on each request (the same as request channel).
392 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
394 * TcpBinaryFrameManager.cs : unsized envelope record may have more
395 than one data block, so consume them accordingly. This should fix
396 large buffer consumption.
398 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
400 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
403 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
405 * HttpRequestContext.cs : for DestinationUnreachable message, this
406 channel returns 400 in .NET.
408 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
410 * BinaryMessageEncoder.cs : added workaround for strange stream
411 consumption error raised by HttpTransport + Binary encoder example.
412 * BinaryMessageEncodingBindingElement.cs:
413 only SOAP 1.2 is allowed for this encoder.
415 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
417 * XmlReaderBodyWriter.cs : don't try to write empty xml.
419 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
421 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
422 default WebHeaderCollection items are overwritten.
424 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
426 * HttpRequestChannel.cs : when HTTP response was error, do not try
427 to read message but just raise an error.
429 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
431 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
433 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
435 * HttpRequestChannel.cs : WebException.Response might be null.
437 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
439 * ReplyChannelBase.cs : added listener property.
440 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
441 been updated to prefer async by default, a while ago.
443 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
445 * HttpTransportBindingElement.cs : finished all GetProperty() values.
447 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
449 * HttpRequestChannel.cs : disabled carelessly added
450 "UseDefaultCredentials = false" line. It blocked basic auth.
452 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
454 * HttpRequestChannel.cs, HttpChannelFactory.cs,
455 HttpChannelListener.cs, HttpListenerManager.cs :
456 implemented http client authentication and some of corresponding
457 service code. Only client works so far.
459 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
461 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
462 added URI scheme check.
464 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
466 * TransportSecurityBindingElement.cs : fix 2.1 build.
468 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
470 * HttpsTransportBindingElement.cs :
471 RequireClientCertificate is false by default.
472 Remove extra #if NET_2_1.
473 * SecurityBindingElement.cs :
474 Implement some transport security factory methods.
475 * TransportSecurityBindingElement.cs :
476 It is not ISecurityCapabilities anymore.
478 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
481 SecurityBindingElement.cs
482 LocalClientSecuritySettings.cs
483 TransportSecurityBindingElement.cs
484 FaultConverter.cs : They are now part of SL3 API.
486 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
488 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
490 2009-11-05 Geoff Norton <gnorton@novell.com>
492 * HttpsTransportBindingElement.cs: Implement basic https transport
493 binding support for Moonlight and MonoTouch
495 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
497 * HttpListenerManager.cs : remove CWLs.
499 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
501 * SvcHttpHandler.cs : move back previous listener selector code in
502 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
503 and differentiate requests to deeper paths (such as /jsdebug), so
504 we need such refinement here.
506 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
508 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
511 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
513 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
514 HttpChannelListener.cs, HttpListenerManager.cs :
515 Similar refactoring on ASP.NET side to the previous one.
516 Added ASP.NET implementation of HttpListenerManager and use some
517 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
519 Rewrote AspNetReplyChannel to become almost the same as
520 HttpSimpleReplyChannel, to hopefully unify them later.
521 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
522 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
525 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
527 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
528 Refactoring on listener manager to correctly handle wsdl and help
529 requests for such case that they conflict in addressing. Now it
530 can correctly distinguish service calls, WSDL requests and help
531 requests when all of them point to "http://localhost/foo.svc"
532 (which is very common case that the user does not change Http*Url).
534 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
536 * ChannelListenerBase.cs : add Properties property to add arbitrary
537 properties handy (only inside this assembly).
539 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
541 * HttpReplyChannel.cs : fix warning.
543 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
545 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
547 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
549 * HttpReplyChannel.cs : make sure to release wait lock.
550 * HttpChannelListener.cs : session channels are not supported, so
551 remove relevant NIEs.
553 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
555 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
556 support contexts so we call the non-overloaded WaitOne method
557 (which defaults to false).
559 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
561 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
562 significant rewrite to cooperate wcf handler and asp.net handler
563 to not mix multiple WCF listener within the asp.net handler.
564 So far it mostly works when 1) there are no ChannelDispatchers
565 that have an identical listen Uri and 2) MaxConcurrentSessions is
566 1 (must be explicitly set).
568 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
570 * CommunicationObject.cs : give better state error description.
572 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
574 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
575 to base methods. This resulted in not a few changes everywhere.
577 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
579 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
581 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
583 * SvcHttpHandler.cs : use file path given by the factory to
584 construct BaseAddresses. Requests to "test.svc/jsdebug" should
585 not be handled as request to "jsdebug" file, it's rather an
586 "argument" to "test.svc".
588 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
590 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
591 rewrite to handle shutdown situation better. The listeners should
592 not close channels that it opened. Instead, just stop accepting
593 further requests. Removed blocking mutex on WaitForRequest().
594 Now xsp shuts down as expected.
596 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
598 * HttpReplyChannel.cs : lock list when releasing its content contexts.
599 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
602 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
604 * SvcHttpHandlerFactory.cs : remove todo.
605 * ReplyChannelBase.cs : add comment.
607 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
609 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
610 revert the change, to use internal asp.net state again.
611 * SvcHttpHandler.cs : add VirtualPathExtension.
613 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
615 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
616 asp.net response was not written correctly.
617 Fill HttpRequestMessageProperty to get handle WSDL requests
618 processed in ServiceMetadataExtension without NRE.
619 Remove wrong HttpListenerContext iteration at Abort and Close in
620 common base class and move it to non-asp derived channel.
622 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
624 * SvcHttpHandler.cs : remove unused code.
626 2009-09-30 Jb Evain <jbevain@novell.com>
628 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
629 to use any of the remoting features.
631 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
633 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
634 use AspNetCompatibilityEnabled.
635 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
637 * AspNetReplyChannel.cs : remove extra field.
639 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
641 * HttpReplyChannel.cs : remove extra field.
643 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
645 * AspNetRequestContext.cs : remove CWL.
647 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
649 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
650 only after AspNetRequestContext is closed. Do not close it
651 immediately after receiving the context. (HttpRuntime destructs it
652 and further uses then becomes impossible.)
654 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
656 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
657 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
658 Make sure that AspNetChannelListener is bound to correct
659 SvcHttpHandler, regardless of specific request URI. It is required
660 for both WSDL requests and RESTful binding requests.
662 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
664 * MessageProperties.cs : fix CopyProperties() behavior to not
665 clear existing items. Make all properties call this[name].
667 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
669 * HttpTransportBindingElement.cs : fix 2.1 build.
671 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
673 * TransportBindingElement.cs : another GetProperty fix, iterate
674 other binding elements.
676 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
678 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
679 some GetProperty() implementation.
681 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
683 * HttpListenerManager.cs : release HttpListener and avoid extra
684 close process more than once.
686 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
688 * HttpChannelListener.cs : do not iterate channel list to close
689 channels which in turn removes them from the list while iteration.
691 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
693 * HttpRequestChannel.cs : Fix message version member comparison.
694 Double-quote SOAPAction. Remove extra Exception.
695 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
696 * HttpRequestContext.cs : when addressing is None, remove action
699 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
701 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
702 path, to pick those endpoints that are added at custom factories.
704 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
706 * SvcHttpHandler.cs : apply configuration, and if there is still no
707 endpoint, then add default one.
709 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
711 * SvcHttpHandler.cs : another URL to make relative.
713 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
715 * SvcHttpHandlerFactory.cs : some GetHandler changes.
716 * SvcHttpHandler.cs : significant changes on receiver structure. Now
717 ProcessRequest() stores pending requests (this might be extraneous,
718 but maybe useful when it implements async handler). Also removed
719 reply_channel field as it may become to handle multiple requests.
720 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
721 * AspNetReplyChannel.cs : make it receive requests like
722 HttpReplyChannel (for HttpListener) to make them consistent.
724 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
726 * AspNetRequestContext.cs, HttpRequestContext.cs :
727 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
728 by splitting HttpListener-based context out from common code base.
730 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
732 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
733 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
736 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
738 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
739 loads types from system assemblies appropriately.
741 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
743 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
746 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
748 * HttpRequestMessageProperty.cs : fix default values.
750 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
752 * HttpChannelFactory.cs, HttpRequestChannel.cs,
753 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
754 Check ManualAddressing value and reject address-missing ones.
756 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
758 * HttpChannelFactory.cs : reject URI mismatch cases when required.
760 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
762 * PeerDuplexChannel.cs : When received Connect() from neighbor,
763 add the peer to its internal list.
764 Finally ChatApplication got working.
766 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
768 * PeerDuplexChannel.cs : since the channel factory is per instance,
769 do not reuse factory that is tied to different callback instance.
770 It resolved the issue that mono callback client didn't receive
771 messages from the client itself.
773 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
775 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
776 of the receiver, not the requestor. It resolved the issue that
777 .NET client didn't send further messages to mono server.
779 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
781 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
782 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
783 TcpReplyChannel.cs, TcpRequestChannel.cs,
784 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
785 rename EndRecord handling method to appropriate one.
786 Write EndRecord from recipient too.
788 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
790 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
791 Process PeerTo header to upgrade Message To header. Now mono
792 service accepts mono client (somehow not true for .NET client).
794 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
796 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
797 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
799 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
801 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
803 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
805 * TcpDuplexSessionChannel.cs : check channel state before processing
808 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
810 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
811 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
812 ongoing works, not working at all yet.
814 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
816 * TcpChannelListener.cs, TcpReplyChannel.cs :
817 cosmetic cleanup and corrections.
819 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
821 * TcpChannelFactory.cs : use expected Via uri.
822 Remove extra NIE stuff that are implemented in base.
824 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
826 * TcpDuplexSessionChannel.cs : remove extra code.
828 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
830 * PeerDuplexChannel.cs : ongoing implementation towards get callback
831 replies on peer connector clients (not working as duplex client
832 callback is not working yet).
834 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
836 * TcpDuplexSessionChannel.cs : in callback client channels,
837 OperationContext.IncomingMessageHeaders is null.
839 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
841 * MessageHeaders.cs : duplicate check was sloppy.
843 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
845 * Message.cs, MessageImpl.cs, BodyWriter.cs :
846 Implement BodyWriter.OnCreateBufferedCopy() and use it.
848 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
850 * ReplyChannelBase.cs : initialize field.
852 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
854 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
855 implement GetProperty<T>() and return its channel manager.
857 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
859 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
860 destination address in Connect() request. To repeat sending
861 request, use buffered copy. Set some peer-channel specific
862 header items. (todo: and consume them.)
864 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
866 * Message.cs : state is set only after WriteBodyContents().
868 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
870 * MessageHeaders.cs : eliminate wrong use of
871 ReadElementContentAsString() (it is not always simple string).
873 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
875 * MessageHeaders.cs : when the value is null, do not try to
876 deserialize EndpointAddress.
878 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
880 * MessageHeader.cs : add Value property. (Forgot dependent change.)
882 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
884 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
885 serialization and deserialization of values.
887 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
889 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
890 Now simply use connector contract.
892 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
894 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
896 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
898 * TcpChannelListener.cs : do not try to compare dead connection's
899 IPEndPoint (it raises an error).
901 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
903 * MessageHeaders.cs : allow null header value on each specific setter.
905 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
907 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
908 get local and remote address of connected counterpart to get
909 callback channel connected.
910 * PeerDuplexChannel.cs : remove FIXME wrt above.
912 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
914 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
916 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
918 * MessageHeader.cs : fill IsReferenceParameter.
920 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
922 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
923 implement remaining async methods and LocalAddress.
925 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
927 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
928 ServiceHost to process neighbor connection (not sure if this is
929 right way to go though ...).
931 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
933 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
934 connection part to use new internal IPeerConnectorContract for
937 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
939 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
940 PeerChannelListener.cs, HttpChannelListener.cs :
941 support ListenUri accordingly too so that it could be used when
942 it is different from LocalAddress.Uri.
944 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
946 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
947 TcpRequestChannel.cs : use Via uri to validate and connect.
949 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
951 * RequestChannelBase.cs, DuplexChannelBase.cs :
952 Return endpoint address Uri when no explicit Via uri is specified.
953 * ChannelFactoryBase.cs : Remove extra async close methods.
954 Add async open methods. Reject null EndpointAddress.
955 * PeerChannelFactory.cs : remove async open methods (now in base).
957 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
959 * PeerDuplexChannel.cs : set correct message endpoint (To header).
961 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
963 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
964 DuplexChannelBase.cs : set LocalAddress property at base.
966 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
968 * PeerDuplexChannel.cs : ongoing refactoring to work both as
969 listener and client. Now it creates a listening peer node, and
970 creates a set of TCP client channels for each peer in the mesh.
972 (EndpointAddress must be fixed to not filter out correct inputs).
974 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
976 * PeerChannelListener.cs : do not accept more than one channel
977 which results in lots of listening peer node. Only one is enough.
979 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
981 * DuplexChannelBase.cs : fix wrong loop implementation.
983 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
985 * TcpChannelListener.cs : to avoid creating two or more channels
986 for one remote endpoint, check existing remote endpoints and
987 ignore such connections (it must be handled in different thread
988 fired by ChannelDispatcher loop).
990 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
992 * TcpReplyChannel.cs : make sure to not try to receive request when
993 it is already closed.
995 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
997 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
998 some mannerless clients [*1] do not send EndRecord accordingly, but
999 such channels at listener side should not be kept open. So, close
1000 disconnected channels when the listener needs to accept another
1002 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
1004 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1006 * TcpDuplexSessionChannel.cs :
1007 Remove extra NIE overrides.
1008 Implement OnAbort() apart from OnClose().
1009 For duplex session channel, unlike reply channel, it must acquire
1010 TCP connection before OnOpen(), otherwise ChannelDispatcher
1011 releases the connection acceptance WaitHandle and the detected
1012 live connection may be stolen by another channel acceptor.
1014 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1016 * HttpRequestChannel.cs : implement OnAbort().
1018 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1020 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
1021 * DuplexChannelBase.cs : comment out some extra fields (so far).
1022 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
1024 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1026 * PeerCustomResolverBindingElement.cs : add some null checks.
1028 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1030 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
1031 Acquire TcpClient for each request/reply. Now it is fully
1032 interoperable with .NET.
1034 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1036 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
1037 ReplyTo and MessageId (though it is session-less), and it expects
1038 EndRecord at weird stage, inconsistent with [MC-NMF]...
1039 Now .NET service accepts one mono client request.
1041 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1043 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
1044 Send and receive unsized message terminator at once.
1045 Send EndRecord mutually. Got one .net client request working.
1047 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1049 * BinaryMessageEncoder.cs : revert the previous dictionary change.
1050 They are indeed used for non-in-band-dictionary messages.
1052 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1054 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1055 split out binary frame manager class into separate file.
1057 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1059 * TcpReplyChannel.cs : new reply channel implementation.
1060 * TcpChannelListener.cs : use above for streamed reply channel.
1061 * TcpDuplexSessionChannel.cs : more streaming mode support.
1062 * TcpRequestChannel.cs : a couple of updates to get it working
1063 with the reply channel above. Still some issues on .NET interop.
1065 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1067 * RequestContext.cs : added internal derived class that implements
1070 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1072 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1075 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1077 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1078 (The messaging must be done as TCP request/reply pattern, so it's
1081 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1083 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1084 messaging pattern). The messaging part is not working yet.
1085 * TcpChannelFactory.cs : support IRequestChannel.
1086 * TcpDuplexSessionChannel.cs : add unsized message support.
1088 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1090 * HttpRequestChannel.cs, RequestChannelBase.cs :
1091 A couple of async members are now implemented in the base class.
1092 Ditto for EndpointAddress and Via.
1094 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1096 * PeerDuplexChannel.cs : now it implements some of node management
1097 functionality and Send operation. The receiver part is not yet.
1099 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1101 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1102 timeout to channel constructor. it does not make sense.
1104 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1106 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1107 as common interface member, and use binary encoder (not text).
1109 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1111 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1113 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1115 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1116 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1117 going to be unified to PeerDuplexChannel. And it is likely that
1118 input and output functionalities are to be unified too.
1120 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1122 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1123 may have to reuse it for peer transport.
1124 * PeerChannelListener.cs : add binding member.
1125 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1127 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1129 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1130 PeerChannelFactory.cs : close opened channels at OnClose() as
1131 documented. Implement async methods.
1132 * PeerChannelListener.cs : removed some NIE overrides.
1134 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1136 * DuplexChannelBase.cs : some more async methods.
1138 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1140 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1142 * TcpChannelListener.cs : accept multiple channels at a time.
1144 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1146 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1147 session strings but output only those new ones in current message.
1148 This fixes inconsistent body output in repetitive use of sender.
1150 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1152 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1153 operation that does not involve session.
1154 Preserve writer session as well as reader session.
1155 * MessageHeaders.cs : take name and namespace into consideration
1156 when creating a serializer.
1158 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1160 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1161 Made required changes for repeated use of message exchanges.
1162 Hold binary reader session. The channels use it incrementally.
1163 Preambles are handled at Open, and EndRecords are handled at
1164 Close, Add session shutdown hook here (not working yet though).
1166 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1168 * ChannelListenerBase_1.cs : added cancellation hook here too.
1169 HttpChannelListener.cs : use above.
1170 Do not allow parallel channel creation (this listener does not
1171 allow more than one AcceptChannel().
1173 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1175 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1176 Add cancellation hook for async TryReceiveRequest.
1178 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1180 * HttpChannelListener.cs, HttpListenerManager.cs :
1181 slightly improved BuildChannelListener().
1182 Implement OnAbort() and differentiate it from OnClose().
1184 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1186 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1188 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1190 * DuplexChannelBase.cs : simple async delegate calls here too.
1192 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1194 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1196 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1198 * HttpReplyChannel.cs : cosometic simplification.
1200 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1202 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1203 infinite block in 2.0 profile.
1205 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1207 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1208 more careful close to avoid NRE.
1210 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1212 * HttpChannelListener.cs : do not Close() more than once (though
1213 it is allowed to call it twice, we don't reject it; just ignore).
1215 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1217 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1219 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1221 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1222 Temporarily disable HTTP Keep-Alive since it somehow results in
1223 wrong reuse of connection (shown as NRE in HttpConnection).
1224 Make sure to close RequestContext which was created from it.
1225 * HttpRequestContext.cs : simplify.
1227 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1229 * HttpChannelListener.cs, TcpChannelListener.cs,
1230 ChannelListenerBase_1.cs : put common internal listener base
1231 and let it handle those async stuff.
1233 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1235 * ReplyChannelBase.cs : fix wrong null delegate check point.
1237 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1239 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1240 now implemented as virtual in base class. Remove NIEs in http.
1242 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1244 * HttpChannelListener.cs : hack async implementation.
1246 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1248 * HttpListenerManager.cs : oops, extra line removal.
1250 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1252 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1254 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1256 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1257 "ChannelManager" is confusing (there is ChannelManagerBase).
1259 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1261 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1262 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1263 they should be split into separate listener->reply channel lines
1264 (remove "if (HostingEnvironment.IsAspNet)".)
1266 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1268 * CommunicationObject.cs : OnClosed() requires call to base method.
1269 Close() could rather abort the channel, and Abort() does not
1270 always invke OnAbort().
1271 * ChannelBase.cs : add call to base as above.
1273 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1275 * ClientAccessPolicy.cs: Removed
1276 * CrossDomainAccessManager.cs: Removed
1277 * CrossDomainPolicy.cs: Removed
1278 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1279 since this is now done inside the BeginGetResponse call (outside
1280 this assembly) for Moonlight (NET_2_1)
1282 2009-06-04 Alan McGovern <amcgovern@novell.com>
1284 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1285 instead of the sync apis. Prevents a possible deadlock condition in
1288 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1290 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1291 callbacks, so add hacky ones.
1293 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1295 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1296 true when socket input is not available.
1298 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1300 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1301 I cannot precisely identify when EndRecord should be consumed,
1302 so allow it at either at the end of ReadSizedMessage() or on
1303 consuming preamble (it's likely handling EndRecord of previous
1306 Now duplex IPeerResolverContract communication works between
1307 either of .NET/Mono client and .NET/Mono server.
1309 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1311 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1312 code. Handle preamble ack on ReadSizedMessage() only at server.
1313 Consume EndRecord from server, at client side. Though it is likely
1314 changed as it's blocking when mono is at server side.
1316 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1318 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1319 different protocol than existing code with related to preamble ack.
1320 So changed it to work fine with .NET client (finally).
1322 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1324 * MessageBufferImpl.cs : do not output Action twice.
1326 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1328 * MessageBufferImpl.cs : it did not copy headers.
1329 * Message.cs : remove 2_1 conditional implementation for buffered
1330 copy and hence remove bogus code.
1332 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1334 * MessageProperties.cs : copy argument is wrong.
1336 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1338 * PeerCustomResolverBindingElement.cs : some argument check.
1340 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1342 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1343 xml open, so close the writer as well as open elements.
1344 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1345 Do not output EndRecord and SizedMessage at a time.
1347 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1349 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1350 length of the SizedMessage in the output.
1352 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1354 * CommunicationObject.cs : use sane default timeout.
1355 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1356 * TcpDuplexSessionChannel.cs : ditto.
1358 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1360 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1361 only accepts buffered messages, so do as such for write buffers.
1362 Add RelatesTo header.
1364 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1366 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1367 rename from former to latter.
1369 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1371 * TcpDuplexSessionChannel.cs : reader does not always return full
1372 buffer (depending on the stream).
1374 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1376 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1378 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1380 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1383 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1385 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1387 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1389 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1391 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1393 * ChannelManagerBase.cs : fix wrong session channel detection.
1395 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1397 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1398 This encoder factory implements CreateSessionEncoder() and binary
1399 encoder does support session transmit, in different media type.
1400 * ChannelManagerBase.cs : added utility method to create appropriate
1402 * HttpChannelFactory.cs, HttpChannelListener.cs,
1403 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1404 PeerChannelFactory.cs, PeerChannelListener.cs,
1405 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1407 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1409 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1411 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1413 * DuplexSessionBase.cs : new file, for session implementation.
1414 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1415 DuplexSessionChannelBase.cs : changed sync/async implementation
1416 pattern. Now async methods call sync methods using delegates.
1418 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1420 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1421 a few minor API fixes.
1423 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1425 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1427 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1429 * TcpDuplexSessionChannel.cs : add To header.
1431 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1433 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1436 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1438 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1440 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1442 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1443 CommunicationException in each CreateFault().
1445 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1447 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1448 Open(). Some (but not all yet) continuous communication works now.
1449 Use ProtocolException. Remove dummy binary session string.
1451 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1453 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1454 sending/receiving SizedMessageRecord parts to manager class.
1455 Handle writer session, though it is likely broken at dictionary
1456 writer part (no string is written so far).
1457 * BinaryMessageEncoder.cs : add writer session and rename reader
1460 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1462 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1463 is mandatory in initiator preamble packet. Handle Fault reply in
1466 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1468 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1469 based communication under TcpBinaryFrameManager class.
1471 2009-05-13 Jb Evain <jbevain@novell.com>
1473 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1474 from a StringReader.
1476 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1478 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1479 actually eliminate DOM-based implementation too in 2.0.
1481 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1483 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1484 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1485 comments for magic numbers based on [MC-NMF].
1487 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1489 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1490 support for [MC-NBFSE] record in [MC-NMF], in this class.
1492 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1494 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1496 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1498 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1500 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1502 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1504 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1506 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1508 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1510 * BinaryMessageEncoder.cs : use quotas in binding element.
1511 Implement WriteMessage().
1513 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1515 * PeerCustomResolverBindingElement.cs : do initialize field.
1517 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1519 * PeerCustomResolverBindingElement.cs :
1520 implement full custom resolver.
1522 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1524 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1525 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1526 PeerChannelFactory.cs : ongoing p2p channel implementation.
1528 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1530 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1532 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1534 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1535 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1536 implement GetProperty<T>(). Return documented objects or null.
1538 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1540 * PeerChannelFactory.cs, PeerChannelListener.cs,
1541 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1542 PeerInputChannel.cs, PeerOutputChannel.cs :
1543 new; ongoing peer transport implementation.
1544 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1545 MsmqOutputChannel.cs, OutputChannelBase.cs,
1546 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1547 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1548 several internal changes (either required or for simplification)
1549 for ongoing peer transport implementation.
1551 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1553 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1555 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1557 * TcpTransportBindingElement.cs : check build-ability before
1558 actually building channels.
1559 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1560 conditions according to MSDN.
1562 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1564 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1565 handle headers in SL2. Slightly changed 3.0 code too.
1567 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1569 * HttpRequestChannel.cs : use cross domain access manager.
1571 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1573 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1574 message as BodyWriter.
1575 (in GetReaderAtBodyContents) just write body contents.
1576 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1578 Add some state check in GetReaderAtBodyContents().
1579 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1581 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1583 * Message.cs : do not forget to flush.
1584 * HttpRequestChannel.cs : give more exact error info.
1586 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1588 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1589 make buffered copy in ML2 really buffered.
1591 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1593 * Message.cs : if there is no header item to write, do not write
1594 SOAP header element.
1596 2009-01-22 Alan McGovern <amcgovern@novell.com>
1598 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1599 Rewrite to avoid usage of it.
1601 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1603 * ChannelParameterCollection.cs : implement, rather than NIE.
1605 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1607 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1608 internal users to know the type of the detail.
1610 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1612 * Message.c: Use private setter for state private variable to ease debugging.
1613 Modify ToString not to change the state, as it is called quite often by VS debugger
1615 2008-04-21 Roei Erez <roeie@mainsoft.com>
1617 * HttpChannleManager: Fix for multithreaded use.
1618 * HttpReplyChannel: Fix crash during sutdown.
1620 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1622 * HttpChannleManager: ensure trailing slash in uri.
1624 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1626 * added: HttpChannleManager,
1627 * HttpChannelListener: added use of HttpChannelManager
1629 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1631 * MessageEncodingBindingElement.cs: fixed ctor
1633 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1635 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1637 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1639 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1641 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1643 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1645 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1647 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1649 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1651 * BindingElementCollection.cs: fix API - .ctor's signature.
1653 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1655 * XmlSerializerBodyWriter.cs: Removed.
1657 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1659 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1661 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1663 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1664 * TcpChannelFactory.cs, TcpChannelListener.cs :
1665 unify factory and listener into TcpChannelInfo for use in
1666 TCP channel implementation. Do not store stream in the listener.
1667 Factory now uses BinaryMessageEncoder.
1668 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1669 holds TcpClient that the listener has accepted.
1671 tcp-transport-binding-element sample now communicates (though
1672 only when both sides are mono: there seems binary mismatch).
1674 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1676 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1677 clone connection pool settings too.
1678 * NamedPipetransportBindingElement.cs,
1679 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1680 being likely implemented though).
1682 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1684 * ConnectionOrientedTransportBindingElement.cs,
1685 TcpTransportBindingElement.cs : some API updates.
1686 Initialize default values.
1687 * TcpConnectionPoolSettings.cs : new file.
1689 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1691 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1692 added support for "factory" attribute.
1694 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1696 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1698 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1700 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1702 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1704 * HttpRequestChannel.cs : create WebRequest against To message header
1706 Consider HttpRequestMessageProperty.
1707 Do not output body when suppressed or the method is GET.
1709 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1711 * HttpChannelListener.cs : BindingContext may not have listenUri
1712 at its .ctor() step.
1714 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1716 * BindingContext.cs : RemainingBindingElements is not just a dummy
1717 collection but is actually user-controlled.
1719 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1721 * TcpChannelFactory.cs, TcpChannelListener.cs,
1722 HttpChannelFactory.cs, HttpChannelListener.cs,
1723 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1724 TextMessageEncodingBindingElement.cs,
1725 BinaryMessageEncodingBindingElement.cs,
1726 MtomMessageEncodingBindingElement.cs :
1727 message encoder should be retrieved only through public API.
1728 * BindingContext.cs : so my old guess was wrong.
1730 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1732 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1734 * HttpTransportBindingElement.cs : implemented copy constructor.
1736 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1738 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1739 header when AddressingVersion is None.
1741 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1743 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1746 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1748 * OneWayBindingElementImporter.cs
1749 CompositeDuplexBindingElementImporter.cs : new files.
1751 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1753 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1754 semantic change, its bool parameter must be false, not true.
1756 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1758 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1759 new files. Msmq transport listener Implementation.
1760 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1761 (wait for System.Messaging impl.)
1762 * HttpReplyChannel.cs : added comment
1764 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1766 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1767 new files. internal stuff for msmq channel.
1768 * BinaryMessageEncoder.cs : added another .ctor().
1769 * MsmqTransportBindingElement.cs :
1770 implemented [Can]BuildChannelFactory().
1772 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1774 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1775 initialize some fields.
1777 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1779 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1780 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1781 couple of msmq stubs.
1783 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1785 * SecureMessageGenerator.cs : SecurityContextToken support (though
1786 it is still regarded as invalid by WCF).
1788 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1790 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1791 make header.Contents.Add() more strict.
1792 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1794 Added some hack to allow ssl token external mode.
1795 Commented out such lines that always premised asymmtric key.
1797 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1799 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1801 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1803 * MessageSecurityBindingSupport.cs : support check to create
1804 authenticator is now done in both initiator/recipient sides.
1805 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1807 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1809 * MessageSecurityBindingSupport.cs : for now, comment out the code
1810 that makes authenticator creation optional.
1811 * SecurityRequestContext.cs : don't decrypt message when it is
1812 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1814 * SecurityChannelListener.cs : GetProperty<T>() now returns
1815 MessageSecurityBindingSupport when requested. It is used by
1816 EndpointDispatcher to check if it supports WS-Trust negotiation.
1817 * ChannelListenerBase.cs :
1818 removed extra TODO and field. Implemented GetProperty<T>().
1819 * Message.cs : In CreateMessage() for SOAP Fault, create
1820 SimpleMessage with IsFault = true.
1822 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1824 * SecurityRequestContext.cs : try to reply fault with the inner
1825 channel when an error occurred internally.
1826 * FaultConverter.cs : implemented based on OperationContext (at normal
1827 state it does not seem to create messages, so I implemented it this
1830 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1832 * TransportBindingElement.cs : implemented GetProperty<T>().
1833 * TransactionFlowBindingElement.cs : on building factory or listener,
1834 reject channel types that cannot build.
1835 * SecurityBindingElement.cs : added some TODO comments.
1836 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1837 delegate to base, not BindingContext.
1838 * SecurityRequestContext.cs : somewhat late decryption.
1840 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1842 * MessageSecurityBindingSupport.cs,
1843 AsymmetricSecurityBindingElement.cs,
1844 SymmetricSecurityBindingElement.cs :
1845 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1846 implemented ISecurityCapabilities on them. Now those binding
1847 elements support GetProperty<ISecurityCapabilities>().
1849 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1851 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1852 will work only for predefined parameter types.
1854 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1856 * MessageSecurityBindingSupport.cs :
1857 Set proper MessageDirection to the requirement after creation.
1858 split CreateTokenAuthenticator() as MessageDirection is different.
1859 Removed extra creation of requirement.
1861 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1863 * MessageSecurityBindingSupport.cs : token authenticator is not
1864 always created on channel-opening stage.
1865 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1866 Sslnego binding factory method.
1868 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1870 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1871 signature velification failure.
1873 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1875 * SecureMessageGenerator.cs : encrypt signature confirmations only
1876 when they are required.
1878 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1880 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1881 when [Signature Protection is true i.e. when we use
1882 SignBeforeEncryptAndEncryptSignature.
1884 With this change finally samplesvc.cs/samplecli.cs became
1887 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1889 * SecureMessageDecryptor.cs : signature verification was not done
1890 for endorsing supporting tokens.
1891 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1892 in the security header. Don't output empty ReferenceList.
1894 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1896 * SecureMessageGenerator.cs : signingToken was added before being
1897 initialized and thus caused NRE.
1899 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1901 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1902 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1903 don't need workaround for symmetric key restoration.
1905 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1907 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1908 SecureMessageGenerator.cs :
1909 Avoid extra reference search from the request's ReferenceList.
1910 create HMACSHA1 always with the key to compute hash (I'm not sure
1911 it is correct; it is rather to adjust all hash consistent.)
1913 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1915 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1916 actually endorsed the primary signature.
1917 * SecureMessageGenerator.cs : implemented endorsing of the primary
1918 signature. So, now supporting tokens are fully implemented.
1920 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1922 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1923 totally signing tokens.
1924 * SecureMessageGenerator.cs : Endorsing tokens should also be
1925 included in the message. They are just not signed.
1927 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1929 * SecureMessageGenerator.cs : support signing and encryption of
1930 supporting tokens. Some required refactory to do it.
1931 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1933 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1935 * SecureMessageDecryptor.cs : fix exception message.
1936 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1937 XmlNamespaceManager is not required for GetIdElement().
1939 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1941 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1942 moved decryption part from former file to latter file, to reuse
1943 SignedXml instance (though now I doubt how it actually was good)
1944 which in turn required to replace EncryptedData in
1945 WSSecurityMessageHeader with decrypted one.
1946 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1948 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1950 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1951 EncryptedData should contain KeyInfo as it is not obvious which key
1952 is used there. .net<->mono DerivedKeyToken introp is done.
1953 * SecureMessageDecryptor.cs : check derived key requirement.
1954 Reduce dom-dependent parts.
1956 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1958 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1959 the related DerivedKeyToken (if any).
1960 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1961 support. Some refactoring to distinguish deried-token-related
1963 * SecureMessageDecryptor.cs : removed its own support for derived
1964 key tokens. Now it fully works with DerivedKeySecurityToken.
1966 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1968 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1969 SecureMessageDecryptor.cs :
1970 Implemented increment token reading in o:Security, as
1971 DerivedKeyToken could reference to existing wrapped key.
1972 Removed WsscDerivedKeyToken and all relevant code.
1973 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1974 DerivedKeySecurityToken.
1976 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1978 * SecureMessageGenerator.cs : it was setting security tokens into
1979 incorrect SecurityMessageProperty.
1980 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1981 Now it uses SecurityRequestContext instead of just primary key.
1982 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1983 to symmetric reply decryption, which is the only trouble case.
1984 Do not create another SignedXml.
1985 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1987 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1989 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1990 the resolver works with in-progress token reading in o:Security.
1991 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1992 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1993 * SecureMessageGenerator.cs : cosmetic refactoring.
1995 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1997 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1998 instead of EncryptedKey.
2000 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
2002 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
2003 should not be always prepared at channel Open(). It also caused
2004 that extra token requirements.
2005 * SecureMessageGenerator.cs : use correct key clause for encryption.
2006 * SecureMessageDecryptor.cs : reduce extra key acquisition.
2008 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2010 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
2011 for supporting 'supporting tokens' .
2012 * SecureMessageGenerator.cs : Supporting token creation is done only
2013 at initiator (not sure if it is supposed that, but for now it is).
2014 Removed extraneous CollectSupportingTokens().
2015 * SecureMessageDecryptor.cs : implemented supporting token
2016 authentication (partly). "Signed" supporting tokens are expected
2019 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2021 * SecureMessageGenerator.cs :
2022 make SignBeforeEncryptAndEncryptSignature working.
2024 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2026 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
2027 the key itself. ProtectionToken is WrappedKey.
2028 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
2029 not EncryptedKeyIdentifierClause which is not for embedded key.
2030 * MessageProperties.cs : Fixed copy direction in CopyProperties().
2032 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
2034 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
2035 to switch asymmetric and symmetric. Not used yet.
2036 * SecurityRequestChannel.cs : now it pass the request security
2037 property to reply receiver so that it could use the primary key
2038 used at request phase.
2039 * SecurityRequestContext.cs : now it pass the context itself to
2040 reply sender so that it could embed related MessageID.
2041 * SecureMessageGenerator.cs : ongoing changes to support symmetric
2042 binding element. Add RelatesTo output and remove MessageID when
2043 replying to the sender. Added some hacks to get symmetric binding
2045 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
2046 in SecurityTokenReference (it also involved existing encrypted key
2047 retrieval). In reply receiver, reuse the key that was used at
2048 request phase. It needs significant token resolution refactoring.
2050 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2052 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2053 * SecureMessageDecryptor.cs : store token and its authentication
2054 policies into the security property, and reuse it on reply.
2055 Some code refactoring; there is at most one o:Security to solve at
2056 one endpoint (depends on Actor). Some attempt to use correct
2057 token parameters (but for now I have only samples that use x509).
2058 * SecureMessageGenerator.cs : For replying message, use initiator's
2059 signing token as the encryption token. Simply reuse security
2060 property from the input message.
2062 I have some nasty workaround at decryptor for initiator that could
2063 not retrieve decryption key.
2065 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2067 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2068 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2069 several refactoring on token acquisition. Large part of
2070 MessageSecurityBindingSupport code is unified.
2072 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2074 * MessageProperties.cs : Security property should be one of the items.
2075 Actually many other properties should be similar as well.
2076 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2077 when copying a message, copy properties as well.
2078 * SecurityRequestContext.cs : on replying, pass input
2079 SecurityMessageProperty to the security generator.
2080 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2082 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2084 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2087 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2088 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2089 use new WSSignedXml instead of SignedXml, and remove coexisting
2090 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2091 - our reply messages could be consumed by .NET, and
2092 - .NET signature could be verified.
2094 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2096 * SecureMessageDecryptor.cs : The signing key must be passed as
2097 CheckSignature() argument, not SigningKey.
2099 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2101 * MessageImpl.cs : don't read attribute after ReadStartElement().
2103 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2105 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2106 * SecureMessageGenerator.cs : use correct signing key clause for
2107 SecurityTokenReferenceKeyInfo to be serialized.
2108 * SecureMessageDecryptor.cs : now it can try to parse signature.
2110 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2112 Ongoing changes to support signature confirmation
2113 * SecureMessageGenerator.cs :
2114 Don't output ReplyTo onto reply message.
2115 Write SignatureConfirmation if needed.
2116 * SecureMessageDecryptor.cs :
2117 Some refactoring for header cunsumption. Added commented-out
2118 signature verification part (not working yet, on client side due
2119 to incorrect reply from service and insufficient clause reader).
2120 * WSSecurityMessageHeader.cs :
2121 Added SignatureConfirmation support.
2122 KeyInfoClause for o:SecurityTokenReference should be replaced with
2123 SecurityTokenReferenceKeyInfo.
2125 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2127 * SecureMessageGenerator.cs : support Timestamp signature.
2128 Removed unused code, and extra argument in CreateReference().
2129 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2131 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2133 * SecureMessageGenerator.cs :
2134 Several fixes to make asymmetric binding working:
2135 - Differentiate signing and encryption token in several areas.
2136 - Fixed signing keyinfo.
2138 Added initial SecurityMessageProperty handling, not sure if it is
2139 appropriate here though.
2140 * HttpRequestChannel.cs : (some debugging lines)
2142 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2144 Woohoo! Here is a very basic WS-Security compliant message which could
2145 be allowed by Indigo.
2146 * MessageHeader.cs : added Id support for writing.
2147 * Message.cs : added internal BodyId for signature reference.
2148 * MessageImpl.cs : write Body Id if required.
2149 * SecureMessageGenerator.cs : Before signing, the target elements must
2150 be given wsu:Id. Since I still use System.Security.dll, I need some
2151 trick for signing (I give both Id and wsu:Id, former to sign and
2152 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2153 implementation later. Now singning mechanism works except for
2154 wsu:Timestamp (which is kind of mandatory).
2156 I can's still consume replies from Indigo but it's a big progress :)
2158 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2160 * MessageHeaderInfo.cs : added internal Id.
2161 * MessageHeader.cs : read and write wsu:Id.
2162 * Message.cs : output wsu namespace if Id exists in any header.
2163 * HttpReplyChannel.cs : (some debugging lines.)
2164 * SecureMessageDecryptor.cs : (remove debugging lines.)
2165 * MessageImpl.cs : removed obsolete code.
2166 * WSSecurityMessageHeader.cs : output "o" prefix.
2167 * SecureMessageGenerator.cs : replaced XmlElement-based header
2168 signing with MessageHeader-based signing, to support Id correctly.
2170 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2172 * SecureMessageGenerator.cs : some more refactoring and code comments.
2173 * MessageSecurityUtility.cs : made decryptor into an instance class,
2174 like I've done for SecureMessageGenerator.
2175 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2176 dependent changes for above.
2178 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2180 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2181 causing NRE due to the lack of token reference.
2182 No need to pass doc to SignedXml.ctor() anymore.
2183 Moved ReferenceList before the signature(s).
2185 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2187 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2188 Moved signing key generation code to non-HMACSHA1 signing part.
2189 Don't try to sign wss:Security.
2190 Pass document itself to SignedXml.ctor().
2191 Use temporary DataObjects to avoid adding Ids (not sure what is the
2192 expected processing yet).
2193 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2194 WriteTo() method in WsuTimestamp.
2196 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2198 * SecureMessageGenerator.cs : wrong key was used for signing.
2199 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2201 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2203 * SecureMessageGenerator.cs :
2204 Now ID generation process does not modify input message.
2205 Moved derived key generation part into (virtual) signing loop.
2206 MessagePartSpecification support for signing is done.
2208 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2210 * SecureMessageGenerator.cs : some reordering to handle signing and
2211 encryption with supporting tokens. Fixed XPath query bug for
2212 soap header contents (we want s:Header/*, not s:Header).
2214 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2216 * MessageSecurityBindingSupport.cs : more refactoring.
2217 Made it abstract and added Initiator- and Recipient- classes.
2218 Several members were moved to those derived types.
2219 * AsymmetricSecurityBindingElement.cs,
2220 SymmetricSecurityBindingElement.cs
2221 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2222 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2223 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2224 All dependent changes by above. Removed ISecurityChannelSource
2225 which became useless.
2227 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2229 * SecureMessageGenerator.cs : encryption parts should exist too.
2230 * AsymmetricSecurityBindingElement.cs
2231 SymmetricSecurityBindingElement.cs,
2232 MessageSecurityBindingSupport.cs : some refactoring.
2233 Split MessageSecurityBindingSupport into security binding element
2234 specific parts and made MessageSecurityBindingSupport concrete.
2235 It is likely split again, next time based on initiator/recipient.
2237 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2239 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2240 split encryptor part in the former file into latter file, and
2242 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2243 SecurityRequestContext.cs : apply the change above.
2245 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2247 * MessageSecurityBindingSupport.cs :
2248 Fixed incorrect TrgGetValue() use.
2249 Added CollectRecipientSupportingTokens().
2251 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2253 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2254 EncryptedKey. So, when a key itself is used to encrypt data,
2255 ReferenceList is contained by itself.
2256 * MessageSecurityBindingSupport.cs :
2257 added CollectInitiatorSupportingTokens().
2259 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2261 * MessageSecurityUtility.cs: it should support ReferenceList-less
2264 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2266 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2267 * MessageSecurityUtility.cs : there already was uuid.
2269 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2271 * MessageSecurityUtility.cs : replaced EncryptedKey with
2272 WrappedKeySecurityToken, which seems to be in actual use in .net.
2273 * WSSecurityMessageHeader.cs : added internal Guid so that it
2274 could be shared between header items.
2276 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2278 * HttpRequestContext.cs, TextMessageEncoder.cs :
2279 some null arg check.
2281 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2283 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2284 for SecurityTokenReference resolution.
2286 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2288 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2289 consider DerivedKeyTokens correctly.
2290 When creating LocalId, don't add '#' here.
2292 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2294 * MessageSecurityUtility.cs :
2295 handle key mapping for each wsse:Security.
2297 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2299 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2301 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2303 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2305 * MessageSecurityUtility.cs :
2306 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2307 suggests, and it is used to dereference decryption targets.
2308 Now it premises multiple wsse:Security elements to read.
2310 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2312 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2313 manually (and actually the namespace URI was wrong).
2315 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2317 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2319 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2321 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2323 * SecurityBindingElement.cs,
2324 SymmetricSecurityBindingElement.cs,
2325 AsymmetricSecurityBindingElement.cs :
2326 implemented SetKeyDerivation().
2328 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2330 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2333 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2335 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2338 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2340 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2341 thus move it in front of encryption/signing.
2343 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2345 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2346 check state by themselves (btw it's not really working).
2347 * HttpChannelListener.cs : If the url does not end with '/' add it
2348 so that it could be fed to HttpListener.
2350 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2352 * HttpChannelFactory.cs : check scheme on CreateChannel.
2353 * MessageHeader.cs : finish IsMessageVersionSupported().
2355 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2357 * FaultConverter.cs : new file, not used yet though.
2359 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2361 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2363 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2365 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2366 GET as well as HttpReplyChannel, configuration would be ready now.
2368 2006-10-18 Ankit Jain <jankit@novell.com>
2370 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2371 EnvelopeVersion.Soap12 and 'text/xml' for others.
2372 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2374 Strip '?' from the query string.
2376 2006-10-13 Ankit Jain <jankit@novell.com>
2378 * MessageVersion.cs (None): Set AddressingVersion.None
2380 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2382 * SvcHttpHandler.cs : added config-based endpoint addition code.
2383 Though due to some weird bug in mono-core it does not seem to work,
2384 so commented out for now.
2385 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2386 mex request message might just be wrong.
2387 Use expected MessageVersion by the channel.
2388 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2390 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2392 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2393 which differs depending on whether it is asymmetric or symmetric.
2394 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2395 simplify SecureMessage() and DecryptMessage() arguments (just
2396 take MessageSecurityBindingSupport instead of several parameters).
2397 * MessageSecurityUtility.cs :
2398 - simplify SecureMessage() and DecryptMessage() arguments (just
2399 take MessageSecurityBindingSupport instead of several parameters).
2400 - Take token inclusion mode into account. Don't include them when
2401 it is not expected. Also, change the token reference style.
2402 - add wsa:MessageID to the headers.
2403 - For hmac-sha1 signing (default for symmetric binding), use
2404 symmetric key created for encryption as well to create HMACSHA1.
2405 - add Id to wsu:Timestamp.
2406 - start to handle SecurityMessageProperty.
2407 * WSSecurityMessageHeader.cs :
2408 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2409 Changed date format.
2411 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2413 * CommunicationObject.cs : reject faulted state on Open()/Close().
2414 * MessageHeaders.cs : removed extra fields.
2416 2006-10-06 Ankit Jain <jankit@novell.com>
2418 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2420 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2422 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2423 added some FIXMEs and additional arg.
2425 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2427 * MessageSecurityUtility.cs : remove duplicate Action header.
2429 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2431 * MessageFault.cs : partly implemented CreateFault(Message, int).
2432 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2433 handle IsFault correctly in each implementation.
2435 2006-10-04 Ankit Jain <jankit@novell.com>
2437 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2439 2006-10-04 Ankit Jain <jankit@novell.com>
2441 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2442 in WebConnectionStream.
2444 2006-10-04 Ankit Jain <jankit@novell.com>
2446 * MessageHeaders.cs (To): Use GetHeader<string> till
2447 DataContractSerializer gets ISerializable support.
2448 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2450 2006-10-04 Ankit Jain <jankit@novell.com>
2452 * ServiceHostParser.cs (Parse):
2453 (Split): Add some error checks.
2455 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2457 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2458 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2459 * SslStreamSecurityUpgradeProvider.cs,
2460 SslStreamSecurityUpgradeAcceptor.cs :
2461 new files for Ssl upgrade provider implementation.
2462 * MessageSecurityUtility.cs :
2463 Create proper C14NTransform. Don't use enveloped signature
2464 transform but sign every significant bits. On securing messages
2465 use ChannelProtectionRequirements.
2466 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2468 * MessageEncoder.cs : fix API (missing constraint).
2469 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2470 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2471 * AsymmetricSecurityBindingElement.cs : default protection order is
2472 SignBeforeEncryptAndEncryptSignature.
2474 2006-09-29 Ankit Jain <jankit@novell.com>
2476 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2477 ServicHostParser and use that here.
2478 (PrivateBinPath): New.
2479 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2480 (RemovedCallback): Remove and close the SvcHttpHandler when its
2481 corresponding file (.svc) changes.
2482 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2484 * ServiceHostParser.cs : New.
2485 * CachingCompiler.cs : New. Code extracted from
2486 System.Web.Compilation.CachingCompiler
2487 * CompilationException.cs : New. From System.Web.Compilation
2488 * HtmlizedException.cs : New. Likewise.
2490 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2492 * MessageSecurityBindingSupport.cs : For client side, it is always
2493 InitiatorServiceModelSecurityTokenRequirement which should be
2494 created. Fixed wrong client encryption key acquisition.
2496 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2498 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2499 MessageSecurityBindingSupport.cs : made similar changes as factories
2500 to listener so that session channels and input channels would work.
2501 Added authenticator creation.
2503 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2505 * Binding.cs : added missing members.
2507 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2509 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2510 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2511 reduce code duplication between request and output channels.
2512 The common parts are now in MessageSecurityBindingSupport.
2513 Now reduced several arguments in SecureMessage() for client.
2515 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2517 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2519 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2521 * AsymmetricSecurityBindingElement.cs,
2522 SecurityChannelListener.cs,
2523 SecurityRequestContext.cs,
2524 SymmetricSecurityBindingElement.cs,
2525 SecurityRequestChannel.cs,
2526 SecurityOutputChannel.cs,
2527 SecurityChannelFactory.cs,
2528 MessageSecurityBindingSupport.cs : 1) Refactoring.
2529 IMessageSecurityBindingSupport now becomes a class and contains
2530 all the members which resided in ISecurityChannelSource.
2531 Now it takes more constructor params.
2532 Made dependent changes on all sources above.
2534 2) Added SecurityTokenAuthenticator creation in
2535 SecurityRequestChannel (SecurityOutputChannel should do the same).
2537 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2539 * SecurityRequestChannel.cs : ongoing improvements on conditional
2540 key creation. Actually there must be some part that creates an
2541 authenticator (WinFX does that).
2543 2006-09-27 Ankit Jain <jankit@novell.com>
2545 Add suport for handling .svc files.
2546 * SvcHttpHandlerFactory.cs: New.
2547 * SvcHttpHandler.cs: New.
2549 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2550 asp.net environment.
2551 (OnOpen): Do nothing in asp.net environment.
2552 (OnClose): Likewise.
2553 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2554 * HttpRequestContext.cs: .. here.
2556 * AspNetReplyChannel.cs: New.
2557 * AspNetRequestContext.cs: New.
2559 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2561 * MessageSecurityUtility.cs :
2562 Significantly rewritten decryption parts to respect ReferenceList
2563 to decrypt (so no workaround anymore).
2564 Now e:ReferenceList inside o:Security is treated as the referenced
2565 EncryptedType items are encrypted by 1) the derived key which is
2566 immediately in front of it, or 2) the default key (it is according
2567 to WS-SecureConversation section 9.1). Thus removed immediately
2568 previous hack to auto-fill wsu:Id attributes.
2570 On securing a message, generate correct Id and add DataReference
2571 to ReferenceList properly.
2573 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2575 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2578 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2580 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2581 Actually WSSecurityTokenSerializer should be able to consume it, but after
2582 spending a lot of time I still cannot successfully read it on WinFX.
2583 Skip ReferenceList for now.
2584 * MessageSecurityUtility.cs :
2585 Replaced some string literals with constants.
2586 Added some workaround for DerivedKeyToken retrieval.
2587 WinFX somehow sends incomplete ISO10126 padding which contains
2588 bigger number than the key size and is rejected by EncryptedXml,
2589 so added DecryptLax() which processes such ones in PaddingMode.None
2590 to workaround it (only for cross-connection between mono and winfx).
2591 Added some incomplete implicit wsu:Id processing.
2592 Don't try to replace SignedXml with EncryptedData. It is not added
2593 to the document tree.
2595 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2597 * MessageSecurityUtility.cs : support message signature encryption. Some
2600 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2602 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2604 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2606 * MessageSecurityUtility.cs : fix warnings.
2608 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2610 * MessageSecurityUtility.cs : actually there would be more than one
2611 EncryptedData. Decrypt all.
2613 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2615 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2616 Use ISO10126 padding mode (it is not required but in manner).
2618 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2620 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2621 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2622 that class to make it work fine with mono client).
2623 Removed buggy lines that reset decryption key to AES.
2624 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2625 * WSSecurityMessageHeader.cs :
2626 (SecurityTokenReferenceKeyInfo) support LoadXml.
2628 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2630 * TransactionMessageProperty.cs : new file.
2632 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2634 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2635 gmcs happened to report wrong code.
2637 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2639 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2640 .ctor() now requires ChannelProtectionRequirements which will be
2641 supplied via BindingParameterCollection.
2642 * SymmetricSecurityBindingElement.cs,
2643 AsymmetricSecurityBindingElement.cs : thus add
2644 ChannelProtectionRequirement parameter to factory/listener.
2645 * SecurityRequestChannel.cs : use recipient token requirement to
2646 create an encryption token. Thus differentiate the logic from
2647 signing (initiator) token.
2649 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2651 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2652 renamed former to latter.
2653 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2656 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2658 * MessageSecurityBindingSupport.cs : new internal types to commonize
2659 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2660 and thus make internal factory and listener reusable.
2661 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2662 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2663 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2664 SymmetricSecurityBindingElement, using the new types above.
2665 * SymmetricSecurityBindingElement.cs :
2666 Use SymmetricMessageSecurityBindingSupport.
2667 * AsymmetricSecurityBindingElement.cs :
2668 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2670 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2672 * ChannelFactoryBase.cs : more RC1 update.
2674 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2676 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2677 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2678 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2679 ChannelBase.cs : RC1 API updates.
2680 * MessageImpl.cs : implemented Properties.
2681 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2683 2006-09-18 Ankit Jain <jankit@novell.com>
2685 * MessageHeaders.cs (MessageId):
2686 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2688 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2690 * ChannelParameterCollection.cs : new file.
2691 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2692 new files for IOutputChannel implementation.
2693 * OneWayBindingElement.cs : hacky implementation.
2694 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2695 * MessageSecurityUtility.cs : now create identifier from the security
2696 token and the token parameters which is added as an argument.
2697 * SecurityRequestContext.cs,
2698 SecurityRequestChannel.cs : SecureMessage() argument changes.
2699 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2702 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2704 * HttpRequestChannel.cs : close the HttpWebRequest.
2706 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2708 * HttpRequestChannel.cs,
2709 HttpChannelFactory.cs : implement async request/reply.
2710 * HttpChannelFactory.cs :
2711 verify factory state when creating a channel.
2713 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2715 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2716 BinaryMessageEncoder.cs : added message version mismatch check.
2718 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2720 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2721 Making incomplete changes to handle different tokens for encryption
2723 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2724 split channel implementation classes out to the latter file.
2725 * MessageSecurityUtility.cs : seems like there is
2726 TimeStampValidityDuration property, so use it (incomplete; a server
2727 needs another love).
2729 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2731 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2732 SecurityRequestContext.cs : now that we have key identifier clause
2733 and working ResolveKeyIdentifierClause(), just create keys inside
2734 SecureMessage(). Add KeyInfo to the xmldsig.
2736 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2738 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2739 pass SecurityKeyIdentifierClause to SecureMessage().
2740 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2741 for IssuedToken binding element.
2742 * SymmetricSecurityChannelListener.cs : removed hack to just create
2743 X509 security token, and implemented correct token creation.
2744 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2745 wraps SecurityTokenReference element.
2746 * MessageSecurityUtility.cs : use the above.
2748 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2750 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2751 could not find a security header.
2752 * SymmetricSecurityChannelFactory.cs : now it also supports
2753 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2756 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2758 * SecurityRequestContext.cs : moved securing message part to
2759 MessageSecurityUtility.cs.
2760 * MessageSecurityUtility.cs : the change above.
2761 use DateTime.Now for timestamp basis. Don't append signature to
2762 the document. Instead it is added to the header. Capture body
2763 content instead of the body itself.
2764 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2765 be processed by upper layers.
2767 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2769 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2770 SymmetricSecurityChannelListener.cs,
2771 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2772 more refactoring. Request serialization became much more conformant
2773 and add required header items.
2774 Security Token retrieval is needed to send it in the request.
2775 Fixed wrong key encryption.
2777 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2779 * SecurityRequestContext.cs : the workaround was not functional.
2781 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2783 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2784 API, especially ReplaceData(), instead of native crypto stuff.
2785 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2786 MessageProtectionOrder.SignBeforeEncrypt).
2788 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2790 * SecurityRequestContext.cs : label should be combined of both
2791 the client's and the server's.
2793 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2795 * SecurityRequestContext.cs : enable key derivation (though for now
2796 GenerateDerivedKey() is unimplemented). Create meaningful,
2797 decrypted request message to be consumed by the upper layer.
2799 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2801 * SecurityRequestContext.cs : implement Close() and Reply().
2802 ongoing implementation of Reply(TimeSpan).
2803 * MessageSecurityUtility.cs : new file to collect utility methods.
2804 * SymmetricSecurityChannelFactory.cs : moved securing message code
2806 * SymmetricSecurityChannelListener.cs : tiny renaming.
2808 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2810 * SecurityRequestContext.cs : security header is also stored.
2812 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2815 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2817 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2820 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2822 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2823 so that it retrieves the security key in that manner.
2825 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2827 * Binding.cs : MessageVersion is null when there is no
2828 MessageEncodingBindingElement.
2829 * Message.cs : null arg check.
2831 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2833 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2835 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2837 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2838 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2839 LayeredRequestChannel.cs : some refactoring.
2840 * SymmetricSecurityChannelFactory.cs :
2841 ongoing secure message creation implementation.
2843 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2845 * SymmetricSecurityBindingElement.cs :
2846 pass specific ServiceCredentialsSecurityTokenManager type to
2847 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2848 * SymmetricSecurityChannelListener.cs :
2849 get service certificate. It's a temporary hack.
2850 Move RequestContext code to below.
2851 * SecurityRequestContext.cs : new file.
2852 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2853 it I have to finish decryption of the incoming message.
2855 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2857 * MessageImpl.cs : don't write attributes on the first body content
2858 element *on soap Body element*.
2859 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2860 ObjectDisposedException is appropriate.
2861 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2862 in OnWriteHeader*Contents*().
2864 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2866 * WSSecurityMessageHeader.cs : new file.
2867 * SymmetricSecurityChannelFactory.cs :
2868 moved WSSecurityHeader and related types to the above.
2869 * SymmetricSecurityChannelListener.cs :
2870 reject SOAP-env-less message.
2872 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2874 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2875 renamed former to latter.
2876 * SymmetricSecurityChannelFactory.cs :
2877 create requirements every time. It is also likely that I need
2878 another requirement instance to get service credentials here.
2880 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2882 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2883 similar to BuildChannelFactory() (set credentials, issuer binding
2885 * SecurityChannelListener.cs :
2886 more ongoing security support implementation.
2887 * SymmetricSecurityChannelFactory.cs :
2888 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2890 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2892 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2893 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2894 Implementation is underway.
2895 * LayeredReplyChannel.cs :
2896 like LayeredRequestChannel, use ChannelListenerBase to provide
2899 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2901 * MessageHeader.cs : added another implementation type that uses
2902 XmlElement, for buffering purpose.
2903 * MessageImpl.cs : Header item types are user-driven by
2904 MessageHeader.GetHeader<T>(int), so at storing phase just store
2905 nodes as XmlElement.
2906 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2909 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2911 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2912 BindingParameterCollection, not from binding element properties.
2914 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2916 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2917 renamed former to latter.
2919 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2921 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2922 work for SslSecurityTokenParameters.
2924 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2926 * SecurityBindingElement.cs :
2927 Added SetIssuerBindingContextIfRequired().
2928 * SecurityChannelFactory.cs :
2929 Changed .ctor() arg again, just to receive binding element.
2930 * SymmetricSecurityBindingElement.cs :
2931 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2932 SymmetricSecurityChannelFactory .ctor() arg changes.
2933 "ProtectionTokenParameters" is not passed now.
2935 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2937 * SymmetricSecurityBindingElement.cs : requirements should be
2938 filled at InitializeSecurityTokenParameters as long as possible.
2939 SymmetricSecurityChannelFactory<T> now does not receive
2940 requirements (it now creates one inside it) at .ctor().
2941 * SecurityChannelFactory.cs : remove requirement argument.
2943 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2945 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2947 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2949 * SymmetricSecurityBindingElement.cs :
2950 MessageSecurityVersion property is of type SecurityTokenVersion.
2951 * SecurityBindingElement.cs :
2952 Implemented CreateSecureConversationBindingElement().
2953 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2954 the argument IssuedSecurityTokenParameters itself.
2956 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2958 * SymmetricSecurityBindingElement.cs :
2959 CreateSecurityTokenManager() can be directly used now.
2960 Use CallInitializeSecurityTokenRequirement() to fill requirement
2963 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2965 * ChannelFactoryBase.cs : GetProperty() is virtual.
2967 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2969 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2970 create token manager, token parameters and token requirements,
2971 and fill some requirements.
2972 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2973 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2974 * BindingContext.cs : implemented RemainingBindingElements.
2975 kill "no remaining binding element" error in GetInnerProperty()
2976 * SecurityChannelFactory.cs : now it became
2977 SymmetricSecurityChannelFactory, thus soon to be renamed.
2978 Several ongoing actual security resolution is on.
2980 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2982 * CommunicationObject.cs :
2983 add GetCommunicationObjectType() and use it.
2984 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2985 use ThrowIfDisposedOrNotOpen().
2986 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2987 to CommunicationObject. Make it IDisposable.
2988 * LayeredRequestChannel.cs : use above.
2989 * SecurityChannelFactory.cs : removed state check as it is done at
2992 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2994 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2995 CanBuildChannelListener) directly dispatch to BindingContext.
2996 * SymmetricSecurityBindingElement.cs : require protection token
2997 parameters before building a channel or a listener.
2998 * ChannelFactoryBase.cs : raise an error when a channel is being
2999 created without opening the factory.
3000 * ChannelListenerBase_1.cs : ditto for the listener.
3001 * SecurityChannelFactory.cs : before sending a request, it must be
3004 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3006 * MessageBufferImpl.cs : initialize fields.
3007 workaround BufferSize just to return 0.
3008 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
3009 which does not support multi time write.
3010 * Message.cs : implemented State.
3012 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3014 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
3015 is consuming XmlReader.
3016 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
3017 * MessageBuffer.cs : implemented CreateNavigator().
3018 * MessageBufferImpl.cs : added XPathMessageBuffer class.
3020 I kinda know that MS heavily depends on binary XmlReader and may have
3021 XPathNavigator implementation based on the binary stuff, but at
3022 least for now we have almost no motivation to mimick it.
3024 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3026 * SecurityChannelFactory.cs : a bit more of security header code.
3028 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
3030 * SymmetricSecurityBindingElement.cs :
3031 set default MessageProtectionOrder in every construction.
3033 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
3035 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
3036 changed to require ChannelFactoryBase to support default timeout.
3037 Made some methods non-virtual. Preparing code to add security
3038 headers (empty yet).
3039 * SecurityBindingElement.cs : implemented several factory methods
3040 that return SymmetricSecurityBindingElement.
3042 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3044 * IStreamUpgradeBindingElement.cs,
3045 StreamUpgradeBindingElement.cs : renamed from former to latter.
3047 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3049 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
3051 2006-07-31 Ankit Jain <jankit@novell.com>
3053 * MessageHeaders.cs (From): Use Constants.WSA1
3054 (MessageId): Implement the same pattern as other properties (From etc).
3056 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3058 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3059 * SecurityBindingElement.cs : some cosmetic changes.
3061 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3063 * SecurityBindingElement.cs : LocalClientSettings and
3064 LocalServiceSettings returns an instance for each.
3065 * LocalClientSecuritySettings.cs : initialized fields.
3067 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3069 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3070 kinda implemented Clone() just with MemberwiseClone().
3072 2006-07-27 Ankit Jain <jankit@novell.com>
3074 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3075 * MessageHeader.cs (knownTypes): New. Known type array containing
3077 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3079 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3081 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3082 LayeredCommunicationObject.cs,
3083 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3084 new files to support security channels, though right now they
3085 just pass inner channels through.
3086 * SymmetricSecurityBindingElement.cs : use above.
3088 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3090 * AsymmetricSecurityBindingElement.cs,
3091 SymmetricSecurityBindingElement.cs :
3092 Default SecurityTokenParameters is null.
3094 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3096 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3098 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3100 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3102 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3103 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3104 headers. When AddressingVersion is None, don't output addressing
3105 headers as well, except for Action which is still needed by
3108 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3110 * MessageHeaders.cs : changed specific properties to find it from
3111 headers as Action property does (local variables won't be set by
3112 setter). Cache serializers. Check null serializer arguments.
3113 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3115 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3117 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3118 use XmlObjectSerializer (since it is not data contract type).
3120 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3122 * MessageImpl.cs : Improved ReadHeaders().
3123 For certain header items, use EndpointAddress.ReadFrom().
3125 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3127 * AsymmetricSecurityBindingElement.cs :
3128 it is not ISecurityCapabilities anymore.
3130 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3132 * MessageVersion.cs : added None.
3134 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3136 * Message.cs : GetReaderAtBodyContents() implementation using
3139 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3141 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3142 used MessageVersion.Default.
3144 2006-07-12 Duncan Mak <duncan@novell.com>
3146 * MessageBuffer.cs (MessageContentType): Return
3147 "application/soap+msbin1".
3149 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3150 (SimpleMessage.OnCreateBufferedCopy):
3151 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3152 MessageBuffer implementations.
3154 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3155 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3156 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3158 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3160 * MessageImpl.cs : Action should be added in request messages. Omit
3161 it only in reply message, thus moved to dispatcher logic.
3163 2006-07-12 Ankit Jain <jankit@novell.com>
3165 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3166 bug in WebConnectionStream.
3167 * MessageHeaders.cs (MessageHeaders.From):
3168 (MessageHeaders.ReplyTo):
3169 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3171 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3173 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3174 add SOAP Action to the response at any time.
3176 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3178 * SymmetricSecurityBindingElement.cs,
3179 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3180 Implemented .ctor() and some properties.
3182 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3184 * TransactionFlowBindingElement.cs : new file.
3185 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3187 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3190 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3191 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3192 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3193 vanished (there is anyways no way to instantiate this type).
3194 * MessageVersion.cs : added Soap11 and Soap12.
3195 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3196 in June CTP. goodie.
3198 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3200 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3201 removed some vanished CreateMessage() overloads.
3203 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3205 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3206 HttpTransportBindingElement.cs :
3207 They are not ISecurityCapabilities anymore.
3208 Modified code to match June CTP behavior.
3210 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3212 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3214 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3216 * EmptyFaultException.cs : removed unused code.
3217 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3219 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3221 * LayeredChannelFactory.cs : removed obsolete class.
3222 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3223 ChannelListenerBase.cs, HttpChannelListener.cs,
3224 HttpReplyChannel.cs, ChannelManagerBase.cs :
3225 all those changes were brought by ChannelManagerBase changes.
3227 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3229 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3230 CommunicationObject.cs, HttpChannelListener.cs,
3231 ChannelFactoryBase.cs :
3232 CommunicationObject abstract changes brought this madness.
3234 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3236 * BindingContext.cs : listenUri address parameters could be null in
3239 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3241 * IRequestContext.cs :
3242 Now it became a class. File renaming will follow soon.
3243 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3244 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3245 IOutputChannel.cs, IOutputSessionChannel.cs,
3246 IRequestChannel.cs, IRequestSessionChannel.cs :
3247 They are not IDisposable anymore.
3248 For IReplyChannel, IRequestContext -> RequestContext.
3249 * IChannelListener.cs : removed Identity. Added GetProperty().
3250 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3251 ReplyChannelBase.cs, HttpReplyChannel.cs :
3252 Several members disappeared, and dependent changes.
3253 * HttpTransportBindingElement.cs,
3254 HttpChannelListener.cs, :
3255 ChannelListenerBase.SharedChannelListener vanished.
3257 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3259 * MessageEncodingBindingElement.cs
3260 MtomMessageEncodingBindingElement.cs,
3261 TextMessageEncodingBindingElement.cs,
3262 BinaryMessageEncodingBindingElement.cs :
3263 June CTP updates: AddressingVersion -> MessageVersion.
3264 * Binding.cs : June CTP. MessageVersion is added.
3265 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3266 ChannelListenerBase_1.cs,
3267 ChannelListenerBase.cs, IChannelListener.cs,
3269 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3270 June CTP. Several interface changes.
3271 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3272 * IChannelManager.cs, LayeredChannelListener.cs,
3273 GenericWrapperChannelFactory.cs,
3274 GenericWrapperChannelListener.cs : They are not used anymore.
3276 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3278 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3279 sync fix with June CTP API updates.
3281 2006-07-03 Ankit Jain <jankit@novell.com>
3283 * MessageEncodingBindingElementConverter.cs:
3284 * StandardBindingConverter.cs:
3285 * TransportBindingElementConverter.cs:
3286 * TransactionFlowBindingElementConverter.cs:
3287 * ReliableSessionBindingElementConverter.cs:
3288 * SecurityBindingElementConverter.cs:
3289 Rename *Converter.cs to *Importer.cs
3291 * TransferMode.cs: Move to System.ServiceModel
3293 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3295 * CommunicationObject.cs : make sure to change State before
3296 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3298 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3300 * Message.cs : output WSAddressing xmlns only when Action is
3301 specified (To should be affected, but seems like it is ignored).
3303 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3305 * MessageImpl.cs : don't set Action when it is null.
3307 2006-06-12 Ankit Jain <jankit@novell.com>
3309 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3311 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3313 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3314 some updated API fixes.
3316 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3318 * EnvelopeVersion.cs : moved back to S.SM.
3320 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3322 * IBindingManualAddressing.cs : vanished in beta2.
3323 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3324 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3326 * SecurityBindingElement.cs :
3327 SecurityStandardsManager -> SecurityTokenSerializer.
3329 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3331 * XmlSerializerBodyWriter.cs : new file to handle
3332 TypedMessageConverter.ToMessage().
3334 2006-04-26 Ankit Jain <jankit@novell.com>
3336 * TransportBindingElementConverter.cs (BeforeImport): Remove
3337 NotImplementedException.
3338 (ImportContract): Likewise.
3339 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3341 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3343 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3344 being used was not reflecting that of Binding elements.
3346 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3348 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3349 just assume that it is in the message.
3351 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3353 * HttpReplyChannel.cs : actually HTTP header item might be null.
3355 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3357 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3360 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3362 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3364 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3366 * MessageFault.cs : Fixed SOAP12 reason output.
3368 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3370 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3371 MessageEncoder.ContentType explicitly contains encoding.
3372 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3373 if it is SOAP version dependent.
3375 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3377 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3379 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3381 * HttpChannelFactory.cs BindingContext.cs
3382 HttpChannelListener.cs HttpTransportBindingElement.cs :
3383 Now BindingContext holds MessageEncoder, and non-custom
3384 channel factory/listener should use it.
3385 * MtomMessageEncodingBindingElement.cs
3386 TextMessageEncodingBindingElement.cs
3387 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3388 -Listener() now sets internal BindingContext.MessageEncoder.
3389 Fixed some public API.
3391 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3393 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3394 for insufficient elements.
3395 * DispatchRuntime.cs : OperationDescription name is not action. So
3396 OperationSelector is created by name, not by action.
3397 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3399 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3401 * MessageFaultBodyWriter.cs
3402 XmlReaderBodyWriter.cs
3403 XmlObjectSerializerBodyWriter.cs : made internal.
3404 * SecurityBindingElement.cs
3405 AsymmetricSecurityBindingElement.cs
3406 SymmetricSecurityBindingElement.cs : API fixes.
3407 * TransportBindingElementConverter.cs : ditto.
3408 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3409 * WindowsStreamSecurityBindingElement.cs
3410 SslStreamSecurityBindingElement.cs
3411 TransportSecurityBindingElement.cs : new files.
3413 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3415 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3416 reading can be any xs:boolean value.
3418 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3420 * Message.cs MessageImpl.cs : more sorting out the role of each
3422 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3424 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3426 * Message.cs : don't write body contents if it is empty.
3427 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3428 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3429 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3430 * HttpRequestChannel.cs : close request stream before GetResponse().
3432 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3434 * TextMessageEncoderFactory.cs
3435 TextMessageEncoder.cs : encoder does not hold reference to the
3436 factory anymore. Use MessageVersion property in CreateMssage().
3437 * HttpChannelListener.cs : now it holds message encoder.
3438 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3439 * MessageImpl.cs : header is optional.
3440 * EnvelopeVersion.cs : namespace URI is missing.
3442 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3444 * CustomBinding.cs : removed Initialize().
3445 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3446 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3447 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3448 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3450 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3452 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3453 could be also added by Add() method and could be reset by Remove()).
3454 * MessageImpl.cs : implemented more. As noted above, Now we don't
3455 have to add Action header explicitly.
3456 * MessageHeader.cs : recovered Writer methods and ToString() from
3457 commented old version. Use prefixes for writing.
3458 Use WriteObjectContent() rather than WriteObject() (it needs
3459 DataContractSerializer fix btw).
3461 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3463 * MessageHeader.cs : added missing IsReferenceParameter.
3464 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3465 * MessageHeaders.cs : avoid NullRef when actors is null.
3466 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3467 (ForwardingMessage) reader consumer is being added (not done).
3468 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3469 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3470 * HttpRequestChannel.cs : this channel automatically call Open()
3471 when Request() is called. Set content length for request.
3472 Use MessageEncoder's ContentType to also handle charset.
3474 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3476 * MessageImpl.cs : make them internal.
3477 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3479 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3481 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3482 * HttpChannelListener.cs : removed commented line.
3483 * RequestChannelBase.cs : new base class for request channel classes.
3484 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3485 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3486 * Message.cs : default IsEmpty and IsFault false by default.
3487 * LayeredChannelListener.cs : removed Uri (no chance to set).
3488 * ChannelBase.cs : reimplemented timeout properties.
3489 * HttpRequestChannel.cs : now it is mostly based on
3490 RequestChannelBase. Some more attempt to implement Request().
3492 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3494 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3495 OnInitialize(). Added more BuildChannelListener() overloads.
3497 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3499 * Binding.cs : added some more missing members especially to support
3501 * HttpChannelListener.cs : Uri should not be null.
3502 * HttpTransportBindingElement.cs : implemented
3503 CanBuildChannelFactory() and CanBuildChannelListener().
3504 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3506 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3508 * Binding.cs : updated default namespace property value to Feb. CTP.
3510 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3512 * AddressHeader.cs : avoid null reference when value is null.
3513 * BindingContext.cs : check null ListenUri args.
3515 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3517 * MessageFault.cs : Fixed default action name. Null arg check.
3519 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3521 * BindingElement.cs : Dequeue elements in BindingContext directly.
3522 * BindingContext.cs : Added GetProperty<T>().
3523 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3524 Now we don't need these extra classes, so marked as deprecated.
3526 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3528 * Binding.cs : null arg check.
3529 * AddressingVersion.cs : fixed constants to pass the tests.
3530 * BindingElement.cs : tiny meessage fix.
3532 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3534 * MessageEncodingBindingElement.cs
3535 BinaryMessageEncodingBindingElement.cs
3536 TextMessageEncodingBindingElement.cs
3537 MtomMessageEncodingBindingElement.cs
3538 MessageEncodingBindingElementConverter.cs : several API fixes.
3539 * BindingElement.cs : now if we use generic wrapper it causes
3540 infinite loop, so for now replace it with most-possible-but-
3543 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3545 (back to normal "record-ChangeLogs" mode after the big API change mess)
3546 * HttpTransportBindingElement.cs : fixed minor API differences.
3548 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3550 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3551 SymmetricSecurityBindingElement.cs :
3552 Dependent fixes for System.IdentityModel reorgainzation.
3554 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3556 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3557 IProxyFormatter.cs WSHttpBindingBase.cs
3558 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3559 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3560 WSFederationBinding.cs ISessionChannel.cs
3561 CompositeDuplexBindingElement.cs MessageVersion.cs
3562 MessageHeader.cs IRequestSessionChannel.cs
3563 BindingElementCollection.cs IReplySessionChannel.cs
3564 MessageProperties.cs IDuplexClientChannel.cs
3565 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3566 TcpTransportBindingElement.cs EmptyFaultException.cs
3567 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3568 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3569 ConnectionOrientedTransportBindingElement.cs
3570 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3571 PeerResolverBindingElement.cs Message.cs
3572 HttpsTransportBindingElement.cs BindingElement.cs
3573 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3574 MessageFaultBodyWriter.cs IReplyChannel.cs
3575 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3576 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3577 IRequestContext.cs IInputSessionShutdown.cs
3578 SecurityBindingElement.cs PeerTransportBindingElement.cs
3579 IDuplexSession.cs IChannelInitializer.cs
3580 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3581 AddressingVersion.cs FaultException.cs
3582 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3583 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3584 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3585 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3586 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3587 BindingParameterCollection.cs IInstanceProvider.cs
3588 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3589 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3590 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3591 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3592 moved from System.ServiceModel due to the API changes.
3594 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3596 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3597 HttpChannelListener.cs HttpRequestChannel.cs
3598 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3599 PeerNode.cs ReplyChannelBase.cs :
3600 Feb. CTP API changes - chapter 1.
3602 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3604 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3605 * ReplyChannelBase.cs : now it is based on ChannelBase.
3606 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3607 and check null argument in .ctor().
3608 * HttpReplyChannel.cs : several changes.
3609 Non-async members are mostly implemented.
3610 * HttpChannelListener.cs : no need to receive
3611 IDefaultCommunicationTimeouts.
3612 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3613 to allocate buffer array and int.MaxValue causes OutOfMemory.
3615 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3617 * ClientFramingDecoderState.cs : added missing enum.
3618 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3620 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3622 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3624 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3625 AcceptChannel() has some code now but it needs more love.
3627 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3629 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3630 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3631 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3633 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3635 * HttpRequestChannel.cs : close the streams.
3637 HttpChannelListener.cs : renamed from former to latter.
3639 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3641 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3642 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3643 * HttpListenerFactory.cs : removed obsolete file.
3644 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3645 * ChannelListenerBase_1.cs : implemented virtual stuff.
3646 * CommunicationObject.cs : Open() should not call BeginOpen() and
3647 EndOpen(). Instead, invoke events individually.
3648 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3650 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3652 * HttpRequestChannel.cs : call Flush() after serializing message
3655 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3657 * HttpRequestChannel.cs : implemented pretty hacky Request().
3659 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3661 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3663 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3665 * ChannelFactoryBase.cs : removed some NotImplementedException for
3666 further internal implementation.
3668 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3670 * HttpRequestChannel.cs : new file. mostly not implemented.
3671 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3672 Partly implemented CreateChannel().
3674 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3676 * HttpChannelFactory.cs : (.ctor())
3677 Don't take ChannelBuildContext.
3679 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3681 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3682 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3683 PeerMessagePropagation.cs : updated to Nov. CTP.
3685 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3687 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3688 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3689 StreamSecurityUpgradeAcceptor.cs,
3690 StreamSecurityUpgradeInitiator.cs :
3691 Updated to Nov. CTP API.
3693 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3695 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3697 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3699 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3701 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3703 * ChannelBase.cs : tiny filename fix.
3704 * ChannelListenerBase.cs : added more .ctor()s.
3706 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3708 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3709 ListenerFactoryBase.cs ChannelListenerBase.cs :
3710 updated IListener related stuff to Nov. CTP.
3711 file renaming will come soon.
3713 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3715 * ListenerBase.cs, ChannelListenerBase.cs :
3716 moved from former to latter.
3717 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3718 moved from former to latter.
3720 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3722 * SessionFaultedException.cs : removed in Nov. CTP
3724 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3726 * CommunicationObject.cs : updated to Nov. CTP.
3727 * SessionFaultedException.cs : removed (in Nov. CTP)
3729 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3731 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3734 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3736 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3737 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3738 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3739 * MessageEncoder.cs : largely implemented.
3741 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3743 * IRequestReplyCorrelator.cs : new file.
3745 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3747 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3748 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3749 * MessageEncoder.cs : added misssing ToString().
3751 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3753 * ChannelBehaviorCollection.cs : moved to sys.sm.
3755 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3757 * HttpListenerFactory.cs, HttpListener.cs : new files.
3758 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3759 CommunicationObject.cs, ChannelFactoryBase.cs,
3760 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3762 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3763 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3765 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3767 * ListenerFactoryBase.cs : some implementation.
3769 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3771 * CommunicationObject.cs : more state fixes.
3773 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3775 * CommunicationObject.cs : some state machine fixes.
3777 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3779 * PeerNode.cs, ChannelManagerBase.cs :
3780 several API fixes detected by improved corcompare.
3782 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3784 * LayeredListenerFactory.cs : added missing generic class constraint.
3786 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3788 * ListenerFactoryBase.cs,
3789 ListenerBase.cs : class constraints were missing for generic args.
3791 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3793 * StreamUpgradeInitiator.cs : tiny API fix.
3795 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3797 * PeerMessagePropagationFilter.cs : tiny build fix.
3799 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3801 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3802 added Name. fixed StatusCode type.
3803 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3804 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3805 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3806 DirectionalAction.cs, HostedTransportConfiguration.cs,
3807 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3808 PeerMessagePropagationFilter.cs : added missing files.
3809 * Dummy.cs : removed. MSMQ stuff can be added later.
3811 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3813 * DeliveryStatus.cs, DeliveryFailure.cs,
3814 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3815 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3817 * Dummy.cs : removed above.
3819 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3821 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3823 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3825 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3826 MessageEncoder.cs, BufferManager.cs : new files.
3827 * Dummy.cs : removed above.
3829 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3831 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3832 * Dummy.cs : removed above.
3833 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3835 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3837 * HttpChannelFactory.cs : new file.
3839 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3841 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3842 moved to ../System.ServiceModel (correct location).
3843 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3844 new files for channels.
3845 * Dummy.cs : reflected above changes.
3846 * ChannelManagerBase.cs : added a bit of code and todos.
3848 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3850 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3851 added listener support files.
3852 * Dummy.cs : removed above.
3854 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3856 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3857 added request/reply channel interfaces.
3858 * Dummy.cs : removed above.
3859 * CommunicationObject.cs : FIXME comments.
3861 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3863 * CommunicationObject.cs : implemented some members.
3865 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3867 * CommunicationObject.cs : some signature fixes.