1 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
3 * MessageFault.cs : Write Subcode element correctly and fix wrong
4 Code/Value/Subcode element relationship. Give better error message.
6 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
8 * HttpRequestChannel.cs : ok, no need for conditional code path.
10 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
12 * AddressingVersion.cs : add fault action namespace.
14 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
16 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
19 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
21 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
23 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
25 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
28 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
30 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
32 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
34 * HttpRequestContext.cs : removed HTTP status rewriting for
37 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
39 * HttpRequestChannel.cs : handle only 4xx errors as to not process
42 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
44 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
46 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
48 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
49 Patch by Matt Dargavel.
51 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
53 * HttpListenerManager.cs : use lock object which is subject to
54 change. Fix by Matt Dargavel.
56 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
58 * HttpListenerManager.cs : remove consumed HttpListenerContext from
59 the pending queue. Compare "wsdl" request in case insensitive
60 manner. Patch by Matt Dargavel.
62 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
64 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
65 supposed to provide detailed 400 error message.
67 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
69 * TransactionFlowBindingElement.cs: revamp the previous change to
70 not regress regarding service metadata.
72 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
74 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
75 GetProperty<T>() bug that fails to retrieve properties. (This may
76 be rewritten later if an ongoing change proposal is to take place.)
78 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
80 * ReliableSessionBindingElement.cs,
81 PrivacyNoticeBindingElement.cs,
82 RemoteEndpointMessageProperty.cs : added some missing types.
84 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
87 why does it filter out most of the headers? kill it.
89 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
91 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
92 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
93 to not raise "not found" error (see bug #573795).
95 2010-03-16 Jb Evain <jbevain@novell.com>
97 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
98 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
100 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
102 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
103 type, and use null password unless we find a chance to get password
104 in ASP.NET HttpContext.
106 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
108 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
109 HttpListenerManager.cs : ongoing authentication support. It returns
110 401 as expected, but somehow fails to retrieve user info.
112 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
114 * HttpListenerManager.cs : this change (along with HttpListener
115 implementation) somehow fixes basic auth. connection error...
117 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
119 * MessageHeaders.cs : add !NET_2_1.
121 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
123 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
124 typed UniqueId output.
126 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
128 * MessageHeader.cs : no need to treat EndpointAddress as a special
131 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
133 * MessageHeaders.cs : remove duplicate constant.
135 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
137 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
138 EndpointAddress as a special case. Instead, each MessageHeaders
139 property should convert it to appropriate serializable objects.
141 (Our DataContractSerializer fails to reject EndpointAddress as
142 serializable type, so it's rather a preparation step.)
144 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
146 * MessageHeader.cs, Message.cs : use dictionary string whenever
147 applicable. The binary output on #577139 is getting closer (no
148 idea if it is really about binary output though).
150 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
152 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
154 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
156 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
158 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
160 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
161 enable authentication schemes on monotouch.
163 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
165 * SvcHttpHandler.cs : a wait handle could be used for more than one
166 requests and hence it sometimes blocked one reply channel. Now
167 it creates a wait handle for each ASP.NET request so that such
168 multiple use should not occur. This should fix blocking on
169 concurrent requests (it indeed fixes as long as I can see).
171 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
173 * AspNetReplyChannel.cs : remove garbage output.
175 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
177 * SvcHttpHandler.cs : Use lock when it tries to create the service
180 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
182 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
185 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
187 * HttpListenerManager.cs : add another workaround for blocking
190 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
192 * HttpListenerManager.cs : small refactoring.
194 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
196 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
197 that somehow makes callback client to not cause infinite loop.
199 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
201 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
202 DuplexChannelBase.cs : Receive() should rather use TryReceive().
203 It should not be in reverse order.
205 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
207 * HttpReplyChannel.cs, HttpListenerManager.cs :
208 Implement async cancellation in the expected manner (though with
209 some hack). This mostly removed nunit blockers.
211 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
213 * CommunicationObject.cs : fix wrong status changes.
215 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
217 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
219 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
221 * AddressHeader.cs : implement remaining bits.
222 Eliminate dependency on NetDataContractSerializer.
224 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
226 * CommunicationObject.cs : in Fault(), do similar work as previous
229 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
231 * CommunicationObject.cs : when process state changes, lock the
232 object to make sure the state transition is valid.
233 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
235 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
237 * MessageHeaders.cs : implement SetAction().
239 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
241 * ChannelFactoryBase.cs : fix build.
243 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
245 * ChannelBase.cs : cosmetic API fix for SL3.
247 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
249 * ChannelFactoryBase.cs :
250 implement On{Begin/End}Close() on the generic type.
252 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
254 * HttpChannelFactory.cs, TcpChannelFactory.cs,
255 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
256 PeerChannelFactory.cs, HttpRequestChannel.cs:
257 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
258 type and made required changes.
260 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
262 * HttpCookieContainerBindingElement.cs : new.
263 * IHttpCookieContainer.cs : fix type name.
264 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
266 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
268 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
269 does not happen when communicating with .NET client but happens with
270 mono). Seealso FIXME comment.
271 * TcpDuplexSessionChannel.cs : do not try to close session when it
272 failed to read sized message. The connection is already dead.
276 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
278 * TcpDuplexSessionChannel.cs :
279 Write EndRecord only when the connection is available.
280 Remove hack - do let ChannelDispatcher close the channel.
281 * TcpBinaryFrameManager.cs :
282 The socket may be disconnected when trying to read a sized message,
283 so check some socket exceptions.
284 In case the client silently shuts down without EndRecord and
285 reconnects to the server with preamble while expecting a sized
286 message (which is so lame, but that's what .NET often does), refresh
287 preamble and continue.
289 This fixes some cases of bug #567949 but not all.
291 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
293 * BinaryMessageEncoder.cs : enable workaround buffering only when
294 the argument stream does *not* support seek. This fixes some
295 net.tcp connection problem.
297 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
299 * TcpBinaryFrameManager.cs : If preamble byte is not available from
300 the client stream, detect it to close the reply or input channel.
301 * TcpRequestChannel.cs : send preamble at each request time.
302 It differentiates communication behavior on such cases that involve
303 single open and multiple requests.
304 * TcpReplyChannel.cs : close the channel only when the channel is
305 oeprated to close i.e. do not close the socket every time.
306 Process preambles on each request (the same as request channel).
308 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
310 * TcpBinaryFrameManager.cs : unsized envelope record may have more
311 than one data block, so consume them accordingly. This should fix
312 large buffer consumption.
314 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
316 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
319 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
321 * HttpRequestContext.cs : for DestinationUnreachable message, this
322 channel returns 400 in .NET.
324 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
326 * BinaryMessageEncoder.cs : added workaround for strange stream
327 consumption error raised by HttpTransport + Binary encoder example.
328 * BinaryMessageEncodingBindingElement.cs:
329 only SOAP 1.2 is allowed for this encoder.
331 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
333 * XmlReaderBodyWriter.cs : don't try to write empty xml.
335 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
337 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
338 default WebHeaderCollection items are overwritten.
340 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
342 * HttpRequestChannel.cs : when HTTP response was error, do not try
343 to read message but just raise an error.
345 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
347 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
349 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
351 * HttpRequestChannel.cs : WebException.Response might be null.
353 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
355 * ReplyChannelBase.cs : added listener property.
356 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
357 been updated to prefer async by default, a while ago.
359 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
361 * HttpTransportBindingElement.cs : finished all GetProperty() values.
363 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
365 * HttpRequestChannel.cs : disabled carelessly added
366 "UseDefaultCredentials = false" line. It blocked basic auth.
368 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
370 * HttpRequestChannel.cs, HttpChannelFactory.cs,
371 HttpChannelListener.cs, HttpListenerManager.cs :
372 implemented http client authentication and some of corresponding
373 service code. Only client works so far.
375 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
377 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
378 added URI scheme check.
380 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
382 * TransportSecurityBindingElement.cs : fix 2.1 build.
384 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
386 * HttpsTransportBindingElement.cs :
387 RequireClientCertificate is false by default.
388 Remove extra #if NET_2_1.
389 * SecurityBindingElement.cs :
390 Implement some transport security factory methods.
391 * TransportSecurityBindingElement.cs :
392 It is not ISecurityCapabilities anymore.
394 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
397 SecurityBindingElement.cs
398 LocalClientSecuritySettings.cs
399 TransportSecurityBindingElement.cs
400 FaultConverter.cs : They are now part of SL3 API.
402 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
404 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
406 2009-11-05 Geoff Norton <gnorton@novell.com>
408 * HttpsTransportBindingElement.cs: Implement basic https transport
409 binding support for Moonlight and MonoTouch
411 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
413 * HttpListenerManager.cs : remove CWLs.
415 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
417 * SvcHttpHandler.cs : move back previous listener selector code in
418 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
419 and differentiate requests to deeper paths (such as /jsdebug), so
420 we need such refinement here.
422 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
424 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
427 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
429 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
430 HttpChannelListener.cs, HttpListenerManager.cs :
431 Similar refactoring on ASP.NET side to the previous one.
432 Added ASP.NET implementation of HttpListenerManager and use some
433 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
435 Rewrote AspNetReplyChannel to become almost the same as
436 HttpSimpleReplyChannel, to hopefully unify them later.
437 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
438 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
441 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
443 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
444 Refactoring on listener manager to correctly handle wsdl and help
445 requests for such case that they conflict in addressing. Now it
446 can correctly distinguish service calls, WSDL requests and help
447 requests when all of them point to "http://localhost/foo.svc"
448 (which is very common case that the user does not change Http*Url).
450 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
452 * ChannelListenerBase.cs : add Properties property to add arbitrary
453 properties handy (only inside this assembly).
455 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
457 * HttpReplyChannel.cs : fix warning.
459 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
461 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
463 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
465 * HttpReplyChannel.cs : make sure to release wait lock.
466 * HttpChannelListener.cs : session channels are not supported, so
467 remove relevant NIEs.
469 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
471 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
472 support contexts so we call the non-overloaded WaitOne method
473 (which defaults to false).
475 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
477 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
478 significant rewrite to cooperate wcf handler and asp.net handler
479 to not mix multiple WCF listener within the asp.net handler.
480 So far it mostly works when 1) there are no ChannelDispatchers
481 that have an identical listen Uri and 2) MaxConcurrentSessions is
482 1 (must be explicitly set).
484 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
486 * CommunicationObject.cs : give better state error description.
488 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
490 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
491 to base methods. This resulted in not a few changes everywhere.
493 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
495 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
497 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
499 * SvcHttpHandler.cs : use file path given by the factory to
500 construct BaseAddresses. Requests to "test.svc/jsdebug" should
501 not be handled as request to "jsdebug" file, it's rather an
502 "argument" to "test.svc".
504 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
506 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
507 rewrite to handle shutdown situation better. The listeners should
508 not close channels that it opened. Instead, just stop accepting
509 further requests. Removed blocking mutex on WaitForRequest().
510 Now xsp shuts down as expected.
512 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
514 * HttpReplyChannel.cs : lock list when releasing its content contexts.
515 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
518 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
520 * SvcHttpHandlerFactory.cs : remove todo.
521 * ReplyChannelBase.cs : add comment.
523 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
525 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
526 revert the change, to use internal asp.net state again.
527 * SvcHttpHandler.cs : add VirtualPathExtension.
529 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
531 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
532 asp.net response was not written correctly.
533 Fill HttpRequestMessageProperty to get handle WSDL requests
534 processed in ServiceMetadataExtension without NRE.
535 Remove wrong HttpListenerContext iteration at Abort and Close in
536 common base class and move it to non-asp derived channel.
538 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
540 * SvcHttpHandler.cs : remove unused code.
542 2009-09-30 Jb Evain <jbevain@novell.com>
544 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
545 to use any of the remoting features.
547 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
549 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
550 use AspNetCompatibilityEnabled.
551 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
553 * AspNetReplyChannel.cs : remove extra field.
555 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
557 * HttpReplyChannel.cs : remove extra field.
559 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
561 * AspNetRequestContext.cs : remove CWL.
563 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
565 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
566 only after AspNetRequestContext is closed. Do not close it
567 immediately after receiving the context. (HttpRuntime destructs it
568 and further uses then becomes impossible.)
570 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
572 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
573 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
574 Make sure that AspNetChannelListener is bound to correct
575 SvcHttpHandler, regardless of specific request URI. It is required
576 for both WSDL requests and RESTful binding requests.
578 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
580 * MessageProperties.cs : fix CopyProperties() behavior to not
581 clear existing items. Make all properties call this[name].
583 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
585 * HttpTransportBindingElement.cs : fix 2.1 build.
587 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
589 * TransportBindingElement.cs : another GetProperty fix, iterate
590 other binding elements.
592 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
594 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
595 some GetProperty() implementation.
597 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
599 * HttpListenerManager.cs : release HttpListener and avoid extra
600 close process more than once.
602 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
604 * HttpChannelListener.cs : do not iterate channel list to close
605 channels which in turn removes them from the list while iteration.
607 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
609 * HttpRequestChannel.cs : Fix message version member comparison.
610 Double-quote SOAPAction. Remove extra Exception.
611 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
612 * HttpRequestContext.cs : when addressing is None, remove action
615 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
617 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
618 path, to pick those endpoints that are added at custom factories.
620 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
622 * SvcHttpHandler.cs : apply configuration, and if there is still no
623 endpoint, then add default one.
625 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
627 * SvcHttpHandler.cs : another URL to make relative.
629 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
631 * SvcHttpHandlerFactory.cs : some GetHandler changes.
632 * SvcHttpHandler.cs : significant changes on receiver structure. Now
633 ProcessRequest() stores pending requests (this might be extraneous,
634 but maybe useful when it implements async handler). Also removed
635 reply_channel field as it may become to handle multiple requests.
636 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
637 * AspNetReplyChannel.cs : make it receive requests like
638 HttpReplyChannel (for HttpListener) to make them consistent.
640 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
642 * AspNetRequestContext.cs, HttpRequestContext.cs :
643 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
644 by splitting HttpListener-based context out from common code base.
646 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
648 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
649 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
652 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
654 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
655 loads types from system assemblies appropriately.
657 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
659 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
662 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
664 * HttpRequestMessageProperty.cs : fix default values.
666 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
668 * HttpChannelFactory.cs, HttpRequestChannel.cs,
669 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
670 Check ManualAddressing value and reject address-missing ones.
672 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
674 * HttpChannelFactory.cs : reject URI mismatch cases when required.
676 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
678 * PeerDuplexChannel.cs : When received Connect() from neighbor,
679 add the peer to its internal list.
680 Finally ChatApplication got working.
682 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
684 * PeerDuplexChannel.cs : since the channel factory is per instance,
685 do not reuse factory that is tied to different callback instance.
686 It resolved the issue that mono callback client didn't receive
687 messages from the client itself.
689 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
691 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
692 of the receiver, not the requestor. It resolved the issue that
693 .NET client didn't send further messages to mono server.
695 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
697 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
698 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
699 TcpReplyChannel.cs, TcpRequestChannel.cs,
700 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
701 rename EndRecord handling method to appropriate one.
702 Write EndRecord from recipient too.
704 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
706 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
707 Process PeerTo header to upgrade Message To header. Now mono
708 service accepts mono client (somehow not true for .NET client).
710 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
712 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
713 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
715 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
717 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
719 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
721 * TcpDuplexSessionChannel.cs : check channel state before processing
724 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
726 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
727 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
728 ongoing works, not working at all yet.
730 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
732 * TcpChannelListener.cs, TcpReplyChannel.cs :
733 cosmetic cleanup and corrections.
735 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
737 * TcpChannelFactory.cs : use expected Via uri.
738 Remove extra NIE stuff that are implemented in base.
740 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
742 * TcpDuplexSessionChannel.cs : remove extra code.
744 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
746 * PeerDuplexChannel.cs : ongoing implementation towards get callback
747 replies on peer connector clients (not working as duplex client
748 callback is not working yet).
750 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
752 * TcpDuplexSessionChannel.cs : in callback client channels,
753 OperationContext.IncomingMessageHeaders is null.
755 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
757 * MessageHeaders.cs : duplicate check was sloppy.
759 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
761 * Message.cs, MessageImpl.cs, BodyWriter.cs :
762 Implement BodyWriter.OnCreateBufferedCopy() and use it.
764 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
766 * ReplyChannelBase.cs : initialize field.
768 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
770 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
771 implement GetProperty<T>() and return its channel manager.
773 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
775 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
776 destination address in Connect() request. To repeat sending
777 request, use buffered copy. Set some peer-channel specific
778 header items. (todo: and consume them.)
780 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
782 * Message.cs : state is set only after WriteBodyContents().
784 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
786 * MessageHeaders.cs : eliminate wrong use of
787 ReadElementContentAsString() (it is not always simple string).
789 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
791 * MessageHeaders.cs : when the value is null, do not try to
792 deserialize EndpointAddress.
794 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
796 * MessageHeader.cs : add Value property. (Forgot dependent change.)
798 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
800 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
801 serialization and deserialization of values.
803 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
805 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
806 Now simply use connector contract.
808 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
810 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
812 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
814 * TcpChannelListener.cs : do not try to compare dead connection's
815 IPEndPoint (it raises an error).
817 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
819 * MessageHeaders.cs : allow null header value on each specific setter.
821 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
823 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
824 get local and remote address of connected counterpart to get
825 callback channel connected.
826 * PeerDuplexChannel.cs : remove FIXME wrt above.
828 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
830 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
832 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
834 * MessageHeader.cs : fill IsReferenceParameter.
836 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
838 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
839 implement remaining async methods and LocalAddress.
841 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
843 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
844 ServiceHost to process neighbor connection (not sure if this is
845 right way to go though ...).
847 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
849 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
850 connection part to use new internal IPeerConnectorContract for
853 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
855 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
856 PeerChannelListener.cs, HttpChannelListener.cs :
857 support ListenUri accordingly too so that it could be used when
858 it is different from LocalAddress.Uri.
860 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
862 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
863 TcpRequestChannel.cs : use Via uri to validate and connect.
865 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
867 * RequestChannelBase.cs, DuplexChannelBase.cs :
868 Return endpoint address Uri when no explicit Via uri is specified.
869 * ChannelFactoryBase.cs : Remove extra async close methods.
870 Add async open methods. Reject null EndpointAddress.
871 * PeerChannelFactory.cs : remove async open methods (now in base).
873 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
875 * PeerDuplexChannel.cs : set correct message endpoint (To header).
877 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
879 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
880 DuplexChannelBase.cs : set LocalAddress property at base.
882 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
884 * PeerDuplexChannel.cs : ongoing refactoring to work both as
885 listener and client. Now it creates a listening peer node, and
886 creates a set of TCP client channels for each peer in the mesh.
888 (EndpointAddress must be fixed to not filter out correct inputs).
890 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
892 * PeerChannelListener.cs : do not accept more than one channel
893 which results in lots of listening peer node. Only one is enough.
895 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
897 * DuplexChannelBase.cs : fix wrong loop implementation.
899 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
901 * TcpChannelListener.cs : to avoid creating two or more channels
902 for one remote endpoint, check existing remote endpoints and
903 ignore such connections (it must be handled in different thread
904 fired by ChannelDispatcher loop).
906 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
908 * TcpReplyChannel.cs : make sure to not try to receive request when
909 it is already closed.
911 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
913 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
914 some mannerless clients [*1] do not send EndRecord accordingly, but
915 such channels at listener side should not be kept open. So, close
916 disconnected channels when the listener needs to accept another
918 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
920 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
922 * TcpDuplexSessionChannel.cs :
923 Remove extra NIE overrides.
924 Implement OnAbort() apart from OnClose().
925 For duplex session channel, unlike reply channel, it must acquire
926 TCP connection before OnOpen(), otherwise ChannelDispatcher
927 releases the connection acceptance WaitHandle and the detected
928 live connection may be stolen by another channel acceptor.
930 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
932 * HttpRequestChannel.cs : implement OnAbort().
934 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
936 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
937 * DuplexChannelBase.cs : comment out some extra fields (so far).
938 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
940 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
942 * PeerCustomResolverBindingElement.cs : add some null checks.
944 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
946 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
947 Acquire TcpClient for each request/reply. Now it is fully
948 interoperable with .NET.
950 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
952 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
953 ReplyTo and MessageId (though it is session-less), and it expects
954 EndRecord at weird stage, inconsistent with [MC-NMF]...
955 Now .NET service accepts one mono client request.
957 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
959 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
960 Send and receive unsized message terminator at once.
961 Send EndRecord mutually. Got one .net client request working.
963 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
965 * BinaryMessageEncoder.cs : revert the previous dictionary change.
966 They are indeed used for non-in-band-dictionary messages.
968 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
970 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
971 split out binary frame manager class into separate file.
973 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
975 * TcpReplyChannel.cs : new reply channel implementation.
976 * TcpChannelListener.cs : use above for streamed reply channel.
977 * TcpDuplexSessionChannel.cs : more streaming mode support.
978 * TcpRequestChannel.cs : a couple of updates to get it working
979 with the reply channel above. Still some issues on .NET interop.
981 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
983 * RequestContext.cs : added internal derived class that implements
986 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
988 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
991 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
993 * PeerDuplexChannel.cs: add the registered node itself to peer list.
994 (The messaging must be done as TCP request/reply pattern, so it's
997 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
999 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1000 messaging pattern). The messaging part is not working yet.
1001 * TcpChannelFactory.cs : support IRequestChannel.
1002 * TcpDuplexSessionChannel.cs : add unsized message support.
1004 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1006 * HttpRequestChannel.cs, RequestChannelBase.cs :
1007 A couple of async members are now implemented in the base class.
1008 Ditto for EndpointAddress and Via.
1010 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1012 * PeerDuplexChannel.cs : now it implements some of node management
1013 functionality and Send operation. The receiver part is not yet.
1015 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1017 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1018 timeout to channel constructor. it does not make sense.
1020 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1022 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1023 as common interface member, and use binary encoder (not text).
1025 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1027 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1029 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1031 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1032 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1033 going to be unified to PeerDuplexChannel. And it is likely that
1034 input and output functionalities are to be unified too.
1036 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1038 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1039 may have to reuse it for peer transport.
1040 * PeerChannelListener.cs : add binding member.
1041 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1043 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1045 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1046 PeerChannelFactory.cs : close opened channels at OnClose() as
1047 documented. Implement async methods.
1048 * PeerChannelListener.cs : removed some NIE overrides.
1050 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1052 * DuplexChannelBase.cs : some more async methods.
1054 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1056 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1058 * TcpChannelListener.cs : accept multiple channels at a time.
1060 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1062 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1063 session strings but output only those new ones in current message.
1064 This fixes inconsistent body output in repetitive use of sender.
1066 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1068 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1069 operation that does not involve session.
1070 Preserve writer session as well as reader session.
1071 * MessageHeaders.cs : take name and namespace into consideration
1072 when creating a serializer.
1074 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1076 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1077 Made required changes for repeated use of message exchanges.
1078 Hold binary reader session. The channels use it incrementally.
1079 Preambles are handled at Open, and EndRecords are handled at
1080 Close, Add session shutdown hook here (not working yet though).
1082 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1084 * ChannelListenerBase_1.cs : added cancellation hook here too.
1085 HttpChannelListener.cs : use above.
1086 Do not allow parallel channel creation (this listener does not
1087 allow more than one AcceptChannel().
1089 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1091 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1092 Add cancellation hook for async TryReceiveRequest.
1094 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1096 * HttpChannelListener.cs, HttpListenerManager.cs :
1097 slightly improved BuildChannelListener().
1098 Implement OnAbort() and differentiate it from OnClose().
1100 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1102 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1104 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1106 * DuplexChannelBase.cs : simple async delegate calls here too.
1108 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1110 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1112 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1114 * HttpReplyChannel.cs : cosometic simplification.
1116 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1118 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1119 infinite block in 2.0 profile.
1121 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1123 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1124 more careful close to avoid NRE.
1126 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1128 * HttpChannelListener.cs : do not Close() more than once (though
1129 it is allowed to call it twice, we don't reject it; just ignore).
1131 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1133 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1135 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1137 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1138 Temporarily disable HTTP Keep-Alive since it somehow results in
1139 wrong reuse of connection (shown as NRE in HttpConnection).
1140 Make sure to close RequestContext which was created from it.
1141 * HttpRequestContext.cs : simplify.
1143 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1145 * HttpChannelListener.cs, TcpChannelListener.cs,
1146 ChannelListenerBase_1.cs : put common internal listener base
1147 and let it handle those async stuff.
1149 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1151 * ReplyChannelBase.cs : fix wrong null delegate check point.
1153 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1155 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1156 now implemented as virtual in base class. Remove NIEs in http.
1158 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1160 * HttpChannelListener.cs : hack async implementation.
1162 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1164 * HttpListenerManager.cs : oops, extra line removal.
1166 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1168 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1170 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1172 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1173 "ChannelManager" is confusing (there is ChannelManagerBase).
1175 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1177 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1178 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1179 they should be split into separate listener->reply channel lines
1180 (remove "if (HostingEnvironment.IsAspNet)".)
1182 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1184 * CommunicationObject.cs : OnClosed() requires call to base method.
1185 Close() could rather abort the channel, and Abort() does not
1186 always invke OnAbort().
1187 * ChannelBase.cs : add call to base as above.
1189 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1191 * ClientAccessPolicy.cs: Removed
1192 * CrossDomainAccessManager.cs: Removed
1193 * CrossDomainPolicy.cs: Removed
1194 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1195 since this is now done inside the BeginGetResponse call (outside
1196 this assembly) for Moonlight (NET_2_1)
1198 2009-06-04 Alan McGovern <amcgovern@novell.com>
1200 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1201 instead of the sync apis. Prevents a possible deadlock condition in
1204 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1206 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1207 callbacks, so add hacky ones.
1209 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1211 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1212 true when socket input is not available.
1214 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1216 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1217 I cannot precisely identify when EndRecord should be consumed,
1218 so allow it at either at the end of ReadSizedMessage() or on
1219 consuming preamble (it's likely handling EndRecord of previous
1222 Now duplex IPeerResolverContract communication works between
1223 either of .NET/Mono client and .NET/Mono server.
1225 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1227 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1228 code. Handle preamble ack on ReadSizedMessage() only at server.
1229 Consume EndRecord from server, at client side. Though it is likely
1230 changed as it's blocking when mono is at server side.
1232 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1234 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1235 different protocol than existing code with related to preamble ack.
1236 So changed it to work fine with .NET client (finally).
1238 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1240 * MessageBufferImpl.cs : do not output Action twice.
1242 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1244 * MessageBufferImpl.cs : it did not copy headers.
1245 * Message.cs : remove 2_1 conditional implementation for buffered
1246 copy and hence remove bogus code.
1248 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1250 * MessageProperties.cs : copy argument is wrong.
1252 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1254 * PeerCustomResolverBindingElement.cs : some argument check.
1256 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1258 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1259 xml open, so close the writer as well as open elements.
1260 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1261 Do not output EndRecord and SizedMessage at a time.
1263 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1265 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1266 length of the SizedMessage in the output.
1268 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1270 * CommunicationObject.cs : use sane default timeout.
1271 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1272 * TcpDuplexSessionChannel.cs : ditto.
1274 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1276 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1277 only accepts buffered messages, so do as such for write buffers.
1278 Add RelatesTo header.
1280 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1282 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1283 rename from former to latter.
1285 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1287 * TcpDuplexSessionChannel.cs : reader does not always return full
1288 buffer (depending on the stream).
1290 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1292 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1294 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1296 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1299 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1301 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1303 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1305 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1307 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1309 * ChannelManagerBase.cs : fix wrong session channel detection.
1311 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1313 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1314 This encoder factory implements CreateSessionEncoder() and binary
1315 encoder does support session transmit, in different media type.
1316 * ChannelManagerBase.cs : added utility method to create appropriate
1318 * HttpChannelFactory.cs, HttpChannelListener.cs,
1319 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1320 PeerChannelFactory.cs, PeerChannelListener.cs,
1321 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1323 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1325 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1327 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1329 * DuplexSessionBase.cs : new file, for session implementation.
1330 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1331 DuplexSessionChannelBase.cs : changed sync/async implementation
1332 pattern. Now async methods call sync methods using delegates.
1334 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1336 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1337 a few minor API fixes.
1339 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1341 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1343 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1345 * TcpDuplexSessionChannel.cs : add To header.
1347 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1349 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1352 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1354 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1356 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1358 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1359 CommunicationException in each CreateFault().
1361 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1363 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1364 Open(). Some (but not all yet) continuous communication works now.
1365 Use ProtocolException. Remove dummy binary session string.
1367 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1369 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1370 sending/receiving SizedMessageRecord parts to manager class.
1371 Handle writer session, though it is likely broken at dictionary
1372 writer part (no string is written so far).
1373 * BinaryMessageEncoder.cs : add writer session and rename reader
1376 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1378 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1379 is mandatory in initiator preamble packet. Handle Fault reply in
1382 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1384 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1385 based communication under TcpBinaryFrameManager class.
1387 2009-05-13 Jb Evain <jbevain@novell.com>
1389 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1390 from a StringReader.
1392 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1394 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1395 actually eliminate DOM-based implementation too in 2.0.
1397 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1399 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1400 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1401 comments for magic numbers based on [MC-NMF].
1403 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1405 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1406 support for [MC-NBFSE] record in [MC-NMF], in this class.
1408 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1410 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1412 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1414 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1416 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1418 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1420 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1422 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1424 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1426 * BinaryMessageEncoder.cs : use quotas in binding element.
1427 Implement WriteMessage().
1429 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1431 * PeerCustomResolverBindingElement.cs : do initialize field.
1433 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1435 * PeerCustomResolverBindingElement.cs :
1436 implement full custom resolver.
1438 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1440 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1441 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1442 PeerChannelFactory.cs : ongoing p2p channel implementation.
1444 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1446 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1448 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1450 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1451 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1452 implement GetProperty<T>(). Return documented objects or null.
1454 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1456 * PeerChannelFactory.cs, PeerChannelListener.cs,
1457 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1458 PeerInputChannel.cs, PeerOutputChannel.cs :
1459 new; ongoing peer transport implementation.
1460 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1461 MsmqOutputChannel.cs, OutputChannelBase.cs,
1462 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1463 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1464 several internal changes (either required or for simplification)
1465 for ongoing peer transport implementation.
1467 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1469 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1471 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1473 * TcpTransportBindingElement.cs : check build-ability before
1474 actually building channels.
1475 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1476 conditions according to MSDN.
1478 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1480 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1481 handle headers in SL2. Slightly changed 3.0 code too.
1483 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1485 * HttpRequestChannel.cs : use cross domain access manager.
1487 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1489 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1490 message as BodyWriter.
1491 (in GetReaderAtBodyContents) just write body contents.
1492 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1494 Add some state check in GetReaderAtBodyContents().
1495 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1497 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1499 * Message.cs : do not forget to flush.
1500 * HttpRequestChannel.cs : give more exact error info.
1502 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1504 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1505 make buffered copy in ML2 really buffered.
1507 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1509 * Message.cs : if there is no header item to write, do not write
1510 SOAP header element.
1512 2009-01-22 Alan McGovern <amcgovern@novell.com>
1514 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1515 Rewrite to avoid usage of it.
1517 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1519 * ChannelParameterCollection.cs : implement, rather than NIE.
1521 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1523 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1524 internal users to know the type of the detail.
1526 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1528 * Message.c: Use private setter for state private variable to ease debugging.
1529 Modify ToString not to change the state, as it is called quite often by VS debugger
1531 2008-04-21 Roei Erez <roeie@mainsoft.com>
1533 * HttpChannleManager: Fix for multithreaded use.
1534 * HttpReplyChannel: Fix crash during sutdown.
1536 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1538 * HttpChannleManager: ensure trailing slash in uri.
1540 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1542 * added: HttpChannleManager,
1543 * HttpChannelListener: added use of HttpChannelManager
1545 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1547 * MessageEncodingBindingElement.cs: fixed ctor
1549 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1551 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1553 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1555 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1557 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1559 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1561 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1563 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1565 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1567 * BindingElementCollection.cs: fix API - .ctor's signature.
1569 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1571 * XmlSerializerBodyWriter.cs: Removed.
1573 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1575 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1577 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1579 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1580 * TcpChannelFactory.cs, TcpChannelListener.cs :
1581 unify factory and listener into TcpChannelInfo for use in
1582 TCP channel implementation. Do not store stream in the listener.
1583 Factory now uses BinaryMessageEncoder.
1584 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1585 holds TcpClient that the listener has accepted.
1587 tcp-transport-binding-element sample now communicates (though
1588 only when both sides are mono: there seems binary mismatch).
1590 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1592 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1593 clone connection pool settings too.
1594 * NamedPipetransportBindingElement.cs,
1595 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1596 being likely implemented though).
1598 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1600 * ConnectionOrientedTransportBindingElement.cs,
1601 TcpTransportBindingElement.cs : some API updates.
1602 Initialize default values.
1603 * TcpConnectionPoolSettings.cs : new file.
1605 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1607 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1608 added support for "factory" attribute.
1610 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1612 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1614 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1616 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1618 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1620 * HttpRequestChannel.cs : create WebRequest against To message header
1622 Consider HttpRequestMessageProperty.
1623 Do not output body when suppressed or the method is GET.
1625 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1627 * HttpChannelListener.cs : BindingContext may not have listenUri
1628 at its .ctor() step.
1630 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1632 * BindingContext.cs : RemainingBindingElements is not just a dummy
1633 collection but is actually user-controlled.
1635 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1637 * TcpChannelFactory.cs, TcpChannelListener.cs,
1638 HttpChannelFactory.cs, HttpChannelListener.cs,
1639 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1640 TextMessageEncodingBindingElement.cs,
1641 BinaryMessageEncodingBindingElement.cs,
1642 MtomMessageEncodingBindingElement.cs :
1643 message encoder should be retrieved only through public API.
1644 * BindingContext.cs : so my old guess was wrong.
1646 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1648 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1650 * HttpTransportBindingElement.cs : implemented copy constructor.
1652 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1654 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1655 header when AddressingVersion is None.
1657 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1659 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1662 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1664 * OneWayBindingElementImporter.cs
1665 CompositeDuplexBindingElementImporter.cs : new files.
1667 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1669 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1670 semantic change, its bool parameter must be false, not true.
1672 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1674 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1675 new files. Msmq transport listener Implementation.
1676 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1677 (wait for System.Messaging impl.)
1678 * HttpReplyChannel.cs : added comment
1680 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1682 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1683 new files. internal stuff for msmq channel.
1684 * BinaryMessageEncoder.cs : added another .ctor().
1685 * MsmqTransportBindingElement.cs :
1686 implemented [Can]BuildChannelFactory().
1688 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1690 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1691 initialize some fields.
1693 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1695 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1696 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1697 couple of msmq stubs.
1699 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1701 * SecureMessageGenerator.cs : SecurityContextToken support (though
1702 it is still regarded as invalid by WCF).
1704 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1706 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1707 make header.Contents.Add() more strict.
1708 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1710 Added some hack to allow ssl token external mode.
1711 Commented out such lines that always premised asymmtric key.
1713 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1715 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1717 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1719 * MessageSecurityBindingSupport.cs : support check to create
1720 authenticator is now done in both initiator/recipient sides.
1721 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1723 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1725 * MessageSecurityBindingSupport.cs : for now, comment out the code
1726 that makes authenticator creation optional.
1727 * SecurityRequestContext.cs : don't decrypt message when it is
1728 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1730 * SecurityChannelListener.cs : GetProperty<T>() now returns
1731 MessageSecurityBindingSupport when requested. It is used by
1732 EndpointDispatcher to check if it supports WS-Trust negotiation.
1733 * ChannelListenerBase.cs :
1734 removed extra TODO and field. Implemented GetProperty<T>().
1735 * Message.cs : In CreateMessage() for SOAP Fault, create
1736 SimpleMessage with IsFault = true.
1738 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1740 * SecurityRequestContext.cs : try to reply fault with the inner
1741 channel when an error occurred internally.
1742 * FaultConverter.cs : implemented based on OperationContext (at normal
1743 state it does not seem to create messages, so I implemented it this
1746 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1748 * TransportBindingElement.cs : implemented GetProperty<T>().
1749 * TransactionFlowBindingElement.cs : on building factory or listener,
1750 reject channel types that cannot build.
1751 * SecurityBindingElement.cs : added some TODO comments.
1752 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1753 delegate to base, not BindingContext.
1754 * SecurityRequestContext.cs : somewhat late decryption.
1756 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1758 * MessageSecurityBindingSupport.cs,
1759 AsymmetricSecurityBindingElement.cs,
1760 SymmetricSecurityBindingElement.cs :
1761 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1762 implemented ISecurityCapabilities on them. Now those binding
1763 elements support GetProperty<ISecurityCapabilities>().
1765 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1767 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1768 will work only for predefined parameter types.
1770 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1772 * MessageSecurityBindingSupport.cs :
1773 Set proper MessageDirection to the requirement after creation.
1774 split CreateTokenAuthenticator() as MessageDirection is different.
1775 Removed extra creation of requirement.
1777 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1779 * MessageSecurityBindingSupport.cs : token authenticator is not
1780 always created on channel-opening stage.
1781 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1782 Sslnego binding factory method.
1784 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1786 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1787 signature velification failure.
1789 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1791 * SecureMessageGenerator.cs : encrypt signature confirmations only
1792 when they are required.
1794 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1796 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1797 when [Signature Protection is true i.e. when we use
1798 SignBeforeEncryptAndEncryptSignature.
1800 With this change finally samplesvc.cs/samplecli.cs became
1803 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1805 * SecureMessageDecryptor.cs : signature verification was not done
1806 for endorsing supporting tokens.
1807 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1808 in the security header. Don't output empty ReferenceList.
1810 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1812 * SecureMessageGenerator.cs : signingToken was added before being
1813 initialized and thus caused NRE.
1815 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1817 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1818 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1819 don't need workaround for symmetric key restoration.
1821 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1823 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1824 SecureMessageGenerator.cs :
1825 Avoid extra reference search from the request's ReferenceList.
1826 create HMACSHA1 always with the key to compute hash (I'm not sure
1827 it is correct; it is rather to adjust all hash consistent.)
1829 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1831 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1832 actually endorsed the primary signature.
1833 * SecureMessageGenerator.cs : implemented endorsing of the primary
1834 signature. So, now supporting tokens are fully implemented.
1836 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1838 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1839 totally signing tokens.
1840 * SecureMessageGenerator.cs : Endorsing tokens should also be
1841 included in the message. They are just not signed.
1843 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1845 * SecureMessageGenerator.cs : support signing and encryption of
1846 supporting tokens. Some required refactory to do it.
1847 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1849 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1851 * SecureMessageDecryptor.cs : fix exception message.
1852 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1853 XmlNamespaceManager is not required for GetIdElement().
1855 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1857 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1858 moved decryption part from former file to latter file, to reuse
1859 SignedXml instance (though now I doubt how it actually was good)
1860 which in turn required to replace EncryptedData in
1861 WSSecurityMessageHeader with decrypted one.
1862 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1864 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1866 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1867 EncryptedData should contain KeyInfo as it is not obvious which key
1868 is used there. .net<->mono DerivedKeyToken introp is done.
1869 * SecureMessageDecryptor.cs : check derived key requirement.
1870 Reduce dom-dependent parts.
1872 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1874 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1875 the related DerivedKeyToken (if any).
1876 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1877 support. Some refactoring to distinguish deried-token-related
1879 * SecureMessageDecryptor.cs : removed its own support for derived
1880 key tokens. Now it fully works with DerivedKeySecurityToken.
1882 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1884 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1885 SecureMessageDecryptor.cs :
1886 Implemented increment token reading in o:Security, as
1887 DerivedKeyToken could reference to existing wrapped key.
1888 Removed WsscDerivedKeyToken and all relevant code.
1889 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1890 DerivedKeySecurityToken.
1892 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1894 * SecureMessageGenerator.cs : it was setting security tokens into
1895 incorrect SecurityMessageProperty.
1896 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1897 Now it uses SecurityRequestContext instead of just primary key.
1898 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1899 to symmetric reply decryption, which is the only trouble case.
1900 Do not create another SignedXml.
1901 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1903 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1905 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1906 the resolver works with in-progress token reading in o:Security.
1907 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1908 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1909 * SecureMessageGenerator.cs : cosmetic refactoring.
1911 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1913 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1914 instead of EncryptedKey.
1916 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1918 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1919 should not be always prepared at channel Open(). It also caused
1920 that extra token requirements.
1921 * SecureMessageGenerator.cs : use correct key clause for encryption.
1922 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1924 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1926 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1927 for supporting 'supporting tokens' .
1928 * SecureMessageGenerator.cs : Supporting token creation is done only
1929 at initiator (not sure if it is supposed that, but for now it is).
1930 Removed extraneous CollectSupportingTokens().
1931 * SecureMessageDecryptor.cs : implemented supporting token
1932 authentication (partly). "Signed" supporting tokens are expected
1935 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1937 * SecureMessageGenerator.cs :
1938 make SignBeforeEncryptAndEncryptSignature working.
1940 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1942 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1943 the key itself. ProtectionToken is WrappedKey.
1944 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1945 not EncryptedKeyIdentifierClause which is not for embedded key.
1946 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1948 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1950 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1951 to switch asymmetric and symmetric. Not used yet.
1952 * SecurityRequestChannel.cs : now it pass the request security
1953 property to reply receiver so that it could use the primary key
1954 used at request phase.
1955 * SecurityRequestContext.cs : now it pass the context itself to
1956 reply sender so that it could embed related MessageID.
1957 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1958 binding element. Add RelatesTo output and remove MessageID when
1959 replying to the sender. Added some hacks to get symmetric binding
1961 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1962 in SecurityTokenReference (it also involved existing encrypted key
1963 retrieval). In reply receiver, reuse the key that was used at
1964 request phase. It needs significant token resolution refactoring.
1966 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1968 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1969 * SecureMessageDecryptor.cs : store token and its authentication
1970 policies into the security property, and reuse it on reply.
1971 Some code refactoring; there is at most one o:Security to solve at
1972 one endpoint (depends on Actor). Some attempt to use correct
1973 token parameters (but for now I have only samples that use x509).
1974 * SecureMessageGenerator.cs : For replying message, use initiator's
1975 signing token as the encryption token. Simply reuse security
1976 property from the input message.
1978 I have some nasty workaround at decryptor for initiator that could
1979 not retrieve decryption key.
1981 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1983 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1984 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1985 several refactoring on token acquisition. Large part of
1986 MessageSecurityBindingSupport code is unified.
1988 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1990 * MessageProperties.cs : Security property should be one of the items.
1991 Actually many other properties should be similar as well.
1992 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1993 when copying a message, copy properties as well.
1994 * SecurityRequestContext.cs : on replying, pass input
1995 SecurityMessageProperty to the security generator.
1996 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1998 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2000 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2003 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2004 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2005 use new WSSignedXml instead of SignedXml, and remove coexisting
2006 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2007 - our reply messages could be consumed by .NET, and
2008 - .NET signature could be verified.
2010 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2012 * SecureMessageDecryptor.cs : The signing key must be passed as
2013 CheckSignature() argument, not SigningKey.
2015 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2017 * MessageImpl.cs : don't read attribute after ReadStartElement().
2019 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2021 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2022 * SecureMessageGenerator.cs : use correct signing key clause for
2023 SecurityTokenReferenceKeyInfo to be serialized.
2024 * SecureMessageDecryptor.cs : now it can try to parse signature.
2026 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2028 Ongoing changes to support signature confirmation
2029 * SecureMessageGenerator.cs :
2030 Don't output ReplyTo onto reply message.
2031 Write SignatureConfirmation if needed.
2032 * SecureMessageDecryptor.cs :
2033 Some refactoring for header cunsumption. Added commented-out
2034 signature verification part (not working yet, on client side due
2035 to incorrect reply from service and insufficient clause reader).
2036 * WSSecurityMessageHeader.cs :
2037 Added SignatureConfirmation support.
2038 KeyInfoClause for o:SecurityTokenReference should be replaced with
2039 SecurityTokenReferenceKeyInfo.
2041 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2043 * SecureMessageGenerator.cs : support Timestamp signature.
2044 Removed unused code, and extra argument in CreateReference().
2045 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2047 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2049 * SecureMessageGenerator.cs :
2050 Several fixes to make asymmetric binding working:
2051 - Differentiate signing and encryption token in several areas.
2052 - Fixed signing keyinfo.
2054 Added initial SecurityMessageProperty handling, not sure if it is
2055 appropriate here though.
2056 * HttpRequestChannel.cs : (some debugging lines)
2058 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2060 Woohoo! Here is a very basic WS-Security compliant message which could
2061 be allowed by Indigo.
2062 * MessageHeader.cs : added Id support for writing.
2063 * Message.cs : added internal BodyId for signature reference.
2064 * MessageImpl.cs : write Body Id if required.
2065 * SecureMessageGenerator.cs : Before signing, the target elements must
2066 be given wsu:Id. Since I still use System.Security.dll, I need some
2067 trick for signing (I give both Id and wsu:Id, former to sign and
2068 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2069 implementation later. Now singning mechanism works except for
2070 wsu:Timestamp (which is kind of mandatory).
2072 I can's still consume replies from Indigo but it's a big progress :)
2074 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2076 * MessageHeaderInfo.cs : added internal Id.
2077 * MessageHeader.cs : read and write wsu:Id.
2078 * Message.cs : output wsu namespace if Id exists in any header.
2079 * HttpReplyChannel.cs : (some debugging lines.)
2080 * SecureMessageDecryptor.cs : (remove debugging lines.)
2081 * MessageImpl.cs : removed obsolete code.
2082 * WSSecurityMessageHeader.cs : output "o" prefix.
2083 * SecureMessageGenerator.cs : replaced XmlElement-based header
2084 signing with MessageHeader-based signing, to support Id correctly.
2086 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2088 * SecureMessageGenerator.cs : some more refactoring and code comments.
2089 * MessageSecurityUtility.cs : made decryptor into an instance class,
2090 like I've done for SecureMessageGenerator.
2091 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2092 dependent changes for above.
2094 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2096 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2097 causing NRE due to the lack of token reference.
2098 No need to pass doc to SignedXml.ctor() anymore.
2099 Moved ReferenceList before the signature(s).
2101 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2103 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2104 Moved signing key generation code to non-HMACSHA1 signing part.
2105 Don't try to sign wss:Security.
2106 Pass document itself to SignedXml.ctor().
2107 Use temporary DataObjects to avoid adding Ids (not sure what is the
2108 expected processing yet).
2109 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2110 WriteTo() method in WsuTimestamp.
2112 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2114 * SecureMessageGenerator.cs : wrong key was used for signing.
2115 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2117 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2119 * SecureMessageGenerator.cs :
2120 Now ID generation process does not modify input message.
2121 Moved derived key generation part into (virtual) signing loop.
2122 MessagePartSpecification support for signing is done.
2124 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2126 * SecureMessageGenerator.cs : some reordering to handle signing and
2127 encryption with supporting tokens. Fixed XPath query bug for
2128 soap header contents (we want s:Header/*, not s:Header).
2130 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2132 * MessageSecurityBindingSupport.cs : more refactoring.
2133 Made it abstract and added Initiator- and Recipient- classes.
2134 Several members were moved to those derived types.
2135 * AsymmetricSecurityBindingElement.cs,
2136 SymmetricSecurityBindingElement.cs
2137 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2138 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2139 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2140 All dependent changes by above. Removed ISecurityChannelSource
2141 which became useless.
2143 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2145 * SecureMessageGenerator.cs : encryption parts should exist too.
2146 * AsymmetricSecurityBindingElement.cs
2147 SymmetricSecurityBindingElement.cs,
2148 MessageSecurityBindingSupport.cs : some refactoring.
2149 Split MessageSecurityBindingSupport into security binding element
2150 specific parts and made MessageSecurityBindingSupport concrete.
2151 It is likely split again, next time based on initiator/recipient.
2153 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2155 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2156 split encryptor part in the former file into latter file, and
2158 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2159 SecurityRequestContext.cs : apply the change above.
2161 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2163 * MessageSecurityBindingSupport.cs :
2164 Fixed incorrect TrgGetValue() use.
2165 Added CollectRecipientSupportingTokens().
2167 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2169 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2170 EncryptedKey. So, when a key itself is used to encrypt data,
2171 ReferenceList is contained by itself.
2172 * MessageSecurityBindingSupport.cs :
2173 added CollectInitiatorSupportingTokens().
2175 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2177 * MessageSecurityUtility.cs: it should support ReferenceList-less
2180 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2182 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2183 * MessageSecurityUtility.cs : there already was uuid.
2185 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2187 * MessageSecurityUtility.cs : replaced EncryptedKey with
2188 WrappedKeySecurityToken, which seems to be in actual use in .net.
2189 * WSSecurityMessageHeader.cs : added internal Guid so that it
2190 could be shared between header items.
2192 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2194 * HttpRequestContext.cs, TextMessageEncoder.cs :
2195 some null arg check.
2197 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2199 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2200 for SecurityTokenReference resolution.
2202 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2204 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2205 consider DerivedKeyTokens correctly.
2206 When creating LocalId, don't add '#' here.
2208 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2210 * MessageSecurityUtility.cs :
2211 handle key mapping for each wsse:Security.
2213 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2215 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2217 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2219 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2221 * MessageSecurityUtility.cs :
2222 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2223 suggests, and it is used to dereference decryption targets.
2224 Now it premises multiple wsse:Security elements to read.
2226 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2228 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2229 manually (and actually the namespace URI was wrong).
2231 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2233 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2235 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2237 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2239 * SecurityBindingElement.cs,
2240 SymmetricSecurityBindingElement.cs,
2241 AsymmetricSecurityBindingElement.cs :
2242 implemented SetKeyDerivation().
2244 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2246 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2249 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2251 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2254 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2256 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2257 thus move it in front of encryption/signing.
2259 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2261 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2262 check state by themselves (btw it's not really working).
2263 * HttpChannelListener.cs : If the url does not end with '/' add it
2264 so that it could be fed to HttpListener.
2266 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2268 * HttpChannelFactory.cs : check scheme on CreateChannel.
2269 * MessageHeader.cs : finish IsMessageVersionSupported().
2271 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2273 * FaultConverter.cs : new file, not used yet though.
2275 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2277 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2279 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2281 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2282 GET as well as HttpReplyChannel, configuration would be ready now.
2284 2006-10-18 Ankit Jain <jankit@novell.com>
2286 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2287 EnvelopeVersion.Soap12 and 'text/xml' for others.
2288 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2290 Strip '?' from the query string.
2292 2006-10-13 Ankit Jain <jankit@novell.com>
2294 * MessageVersion.cs (None): Set AddressingVersion.None
2296 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2298 * SvcHttpHandler.cs : added config-based endpoint addition code.
2299 Though due to some weird bug in mono-core it does not seem to work,
2300 so commented out for now.
2301 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2302 mex request message might just be wrong.
2303 Use expected MessageVersion by the channel.
2304 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2306 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2308 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2309 which differs depending on whether it is asymmetric or symmetric.
2310 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2311 simplify SecureMessage() and DecryptMessage() arguments (just
2312 take MessageSecurityBindingSupport instead of several parameters).
2313 * MessageSecurityUtility.cs :
2314 - simplify SecureMessage() and DecryptMessage() arguments (just
2315 take MessageSecurityBindingSupport instead of several parameters).
2316 - Take token inclusion mode into account. Don't include them when
2317 it is not expected. Also, change the token reference style.
2318 - add wsa:MessageID to the headers.
2319 - For hmac-sha1 signing (default for symmetric binding), use
2320 symmetric key created for encryption as well to create HMACSHA1.
2321 - add Id to wsu:Timestamp.
2322 - start to handle SecurityMessageProperty.
2323 * WSSecurityMessageHeader.cs :
2324 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2325 Changed date format.
2327 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2329 * CommunicationObject.cs : reject faulted state on Open()/Close().
2330 * MessageHeaders.cs : removed extra fields.
2332 2006-10-06 Ankit Jain <jankit@novell.com>
2334 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2336 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2338 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2339 added some FIXMEs and additional arg.
2341 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2343 * MessageSecurityUtility.cs : remove duplicate Action header.
2345 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2347 * MessageFault.cs : partly implemented CreateFault(Message, int).
2348 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2349 handle IsFault correctly in each implementation.
2351 2006-10-04 Ankit Jain <jankit@novell.com>
2353 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2355 2006-10-04 Ankit Jain <jankit@novell.com>
2357 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2358 in WebConnectionStream.
2360 2006-10-04 Ankit Jain <jankit@novell.com>
2362 * MessageHeaders.cs (To): Use GetHeader<string> till
2363 DataContractSerializer gets ISerializable support.
2364 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2366 2006-10-04 Ankit Jain <jankit@novell.com>
2368 * ServiceHostParser.cs (Parse):
2369 (Split): Add some error checks.
2371 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2373 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2374 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2375 * SslStreamSecurityUpgradeProvider.cs,
2376 SslStreamSecurityUpgradeAcceptor.cs :
2377 new files for Ssl upgrade provider implementation.
2378 * MessageSecurityUtility.cs :
2379 Create proper C14NTransform. Don't use enveloped signature
2380 transform but sign every significant bits. On securing messages
2381 use ChannelProtectionRequirements.
2382 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2384 * MessageEncoder.cs : fix API (missing constraint).
2385 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2386 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2387 * AsymmetricSecurityBindingElement.cs : default protection order is
2388 SignBeforeEncryptAndEncryptSignature.
2390 2006-09-29 Ankit Jain <jankit@novell.com>
2392 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2393 ServicHostParser and use that here.
2394 (PrivateBinPath): New.
2395 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2396 (RemovedCallback): Remove and close the SvcHttpHandler when its
2397 corresponding file (.svc) changes.
2398 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2400 * ServiceHostParser.cs : New.
2401 * CachingCompiler.cs : New. Code extracted from
2402 System.Web.Compilation.CachingCompiler
2403 * CompilationException.cs : New. From System.Web.Compilation
2404 * HtmlizedException.cs : New. Likewise.
2406 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2408 * MessageSecurityBindingSupport.cs : For client side, it is always
2409 InitiatorServiceModelSecurityTokenRequirement which should be
2410 created. Fixed wrong client encryption key acquisition.
2412 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2414 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2415 MessageSecurityBindingSupport.cs : made similar changes as factories
2416 to listener so that session channels and input channels would work.
2417 Added authenticator creation.
2419 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2421 * Binding.cs : added missing members.
2423 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2425 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2426 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2427 reduce code duplication between request and output channels.
2428 The common parts are now in MessageSecurityBindingSupport.
2429 Now reduced several arguments in SecureMessage() for client.
2431 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2433 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2435 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2437 * AsymmetricSecurityBindingElement.cs,
2438 SecurityChannelListener.cs,
2439 SecurityRequestContext.cs,
2440 SymmetricSecurityBindingElement.cs,
2441 SecurityRequestChannel.cs,
2442 SecurityOutputChannel.cs,
2443 SecurityChannelFactory.cs,
2444 MessageSecurityBindingSupport.cs : 1) Refactoring.
2445 IMessageSecurityBindingSupport now becomes a class and contains
2446 all the members which resided in ISecurityChannelSource.
2447 Now it takes more constructor params.
2448 Made dependent changes on all sources above.
2450 2) Added SecurityTokenAuthenticator creation in
2451 SecurityRequestChannel (SecurityOutputChannel should do the same).
2453 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2455 * SecurityRequestChannel.cs : ongoing improvements on conditional
2456 key creation. Actually there must be some part that creates an
2457 authenticator (WinFX does that).
2459 2006-09-27 Ankit Jain <jankit@novell.com>
2461 Add suport for handling .svc files.
2462 * SvcHttpHandlerFactory.cs: New.
2463 * SvcHttpHandler.cs: New.
2465 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2466 asp.net environment.
2467 (OnOpen): Do nothing in asp.net environment.
2468 (OnClose): Likewise.
2469 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2470 * HttpRequestContext.cs: .. here.
2472 * AspNetReplyChannel.cs: New.
2473 * AspNetRequestContext.cs: New.
2475 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2477 * MessageSecurityUtility.cs :
2478 Significantly rewritten decryption parts to respect ReferenceList
2479 to decrypt (so no workaround anymore).
2480 Now e:ReferenceList inside o:Security is treated as the referenced
2481 EncryptedType items are encrypted by 1) the derived key which is
2482 immediately in front of it, or 2) the default key (it is according
2483 to WS-SecureConversation section 9.1). Thus removed immediately
2484 previous hack to auto-fill wsu:Id attributes.
2486 On securing a message, generate correct Id and add DataReference
2487 to ReferenceList properly.
2489 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2491 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2494 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2496 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2497 Actually WSSecurityTokenSerializer should be able to consume it, but after
2498 spending a lot of time I still cannot successfully read it on WinFX.
2499 Skip ReferenceList for now.
2500 * MessageSecurityUtility.cs :
2501 Replaced some string literals with constants.
2502 Added some workaround for DerivedKeyToken retrieval.
2503 WinFX somehow sends incomplete ISO10126 padding which contains
2504 bigger number than the key size and is rejected by EncryptedXml,
2505 so added DecryptLax() which processes such ones in PaddingMode.None
2506 to workaround it (only for cross-connection between mono and winfx).
2507 Added some incomplete implicit wsu:Id processing.
2508 Don't try to replace SignedXml with EncryptedData. It is not added
2509 to the document tree.
2511 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2513 * MessageSecurityUtility.cs : support message signature encryption. Some
2516 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2518 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2520 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2522 * MessageSecurityUtility.cs : fix warnings.
2524 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2526 * MessageSecurityUtility.cs : actually there would be more than one
2527 EncryptedData. Decrypt all.
2529 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2531 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2532 Use ISO10126 padding mode (it is not required but in manner).
2534 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2536 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2537 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2538 that class to make it work fine with mono client).
2539 Removed buggy lines that reset decryption key to AES.
2540 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2541 * WSSecurityMessageHeader.cs :
2542 (SecurityTokenReferenceKeyInfo) support LoadXml.
2544 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2546 * TransactionMessageProperty.cs : new file.
2548 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2550 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2551 gmcs happened to report wrong code.
2553 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2555 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2556 .ctor() now requires ChannelProtectionRequirements which will be
2557 supplied via BindingParameterCollection.
2558 * SymmetricSecurityBindingElement.cs,
2559 AsymmetricSecurityBindingElement.cs : thus add
2560 ChannelProtectionRequirement parameter to factory/listener.
2561 * SecurityRequestChannel.cs : use recipient token requirement to
2562 create an encryption token. Thus differentiate the logic from
2563 signing (initiator) token.
2565 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2567 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2568 renamed former to latter.
2569 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2572 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2574 * MessageSecurityBindingSupport.cs : new internal types to commonize
2575 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2576 and thus make internal factory and listener reusable.
2577 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2578 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2579 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2580 SymmetricSecurityBindingElement, using the new types above.
2581 * SymmetricSecurityBindingElement.cs :
2582 Use SymmetricMessageSecurityBindingSupport.
2583 * AsymmetricSecurityBindingElement.cs :
2584 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2586 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2588 * ChannelFactoryBase.cs : more RC1 update.
2590 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2592 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2593 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2594 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2595 ChannelBase.cs : RC1 API updates.
2596 * MessageImpl.cs : implemented Properties.
2597 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2599 2006-09-18 Ankit Jain <jankit@novell.com>
2601 * MessageHeaders.cs (MessageId):
2602 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2604 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2606 * ChannelParameterCollection.cs : new file.
2607 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2608 new files for IOutputChannel implementation.
2609 * OneWayBindingElement.cs : hacky implementation.
2610 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2611 * MessageSecurityUtility.cs : now create identifier from the security
2612 token and the token parameters which is added as an argument.
2613 * SecurityRequestContext.cs,
2614 SecurityRequestChannel.cs : SecureMessage() argument changes.
2615 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2618 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2620 * HttpRequestChannel.cs : close the HttpWebRequest.
2622 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2624 * HttpRequestChannel.cs,
2625 HttpChannelFactory.cs : implement async request/reply.
2626 * HttpChannelFactory.cs :
2627 verify factory state when creating a channel.
2629 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2631 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2632 BinaryMessageEncoder.cs : added message version mismatch check.
2634 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2636 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2637 Making incomplete changes to handle different tokens for encryption
2639 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2640 split channel implementation classes out to the latter file.
2641 * MessageSecurityUtility.cs : seems like there is
2642 TimeStampValidityDuration property, so use it (incomplete; a server
2643 needs another love).
2645 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2647 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2648 SecurityRequestContext.cs : now that we have key identifier clause
2649 and working ResolveKeyIdentifierClause(), just create keys inside
2650 SecureMessage(). Add KeyInfo to the xmldsig.
2652 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2654 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2655 pass SecurityKeyIdentifierClause to SecureMessage().
2656 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2657 for IssuedToken binding element.
2658 * SymmetricSecurityChannelListener.cs : removed hack to just create
2659 X509 security token, and implemented correct token creation.
2660 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2661 wraps SecurityTokenReference element.
2662 * MessageSecurityUtility.cs : use the above.
2664 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2666 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2667 could not find a security header.
2668 * SymmetricSecurityChannelFactory.cs : now it also supports
2669 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2672 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2674 * SecurityRequestContext.cs : moved securing message part to
2675 MessageSecurityUtility.cs.
2676 * MessageSecurityUtility.cs : the change above.
2677 use DateTime.Now for timestamp basis. Don't append signature to
2678 the document. Instead it is added to the header. Capture body
2679 content instead of the body itself.
2680 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2681 be processed by upper layers.
2683 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2685 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2686 SymmetricSecurityChannelListener.cs,
2687 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2688 more refactoring. Request serialization became much more conformant
2689 and add required header items.
2690 Security Token retrieval is needed to send it in the request.
2691 Fixed wrong key encryption.
2693 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2695 * SecurityRequestContext.cs : the workaround was not functional.
2697 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2699 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2700 API, especially ReplaceData(), instead of native crypto stuff.
2701 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2702 MessageProtectionOrder.SignBeforeEncrypt).
2704 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2706 * SecurityRequestContext.cs : label should be combined of both
2707 the client's and the server's.
2709 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2711 * SecurityRequestContext.cs : enable key derivation (though for now
2712 GenerateDerivedKey() is unimplemented). Create meaningful,
2713 decrypted request message to be consumed by the upper layer.
2715 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2717 * SecurityRequestContext.cs : implement Close() and Reply().
2718 ongoing implementation of Reply(TimeSpan).
2719 * MessageSecurityUtility.cs : new file to collect utility methods.
2720 * SymmetricSecurityChannelFactory.cs : moved securing message code
2722 * SymmetricSecurityChannelListener.cs : tiny renaming.
2724 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2726 * SecurityRequestContext.cs : security header is also stored.
2728 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2731 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2733 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2736 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2738 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2739 so that it retrieves the security key in that manner.
2741 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2743 * Binding.cs : MessageVersion is null when there is no
2744 MessageEncodingBindingElement.
2745 * Message.cs : null arg check.
2747 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2749 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2751 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2753 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2754 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2755 LayeredRequestChannel.cs : some refactoring.
2756 * SymmetricSecurityChannelFactory.cs :
2757 ongoing secure message creation implementation.
2759 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2761 * SymmetricSecurityBindingElement.cs :
2762 pass specific ServiceCredentialsSecurityTokenManager type to
2763 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2764 * SymmetricSecurityChannelListener.cs :
2765 get service certificate. It's a temporary hack.
2766 Move RequestContext code to below.
2767 * SecurityRequestContext.cs : new file.
2768 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2769 it I have to finish decryption of the incoming message.
2771 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2773 * MessageImpl.cs : don't write attributes on the first body content
2774 element *on soap Body element*.
2775 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2776 ObjectDisposedException is appropriate.
2777 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2778 in OnWriteHeader*Contents*().
2780 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2782 * WSSecurityMessageHeader.cs : new file.
2783 * SymmetricSecurityChannelFactory.cs :
2784 moved WSSecurityHeader and related types to the above.
2785 * SymmetricSecurityChannelListener.cs :
2786 reject SOAP-env-less message.
2788 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2790 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2791 renamed former to latter.
2792 * SymmetricSecurityChannelFactory.cs :
2793 create requirements every time. It is also likely that I need
2794 another requirement instance to get service credentials here.
2796 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2798 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2799 similar to BuildChannelFactory() (set credentials, issuer binding
2801 * SecurityChannelListener.cs :
2802 more ongoing security support implementation.
2803 * SymmetricSecurityChannelFactory.cs :
2804 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2806 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2808 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2809 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2810 Implementation is underway.
2811 * LayeredReplyChannel.cs :
2812 like LayeredRequestChannel, use ChannelListenerBase to provide
2815 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2817 * MessageHeader.cs : added another implementation type that uses
2818 XmlElement, for buffering purpose.
2819 * MessageImpl.cs : Header item types are user-driven by
2820 MessageHeader.GetHeader<T>(int), so at storing phase just store
2821 nodes as XmlElement.
2822 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2825 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2827 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2828 BindingParameterCollection, not from binding element properties.
2830 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2832 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2833 renamed former to latter.
2835 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2837 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2838 work for SslSecurityTokenParameters.
2840 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2842 * SecurityBindingElement.cs :
2843 Added SetIssuerBindingContextIfRequired().
2844 * SecurityChannelFactory.cs :
2845 Changed .ctor() arg again, just to receive binding element.
2846 * SymmetricSecurityBindingElement.cs :
2847 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2848 SymmetricSecurityChannelFactory .ctor() arg changes.
2849 "ProtectionTokenParameters" is not passed now.
2851 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2853 * SymmetricSecurityBindingElement.cs : requirements should be
2854 filled at InitializeSecurityTokenParameters as long as possible.
2855 SymmetricSecurityChannelFactory<T> now does not receive
2856 requirements (it now creates one inside it) at .ctor().
2857 * SecurityChannelFactory.cs : remove requirement argument.
2859 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2861 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2863 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2865 * SymmetricSecurityBindingElement.cs :
2866 MessageSecurityVersion property is of type SecurityTokenVersion.
2867 * SecurityBindingElement.cs :
2868 Implemented CreateSecureConversationBindingElement().
2869 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2870 the argument IssuedSecurityTokenParameters itself.
2872 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2874 * SymmetricSecurityBindingElement.cs :
2875 CreateSecurityTokenManager() can be directly used now.
2876 Use CallInitializeSecurityTokenRequirement() to fill requirement
2879 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2881 * ChannelFactoryBase.cs : GetProperty() is virtual.
2883 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2885 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2886 create token manager, token parameters and token requirements,
2887 and fill some requirements.
2888 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2889 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2890 * BindingContext.cs : implemented RemainingBindingElements.
2891 kill "no remaining binding element" error in GetInnerProperty()
2892 * SecurityChannelFactory.cs : now it became
2893 SymmetricSecurityChannelFactory, thus soon to be renamed.
2894 Several ongoing actual security resolution is on.
2896 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2898 * CommunicationObject.cs :
2899 add GetCommunicationObjectType() and use it.
2900 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2901 use ThrowIfDisposedOrNotOpen().
2902 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2903 to CommunicationObject. Make it IDisposable.
2904 * LayeredRequestChannel.cs : use above.
2905 * SecurityChannelFactory.cs : removed state check as it is done at
2908 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2910 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2911 CanBuildChannelListener) directly dispatch to BindingContext.
2912 * SymmetricSecurityBindingElement.cs : require protection token
2913 parameters before building a channel or a listener.
2914 * ChannelFactoryBase.cs : raise an error when a channel is being
2915 created without opening the factory.
2916 * ChannelListenerBase_1.cs : ditto for the listener.
2917 * SecurityChannelFactory.cs : before sending a request, it must be
2920 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2922 * MessageBufferImpl.cs : initialize fields.
2923 workaround BufferSize just to return 0.
2924 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2925 which does not support multi time write.
2926 * Message.cs : implemented State.
2928 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2930 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2931 is consuming XmlReader.
2932 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2933 * MessageBuffer.cs : implemented CreateNavigator().
2934 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2936 I kinda know that MS heavily depends on binary XmlReader and may have
2937 XPathNavigator implementation based on the binary stuff, but at
2938 least for now we have almost no motivation to mimick it.
2940 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2942 * SecurityChannelFactory.cs : a bit more of security header code.
2944 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2946 * SymmetricSecurityBindingElement.cs :
2947 set default MessageProtectionOrder in every construction.
2949 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2951 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2952 changed to require ChannelFactoryBase to support default timeout.
2953 Made some methods non-virtual. Preparing code to add security
2954 headers (empty yet).
2955 * SecurityBindingElement.cs : implemented several factory methods
2956 that return SymmetricSecurityBindingElement.
2958 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2960 * IStreamUpgradeBindingElement.cs,
2961 StreamUpgradeBindingElement.cs : renamed from former to latter.
2963 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2965 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2967 2006-07-31 Ankit Jain <jankit@novell.com>
2969 * MessageHeaders.cs (From): Use Constants.WSA1
2970 (MessageId): Implement the same pattern as other properties (From etc).
2972 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2974 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2975 * SecurityBindingElement.cs : some cosmetic changes.
2977 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2979 * SecurityBindingElement.cs : LocalClientSettings and
2980 LocalServiceSettings returns an instance for each.
2981 * LocalClientSecuritySettings.cs : initialized fields.
2983 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2985 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2986 kinda implemented Clone() just with MemberwiseClone().
2988 2006-07-27 Ankit Jain <jankit@novell.com>
2990 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2991 * MessageHeader.cs (knownTypes): New. Known type array containing
2993 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2995 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2997 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2998 LayeredCommunicationObject.cs,
2999 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3000 new files to support security channels, though right now they
3001 just pass inner channels through.
3002 * SymmetricSecurityBindingElement.cs : use above.
3004 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3006 * AsymmetricSecurityBindingElement.cs,
3007 SymmetricSecurityBindingElement.cs :
3008 Default SecurityTokenParameters is null.
3010 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3012 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3014 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3016 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3018 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3019 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3020 headers. When AddressingVersion is None, don't output addressing
3021 headers as well, except for Action which is still needed by
3024 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3026 * MessageHeaders.cs : changed specific properties to find it from
3027 headers as Action property does (local variables won't be set by
3028 setter). Cache serializers. Check null serializer arguments.
3029 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3031 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3033 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3034 use XmlObjectSerializer (since it is not data contract type).
3036 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3038 * MessageImpl.cs : Improved ReadHeaders().
3039 For certain header items, use EndpointAddress.ReadFrom().
3041 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3043 * AsymmetricSecurityBindingElement.cs :
3044 it is not ISecurityCapabilities anymore.
3046 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3048 * MessageVersion.cs : added None.
3050 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3052 * Message.cs : GetReaderAtBodyContents() implementation using
3055 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3057 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3058 used MessageVersion.Default.
3060 2006-07-12 Duncan Mak <duncan@novell.com>
3062 * MessageBuffer.cs (MessageContentType): Return
3063 "application/soap+msbin1".
3065 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3066 (SimpleMessage.OnCreateBufferedCopy):
3067 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3068 MessageBuffer implementations.
3070 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3071 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3072 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3074 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3076 * MessageImpl.cs : Action should be added in request messages. Omit
3077 it only in reply message, thus moved to dispatcher logic.
3079 2006-07-12 Ankit Jain <jankit@novell.com>
3081 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3082 bug in WebConnectionStream.
3083 * MessageHeaders.cs (MessageHeaders.From):
3084 (MessageHeaders.ReplyTo):
3085 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3087 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3089 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3090 add SOAP Action to the response at any time.
3092 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3094 * SymmetricSecurityBindingElement.cs,
3095 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3096 Implemented .ctor() and some properties.
3098 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3100 * TransactionFlowBindingElement.cs : new file.
3101 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3103 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3106 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3107 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3108 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3109 vanished (there is anyways no way to instantiate this type).
3110 * MessageVersion.cs : added Soap11 and Soap12.
3111 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3112 in June CTP. goodie.
3114 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3116 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3117 removed some vanished CreateMessage() overloads.
3119 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3121 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3122 HttpTransportBindingElement.cs :
3123 They are not ISecurityCapabilities anymore.
3124 Modified code to match June CTP behavior.
3126 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3128 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3130 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3132 * EmptyFaultException.cs : removed unused code.
3133 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3135 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3137 * LayeredChannelFactory.cs : removed obsolete class.
3138 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3139 ChannelListenerBase.cs, HttpChannelListener.cs,
3140 HttpReplyChannel.cs, ChannelManagerBase.cs :
3141 all those changes were brought by ChannelManagerBase changes.
3143 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3145 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3146 CommunicationObject.cs, HttpChannelListener.cs,
3147 ChannelFactoryBase.cs :
3148 CommunicationObject abstract changes brought this madness.
3150 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3152 * BindingContext.cs : listenUri address parameters could be null in
3155 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3157 * IRequestContext.cs :
3158 Now it became a class. File renaming will follow soon.
3159 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3160 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3161 IOutputChannel.cs, IOutputSessionChannel.cs,
3162 IRequestChannel.cs, IRequestSessionChannel.cs :
3163 They are not IDisposable anymore.
3164 For IReplyChannel, IRequestContext -> RequestContext.
3165 * IChannelListener.cs : removed Identity. Added GetProperty().
3166 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3167 ReplyChannelBase.cs, HttpReplyChannel.cs :
3168 Several members disappeared, and dependent changes.
3169 * HttpTransportBindingElement.cs,
3170 HttpChannelListener.cs, :
3171 ChannelListenerBase.SharedChannelListener vanished.
3173 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3175 * MessageEncodingBindingElement.cs
3176 MtomMessageEncodingBindingElement.cs,
3177 TextMessageEncodingBindingElement.cs,
3178 BinaryMessageEncodingBindingElement.cs :
3179 June CTP updates: AddressingVersion -> MessageVersion.
3180 * Binding.cs : June CTP. MessageVersion is added.
3181 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3182 ChannelListenerBase_1.cs,
3183 ChannelListenerBase.cs, IChannelListener.cs,
3185 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3186 June CTP. Several interface changes.
3187 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3188 * IChannelManager.cs, LayeredChannelListener.cs,
3189 GenericWrapperChannelFactory.cs,
3190 GenericWrapperChannelListener.cs : They are not used anymore.
3192 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3194 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3195 sync fix with June CTP API updates.
3197 2006-07-03 Ankit Jain <jankit@novell.com>
3199 * MessageEncodingBindingElementConverter.cs:
3200 * StandardBindingConverter.cs:
3201 * TransportBindingElementConverter.cs:
3202 * TransactionFlowBindingElementConverter.cs:
3203 * ReliableSessionBindingElementConverter.cs:
3204 * SecurityBindingElementConverter.cs:
3205 Rename *Converter.cs to *Importer.cs
3207 * TransferMode.cs: Move to System.ServiceModel
3209 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3211 * CommunicationObject.cs : make sure to change State before
3212 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3214 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3216 * Message.cs : output WSAddressing xmlns only when Action is
3217 specified (To should be affected, but seems like it is ignored).
3219 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3221 * MessageImpl.cs : don't set Action when it is null.
3223 2006-06-12 Ankit Jain <jankit@novell.com>
3225 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3227 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3229 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3230 some updated API fixes.
3232 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3234 * EnvelopeVersion.cs : moved back to S.SM.
3236 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3238 * IBindingManualAddressing.cs : vanished in beta2.
3239 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3240 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3242 * SecurityBindingElement.cs :
3243 SecurityStandardsManager -> SecurityTokenSerializer.
3245 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3247 * XmlSerializerBodyWriter.cs : new file to handle
3248 TypedMessageConverter.ToMessage().
3250 2006-04-26 Ankit Jain <jankit@novell.com>
3252 * TransportBindingElementConverter.cs (BeforeImport): Remove
3253 NotImplementedException.
3254 (ImportContract): Likewise.
3255 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3257 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3259 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3260 being used was not reflecting that of Binding elements.
3262 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3264 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3265 just assume that it is in the message.
3267 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3269 * HttpReplyChannel.cs : actually HTTP header item might be null.
3271 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3273 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3276 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3278 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3280 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3282 * MessageFault.cs : Fixed SOAP12 reason output.
3284 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3286 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3287 MessageEncoder.ContentType explicitly contains encoding.
3288 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3289 if it is SOAP version dependent.
3291 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3293 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3295 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3297 * HttpChannelFactory.cs BindingContext.cs
3298 HttpChannelListener.cs HttpTransportBindingElement.cs :
3299 Now BindingContext holds MessageEncoder, and non-custom
3300 channel factory/listener should use it.
3301 * MtomMessageEncodingBindingElement.cs
3302 TextMessageEncodingBindingElement.cs
3303 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3304 -Listener() now sets internal BindingContext.MessageEncoder.
3305 Fixed some public API.
3307 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3309 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3310 for insufficient elements.
3311 * DispatchRuntime.cs : OperationDescription name is not action. So
3312 OperationSelector is created by name, not by action.
3313 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3315 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3317 * MessageFaultBodyWriter.cs
3318 XmlReaderBodyWriter.cs
3319 XmlObjectSerializerBodyWriter.cs : made internal.
3320 * SecurityBindingElement.cs
3321 AsymmetricSecurityBindingElement.cs
3322 SymmetricSecurityBindingElement.cs : API fixes.
3323 * TransportBindingElementConverter.cs : ditto.
3324 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3325 * WindowsStreamSecurityBindingElement.cs
3326 SslStreamSecurityBindingElement.cs
3327 TransportSecurityBindingElement.cs : new files.
3329 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3331 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3332 reading can be any xs:boolean value.
3334 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3336 * Message.cs MessageImpl.cs : more sorting out the role of each
3338 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3340 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3342 * Message.cs : don't write body contents if it is empty.
3343 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3344 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3345 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3346 * HttpRequestChannel.cs : close request stream before GetResponse().
3348 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3350 * TextMessageEncoderFactory.cs
3351 TextMessageEncoder.cs : encoder does not hold reference to the
3352 factory anymore. Use MessageVersion property in CreateMssage().
3353 * HttpChannelListener.cs : now it holds message encoder.
3354 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3355 * MessageImpl.cs : header is optional.
3356 * EnvelopeVersion.cs : namespace URI is missing.
3358 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3360 * CustomBinding.cs : removed Initialize().
3361 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3362 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3363 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3364 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3366 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3368 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3369 could be also added by Add() method and could be reset by Remove()).
3370 * MessageImpl.cs : implemented more. As noted above, Now we don't
3371 have to add Action header explicitly.
3372 * MessageHeader.cs : recovered Writer methods and ToString() from
3373 commented old version. Use prefixes for writing.
3374 Use WriteObjectContent() rather than WriteObject() (it needs
3375 DataContractSerializer fix btw).
3377 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3379 * MessageHeader.cs : added missing IsReferenceParameter.
3380 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3381 * MessageHeaders.cs : avoid NullRef when actors is null.
3382 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3383 (ForwardingMessage) reader consumer is being added (not done).
3384 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3385 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3386 * HttpRequestChannel.cs : this channel automatically call Open()
3387 when Request() is called. Set content length for request.
3388 Use MessageEncoder's ContentType to also handle charset.
3390 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3392 * MessageImpl.cs : make them internal.
3393 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3395 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3397 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3398 * HttpChannelListener.cs : removed commented line.
3399 * RequestChannelBase.cs : new base class for request channel classes.
3400 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3401 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3402 * Message.cs : default IsEmpty and IsFault false by default.
3403 * LayeredChannelListener.cs : removed Uri (no chance to set).
3404 * ChannelBase.cs : reimplemented timeout properties.
3405 * HttpRequestChannel.cs : now it is mostly based on
3406 RequestChannelBase. Some more attempt to implement Request().
3408 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3410 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3411 OnInitialize(). Added more BuildChannelListener() overloads.
3413 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3415 * Binding.cs : added some more missing members especially to support
3417 * HttpChannelListener.cs : Uri should not be null.
3418 * HttpTransportBindingElement.cs : implemented
3419 CanBuildChannelFactory() and CanBuildChannelListener().
3420 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3422 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3424 * Binding.cs : updated default namespace property value to Feb. CTP.
3426 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3428 * AddressHeader.cs : avoid null reference when value is null.
3429 * BindingContext.cs : check null ListenUri args.
3431 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3433 * MessageFault.cs : Fixed default action name. Null arg check.
3435 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3437 * BindingElement.cs : Dequeue elements in BindingContext directly.
3438 * BindingContext.cs : Added GetProperty<T>().
3439 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3440 Now we don't need these extra classes, so marked as deprecated.
3442 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3444 * Binding.cs : null arg check.
3445 * AddressingVersion.cs : fixed constants to pass the tests.
3446 * BindingElement.cs : tiny meessage fix.
3448 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3450 * MessageEncodingBindingElement.cs
3451 BinaryMessageEncodingBindingElement.cs
3452 TextMessageEncodingBindingElement.cs
3453 MtomMessageEncodingBindingElement.cs
3454 MessageEncodingBindingElementConverter.cs : several API fixes.
3455 * BindingElement.cs : now if we use generic wrapper it causes
3456 infinite loop, so for now replace it with most-possible-but-
3459 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3461 (back to normal "record-ChangeLogs" mode after the big API change mess)
3462 * HttpTransportBindingElement.cs : fixed minor API differences.
3464 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3466 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3467 SymmetricSecurityBindingElement.cs :
3468 Dependent fixes for System.IdentityModel reorgainzation.
3470 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3472 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3473 IProxyFormatter.cs WSHttpBindingBase.cs
3474 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3475 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3476 WSFederationBinding.cs ISessionChannel.cs
3477 CompositeDuplexBindingElement.cs MessageVersion.cs
3478 MessageHeader.cs IRequestSessionChannel.cs
3479 BindingElementCollection.cs IReplySessionChannel.cs
3480 MessageProperties.cs IDuplexClientChannel.cs
3481 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3482 TcpTransportBindingElement.cs EmptyFaultException.cs
3483 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3484 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3485 ConnectionOrientedTransportBindingElement.cs
3486 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3487 PeerResolverBindingElement.cs Message.cs
3488 HttpsTransportBindingElement.cs BindingElement.cs
3489 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3490 MessageFaultBodyWriter.cs IReplyChannel.cs
3491 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3492 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3493 IRequestContext.cs IInputSessionShutdown.cs
3494 SecurityBindingElement.cs PeerTransportBindingElement.cs
3495 IDuplexSession.cs IChannelInitializer.cs
3496 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3497 AddressingVersion.cs FaultException.cs
3498 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3499 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3500 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3501 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3502 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3503 BindingParameterCollection.cs IInstanceProvider.cs
3504 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3505 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3506 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3507 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3508 moved from System.ServiceModel due to the API changes.
3510 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3512 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3513 HttpChannelListener.cs HttpRequestChannel.cs
3514 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3515 PeerNode.cs ReplyChannelBase.cs :
3516 Feb. CTP API changes - chapter 1.
3518 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3520 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3521 * ReplyChannelBase.cs : now it is based on ChannelBase.
3522 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3523 and check null argument in .ctor().
3524 * HttpReplyChannel.cs : several changes.
3525 Non-async members are mostly implemented.
3526 * HttpChannelListener.cs : no need to receive
3527 IDefaultCommunicationTimeouts.
3528 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3529 to allocate buffer array and int.MaxValue causes OutOfMemory.
3531 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3533 * ClientFramingDecoderState.cs : added missing enum.
3534 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3536 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3538 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3540 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3541 AcceptChannel() has some code now but it needs more love.
3543 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3545 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3546 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3547 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3549 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3551 * HttpRequestChannel.cs : close the streams.
3553 HttpChannelListener.cs : renamed from former to latter.
3555 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3557 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3558 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3559 * HttpListenerFactory.cs : removed obsolete file.
3560 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3561 * ChannelListenerBase_1.cs : implemented virtual stuff.
3562 * CommunicationObject.cs : Open() should not call BeginOpen() and
3563 EndOpen(). Instead, invoke events individually.
3564 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3566 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3568 * HttpRequestChannel.cs : call Flush() after serializing message
3571 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3573 * HttpRequestChannel.cs : implemented pretty hacky Request().
3575 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3577 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3579 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3581 * ChannelFactoryBase.cs : removed some NotImplementedException for
3582 further internal implementation.
3584 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3586 * HttpRequestChannel.cs : new file. mostly not implemented.
3587 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3588 Partly implemented CreateChannel().
3590 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3592 * HttpChannelFactory.cs : (.ctor())
3593 Don't take ChannelBuildContext.
3595 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3597 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3598 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3599 PeerMessagePropagation.cs : updated to Nov. CTP.
3601 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3603 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3604 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3605 StreamSecurityUpgradeAcceptor.cs,
3606 StreamSecurityUpgradeInitiator.cs :
3607 Updated to Nov. CTP API.
3609 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3611 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3613 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3615 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3617 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3619 * ChannelBase.cs : tiny filename fix.
3620 * ChannelListenerBase.cs : added more .ctor()s.
3622 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3624 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3625 ListenerFactoryBase.cs ChannelListenerBase.cs :
3626 updated IListener related stuff to Nov. CTP.
3627 file renaming will come soon.
3629 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3631 * ListenerBase.cs, ChannelListenerBase.cs :
3632 moved from former to latter.
3633 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3634 moved from former to latter.
3636 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3638 * SessionFaultedException.cs : removed in Nov. CTP
3640 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3642 * CommunicationObject.cs : updated to Nov. CTP.
3643 * SessionFaultedException.cs : removed (in Nov. CTP)
3645 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3647 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3650 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3652 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3653 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3654 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3655 * MessageEncoder.cs : largely implemented.
3657 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3659 * IRequestReplyCorrelator.cs : new file.
3661 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3663 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3664 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3665 * MessageEncoder.cs : added misssing ToString().
3667 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3669 * ChannelBehaviorCollection.cs : moved to sys.sm.
3671 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3673 * HttpListenerFactory.cs, HttpListener.cs : new files.
3674 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3675 CommunicationObject.cs, ChannelFactoryBase.cs,
3676 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3678 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3679 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3681 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3683 * ListenerFactoryBase.cs : some implementation.
3685 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3687 * CommunicationObject.cs : more state fixes.
3689 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3691 * CommunicationObject.cs : some state machine fixes.
3693 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3695 * PeerNode.cs, ChannelManagerBase.cs :
3696 several API fixes detected by improved corcompare.
3698 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3700 * LayeredListenerFactory.cs : added missing generic class constraint.
3702 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3704 * ListenerFactoryBase.cs,
3705 ListenerBase.cs : class constraints were missing for generic args.
3707 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3709 * StreamUpgradeInitiator.cs : tiny API fix.
3711 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3713 * PeerMessagePropagationFilter.cs : tiny build fix.
3715 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3717 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3718 added Name. fixed StatusCode type.
3719 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3720 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3721 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3722 DirectionalAction.cs, HostedTransportConfiguration.cs,
3723 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3724 PeerMessagePropagationFilter.cs : added missing files.
3725 * Dummy.cs : removed. MSMQ stuff can be added later.
3727 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3729 * DeliveryStatus.cs, DeliveryFailure.cs,
3730 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3731 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3733 * Dummy.cs : removed above.
3735 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3737 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3739 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3741 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3742 MessageEncoder.cs, BufferManager.cs : new files.
3743 * Dummy.cs : removed above.
3745 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3747 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3748 * Dummy.cs : removed above.
3749 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3751 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3753 * HttpChannelFactory.cs : new file.
3755 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3757 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3758 moved to ../System.ServiceModel (correct location).
3759 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3760 new files for channels.
3761 * Dummy.cs : reflected above changes.
3762 * ChannelManagerBase.cs : added a bit of code and todos.
3764 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3766 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3767 added listener support files.
3768 * Dummy.cs : removed above.
3770 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3772 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3773 added request/reply channel interfaces.
3774 * Dummy.cs : removed above.
3775 * CommunicationObject.cs : FIXME comments.
3777 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3779 * CommunicationObject.cs : implemented some members.
3781 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3783 * CommunicationObject.cs : some signature fixes.