1 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
3 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
4 fix BodyWriter buffering that dropped in-scope namespaces and thus
5 caused problem on resolving QNames.
7 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
9 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
10 with certain Exception types.
12 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
14 * Message.cs : fix explanation on CreateMessage() overloads.
16 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
18 * MessageFault.cs : Write Subcode element correctly and fix wrong
19 Code/Value/Subcode element relationship. Give better error message.
21 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
23 * HttpRequestChannel.cs : ok, no need for conditional code path.
25 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
27 * AddressingVersion.cs : add fault action namespace.
29 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
31 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
34 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
36 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
38 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
40 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
43 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
45 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
47 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
49 * HttpRequestContext.cs : removed HTTP status rewriting for
52 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
54 * HttpRequestChannel.cs : handle only 4xx errors as to not process
57 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
59 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
61 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
63 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
64 Patch by Matt Dargavel.
66 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
68 * HttpListenerManager.cs : use lock object which is subject to
69 change. Fix by Matt Dargavel.
71 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
73 * HttpListenerManager.cs : remove consumed HttpListenerContext from
74 the pending queue. Compare "wsdl" request in case insensitive
75 manner. Patch by Matt Dargavel.
77 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
79 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
80 supposed to provide detailed 400 error message.
82 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
84 * TransactionFlowBindingElement.cs: revamp the previous change to
85 not regress regarding service metadata.
87 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
89 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
90 GetProperty<T>() bug that fails to retrieve properties. (This may
91 be rewritten later if an ongoing change proposal is to take place.)
93 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
95 * ReliableSessionBindingElement.cs,
96 PrivacyNoticeBindingElement.cs,
97 RemoteEndpointMessageProperty.cs : added some missing types.
99 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
101 * MessageHeaders.cs :
102 why does it filter out most of the headers? kill it.
104 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
106 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
107 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
108 to not raise "not found" error (see bug #573795).
110 2010-03-16 Jb Evain <jbevain@novell.com>
112 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
113 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
115 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
117 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
118 type, and use null password unless we find a chance to get password
119 in ASP.NET HttpContext.
121 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
123 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
124 HttpListenerManager.cs : ongoing authentication support. It returns
125 401 as expected, but somehow fails to retrieve user info.
127 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
129 * HttpListenerManager.cs : this change (along with HttpListener
130 implementation) somehow fixes basic auth. connection error...
132 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
134 * MessageHeaders.cs : add !NET_2_1.
136 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
138 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
139 typed UniqueId output.
141 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
143 * MessageHeader.cs : no need to treat EndpointAddress as a special
146 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
148 * MessageHeaders.cs : remove duplicate constant.
150 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
152 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
153 EndpointAddress as a special case. Instead, each MessageHeaders
154 property should convert it to appropriate serializable objects.
156 (Our DataContractSerializer fails to reject EndpointAddress as
157 serializable type, so it's rather a preparation step.)
159 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
161 * MessageHeader.cs, Message.cs : use dictionary string whenever
162 applicable. The binary output on #577139 is getting closer (no
163 idea if it is really about binary output though).
165 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
167 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
169 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
171 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
173 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
175 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
176 enable authentication schemes on monotouch.
178 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
180 * SvcHttpHandler.cs : a wait handle could be used for more than one
181 requests and hence it sometimes blocked one reply channel. Now
182 it creates a wait handle for each ASP.NET request so that such
183 multiple use should not occur. This should fix blocking on
184 concurrent requests (it indeed fixes as long as I can see).
186 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
188 * AspNetReplyChannel.cs : remove garbage output.
190 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
192 * SvcHttpHandler.cs : Use lock when it tries to create the service
195 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
197 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
200 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
202 * HttpListenerManager.cs : add another workaround for blocking
205 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
207 * HttpListenerManager.cs : small refactoring.
209 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
211 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
212 that somehow makes callback client to not cause infinite loop.
214 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
216 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
217 DuplexChannelBase.cs : Receive() should rather use TryReceive().
218 It should not be in reverse order.
220 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
222 * HttpReplyChannel.cs, HttpListenerManager.cs :
223 Implement async cancellation in the expected manner (though with
224 some hack). This mostly removed nunit blockers.
226 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
228 * CommunicationObject.cs : fix wrong status changes.
230 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
232 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
234 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
236 * AddressHeader.cs : implement remaining bits.
237 Eliminate dependency on NetDataContractSerializer.
239 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
241 * CommunicationObject.cs : in Fault(), do similar work as previous
244 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
246 * CommunicationObject.cs : when process state changes, lock the
247 object to make sure the state transition is valid.
248 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
250 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
252 * MessageHeaders.cs : implement SetAction().
254 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
256 * ChannelFactoryBase.cs : fix build.
258 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
260 * ChannelBase.cs : cosmetic API fix for SL3.
262 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
264 * ChannelFactoryBase.cs :
265 implement On{Begin/End}Close() on the generic type.
267 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
269 * HttpChannelFactory.cs, TcpChannelFactory.cs,
270 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
271 PeerChannelFactory.cs, HttpRequestChannel.cs:
272 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
273 type and made required changes.
275 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
277 * HttpCookieContainerBindingElement.cs : new.
278 * IHttpCookieContainer.cs : fix type name.
279 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
281 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
283 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
284 does not happen when communicating with .NET client but happens with
285 mono). Seealso FIXME comment.
286 * TcpDuplexSessionChannel.cs : do not try to close session when it
287 failed to read sized message. The connection is already dead.
291 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
293 * TcpDuplexSessionChannel.cs :
294 Write EndRecord only when the connection is available.
295 Remove hack - do let ChannelDispatcher close the channel.
296 * TcpBinaryFrameManager.cs :
297 The socket may be disconnected when trying to read a sized message,
298 so check some socket exceptions.
299 In case the client silently shuts down without EndRecord and
300 reconnects to the server with preamble while expecting a sized
301 message (which is so lame, but that's what .NET often does), refresh
302 preamble and continue.
304 This fixes some cases of bug #567949 but not all.
306 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
308 * BinaryMessageEncoder.cs : enable workaround buffering only when
309 the argument stream does *not* support seek. This fixes some
310 net.tcp connection problem.
312 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
314 * TcpBinaryFrameManager.cs : If preamble byte is not available from
315 the client stream, detect it to close the reply or input channel.
316 * TcpRequestChannel.cs : send preamble at each request time.
317 It differentiates communication behavior on such cases that involve
318 single open and multiple requests.
319 * TcpReplyChannel.cs : close the channel only when the channel is
320 oeprated to close i.e. do not close the socket every time.
321 Process preambles on each request (the same as request channel).
323 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
325 * TcpBinaryFrameManager.cs : unsized envelope record may have more
326 than one data block, so consume them accordingly. This should fix
327 large buffer consumption.
329 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
331 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
334 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
336 * HttpRequestContext.cs : for DestinationUnreachable message, this
337 channel returns 400 in .NET.
339 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
341 * BinaryMessageEncoder.cs : added workaround for strange stream
342 consumption error raised by HttpTransport + Binary encoder example.
343 * BinaryMessageEncodingBindingElement.cs:
344 only SOAP 1.2 is allowed for this encoder.
346 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
348 * XmlReaderBodyWriter.cs : don't try to write empty xml.
350 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
352 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
353 default WebHeaderCollection items are overwritten.
355 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
357 * HttpRequestChannel.cs : when HTTP response was error, do not try
358 to read message but just raise an error.
360 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
362 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
364 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
366 * HttpRequestChannel.cs : WebException.Response might be null.
368 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
370 * ReplyChannelBase.cs : added listener property.
371 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
372 been updated to prefer async by default, a while ago.
374 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
376 * HttpTransportBindingElement.cs : finished all GetProperty() values.
378 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
380 * HttpRequestChannel.cs : disabled carelessly added
381 "UseDefaultCredentials = false" line. It blocked basic auth.
383 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
385 * HttpRequestChannel.cs, HttpChannelFactory.cs,
386 HttpChannelListener.cs, HttpListenerManager.cs :
387 implemented http client authentication and some of corresponding
388 service code. Only client works so far.
390 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
392 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
393 added URI scheme check.
395 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
397 * TransportSecurityBindingElement.cs : fix 2.1 build.
399 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
401 * HttpsTransportBindingElement.cs :
402 RequireClientCertificate is false by default.
403 Remove extra #if NET_2_1.
404 * SecurityBindingElement.cs :
405 Implement some transport security factory methods.
406 * TransportSecurityBindingElement.cs :
407 It is not ISecurityCapabilities anymore.
409 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
412 SecurityBindingElement.cs
413 LocalClientSecuritySettings.cs
414 TransportSecurityBindingElement.cs
415 FaultConverter.cs : They are now part of SL3 API.
417 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
419 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
421 2009-11-05 Geoff Norton <gnorton@novell.com>
423 * HttpsTransportBindingElement.cs: Implement basic https transport
424 binding support for Moonlight and MonoTouch
426 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
428 * HttpListenerManager.cs : remove CWLs.
430 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
432 * SvcHttpHandler.cs : move back previous listener selector code in
433 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
434 and differentiate requests to deeper paths (such as /jsdebug), so
435 we need such refinement here.
437 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
439 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
442 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
444 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
445 HttpChannelListener.cs, HttpListenerManager.cs :
446 Similar refactoring on ASP.NET side to the previous one.
447 Added ASP.NET implementation of HttpListenerManager and use some
448 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
450 Rewrote AspNetReplyChannel to become almost the same as
451 HttpSimpleReplyChannel, to hopefully unify them later.
452 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
453 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
456 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
458 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
459 Refactoring on listener manager to correctly handle wsdl and help
460 requests for such case that they conflict in addressing. Now it
461 can correctly distinguish service calls, WSDL requests and help
462 requests when all of them point to "http://localhost/foo.svc"
463 (which is very common case that the user does not change Http*Url).
465 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
467 * ChannelListenerBase.cs : add Properties property to add arbitrary
468 properties handy (only inside this assembly).
470 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
472 * HttpReplyChannel.cs : fix warning.
474 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
476 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
478 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
480 * HttpReplyChannel.cs : make sure to release wait lock.
481 * HttpChannelListener.cs : session channels are not supported, so
482 remove relevant NIEs.
484 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
486 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
487 support contexts so we call the non-overloaded WaitOne method
488 (which defaults to false).
490 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
492 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
493 significant rewrite to cooperate wcf handler and asp.net handler
494 to not mix multiple WCF listener within the asp.net handler.
495 So far it mostly works when 1) there are no ChannelDispatchers
496 that have an identical listen Uri and 2) MaxConcurrentSessions is
497 1 (must be explicitly set).
499 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
501 * CommunicationObject.cs : give better state error description.
503 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
505 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
506 to base methods. This resulted in not a few changes everywhere.
508 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
510 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
512 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
514 * SvcHttpHandler.cs : use file path given by the factory to
515 construct BaseAddresses. Requests to "test.svc/jsdebug" should
516 not be handled as request to "jsdebug" file, it's rather an
517 "argument" to "test.svc".
519 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
521 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
522 rewrite to handle shutdown situation better. The listeners should
523 not close channels that it opened. Instead, just stop accepting
524 further requests. Removed blocking mutex on WaitForRequest().
525 Now xsp shuts down as expected.
527 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
529 * HttpReplyChannel.cs : lock list when releasing its content contexts.
530 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
533 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
535 * SvcHttpHandlerFactory.cs : remove todo.
536 * ReplyChannelBase.cs : add comment.
538 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
540 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
541 revert the change, to use internal asp.net state again.
542 * SvcHttpHandler.cs : add VirtualPathExtension.
544 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
546 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
547 asp.net response was not written correctly.
548 Fill HttpRequestMessageProperty to get handle WSDL requests
549 processed in ServiceMetadataExtension without NRE.
550 Remove wrong HttpListenerContext iteration at Abort and Close in
551 common base class and move it to non-asp derived channel.
553 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
555 * SvcHttpHandler.cs : remove unused code.
557 2009-09-30 Jb Evain <jbevain@novell.com>
559 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
560 to use any of the remoting features.
562 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
564 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
565 use AspNetCompatibilityEnabled.
566 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
568 * AspNetReplyChannel.cs : remove extra field.
570 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
572 * HttpReplyChannel.cs : remove extra field.
574 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
576 * AspNetRequestContext.cs : remove CWL.
578 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
580 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
581 only after AspNetRequestContext is closed. Do not close it
582 immediately after receiving the context. (HttpRuntime destructs it
583 and further uses then becomes impossible.)
585 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
587 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
588 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
589 Make sure that AspNetChannelListener is bound to correct
590 SvcHttpHandler, regardless of specific request URI. It is required
591 for both WSDL requests and RESTful binding requests.
593 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
595 * MessageProperties.cs : fix CopyProperties() behavior to not
596 clear existing items. Make all properties call this[name].
598 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
600 * HttpTransportBindingElement.cs : fix 2.1 build.
602 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
604 * TransportBindingElement.cs : another GetProperty fix, iterate
605 other binding elements.
607 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
609 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
610 some GetProperty() implementation.
612 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
614 * HttpListenerManager.cs : release HttpListener and avoid extra
615 close process more than once.
617 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
619 * HttpChannelListener.cs : do not iterate channel list to close
620 channels which in turn removes them from the list while iteration.
622 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
624 * HttpRequestChannel.cs : Fix message version member comparison.
625 Double-quote SOAPAction. Remove extra Exception.
626 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
627 * HttpRequestContext.cs : when addressing is None, remove action
630 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
632 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
633 path, to pick those endpoints that are added at custom factories.
635 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
637 * SvcHttpHandler.cs : apply configuration, and if there is still no
638 endpoint, then add default one.
640 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
642 * SvcHttpHandler.cs : another URL to make relative.
644 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
646 * SvcHttpHandlerFactory.cs : some GetHandler changes.
647 * SvcHttpHandler.cs : significant changes on receiver structure. Now
648 ProcessRequest() stores pending requests (this might be extraneous,
649 but maybe useful when it implements async handler). Also removed
650 reply_channel field as it may become to handle multiple requests.
651 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
652 * AspNetReplyChannel.cs : make it receive requests like
653 HttpReplyChannel (for HttpListener) to make them consistent.
655 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
657 * AspNetRequestContext.cs, HttpRequestContext.cs :
658 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
659 by splitting HttpListener-based context out from common code base.
661 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
663 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
664 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
667 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
669 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
670 loads types from system assemblies appropriately.
672 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
674 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
677 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
679 * HttpRequestMessageProperty.cs : fix default values.
681 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
683 * HttpChannelFactory.cs, HttpRequestChannel.cs,
684 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
685 Check ManualAddressing value and reject address-missing ones.
687 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
689 * HttpChannelFactory.cs : reject URI mismatch cases when required.
691 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
693 * PeerDuplexChannel.cs : When received Connect() from neighbor,
694 add the peer to its internal list.
695 Finally ChatApplication got working.
697 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
699 * PeerDuplexChannel.cs : since the channel factory is per instance,
700 do not reuse factory that is tied to different callback instance.
701 It resolved the issue that mono callback client didn't receive
702 messages from the client itself.
704 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
706 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
707 of the receiver, not the requestor. It resolved the issue that
708 .NET client didn't send further messages to mono server.
710 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
712 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
713 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
714 TcpReplyChannel.cs, TcpRequestChannel.cs,
715 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
716 rename EndRecord handling method to appropriate one.
717 Write EndRecord from recipient too.
719 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
721 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
722 Process PeerTo header to upgrade Message To header. Now mono
723 service accepts mono client (somehow not true for .NET client).
725 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
727 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
728 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
730 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
732 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
734 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
736 * TcpDuplexSessionChannel.cs : check channel state before processing
739 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
741 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
742 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
743 ongoing works, not working at all yet.
745 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
747 * TcpChannelListener.cs, TcpReplyChannel.cs :
748 cosmetic cleanup and corrections.
750 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
752 * TcpChannelFactory.cs : use expected Via uri.
753 Remove extra NIE stuff that are implemented in base.
755 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
757 * TcpDuplexSessionChannel.cs : remove extra code.
759 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
761 * PeerDuplexChannel.cs : ongoing implementation towards get callback
762 replies on peer connector clients (not working as duplex client
763 callback is not working yet).
765 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
767 * TcpDuplexSessionChannel.cs : in callback client channels,
768 OperationContext.IncomingMessageHeaders is null.
770 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
772 * MessageHeaders.cs : duplicate check was sloppy.
774 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
776 * Message.cs, MessageImpl.cs, BodyWriter.cs :
777 Implement BodyWriter.OnCreateBufferedCopy() and use it.
779 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
781 * ReplyChannelBase.cs : initialize field.
783 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
785 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
786 implement GetProperty<T>() and return its channel manager.
788 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
790 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
791 destination address in Connect() request. To repeat sending
792 request, use buffered copy. Set some peer-channel specific
793 header items. (todo: and consume them.)
795 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
797 * Message.cs : state is set only after WriteBodyContents().
799 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
801 * MessageHeaders.cs : eliminate wrong use of
802 ReadElementContentAsString() (it is not always simple string).
804 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
806 * MessageHeaders.cs : when the value is null, do not try to
807 deserialize EndpointAddress.
809 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
811 * MessageHeader.cs : add Value property. (Forgot dependent change.)
813 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
815 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
816 serialization and deserialization of values.
818 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
820 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
821 Now simply use connector contract.
823 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
825 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
827 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
829 * TcpChannelListener.cs : do not try to compare dead connection's
830 IPEndPoint (it raises an error).
832 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
834 * MessageHeaders.cs : allow null header value on each specific setter.
836 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
838 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
839 get local and remote address of connected counterpart to get
840 callback channel connected.
841 * PeerDuplexChannel.cs : remove FIXME wrt above.
843 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
845 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
847 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
849 * MessageHeader.cs : fill IsReferenceParameter.
851 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
853 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
854 implement remaining async methods and LocalAddress.
856 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
858 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
859 ServiceHost to process neighbor connection (not sure if this is
860 right way to go though ...).
862 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
864 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
865 connection part to use new internal IPeerConnectorContract for
868 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
870 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
871 PeerChannelListener.cs, HttpChannelListener.cs :
872 support ListenUri accordingly too so that it could be used when
873 it is different from LocalAddress.Uri.
875 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
877 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
878 TcpRequestChannel.cs : use Via uri to validate and connect.
880 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
882 * RequestChannelBase.cs, DuplexChannelBase.cs :
883 Return endpoint address Uri when no explicit Via uri is specified.
884 * ChannelFactoryBase.cs : Remove extra async close methods.
885 Add async open methods. Reject null EndpointAddress.
886 * PeerChannelFactory.cs : remove async open methods (now in base).
888 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
890 * PeerDuplexChannel.cs : set correct message endpoint (To header).
892 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
894 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
895 DuplexChannelBase.cs : set LocalAddress property at base.
897 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
899 * PeerDuplexChannel.cs : ongoing refactoring to work both as
900 listener and client. Now it creates a listening peer node, and
901 creates a set of TCP client channels for each peer in the mesh.
903 (EndpointAddress must be fixed to not filter out correct inputs).
905 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
907 * PeerChannelListener.cs : do not accept more than one channel
908 which results in lots of listening peer node. Only one is enough.
910 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
912 * DuplexChannelBase.cs : fix wrong loop implementation.
914 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
916 * TcpChannelListener.cs : to avoid creating two or more channels
917 for one remote endpoint, check existing remote endpoints and
918 ignore such connections (it must be handled in different thread
919 fired by ChannelDispatcher loop).
921 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
923 * TcpReplyChannel.cs : make sure to not try to receive request when
924 it is already closed.
926 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
928 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
929 some mannerless clients [*1] do not send EndRecord accordingly, but
930 such channels at listener side should not be kept open. So, close
931 disconnected channels when the listener needs to accept another
933 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
935 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
937 * TcpDuplexSessionChannel.cs :
938 Remove extra NIE overrides.
939 Implement OnAbort() apart from OnClose().
940 For duplex session channel, unlike reply channel, it must acquire
941 TCP connection before OnOpen(), otherwise ChannelDispatcher
942 releases the connection acceptance WaitHandle and the detected
943 live connection may be stolen by another channel acceptor.
945 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
947 * HttpRequestChannel.cs : implement OnAbort().
949 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
951 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
952 * DuplexChannelBase.cs : comment out some extra fields (so far).
953 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
955 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
957 * PeerCustomResolverBindingElement.cs : add some null checks.
959 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
961 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
962 Acquire TcpClient for each request/reply. Now it is fully
963 interoperable with .NET.
965 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
967 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
968 ReplyTo and MessageId (though it is session-less), and it expects
969 EndRecord at weird stage, inconsistent with [MC-NMF]...
970 Now .NET service accepts one mono client request.
972 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
974 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
975 Send and receive unsized message terminator at once.
976 Send EndRecord mutually. Got one .net client request working.
978 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
980 * BinaryMessageEncoder.cs : revert the previous dictionary change.
981 They are indeed used for non-in-band-dictionary messages.
983 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
985 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
986 split out binary frame manager class into separate file.
988 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
990 * TcpReplyChannel.cs : new reply channel implementation.
991 * TcpChannelListener.cs : use above for streamed reply channel.
992 * TcpDuplexSessionChannel.cs : more streaming mode support.
993 * TcpRequestChannel.cs : a couple of updates to get it working
994 with the reply channel above. Still some issues on .NET interop.
996 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
998 * RequestContext.cs : added internal derived class that implements
1001 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1003 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1006 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1008 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1009 (The messaging must be done as TCP request/reply pattern, so it's
1012 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1014 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1015 messaging pattern). The messaging part is not working yet.
1016 * TcpChannelFactory.cs : support IRequestChannel.
1017 * TcpDuplexSessionChannel.cs : add unsized message support.
1019 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1021 * HttpRequestChannel.cs, RequestChannelBase.cs :
1022 A couple of async members are now implemented in the base class.
1023 Ditto for EndpointAddress and Via.
1025 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1027 * PeerDuplexChannel.cs : now it implements some of node management
1028 functionality and Send operation. The receiver part is not yet.
1030 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1032 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1033 timeout to channel constructor. it does not make sense.
1035 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1037 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1038 as common interface member, and use binary encoder (not text).
1040 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1042 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1044 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1046 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1047 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1048 going to be unified to PeerDuplexChannel. And it is likely that
1049 input and output functionalities are to be unified too.
1051 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1053 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1054 may have to reuse it for peer transport.
1055 * PeerChannelListener.cs : add binding member.
1056 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1058 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1060 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1061 PeerChannelFactory.cs : close opened channels at OnClose() as
1062 documented. Implement async methods.
1063 * PeerChannelListener.cs : removed some NIE overrides.
1065 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1067 * DuplexChannelBase.cs : some more async methods.
1069 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1071 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1073 * TcpChannelListener.cs : accept multiple channels at a time.
1075 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1077 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1078 session strings but output only those new ones in current message.
1079 This fixes inconsistent body output in repetitive use of sender.
1081 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1083 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1084 operation that does not involve session.
1085 Preserve writer session as well as reader session.
1086 * MessageHeaders.cs : take name and namespace into consideration
1087 when creating a serializer.
1089 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1091 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1092 Made required changes for repeated use of message exchanges.
1093 Hold binary reader session. The channels use it incrementally.
1094 Preambles are handled at Open, and EndRecords are handled at
1095 Close, Add session shutdown hook here (not working yet though).
1097 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1099 * ChannelListenerBase_1.cs : added cancellation hook here too.
1100 HttpChannelListener.cs : use above.
1101 Do not allow parallel channel creation (this listener does not
1102 allow more than one AcceptChannel().
1104 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1106 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1107 Add cancellation hook for async TryReceiveRequest.
1109 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1111 * HttpChannelListener.cs, HttpListenerManager.cs :
1112 slightly improved BuildChannelListener().
1113 Implement OnAbort() and differentiate it from OnClose().
1115 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1117 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1119 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1121 * DuplexChannelBase.cs : simple async delegate calls here too.
1123 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1125 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1127 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1129 * HttpReplyChannel.cs : cosometic simplification.
1131 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1133 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1134 infinite block in 2.0 profile.
1136 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1138 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1139 more careful close to avoid NRE.
1141 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1143 * HttpChannelListener.cs : do not Close() more than once (though
1144 it is allowed to call it twice, we don't reject it; just ignore).
1146 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1148 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1150 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1152 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1153 Temporarily disable HTTP Keep-Alive since it somehow results in
1154 wrong reuse of connection (shown as NRE in HttpConnection).
1155 Make sure to close RequestContext which was created from it.
1156 * HttpRequestContext.cs : simplify.
1158 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1160 * HttpChannelListener.cs, TcpChannelListener.cs,
1161 ChannelListenerBase_1.cs : put common internal listener base
1162 and let it handle those async stuff.
1164 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1166 * ReplyChannelBase.cs : fix wrong null delegate check point.
1168 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1170 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1171 now implemented as virtual in base class. Remove NIEs in http.
1173 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1175 * HttpChannelListener.cs : hack async implementation.
1177 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1179 * HttpListenerManager.cs : oops, extra line removal.
1181 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1183 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1185 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1187 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1188 "ChannelManager" is confusing (there is ChannelManagerBase).
1190 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1192 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1193 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1194 they should be split into separate listener->reply channel lines
1195 (remove "if (HostingEnvironment.IsAspNet)".)
1197 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1199 * CommunicationObject.cs : OnClosed() requires call to base method.
1200 Close() could rather abort the channel, and Abort() does not
1201 always invke OnAbort().
1202 * ChannelBase.cs : add call to base as above.
1204 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1206 * ClientAccessPolicy.cs: Removed
1207 * CrossDomainAccessManager.cs: Removed
1208 * CrossDomainPolicy.cs: Removed
1209 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1210 since this is now done inside the BeginGetResponse call (outside
1211 this assembly) for Moonlight (NET_2_1)
1213 2009-06-04 Alan McGovern <amcgovern@novell.com>
1215 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1216 instead of the sync apis. Prevents a possible deadlock condition in
1219 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1221 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1222 callbacks, so add hacky ones.
1224 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1226 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1227 true when socket input is not available.
1229 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1231 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1232 I cannot precisely identify when EndRecord should be consumed,
1233 so allow it at either at the end of ReadSizedMessage() or on
1234 consuming preamble (it's likely handling EndRecord of previous
1237 Now duplex IPeerResolverContract communication works between
1238 either of .NET/Mono client and .NET/Mono server.
1240 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1242 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1243 code. Handle preamble ack on ReadSizedMessage() only at server.
1244 Consume EndRecord from server, at client side. Though it is likely
1245 changed as it's blocking when mono is at server side.
1247 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1249 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1250 different protocol than existing code with related to preamble ack.
1251 So changed it to work fine with .NET client (finally).
1253 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1255 * MessageBufferImpl.cs : do not output Action twice.
1257 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1259 * MessageBufferImpl.cs : it did not copy headers.
1260 * Message.cs : remove 2_1 conditional implementation for buffered
1261 copy and hence remove bogus code.
1263 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1265 * MessageProperties.cs : copy argument is wrong.
1267 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1269 * PeerCustomResolverBindingElement.cs : some argument check.
1271 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1273 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1274 xml open, so close the writer as well as open elements.
1275 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1276 Do not output EndRecord and SizedMessage at a time.
1278 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1280 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1281 length of the SizedMessage in the output.
1283 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1285 * CommunicationObject.cs : use sane default timeout.
1286 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1287 * TcpDuplexSessionChannel.cs : ditto.
1289 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1291 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1292 only accepts buffered messages, so do as such for write buffers.
1293 Add RelatesTo header.
1295 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1297 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1298 rename from former to latter.
1300 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1302 * TcpDuplexSessionChannel.cs : reader does not always return full
1303 buffer (depending on the stream).
1305 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1307 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1309 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1311 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1314 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1316 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1318 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1320 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1322 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1324 * ChannelManagerBase.cs : fix wrong session channel detection.
1326 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1328 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1329 This encoder factory implements CreateSessionEncoder() and binary
1330 encoder does support session transmit, in different media type.
1331 * ChannelManagerBase.cs : added utility method to create appropriate
1333 * HttpChannelFactory.cs, HttpChannelListener.cs,
1334 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1335 PeerChannelFactory.cs, PeerChannelListener.cs,
1336 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1338 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1340 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1342 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1344 * DuplexSessionBase.cs : new file, for session implementation.
1345 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1346 DuplexSessionChannelBase.cs : changed sync/async implementation
1347 pattern. Now async methods call sync methods using delegates.
1349 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1351 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1352 a few minor API fixes.
1354 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1356 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1358 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1360 * TcpDuplexSessionChannel.cs : add To header.
1362 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1364 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1367 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1369 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1371 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1373 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1374 CommunicationException in each CreateFault().
1376 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1378 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1379 Open(). Some (but not all yet) continuous communication works now.
1380 Use ProtocolException. Remove dummy binary session string.
1382 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1384 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1385 sending/receiving SizedMessageRecord parts to manager class.
1386 Handle writer session, though it is likely broken at dictionary
1387 writer part (no string is written so far).
1388 * BinaryMessageEncoder.cs : add writer session and rename reader
1391 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1393 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1394 is mandatory in initiator preamble packet. Handle Fault reply in
1397 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1399 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1400 based communication under TcpBinaryFrameManager class.
1402 2009-05-13 Jb Evain <jbevain@novell.com>
1404 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1405 from a StringReader.
1407 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1409 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1410 actually eliminate DOM-based implementation too in 2.0.
1412 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1414 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1415 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1416 comments for magic numbers based on [MC-NMF].
1418 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1420 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1421 support for [MC-NBFSE] record in [MC-NMF], in this class.
1423 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1425 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1427 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1429 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1431 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1433 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1435 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1437 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1439 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1441 * BinaryMessageEncoder.cs : use quotas in binding element.
1442 Implement WriteMessage().
1444 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1446 * PeerCustomResolverBindingElement.cs : do initialize field.
1448 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1450 * PeerCustomResolverBindingElement.cs :
1451 implement full custom resolver.
1453 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1455 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1456 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1457 PeerChannelFactory.cs : ongoing p2p channel implementation.
1459 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1461 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1463 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1465 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1466 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1467 implement GetProperty<T>(). Return documented objects or null.
1469 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1471 * PeerChannelFactory.cs, PeerChannelListener.cs,
1472 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1473 PeerInputChannel.cs, PeerOutputChannel.cs :
1474 new; ongoing peer transport implementation.
1475 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1476 MsmqOutputChannel.cs, OutputChannelBase.cs,
1477 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1478 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1479 several internal changes (either required or for simplification)
1480 for ongoing peer transport implementation.
1482 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1484 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1486 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1488 * TcpTransportBindingElement.cs : check build-ability before
1489 actually building channels.
1490 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1491 conditions according to MSDN.
1493 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1495 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1496 handle headers in SL2. Slightly changed 3.0 code too.
1498 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1500 * HttpRequestChannel.cs : use cross domain access manager.
1502 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1504 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1505 message as BodyWriter.
1506 (in GetReaderAtBodyContents) just write body contents.
1507 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1509 Add some state check in GetReaderAtBodyContents().
1510 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1512 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1514 * Message.cs : do not forget to flush.
1515 * HttpRequestChannel.cs : give more exact error info.
1517 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1519 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1520 make buffered copy in ML2 really buffered.
1522 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1524 * Message.cs : if there is no header item to write, do not write
1525 SOAP header element.
1527 2009-01-22 Alan McGovern <amcgovern@novell.com>
1529 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1530 Rewrite to avoid usage of it.
1532 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1534 * ChannelParameterCollection.cs : implement, rather than NIE.
1536 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1538 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1539 internal users to know the type of the detail.
1541 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1543 * Message.c: Use private setter for state private variable to ease debugging.
1544 Modify ToString not to change the state, as it is called quite often by VS debugger
1546 2008-04-21 Roei Erez <roeie@mainsoft.com>
1548 * HttpChannleManager: Fix for multithreaded use.
1549 * HttpReplyChannel: Fix crash during sutdown.
1551 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1553 * HttpChannleManager: ensure trailing slash in uri.
1555 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1557 * added: HttpChannleManager,
1558 * HttpChannelListener: added use of HttpChannelManager
1560 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1562 * MessageEncodingBindingElement.cs: fixed ctor
1564 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1566 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1568 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1570 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1572 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1574 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1576 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1578 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1580 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1582 * BindingElementCollection.cs: fix API - .ctor's signature.
1584 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1586 * XmlSerializerBodyWriter.cs: Removed.
1588 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1590 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1592 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1594 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1595 * TcpChannelFactory.cs, TcpChannelListener.cs :
1596 unify factory and listener into TcpChannelInfo for use in
1597 TCP channel implementation. Do not store stream in the listener.
1598 Factory now uses BinaryMessageEncoder.
1599 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1600 holds TcpClient that the listener has accepted.
1602 tcp-transport-binding-element sample now communicates (though
1603 only when both sides are mono: there seems binary mismatch).
1605 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1607 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1608 clone connection pool settings too.
1609 * NamedPipetransportBindingElement.cs,
1610 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1611 being likely implemented though).
1613 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1615 * ConnectionOrientedTransportBindingElement.cs,
1616 TcpTransportBindingElement.cs : some API updates.
1617 Initialize default values.
1618 * TcpConnectionPoolSettings.cs : new file.
1620 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1622 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1623 added support for "factory" attribute.
1625 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1627 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1629 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1631 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1633 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1635 * HttpRequestChannel.cs : create WebRequest against To message header
1637 Consider HttpRequestMessageProperty.
1638 Do not output body when suppressed or the method is GET.
1640 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1642 * HttpChannelListener.cs : BindingContext may not have listenUri
1643 at its .ctor() step.
1645 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1647 * BindingContext.cs : RemainingBindingElements is not just a dummy
1648 collection but is actually user-controlled.
1650 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1652 * TcpChannelFactory.cs, TcpChannelListener.cs,
1653 HttpChannelFactory.cs, HttpChannelListener.cs,
1654 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1655 TextMessageEncodingBindingElement.cs,
1656 BinaryMessageEncodingBindingElement.cs,
1657 MtomMessageEncodingBindingElement.cs :
1658 message encoder should be retrieved only through public API.
1659 * BindingContext.cs : so my old guess was wrong.
1661 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1663 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1665 * HttpTransportBindingElement.cs : implemented copy constructor.
1667 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1669 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1670 header when AddressingVersion is None.
1672 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1674 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1677 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1679 * OneWayBindingElementImporter.cs
1680 CompositeDuplexBindingElementImporter.cs : new files.
1682 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1684 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1685 semantic change, its bool parameter must be false, not true.
1687 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1689 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1690 new files. Msmq transport listener Implementation.
1691 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1692 (wait for System.Messaging impl.)
1693 * HttpReplyChannel.cs : added comment
1695 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1697 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1698 new files. internal stuff for msmq channel.
1699 * BinaryMessageEncoder.cs : added another .ctor().
1700 * MsmqTransportBindingElement.cs :
1701 implemented [Can]BuildChannelFactory().
1703 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1705 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1706 initialize some fields.
1708 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1710 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1711 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1712 couple of msmq stubs.
1714 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1716 * SecureMessageGenerator.cs : SecurityContextToken support (though
1717 it is still regarded as invalid by WCF).
1719 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1721 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1722 make header.Contents.Add() more strict.
1723 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1725 Added some hack to allow ssl token external mode.
1726 Commented out such lines that always premised asymmtric key.
1728 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1730 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1732 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1734 * MessageSecurityBindingSupport.cs : support check to create
1735 authenticator is now done in both initiator/recipient sides.
1736 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1738 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1740 * MessageSecurityBindingSupport.cs : for now, comment out the code
1741 that makes authenticator creation optional.
1742 * SecurityRequestContext.cs : don't decrypt message when it is
1743 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1745 * SecurityChannelListener.cs : GetProperty<T>() now returns
1746 MessageSecurityBindingSupport when requested. It is used by
1747 EndpointDispatcher to check if it supports WS-Trust negotiation.
1748 * ChannelListenerBase.cs :
1749 removed extra TODO and field. Implemented GetProperty<T>().
1750 * Message.cs : In CreateMessage() for SOAP Fault, create
1751 SimpleMessage with IsFault = true.
1753 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1755 * SecurityRequestContext.cs : try to reply fault with the inner
1756 channel when an error occurred internally.
1757 * FaultConverter.cs : implemented based on OperationContext (at normal
1758 state it does not seem to create messages, so I implemented it this
1761 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1763 * TransportBindingElement.cs : implemented GetProperty<T>().
1764 * TransactionFlowBindingElement.cs : on building factory or listener,
1765 reject channel types that cannot build.
1766 * SecurityBindingElement.cs : added some TODO comments.
1767 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1768 delegate to base, not BindingContext.
1769 * SecurityRequestContext.cs : somewhat late decryption.
1771 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1773 * MessageSecurityBindingSupport.cs,
1774 AsymmetricSecurityBindingElement.cs,
1775 SymmetricSecurityBindingElement.cs :
1776 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1777 implemented ISecurityCapabilities on them. Now those binding
1778 elements support GetProperty<ISecurityCapabilities>().
1780 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1782 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1783 will work only for predefined parameter types.
1785 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1787 * MessageSecurityBindingSupport.cs :
1788 Set proper MessageDirection to the requirement after creation.
1789 split CreateTokenAuthenticator() as MessageDirection is different.
1790 Removed extra creation of requirement.
1792 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1794 * MessageSecurityBindingSupport.cs : token authenticator is not
1795 always created on channel-opening stage.
1796 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1797 Sslnego binding factory method.
1799 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1801 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1802 signature velification failure.
1804 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1806 * SecureMessageGenerator.cs : encrypt signature confirmations only
1807 when they are required.
1809 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1811 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1812 when [Signature Protection is true i.e. when we use
1813 SignBeforeEncryptAndEncryptSignature.
1815 With this change finally samplesvc.cs/samplecli.cs became
1818 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1820 * SecureMessageDecryptor.cs : signature verification was not done
1821 for endorsing supporting tokens.
1822 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1823 in the security header. Don't output empty ReferenceList.
1825 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1827 * SecureMessageGenerator.cs : signingToken was added before being
1828 initialized and thus caused NRE.
1830 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1832 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1833 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1834 don't need workaround for symmetric key restoration.
1836 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1838 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1839 SecureMessageGenerator.cs :
1840 Avoid extra reference search from the request's ReferenceList.
1841 create HMACSHA1 always with the key to compute hash (I'm not sure
1842 it is correct; it is rather to adjust all hash consistent.)
1844 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1846 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1847 actually endorsed the primary signature.
1848 * SecureMessageGenerator.cs : implemented endorsing of the primary
1849 signature. So, now supporting tokens are fully implemented.
1851 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1853 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1854 totally signing tokens.
1855 * SecureMessageGenerator.cs : Endorsing tokens should also be
1856 included in the message. They are just not signed.
1858 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1860 * SecureMessageGenerator.cs : support signing and encryption of
1861 supporting tokens. Some required refactory to do it.
1862 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1864 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1866 * SecureMessageDecryptor.cs : fix exception message.
1867 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1868 XmlNamespaceManager is not required for GetIdElement().
1870 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1872 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1873 moved decryption part from former file to latter file, to reuse
1874 SignedXml instance (though now I doubt how it actually was good)
1875 which in turn required to replace EncryptedData in
1876 WSSecurityMessageHeader with decrypted one.
1877 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1879 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1881 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1882 EncryptedData should contain KeyInfo as it is not obvious which key
1883 is used there. .net<->mono DerivedKeyToken introp is done.
1884 * SecureMessageDecryptor.cs : check derived key requirement.
1885 Reduce dom-dependent parts.
1887 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1889 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1890 the related DerivedKeyToken (if any).
1891 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1892 support. Some refactoring to distinguish deried-token-related
1894 * SecureMessageDecryptor.cs : removed its own support for derived
1895 key tokens. Now it fully works with DerivedKeySecurityToken.
1897 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1899 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1900 SecureMessageDecryptor.cs :
1901 Implemented increment token reading in o:Security, as
1902 DerivedKeyToken could reference to existing wrapped key.
1903 Removed WsscDerivedKeyToken and all relevant code.
1904 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1905 DerivedKeySecurityToken.
1907 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1909 * SecureMessageGenerator.cs : it was setting security tokens into
1910 incorrect SecurityMessageProperty.
1911 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1912 Now it uses SecurityRequestContext instead of just primary key.
1913 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1914 to symmetric reply decryption, which is the only trouble case.
1915 Do not create another SignedXml.
1916 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1918 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1920 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1921 the resolver works with in-progress token reading in o:Security.
1922 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1923 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1924 * SecureMessageGenerator.cs : cosmetic refactoring.
1926 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1928 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1929 instead of EncryptedKey.
1931 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1933 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1934 should not be always prepared at channel Open(). It also caused
1935 that extra token requirements.
1936 * SecureMessageGenerator.cs : use correct key clause for encryption.
1937 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1939 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1941 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1942 for supporting 'supporting tokens' .
1943 * SecureMessageGenerator.cs : Supporting token creation is done only
1944 at initiator (not sure if it is supposed that, but for now it is).
1945 Removed extraneous CollectSupportingTokens().
1946 * SecureMessageDecryptor.cs : implemented supporting token
1947 authentication (partly). "Signed" supporting tokens are expected
1950 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1952 * SecureMessageGenerator.cs :
1953 make SignBeforeEncryptAndEncryptSignature working.
1955 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1957 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1958 the key itself. ProtectionToken is WrappedKey.
1959 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1960 not EncryptedKeyIdentifierClause which is not for embedded key.
1961 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1963 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1965 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1966 to switch asymmetric and symmetric. Not used yet.
1967 * SecurityRequestChannel.cs : now it pass the request security
1968 property to reply receiver so that it could use the primary key
1969 used at request phase.
1970 * SecurityRequestContext.cs : now it pass the context itself to
1971 reply sender so that it could embed related MessageID.
1972 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1973 binding element. Add RelatesTo output and remove MessageID when
1974 replying to the sender. Added some hacks to get symmetric binding
1976 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1977 in SecurityTokenReference (it also involved existing encrypted key
1978 retrieval). In reply receiver, reuse the key that was used at
1979 request phase. It needs significant token resolution refactoring.
1981 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1983 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1984 * SecureMessageDecryptor.cs : store token and its authentication
1985 policies into the security property, and reuse it on reply.
1986 Some code refactoring; there is at most one o:Security to solve at
1987 one endpoint (depends on Actor). Some attempt to use correct
1988 token parameters (but for now I have only samples that use x509).
1989 * SecureMessageGenerator.cs : For replying message, use initiator's
1990 signing token as the encryption token. Simply reuse security
1991 property from the input message.
1993 I have some nasty workaround at decryptor for initiator that could
1994 not retrieve decryption key.
1996 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1998 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1999 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2000 several refactoring on token acquisition. Large part of
2001 MessageSecurityBindingSupport code is unified.
2003 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2005 * MessageProperties.cs : Security property should be one of the items.
2006 Actually many other properties should be similar as well.
2007 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2008 when copying a message, copy properties as well.
2009 * SecurityRequestContext.cs : on replying, pass input
2010 SecurityMessageProperty to the security generator.
2011 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2013 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2015 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2018 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2019 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2020 use new WSSignedXml instead of SignedXml, and remove coexisting
2021 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2022 - our reply messages could be consumed by .NET, and
2023 - .NET signature could be verified.
2025 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2027 * SecureMessageDecryptor.cs : The signing key must be passed as
2028 CheckSignature() argument, not SigningKey.
2030 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2032 * MessageImpl.cs : don't read attribute after ReadStartElement().
2034 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2036 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2037 * SecureMessageGenerator.cs : use correct signing key clause for
2038 SecurityTokenReferenceKeyInfo to be serialized.
2039 * SecureMessageDecryptor.cs : now it can try to parse signature.
2041 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2043 Ongoing changes to support signature confirmation
2044 * SecureMessageGenerator.cs :
2045 Don't output ReplyTo onto reply message.
2046 Write SignatureConfirmation if needed.
2047 * SecureMessageDecryptor.cs :
2048 Some refactoring for header cunsumption. Added commented-out
2049 signature verification part (not working yet, on client side due
2050 to incorrect reply from service and insufficient clause reader).
2051 * WSSecurityMessageHeader.cs :
2052 Added SignatureConfirmation support.
2053 KeyInfoClause for o:SecurityTokenReference should be replaced with
2054 SecurityTokenReferenceKeyInfo.
2056 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2058 * SecureMessageGenerator.cs : support Timestamp signature.
2059 Removed unused code, and extra argument in CreateReference().
2060 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2062 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2064 * SecureMessageGenerator.cs :
2065 Several fixes to make asymmetric binding working:
2066 - Differentiate signing and encryption token in several areas.
2067 - Fixed signing keyinfo.
2069 Added initial SecurityMessageProperty handling, not sure if it is
2070 appropriate here though.
2071 * HttpRequestChannel.cs : (some debugging lines)
2073 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2075 Woohoo! Here is a very basic WS-Security compliant message which could
2076 be allowed by Indigo.
2077 * MessageHeader.cs : added Id support for writing.
2078 * Message.cs : added internal BodyId for signature reference.
2079 * MessageImpl.cs : write Body Id if required.
2080 * SecureMessageGenerator.cs : Before signing, the target elements must
2081 be given wsu:Id. Since I still use System.Security.dll, I need some
2082 trick for signing (I give both Id and wsu:Id, former to sign and
2083 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2084 implementation later. Now singning mechanism works except for
2085 wsu:Timestamp (which is kind of mandatory).
2087 I can's still consume replies from Indigo but it's a big progress :)
2089 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2091 * MessageHeaderInfo.cs : added internal Id.
2092 * MessageHeader.cs : read and write wsu:Id.
2093 * Message.cs : output wsu namespace if Id exists in any header.
2094 * HttpReplyChannel.cs : (some debugging lines.)
2095 * SecureMessageDecryptor.cs : (remove debugging lines.)
2096 * MessageImpl.cs : removed obsolete code.
2097 * WSSecurityMessageHeader.cs : output "o" prefix.
2098 * SecureMessageGenerator.cs : replaced XmlElement-based header
2099 signing with MessageHeader-based signing, to support Id correctly.
2101 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2103 * SecureMessageGenerator.cs : some more refactoring and code comments.
2104 * MessageSecurityUtility.cs : made decryptor into an instance class,
2105 like I've done for SecureMessageGenerator.
2106 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2107 dependent changes for above.
2109 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2111 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2112 causing NRE due to the lack of token reference.
2113 No need to pass doc to SignedXml.ctor() anymore.
2114 Moved ReferenceList before the signature(s).
2116 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2118 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2119 Moved signing key generation code to non-HMACSHA1 signing part.
2120 Don't try to sign wss:Security.
2121 Pass document itself to SignedXml.ctor().
2122 Use temporary DataObjects to avoid adding Ids (not sure what is the
2123 expected processing yet).
2124 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2125 WriteTo() method in WsuTimestamp.
2127 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2129 * SecureMessageGenerator.cs : wrong key was used for signing.
2130 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2132 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2134 * SecureMessageGenerator.cs :
2135 Now ID generation process does not modify input message.
2136 Moved derived key generation part into (virtual) signing loop.
2137 MessagePartSpecification support for signing is done.
2139 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2141 * SecureMessageGenerator.cs : some reordering to handle signing and
2142 encryption with supporting tokens. Fixed XPath query bug for
2143 soap header contents (we want s:Header/*, not s:Header).
2145 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2147 * MessageSecurityBindingSupport.cs : more refactoring.
2148 Made it abstract and added Initiator- and Recipient- classes.
2149 Several members were moved to those derived types.
2150 * AsymmetricSecurityBindingElement.cs,
2151 SymmetricSecurityBindingElement.cs
2152 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2153 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2154 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2155 All dependent changes by above. Removed ISecurityChannelSource
2156 which became useless.
2158 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2160 * SecureMessageGenerator.cs : encryption parts should exist too.
2161 * AsymmetricSecurityBindingElement.cs
2162 SymmetricSecurityBindingElement.cs,
2163 MessageSecurityBindingSupport.cs : some refactoring.
2164 Split MessageSecurityBindingSupport into security binding element
2165 specific parts and made MessageSecurityBindingSupport concrete.
2166 It is likely split again, next time based on initiator/recipient.
2168 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2170 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2171 split encryptor part in the former file into latter file, and
2173 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2174 SecurityRequestContext.cs : apply the change above.
2176 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2178 * MessageSecurityBindingSupport.cs :
2179 Fixed incorrect TrgGetValue() use.
2180 Added CollectRecipientSupportingTokens().
2182 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2184 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2185 EncryptedKey. So, when a key itself is used to encrypt data,
2186 ReferenceList is contained by itself.
2187 * MessageSecurityBindingSupport.cs :
2188 added CollectInitiatorSupportingTokens().
2190 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2192 * MessageSecurityUtility.cs: it should support ReferenceList-less
2195 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2197 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2198 * MessageSecurityUtility.cs : there already was uuid.
2200 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2202 * MessageSecurityUtility.cs : replaced EncryptedKey with
2203 WrappedKeySecurityToken, which seems to be in actual use in .net.
2204 * WSSecurityMessageHeader.cs : added internal Guid so that it
2205 could be shared between header items.
2207 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2209 * HttpRequestContext.cs, TextMessageEncoder.cs :
2210 some null arg check.
2212 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2214 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2215 for SecurityTokenReference resolution.
2217 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2219 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2220 consider DerivedKeyTokens correctly.
2221 When creating LocalId, don't add '#' here.
2223 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2225 * MessageSecurityUtility.cs :
2226 handle key mapping for each wsse:Security.
2228 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2230 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2232 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2234 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2236 * MessageSecurityUtility.cs :
2237 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2238 suggests, and it is used to dereference decryption targets.
2239 Now it premises multiple wsse:Security elements to read.
2241 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2243 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2244 manually (and actually the namespace URI was wrong).
2246 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2248 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2250 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2252 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2254 * SecurityBindingElement.cs,
2255 SymmetricSecurityBindingElement.cs,
2256 AsymmetricSecurityBindingElement.cs :
2257 implemented SetKeyDerivation().
2259 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2261 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2264 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2266 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2269 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2271 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2272 thus move it in front of encryption/signing.
2274 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2276 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2277 check state by themselves (btw it's not really working).
2278 * HttpChannelListener.cs : If the url does not end with '/' add it
2279 so that it could be fed to HttpListener.
2281 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2283 * HttpChannelFactory.cs : check scheme on CreateChannel.
2284 * MessageHeader.cs : finish IsMessageVersionSupported().
2286 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2288 * FaultConverter.cs : new file, not used yet though.
2290 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2292 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2294 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2296 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2297 GET as well as HttpReplyChannel, configuration would be ready now.
2299 2006-10-18 Ankit Jain <jankit@novell.com>
2301 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2302 EnvelopeVersion.Soap12 and 'text/xml' for others.
2303 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2305 Strip '?' from the query string.
2307 2006-10-13 Ankit Jain <jankit@novell.com>
2309 * MessageVersion.cs (None): Set AddressingVersion.None
2311 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2313 * SvcHttpHandler.cs : added config-based endpoint addition code.
2314 Though due to some weird bug in mono-core it does not seem to work,
2315 so commented out for now.
2316 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2317 mex request message might just be wrong.
2318 Use expected MessageVersion by the channel.
2319 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2321 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2323 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2324 which differs depending on whether it is asymmetric or symmetric.
2325 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2326 simplify SecureMessage() and DecryptMessage() arguments (just
2327 take MessageSecurityBindingSupport instead of several parameters).
2328 * MessageSecurityUtility.cs :
2329 - simplify SecureMessage() and DecryptMessage() arguments (just
2330 take MessageSecurityBindingSupport instead of several parameters).
2331 - Take token inclusion mode into account. Don't include them when
2332 it is not expected. Also, change the token reference style.
2333 - add wsa:MessageID to the headers.
2334 - For hmac-sha1 signing (default for symmetric binding), use
2335 symmetric key created for encryption as well to create HMACSHA1.
2336 - add Id to wsu:Timestamp.
2337 - start to handle SecurityMessageProperty.
2338 * WSSecurityMessageHeader.cs :
2339 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2340 Changed date format.
2342 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2344 * CommunicationObject.cs : reject faulted state on Open()/Close().
2345 * MessageHeaders.cs : removed extra fields.
2347 2006-10-06 Ankit Jain <jankit@novell.com>
2349 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2351 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2353 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2354 added some FIXMEs and additional arg.
2356 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2358 * MessageSecurityUtility.cs : remove duplicate Action header.
2360 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2362 * MessageFault.cs : partly implemented CreateFault(Message, int).
2363 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2364 handle IsFault correctly in each implementation.
2366 2006-10-04 Ankit Jain <jankit@novell.com>
2368 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2370 2006-10-04 Ankit Jain <jankit@novell.com>
2372 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2373 in WebConnectionStream.
2375 2006-10-04 Ankit Jain <jankit@novell.com>
2377 * MessageHeaders.cs (To): Use GetHeader<string> till
2378 DataContractSerializer gets ISerializable support.
2379 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2381 2006-10-04 Ankit Jain <jankit@novell.com>
2383 * ServiceHostParser.cs (Parse):
2384 (Split): Add some error checks.
2386 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2388 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2389 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2390 * SslStreamSecurityUpgradeProvider.cs,
2391 SslStreamSecurityUpgradeAcceptor.cs :
2392 new files for Ssl upgrade provider implementation.
2393 * MessageSecurityUtility.cs :
2394 Create proper C14NTransform. Don't use enveloped signature
2395 transform but sign every significant bits. On securing messages
2396 use ChannelProtectionRequirements.
2397 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2399 * MessageEncoder.cs : fix API (missing constraint).
2400 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2401 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2402 * AsymmetricSecurityBindingElement.cs : default protection order is
2403 SignBeforeEncryptAndEncryptSignature.
2405 2006-09-29 Ankit Jain <jankit@novell.com>
2407 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2408 ServicHostParser and use that here.
2409 (PrivateBinPath): New.
2410 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2411 (RemovedCallback): Remove and close the SvcHttpHandler when its
2412 corresponding file (.svc) changes.
2413 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2415 * ServiceHostParser.cs : New.
2416 * CachingCompiler.cs : New. Code extracted from
2417 System.Web.Compilation.CachingCompiler
2418 * CompilationException.cs : New. From System.Web.Compilation
2419 * HtmlizedException.cs : New. Likewise.
2421 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2423 * MessageSecurityBindingSupport.cs : For client side, it is always
2424 InitiatorServiceModelSecurityTokenRequirement which should be
2425 created. Fixed wrong client encryption key acquisition.
2427 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2429 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2430 MessageSecurityBindingSupport.cs : made similar changes as factories
2431 to listener so that session channels and input channels would work.
2432 Added authenticator creation.
2434 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2436 * Binding.cs : added missing members.
2438 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2440 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2441 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2442 reduce code duplication between request and output channels.
2443 The common parts are now in MessageSecurityBindingSupport.
2444 Now reduced several arguments in SecureMessage() for client.
2446 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2448 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2450 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2452 * AsymmetricSecurityBindingElement.cs,
2453 SecurityChannelListener.cs,
2454 SecurityRequestContext.cs,
2455 SymmetricSecurityBindingElement.cs,
2456 SecurityRequestChannel.cs,
2457 SecurityOutputChannel.cs,
2458 SecurityChannelFactory.cs,
2459 MessageSecurityBindingSupport.cs : 1) Refactoring.
2460 IMessageSecurityBindingSupport now becomes a class and contains
2461 all the members which resided in ISecurityChannelSource.
2462 Now it takes more constructor params.
2463 Made dependent changes on all sources above.
2465 2) Added SecurityTokenAuthenticator creation in
2466 SecurityRequestChannel (SecurityOutputChannel should do the same).
2468 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2470 * SecurityRequestChannel.cs : ongoing improvements on conditional
2471 key creation. Actually there must be some part that creates an
2472 authenticator (WinFX does that).
2474 2006-09-27 Ankit Jain <jankit@novell.com>
2476 Add suport for handling .svc files.
2477 * SvcHttpHandlerFactory.cs: New.
2478 * SvcHttpHandler.cs: New.
2480 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2481 asp.net environment.
2482 (OnOpen): Do nothing in asp.net environment.
2483 (OnClose): Likewise.
2484 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2485 * HttpRequestContext.cs: .. here.
2487 * AspNetReplyChannel.cs: New.
2488 * AspNetRequestContext.cs: New.
2490 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2492 * MessageSecurityUtility.cs :
2493 Significantly rewritten decryption parts to respect ReferenceList
2494 to decrypt (so no workaround anymore).
2495 Now e:ReferenceList inside o:Security is treated as the referenced
2496 EncryptedType items are encrypted by 1) the derived key which is
2497 immediately in front of it, or 2) the default key (it is according
2498 to WS-SecureConversation section 9.1). Thus removed immediately
2499 previous hack to auto-fill wsu:Id attributes.
2501 On securing a message, generate correct Id and add DataReference
2502 to ReferenceList properly.
2504 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2506 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2509 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2511 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2512 Actually WSSecurityTokenSerializer should be able to consume it, but after
2513 spending a lot of time I still cannot successfully read it on WinFX.
2514 Skip ReferenceList for now.
2515 * MessageSecurityUtility.cs :
2516 Replaced some string literals with constants.
2517 Added some workaround for DerivedKeyToken retrieval.
2518 WinFX somehow sends incomplete ISO10126 padding which contains
2519 bigger number than the key size and is rejected by EncryptedXml,
2520 so added DecryptLax() which processes such ones in PaddingMode.None
2521 to workaround it (only for cross-connection between mono and winfx).
2522 Added some incomplete implicit wsu:Id processing.
2523 Don't try to replace SignedXml with EncryptedData. It is not added
2524 to the document tree.
2526 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2528 * MessageSecurityUtility.cs : support message signature encryption. Some
2531 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2533 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2535 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2537 * MessageSecurityUtility.cs : fix warnings.
2539 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2541 * MessageSecurityUtility.cs : actually there would be more than one
2542 EncryptedData. Decrypt all.
2544 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2546 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2547 Use ISO10126 padding mode (it is not required but in manner).
2549 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2551 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2552 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2553 that class to make it work fine with mono client).
2554 Removed buggy lines that reset decryption key to AES.
2555 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2556 * WSSecurityMessageHeader.cs :
2557 (SecurityTokenReferenceKeyInfo) support LoadXml.
2559 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2561 * TransactionMessageProperty.cs : new file.
2563 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2565 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2566 gmcs happened to report wrong code.
2568 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2570 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2571 .ctor() now requires ChannelProtectionRequirements which will be
2572 supplied via BindingParameterCollection.
2573 * SymmetricSecurityBindingElement.cs,
2574 AsymmetricSecurityBindingElement.cs : thus add
2575 ChannelProtectionRequirement parameter to factory/listener.
2576 * SecurityRequestChannel.cs : use recipient token requirement to
2577 create an encryption token. Thus differentiate the logic from
2578 signing (initiator) token.
2580 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2582 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2583 renamed former to latter.
2584 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2587 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2589 * MessageSecurityBindingSupport.cs : new internal types to commonize
2590 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2591 and thus make internal factory and listener reusable.
2592 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2593 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2594 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2595 SymmetricSecurityBindingElement, using the new types above.
2596 * SymmetricSecurityBindingElement.cs :
2597 Use SymmetricMessageSecurityBindingSupport.
2598 * AsymmetricSecurityBindingElement.cs :
2599 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2601 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2603 * ChannelFactoryBase.cs : more RC1 update.
2605 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2607 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2608 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2609 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2610 ChannelBase.cs : RC1 API updates.
2611 * MessageImpl.cs : implemented Properties.
2612 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2614 2006-09-18 Ankit Jain <jankit@novell.com>
2616 * MessageHeaders.cs (MessageId):
2617 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2619 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2621 * ChannelParameterCollection.cs : new file.
2622 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2623 new files for IOutputChannel implementation.
2624 * OneWayBindingElement.cs : hacky implementation.
2625 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2626 * MessageSecurityUtility.cs : now create identifier from the security
2627 token and the token parameters which is added as an argument.
2628 * SecurityRequestContext.cs,
2629 SecurityRequestChannel.cs : SecureMessage() argument changes.
2630 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2633 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2635 * HttpRequestChannel.cs : close the HttpWebRequest.
2637 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2639 * HttpRequestChannel.cs,
2640 HttpChannelFactory.cs : implement async request/reply.
2641 * HttpChannelFactory.cs :
2642 verify factory state when creating a channel.
2644 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2646 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2647 BinaryMessageEncoder.cs : added message version mismatch check.
2649 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2651 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2652 Making incomplete changes to handle different tokens for encryption
2654 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2655 split channel implementation classes out to the latter file.
2656 * MessageSecurityUtility.cs : seems like there is
2657 TimeStampValidityDuration property, so use it (incomplete; a server
2658 needs another love).
2660 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2662 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2663 SecurityRequestContext.cs : now that we have key identifier clause
2664 and working ResolveKeyIdentifierClause(), just create keys inside
2665 SecureMessage(). Add KeyInfo to the xmldsig.
2667 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2669 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2670 pass SecurityKeyIdentifierClause to SecureMessage().
2671 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2672 for IssuedToken binding element.
2673 * SymmetricSecurityChannelListener.cs : removed hack to just create
2674 X509 security token, and implemented correct token creation.
2675 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2676 wraps SecurityTokenReference element.
2677 * MessageSecurityUtility.cs : use the above.
2679 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2681 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2682 could not find a security header.
2683 * SymmetricSecurityChannelFactory.cs : now it also supports
2684 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2687 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2689 * SecurityRequestContext.cs : moved securing message part to
2690 MessageSecurityUtility.cs.
2691 * MessageSecurityUtility.cs : the change above.
2692 use DateTime.Now for timestamp basis. Don't append signature to
2693 the document. Instead it is added to the header. Capture body
2694 content instead of the body itself.
2695 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2696 be processed by upper layers.
2698 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2700 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2701 SymmetricSecurityChannelListener.cs,
2702 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2703 more refactoring. Request serialization became much more conformant
2704 and add required header items.
2705 Security Token retrieval is needed to send it in the request.
2706 Fixed wrong key encryption.
2708 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2710 * SecurityRequestContext.cs : the workaround was not functional.
2712 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2714 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2715 API, especially ReplaceData(), instead of native crypto stuff.
2716 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2717 MessageProtectionOrder.SignBeforeEncrypt).
2719 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2721 * SecurityRequestContext.cs : label should be combined of both
2722 the client's and the server's.
2724 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2726 * SecurityRequestContext.cs : enable key derivation (though for now
2727 GenerateDerivedKey() is unimplemented). Create meaningful,
2728 decrypted request message to be consumed by the upper layer.
2730 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2732 * SecurityRequestContext.cs : implement Close() and Reply().
2733 ongoing implementation of Reply(TimeSpan).
2734 * MessageSecurityUtility.cs : new file to collect utility methods.
2735 * SymmetricSecurityChannelFactory.cs : moved securing message code
2737 * SymmetricSecurityChannelListener.cs : tiny renaming.
2739 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2741 * SecurityRequestContext.cs : security header is also stored.
2743 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2746 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2748 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2751 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2753 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2754 so that it retrieves the security key in that manner.
2756 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2758 * Binding.cs : MessageVersion is null when there is no
2759 MessageEncodingBindingElement.
2760 * Message.cs : null arg check.
2762 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2764 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2766 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2768 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2769 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2770 LayeredRequestChannel.cs : some refactoring.
2771 * SymmetricSecurityChannelFactory.cs :
2772 ongoing secure message creation implementation.
2774 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2776 * SymmetricSecurityBindingElement.cs :
2777 pass specific ServiceCredentialsSecurityTokenManager type to
2778 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2779 * SymmetricSecurityChannelListener.cs :
2780 get service certificate. It's a temporary hack.
2781 Move RequestContext code to below.
2782 * SecurityRequestContext.cs : new file.
2783 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2784 it I have to finish decryption of the incoming message.
2786 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2788 * MessageImpl.cs : don't write attributes on the first body content
2789 element *on soap Body element*.
2790 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2791 ObjectDisposedException is appropriate.
2792 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2793 in OnWriteHeader*Contents*().
2795 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2797 * WSSecurityMessageHeader.cs : new file.
2798 * SymmetricSecurityChannelFactory.cs :
2799 moved WSSecurityHeader and related types to the above.
2800 * SymmetricSecurityChannelListener.cs :
2801 reject SOAP-env-less message.
2803 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2805 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2806 renamed former to latter.
2807 * SymmetricSecurityChannelFactory.cs :
2808 create requirements every time. It is also likely that I need
2809 another requirement instance to get service credentials here.
2811 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2813 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2814 similar to BuildChannelFactory() (set credentials, issuer binding
2816 * SecurityChannelListener.cs :
2817 more ongoing security support implementation.
2818 * SymmetricSecurityChannelFactory.cs :
2819 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2821 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2823 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2824 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2825 Implementation is underway.
2826 * LayeredReplyChannel.cs :
2827 like LayeredRequestChannel, use ChannelListenerBase to provide
2830 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2832 * MessageHeader.cs : added another implementation type that uses
2833 XmlElement, for buffering purpose.
2834 * MessageImpl.cs : Header item types are user-driven by
2835 MessageHeader.GetHeader<T>(int), so at storing phase just store
2836 nodes as XmlElement.
2837 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2840 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2842 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2843 BindingParameterCollection, not from binding element properties.
2845 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2847 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2848 renamed former to latter.
2850 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2852 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2853 work for SslSecurityTokenParameters.
2855 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2857 * SecurityBindingElement.cs :
2858 Added SetIssuerBindingContextIfRequired().
2859 * SecurityChannelFactory.cs :
2860 Changed .ctor() arg again, just to receive binding element.
2861 * SymmetricSecurityBindingElement.cs :
2862 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2863 SymmetricSecurityChannelFactory .ctor() arg changes.
2864 "ProtectionTokenParameters" is not passed now.
2866 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2868 * SymmetricSecurityBindingElement.cs : requirements should be
2869 filled at InitializeSecurityTokenParameters as long as possible.
2870 SymmetricSecurityChannelFactory<T> now does not receive
2871 requirements (it now creates one inside it) at .ctor().
2872 * SecurityChannelFactory.cs : remove requirement argument.
2874 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2876 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2878 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2880 * SymmetricSecurityBindingElement.cs :
2881 MessageSecurityVersion property is of type SecurityTokenVersion.
2882 * SecurityBindingElement.cs :
2883 Implemented CreateSecureConversationBindingElement().
2884 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2885 the argument IssuedSecurityTokenParameters itself.
2887 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2889 * SymmetricSecurityBindingElement.cs :
2890 CreateSecurityTokenManager() can be directly used now.
2891 Use CallInitializeSecurityTokenRequirement() to fill requirement
2894 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2896 * ChannelFactoryBase.cs : GetProperty() is virtual.
2898 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2900 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2901 create token manager, token parameters and token requirements,
2902 and fill some requirements.
2903 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2904 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2905 * BindingContext.cs : implemented RemainingBindingElements.
2906 kill "no remaining binding element" error in GetInnerProperty()
2907 * SecurityChannelFactory.cs : now it became
2908 SymmetricSecurityChannelFactory, thus soon to be renamed.
2909 Several ongoing actual security resolution is on.
2911 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2913 * CommunicationObject.cs :
2914 add GetCommunicationObjectType() and use it.
2915 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2916 use ThrowIfDisposedOrNotOpen().
2917 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2918 to CommunicationObject. Make it IDisposable.
2919 * LayeredRequestChannel.cs : use above.
2920 * SecurityChannelFactory.cs : removed state check as it is done at
2923 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2925 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2926 CanBuildChannelListener) directly dispatch to BindingContext.
2927 * SymmetricSecurityBindingElement.cs : require protection token
2928 parameters before building a channel or a listener.
2929 * ChannelFactoryBase.cs : raise an error when a channel is being
2930 created without opening the factory.
2931 * ChannelListenerBase_1.cs : ditto for the listener.
2932 * SecurityChannelFactory.cs : before sending a request, it must be
2935 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2937 * MessageBufferImpl.cs : initialize fields.
2938 workaround BufferSize just to return 0.
2939 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2940 which does not support multi time write.
2941 * Message.cs : implemented State.
2943 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2945 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2946 is consuming XmlReader.
2947 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2948 * MessageBuffer.cs : implemented CreateNavigator().
2949 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2951 I kinda know that MS heavily depends on binary XmlReader and may have
2952 XPathNavigator implementation based on the binary stuff, but at
2953 least for now we have almost no motivation to mimick it.
2955 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2957 * SecurityChannelFactory.cs : a bit more of security header code.
2959 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2961 * SymmetricSecurityBindingElement.cs :
2962 set default MessageProtectionOrder in every construction.
2964 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2966 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2967 changed to require ChannelFactoryBase to support default timeout.
2968 Made some methods non-virtual. Preparing code to add security
2969 headers (empty yet).
2970 * SecurityBindingElement.cs : implemented several factory methods
2971 that return SymmetricSecurityBindingElement.
2973 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2975 * IStreamUpgradeBindingElement.cs,
2976 StreamUpgradeBindingElement.cs : renamed from former to latter.
2978 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2980 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2982 2006-07-31 Ankit Jain <jankit@novell.com>
2984 * MessageHeaders.cs (From): Use Constants.WSA1
2985 (MessageId): Implement the same pattern as other properties (From etc).
2987 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2989 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2990 * SecurityBindingElement.cs : some cosmetic changes.
2992 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2994 * SecurityBindingElement.cs : LocalClientSettings and
2995 LocalServiceSettings returns an instance for each.
2996 * LocalClientSecuritySettings.cs : initialized fields.
2998 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3000 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3001 kinda implemented Clone() just with MemberwiseClone().
3003 2006-07-27 Ankit Jain <jankit@novell.com>
3005 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3006 * MessageHeader.cs (knownTypes): New. Known type array containing
3008 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3010 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3012 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3013 LayeredCommunicationObject.cs,
3014 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3015 new files to support security channels, though right now they
3016 just pass inner channels through.
3017 * SymmetricSecurityBindingElement.cs : use above.
3019 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3021 * AsymmetricSecurityBindingElement.cs,
3022 SymmetricSecurityBindingElement.cs :
3023 Default SecurityTokenParameters is null.
3025 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3027 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3029 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3031 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3033 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3034 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3035 headers. When AddressingVersion is None, don't output addressing
3036 headers as well, except for Action which is still needed by
3039 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3041 * MessageHeaders.cs : changed specific properties to find it from
3042 headers as Action property does (local variables won't be set by
3043 setter). Cache serializers. Check null serializer arguments.
3044 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3046 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3048 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3049 use XmlObjectSerializer (since it is not data contract type).
3051 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3053 * MessageImpl.cs : Improved ReadHeaders().
3054 For certain header items, use EndpointAddress.ReadFrom().
3056 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3058 * AsymmetricSecurityBindingElement.cs :
3059 it is not ISecurityCapabilities anymore.
3061 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3063 * MessageVersion.cs : added None.
3065 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3067 * Message.cs : GetReaderAtBodyContents() implementation using
3070 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3072 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3073 used MessageVersion.Default.
3075 2006-07-12 Duncan Mak <duncan@novell.com>
3077 * MessageBuffer.cs (MessageContentType): Return
3078 "application/soap+msbin1".
3080 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3081 (SimpleMessage.OnCreateBufferedCopy):
3082 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3083 MessageBuffer implementations.
3085 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3086 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3087 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3089 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3091 * MessageImpl.cs : Action should be added in request messages. Omit
3092 it only in reply message, thus moved to dispatcher logic.
3094 2006-07-12 Ankit Jain <jankit@novell.com>
3096 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3097 bug in WebConnectionStream.
3098 * MessageHeaders.cs (MessageHeaders.From):
3099 (MessageHeaders.ReplyTo):
3100 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3102 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3104 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3105 add SOAP Action to the response at any time.
3107 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3109 * SymmetricSecurityBindingElement.cs,
3110 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3111 Implemented .ctor() and some properties.
3113 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3115 * TransactionFlowBindingElement.cs : new file.
3116 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3118 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3121 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3122 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3123 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3124 vanished (there is anyways no way to instantiate this type).
3125 * MessageVersion.cs : added Soap11 and Soap12.
3126 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3127 in June CTP. goodie.
3129 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3131 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3132 removed some vanished CreateMessage() overloads.
3134 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3136 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3137 HttpTransportBindingElement.cs :
3138 They are not ISecurityCapabilities anymore.
3139 Modified code to match June CTP behavior.
3141 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3143 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3145 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3147 * EmptyFaultException.cs : removed unused code.
3148 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3150 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3152 * LayeredChannelFactory.cs : removed obsolete class.
3153 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3154 ChannelListenerBase.cs, HttpChannelListener.cs,
3155 HttpReplyChannel.cs, ChannelManagerBase.cs :
3156 all those changes were brought by ChannelManagerBase changes.
3158 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3160 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3161 CommunicationObject.cs, HttpChannelListener.cs,
3162 ChannelFactoryBase.cs :
3163 CommunicationObject abstract changes brought this madness.
3165 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3167 * BindingContext.cs : listenUri address parameters could be null in
3170 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3172 * IRequestContext.cs :
3173 Now it became a class. File renaming will follow soon.
3174 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3175 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3176 IOutputChannel.cs, IOutputSessionChannel.cs,
3177 IRequestChannel.cs, IRequestSessionChannel.cs :
3178 They are not IDisposable anymore.
3179 For IReplyChannel, IRequestContext -> RequestContext.
3180 * IChannelListener.cs : removed Identity. Added GetProperty().
3181 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3182 ReplyChannelBase.cs, HttpReplyChannel.cs :
3183 Several members disappeared, and dependent changes.
3184 * HttpTransportBindingElement.cs,
3185 HttpChannelListener.cs, :
3186 ChannelListenerBase.SharedChannelListener vanished.
3188 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3190 * MessageEncodingBindingElement.cs
3191 MtomMessageEncodingBindingElement.cs,
3192 TextMessageEncodingBindingElement.cs,
3193 BinaryMessageEncodingBindingElement.cs :
3194 June CTP updates: AddressingVersion -> MessageVersion.
3195 * Binding.cs : June CTP. MessageVersion is added.
3196 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3197 ChannelListenerBase_1.cs,
3198 ChannelListenerBase.cs, IChannelListener.cs,
3200 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3201 June CTP. Several interface changes.
3202 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3203 * IChannelManager.cs, LayeredChannelListener.cs,
3204 GenericWrapperChannelFactory.cs,
3205 GenericWrapperChannelListener.cs : They are not used anymore.
3207 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3209 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3210 sync fix with June CTP API updates.
3212 2006-07-03 Ankit Jain <jankit@novell.com>
3214 * MessageEncodingBindingElementConverter.cs:
3215 * StandardBindingConverter.cs:
3216 * TransportBindingElementConverter.cs:
3217 * TransactionFlowBindingElementConverter.cs:
3218 * ReliableSessionBindingElementConverter.cs:
3219 * SecurityBindingElementConverter.cs:
3220 Rename *Converter.cs to *Importer.cs
3222 * TransferMode.cs: Move to System.ServiceModel
3224 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3226 * CommunicationObject.cs : make sure to change State before
3227 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3229 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3231 * Message.cs : output WSAddressing xmlns only when Action is
3232 specified (To should be affected, but seems like it is ignored).
3234 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3236 * MessageImpl.cs : don't set Action when it is null.
3238 2006-06-12 Ankit Jain <jankit@novell.com>
3240 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3242 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3244 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3245 some updated API fixes.
3247 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3249 * EnvelopeVersion.cs : moved back to S.SM.
3251 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3253 * IBindingManualAddressing.cs : vanished in beta2.
3254 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3255 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3257 * SecurityBindingElement.cs :
3258 SecurityStandardsManager -> SecurityTokenSerializer.
3260 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3262 * XmlSerializerBodyWriter.cs : new file to handle
3263 TypedMessageConverter.ToMessage().
3265 2006-04-26 Ankit Jain <jankit@novell.com>
3267 * TransportBindingElementConverter.cs (BeforeImport): Remove
3268 NotImplementedException.
3269 (ImportContract): Likewise.
3270 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3272 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3274 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3275 being used was not reflecting that of Binding elements.
3277 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3279 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3280 just assume that it is in the message.
3282 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3284 * HttpReplyChannel.cs : actually HTTP header item might be null.
3286 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3288 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3291 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3293 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3295 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3297 * MessageFault.cs : Fixed SOAP12 reason output.
3299 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3301 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3302 MessageEncoder.ContentType explicitly contains encoding.
3303 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3304 if it is SOAP version dependent.
3306 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3308 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3310 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3312 * HttpChannelFactory.cs BindingContext.cs
3313 HttpChannelListener.cs HttpTransportBindingElement.cs :
3314 Now BindingContext holds MessageEncoder, and non-custom
3315 channel factory/listener should use it.
3316 * MtomMessageEncodingBindingElement.cs
3317 TextMessageEncodingBindingElement.cs
3318 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3319 -Listener() now sets internal BindingContext.MessageEncoder.
3320 Fixed some public API.
3322 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3324 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3325 for insufficient elements.
3326 * DispatchRuntime.cs : OperationDescription name is not action. So
3327 OperationSelector is created by name, not by action.
3328 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3330 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3332 * MessageFaultBodyWriter.cs
3333 XmlReaderBodyWriter.cs
3334 XmlObjectSerializerBodyWriter.cs : made internal.
3335 * SecurityBindingElement.cs
3336 AsymmetricSecurityBindingElement.cs
3337 SymmetricSecurityBindingElement.cs : API fixes.
3338 * TransportBindingElementConverter.cs : ditto.
3339 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3340 * WindowsStreamSecurityBindingElement.cs
3341 SslStreamSecurityBindingElement.cs
3342 TransportSecurityBindingElement.cs : new files.
3344 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3346 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3347 reading can be any xs:boolean value.
3349 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3351 * Message.cs MessageImpl.cs : more sorting out the role of each
3353 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3355 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3357 * Message.cs : don't write body contents if it is empty.
3358 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3359 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3360 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3361 * HttpRequestChannel.cs : close request stream before GetResponse().
3363 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3365 * TextMessageEncoderFactory.cs
3366 TextMessageEncoder.cs : encoder does not hold reference to the
3367 factory anymore. Use MessageVersion property in CreateMssage().
3368 * HttpChannelListener.cs : now it holds message encoder.
3369 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3370 * MessageImpl.cs : header is optional.
3371 * EnvelopeVersion.cs : namespace URI is missing.
3373 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3375 * CustomBinding.cs : removed Initialize().
3376 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3377 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3378 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3379 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3381 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3383 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3384 could be also added by Add() method and could be reset by Remove()).
3385 * MessageImpl.cs : implemented more. As noted above, Now we don't
3386 have to add Action header explicitly.
3387 * MessageHeader.cs : recovered Writer methods and ToString() from
3388 commented old version. Use prefixes for writing.
3389 Use WriteObjectContent() rather than WriteObject() (it needs
3390 DataContractSerializer fix btw).
3392 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3394 * MessageHeader.cs : added missing IsReferenceParameter.
3395 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3396 * MessageHeaders.cs : avoid NullRef when actors is null.
3397 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3398 (ForwardingMessage) reader consumer is being added (not done).
3399 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3400 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3401 * HttpRequestChannel.cs : this channel automatically call Open()
3402 when Request() is called. Set content length for request.
3403 Use MessageEncoder's ContentType to also handle charset.
3405 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3407 * MessageImpl.cs : make them internal.
3408 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3410 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3412 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3413 * HttpChannelListener.cs : removed commented line.
3414 * RequestChannelBase.cs : new base class for request channel classes.
3415 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3416 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3417 * Message.cs : default IsEmpty and IsFault false by default.
3418 * LayeredChannelListener.cs : removed Uri (no chance to set).
3419 * ChannelBase.cs : reimplemented timeout properties.
3420 * HttpRequestChannel.cs : now it is mostly based on
3421 RequestChannelBase. Some more attempt to implement Request().
3423 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3425 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3426 OnInitialize(). Added more BuildChannelListener() overloads.
3428 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3430 * Binding.cs : added some more missing members especially to support
3432 * HttpChannelListener.cs : Uri should not be null.
3433 * HttpTransportBindingElement.cs : implemented
3434 CanBuildChannelFactory() and CanBuildChannelListener().
3435 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3437 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3439 * Binding.cs : updated default namespace property value to Feb. CTP.
3441 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3443 * AddressHeader.cs : avoid null reference when value is null.
3444 * BindingContext.cs : check null ListenUri args.
3446 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3448 * MessageFault.cs : Fixed default action name. Null arg check.
3450 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3452 * BindingElement.cs : Dequeue elements in BindingContext directly.
3453 * BindingContext.cs : Added GetProperty<T>().
3454 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3455 Now we don't need these extra classes, so marked as deprecated.
3457 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3459 * Binding.cs : null arg check.
3460 * AddressingVersion.cs : fixed constants to pass the tests.
3461 * BindingElement.cs : tiny meessage fix.
3463 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3465 * MessageEncodingBindingElement.cs
3466 BinaryMessageEncodingBindingElement.cs
3467 TextMessageEncodingBindingElement.cs
3468 MtomMessageEncodingBindingElement.cs
3469 MessageEncodingBindingElementConverter.cs : several API fixes.
3470 * BindingElement.cs : now if we use generic wrapper it causes
3471 infinite loop, so for now replace it with most-possible-but-
3474 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3476 (back to normal "record-ChangeLogs" mode after the big API change mess)
3477 * HttpTransportBindingElement.cs : fixed minor API differences.
3479 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3481 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3482 SymmetricSecurityBindingElement.cs :
3483 Dependent fixes for System.IdentityModel reorgainzation.
3485 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3487 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3488 IProxyFormatter.cs WSHttpBindingBase.cs
3489 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3490 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3491 WSFederationBinding.cs ISessionChannel.cs
3492 CompositeDuplexBindingElement.cs MessageVersion.cs
3493 MessageHeader.cs IRequestSessionChannel.cs
3494 BindingElementCollection.cs IReplySessionChannel.cs
3495 MessageProperties.cs IDuplexClientChannel.cs
3496 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3497 TcpTransportBindingElement.cs EmptyFaultException.cs
3498 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3499 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3500 ConnectionOrientedTransportBindingElement.cs
3501 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3502 PeerResolverBindingElement.cs Message.cs
3503 HttpsTransportBindingElement.cs BindingElement.cs
3504 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3505 MessageFaultBodyWriter.cs IReplyChannel.cs
3506 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3507 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3508 IRequestContext.cs IInputSessionShutdown.cs
3509 SecurityBindingElement.cs PeerTransportBindingElement.cs
3510 IDuplexSession.cs IChannelInitializer.cs
3511 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3512 AddressingVersion.cs FaultException.cs
3513 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3514 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3515 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3516 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3517 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3518 BindingParameterCollection.cs IInstanceProvider.cs
3519 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3520 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3521 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3522 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3523 moved from System.ServiceModel due to the API changes.
3525 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3527 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3528 HttpChannelListener.cs HttpRequestChannel.cs
3529 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3530 PeerNode.cs ReplyChannelBase.cs :
3531 Feb. CTP API changes - chapter 1.
3533 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3535 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3536 * ReplyChannelBase.cs : now it is based on ChannelBase.
3537 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3538 and check null argument in .ctor().
3539 * HttpReplyChannel.cs : several changes.
3540 Non-async members are mostly implemented.
3541 * HttpChannelListener.cs : no need to receive
3542 IDefaultCommunicationTimeouts.
3543 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3544 to allocate buffer array and int.MaxValue causes OutOfMemory.
3546 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3548 * ClientFramingDecoderState.cs : added missing enum.
3549 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3551 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3553 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3555 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3556 AcceptChannel() has some code now but it needs more love.
3558 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3560 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3561 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3562 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3564 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3566 * HttpRequestChannel.cs : close the streams.
3568 HttpChannelListener.cs : renamed from former to latter.
3570 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3572 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3573 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3574 * HttpListenerFactory.cs : removed obsolete file.
3575 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3576 * ChannelListenerBase_1.cs : implemented virtual stuff.
3577 * CommunicationObject.cs : Open() should not call BeginOpen() and
3578 EndOpen(). Instead, invoke events individually.
3579 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3581 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3583 * HttpRequestChannel.cs : call Flush() after serializing message
3586 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3588 * HttpRequestChannel.cs : implemented pretty hacky Request().
3590 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3592 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3594 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3596 * ChannelFactoryBase.cs : removed some NotImplementedException for
3597 further internal implementation.
3599 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3601 * HttpRequestChannel.cs : new file. mostly not implemented.
3602 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3603 Partly implemented CreateChannel().
3605 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3607 * HttpChannelFactory.cs : (.ctor())
3608 Don't take ChannelBuildContext.
3610 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3612 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3613 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3614 PeerMessagePropagation.cs : updated to Nov. CTP.
3616 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3618 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3619 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3620 StreamSecurityUpgradeAcceptor.cs,
3621 StreamSecurityUpgradeInitiator.cs :
3622 Updated to Nov. CTP API.
3624 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3626 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3628 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3630 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3632 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3634 * ChannelBase.cs : tiny filename fix.
3635 * ChannelListenerBase.cs : added more .ctor()s.
3637 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3639 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3640 ListenerFactoryBase.cs ChannelListenerBase.cs :
3641 updated IListener related stuff to Nov. CTP.
3642 file renaming will come soon.
3644 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3646 * ListenerBase.cs, ChannelListenerBase.cs :
3647 moved from former to latter.
3648 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3649 moved from former to latter.
3651 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3653 * SessionFaultedException.cs : removed in Nov. CTP
3655 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3657 * CommunicationObject.cs : updated to Nov. CTP.
3658 * SessionFaultedException.cs : removed (in Nov. CTP)
3660 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3662 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3665 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3667 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3668 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3669 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3670 * MessageEncoder.cs : largely implemented.
3672 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3674 * IRequestReplyCorrelator.cs : new file.
3676 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3678 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3679 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3680 * MessageEncoder.cs : added misssing ToString().
3682 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3684 * ChannelBehaviorCollection.cs : moved to sys.sm.
3686 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3688 * HttpListenerFactory.cs, HttpListener.cs : new files.
3689 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3690 CommunicationObject.cs, ChannelFactoryBase.cs,
3691 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3693 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3694 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3696 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3698 * ListenerFactoryBase.cs : some implementation.
3700 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3702 * CommunicationObject.cs : more state fixes.
3704 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3706 * CommunicationObject.cs : some state machine fixes.
3708 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3710 * PeerNode.cs, ChannelManagerBase.cs :
3711 several API fixes detected by improved corcompare.
3713 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3715 * LayeredListenerFactory.cs : added missing generic class constraint.
3717 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3719 * ListenerFactoryBase.cs,
3720 ListenerBase.cs : class constraints were missing for generic args.
3722 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3724 * StreamUpgradeInitiator.cs : tiny API fix.
3726 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3728 * PeerMessagePropagationFilter.cs : tiny build fix.
3730 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3732 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3733 added Name. fixed StatusCode type.
3734 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3735 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3736 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3737 DirectionalAction.cs, HostedTransportConfiguration.cs,
3738 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3739 PeerMessagePropagationFilter.cs : added missing files.
3740 * Dummy.cs : removed. MSMQ stuff can be added later.
3742 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3744 * DeliveryStatus.cs, DeliveryFailure.cs,
3745 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3746 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3748 * Dummy.cs : removed above.
3750 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3752 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3754 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3756 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3757 MessageEncoder.cs, BufferManager.cs : new files.
3758 * Dummy.cs : removed above.
3760 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3762 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3763 * Dummy.cs : removed above.
3764 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3766 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3768 * HttpChannelFactory.cs : new file.
3770 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3772 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3773 moved to ../System.ServiceModel (correct location).
3774 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3775 new files for channels.
3776 * Dummy.cs : reflected above changes.
3777 * ChannelManagerBase.cs : added a bit of code and todos.
3779 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3781 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3782 added listener support files.
3783 * Dummy.cs : removed above.
3785 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3787 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3788 added request/reply channel interfaces.
3789 * Dummy.cs : removed above.
3790 * CommunicationObject.cs : FIXME comments.
3792 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3794 * CommunicationObject.cs : implemented some members.
3796 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3798 * CommunicationObject.cs : some signature fixes.