1 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
3 * Message.cs : fix explanation on CreateMessage() overloads.
5 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
7 * MessageFault.cs : Write Subcode element correctly and fix wrong
8 Code/Value/Subcode element relationship. Give better error message.
10 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
12 * HttpRequestChannel.cs : ok, no need for conditional code path.
14 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
16 * AddressingVersion.cs : add fault action namespace.
18 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
20 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
23 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
25 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
27 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
29 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
32 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
34 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
36 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
38 * HttpRequestContext.cs : removed HTTP status rewriting for
41 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
43 * HttpRequestChannel.cs : handle only 4xx errors as to not process
46 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
48 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
50 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
52 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
53 Patch by Matt Dargavel.
55 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
57 * HttpListenerManager.cs : use lock object which is subject to
58 change. Fix by Matt Dargavel.
60 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
62 * HttpListenerManager.cs : remove consumed HttpListenerContext from
63 the pending queue. Compare "wsdl" request in case insensitive
64 manner. Patch by Matt Dargavel.
66 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
68 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
69 supposed to provide detailed 400 error message.
71 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
73 * TransactionFlowBindingElement.cs: revamp the previous change to
74 not regress regarding service metadata.
76 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
78 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
79 GetProperty<T>() bug that fails to retrieve properties. (This may
80 be rewritten later if an ongoing change proposal is to take place.)
82 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
84 * ReliableSessionBindingElement.cs,
85 PrivacyNoticeBindingElement.cs,
86 RemoteEndpointMessageProperty.cs : added some missing types.
88 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
91 why does it filter out most of the headers? kill it.
93 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
95 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
96 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
97 to not raise "not found" error (see bug #573795).
99 2010-03-16 Jb Evain <jbevain@novell.com>
101 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
102 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
104 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
106 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
107 type, and use null password unless we find a chance to get password
108 in ASP.NET HttpContext.
110 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
112 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
113 HttpListenerManager.cs : ongoing authentication support. It returns
114 401 as expected, but somehow fails to retrieve user info.
116 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
118 * HttpListenerManager.cs : this change (along with HttpListener
119 implementation) somehow fixes basic auth. connection error...
121 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
123 * MessageHeaders.cs : add !NET_2_1.
125 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
127 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
128 typed UniqueId output.
130 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
132 * MessageHeader.cs : no need to treat EndpointAddress as a special
135 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
137 * MessageHeaders.cs : remove duplicate constant.
139 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
141 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
142 EndpointAddress as a special case. Instead, each MessageHeaders
143 property should convert it to appropriate serializable objects.
145 (Our DataContractSerializer fails to reject EndpointAddress as
146 serializable type, so it's rather a preparation step.)
148 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
150 * MessageHeader.cs, Message.cs : use dictionary string whenever
151 applicable. The binary output on #577139 is getting closer (no
152 idea if it is really about binary output though).
154 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
156 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
158 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
160 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
162 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
164 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
165 enable authentication schemes on monotouch.
167 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
169 * SvcHttpHandler.cs : a wait handle could be used for more than one
170 requests and hence it sometimes blocked one reply channel. Now
171 it creates a wait handle for each ASP.NET request so that such
172 multiple use should not occur. This should fix blocking on
173 concurrent requests (it indeed fixes as long as I can see).
175 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
177 * AspNetReplyChannel.cs : remove garbage output.
179 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
181 * SvcHttpHandler.cs : Use lock when it tries to create the service
184 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
186 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
189 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
191 * HttpListenerManager.cs : add another workaround for blocking
194 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
196 * HttpListenerManager.cs : small refactoring.
198 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
200 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
201 that somehow makes callback client to not cause infinite loop.
203 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
205 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
206 DuplexChannelBase.cs : Receive() should rather use TryReceive().
207 It should not be in reverse order.
209 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
211 * HttpReplyChannel.cs, HttpListenerManager.cs :
212 Implement async cancellation in the expected manner (though with
213 some hack). This mostly removed nunit blockers.
215 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
217 * CommunicationObject.cs : fix wrong status changes.
219 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
221 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
223 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
225 * AddressHeader.cs : implement remaining bits.
226 Eliminate dependency on NetDataContractSerializer.
228 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
230 * CommunicationObject.cs : in Fault(), do similar work as previous
233 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
235 * CommunicationObject.cs : when process state changes, lock the
236 object to make sure the state transition is valid.
237 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
239 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
241 * MessageHeaders.cs : implement SetAction().
243 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
245 * ChannelFactoryBase.cs : fix build.
247 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
249 * ChannelBase.cs : cosmetic API fix for SL3.
251 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
253 * ChannelFactoryBase.cs :
254 implement On{Begin/End}Close() on the generic type.
256 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
258 * HttpChannelFactory.cs, TcpChannelFactory.cs,
259 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
260 PeerChannelFactory.cs, HttpRequestChannel.cs:
261 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
262 type and made required changes.
264 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
266 * HttpCookieContainerBindingElement.cs : new.
267 * IHttpCookieContainer.cs : fix type name.
268 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
270 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
272 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
273 does not happen when communicating with .NET client but happens with
274 mono). Seealso FIXME comment.
275 * TcpDuplexSessionChannel.cs : do not try to close session when it
276 failed to read sized message. The connection is already dead.
280 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
282 * TcpDuplexSessionChannel.cs :
283 Write EndRecord only when the connection is available.
284 Remove hack - do let ChannelDispatcher close the channel.
285 * TcpBinaryFrameManager.cs :
286 The socket may be disconnected when trying to read a sized message,
287 so check some socket exceptions.
288 In case the client silently shuts down without EndRecord and
289 reconnects to the server with preamble while expecting a sized
290 message (which is so lame, but that's what .NET often does), refresh
291 preamble and continue.
293 This fixes some cases of bug #567949 but not all.
295 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
297 * BinaryMessageEncoder.cs : enable workaround buffering only when
298 the argument stream does *not* support seek. This fixes some
299 net.tcp connection problem.
301 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
303 * TcpBinaryFrameManager.cs : If preamble byte is not available from
304 the client stream, detect it to close the reply or input channel.
305 * TcpRequestChannel.cs : send preamble at each request time.
306 It differentiates communication behavior on such cases that involve
307 single open and multiple requests.
308 * TcpReplyChannel.cs : close the channel only when the channel is
309 oeprated to close i.e. do not close the socket every time.
310 Process preambles on each request (the same as request channel).
312 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
314 * TcpBinaryFrameManager.cs : unsized envelope record may have more
315 than one data block, so consume them accordingly. This should fix
316 large buffer consumption.
318 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
320 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
323 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
325 * HttpRequestContext.cs : for DestinationUnreachable message, this
326 channel returns 400 in .NET.
328 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
330 * BinaryMessageEncoder.cs : added workaround for strange stream
331 consumption error raised by HttpTransport + Binary encoder example.
332 * BinaryMessageEncodingBindingElement.cs:
333 only SOAP 1.2 is allowed for this encoder.
335 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
337 * XmlReaderBodyWriter.cs : don't try to write empty xml.
339 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
341 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
342 default WebHeaderCollection items are overwritten.
344 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
346 * HttpRequestChannel.cs : when HTTP response was error, do not try
347 to read message but just raise an error.
349 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
351 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
353 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
355 * HttpRequestChannel.cs : WebException.Response might be null.
357 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
359 * ReplyChannelBase.cs : added listener property.
360 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
361 been updated to prefer async by default, a while ago.
363 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
365 * HttpTransportBindingElement.cs : finished all GetProperty() values.
367 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
369 * HttpRequestChannel.cs : disabled carelessly added
370 "UseDefaultCredentials = false" line. It blocked basic auth.
372 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
374 * HttpRequestChannel.cs, HttpChannelFactory.cs,
375 HttpChannelListener.cs, HttpListenerManager.cs :
376 implemented http client authentication and some of corresponding
377 service code. Only client works so far.
379 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
381 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
382 added URI scheme check.
384 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
386 * TransportSecurityBindingElement.cs : fix 2.1 build.
388 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
390 * HttpsTransportBindingElement.cs :
391 RequireClientCertificate is false by default.
392 Remove extra #if NET_2_1.
393 * SecurityBindingElement.cs :
394 Implement some transport security factory methods.
395 * TransportSecurityBindingElement.cs :
396 It is not ISecurityCapabilities anymore.
398 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
401 SecurityBindingElement.cs
402 LocalClientSecuritySettings.cs
403 TransportSecurityBindingElement.cs
404 FaultConverter.cs : They are now part of SL3 API.
406 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
408 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
410 2009-11-05 Geoff Norton <gnorton@novell.com>
412 * HttpsTransportBindingElement.cs: Implement basic https transport
413 binding support for Moonlight and MonoTouch
415 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
417 * HttpListenerManager.cs : remove CWLs.
419 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
421 * SvcHttpHandler.cs : move back previous listener selector code in
422 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
423 and differentiate requests to deeper paths (such as /jsdebug), so
424 we need such refinement here.
426 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
428 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
431 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
433 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
434 HttpChannelListener.cs, HttpListenerManager.cs :
435 Similar refactoring on ASP.NET side to the previous one.
436 Added ASP.NET implementation of HttpListenerManager and use some
437 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
439 Rewrote AspNetReplyChannel to become almost the same as
440 HttpSimpleReplyChannel, to hopefully unify them later.
441 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
442 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
445 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
447 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
448 Refactoring on listener manager to correctly handle wsdl and help
449 requests for such case that they conflict in addressing. Now it
450 can correctly distinguish service calls, WSDL requests and help
451 requests when all of them point to "http://localhost/foo.svc"
452 (which is very common case that the user does not change Http*Url).
454 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
456 * ChannelListenerBase.cs : add Properties property to add arbitrary
457 properties handy (only inside this assembly).
459 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
461 * HttpReplyChannel.cs : fix warning.
463 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
465 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
467 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
469 * HttpReplyChannel.cs : make sure to release wait lock.
470 * HttpChannelListener.cs : session channels are not supported, so
471 remove relevant NIEs.
473 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
475 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
476 support contexts so we call the non-overloaded WaitOne method
477 (which defaults to false).
479 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
481 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
482 significant rewrite to cooperate wcf handler and asp.net handler
483 to not mix multiple WCF listener within the asp.net handler.
484 So far it mostly works when 1) there are no ChannelDispatchers
485 that have an identical listen Uri and 2) MaxConcurrentSessions is
486 1 (must be explicitly set).
488 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
490 * CommunicationObject.cs : give better state error description.
492 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
494 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
495 to base methods. This resulted in not a few changes everywhere.
497 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
499 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
501 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
503 * SvcHttpHandler.cs : use file path given by the factory to
504 construct BaseAddresses. Requests to "test.svc/jsdebug" should
505 not be handled as request to "jsdebug" file, it's rather an
506 "argument" to "test.svc".
508 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
510 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
511 rewrite to handle shutdown situation better. The listeners should
512 not close channels that it opened. Instead, just stop accepting
513 further requests. Removed blocking mutex on WaitForRequest().
514 Now xsp shuts down as expected.
516 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
518 * HttpReplyChannel.cs : lock list when releasing its content contexts.
519 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
522 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
524 * SvcHttpHandlerFactory.cs : remove todo.
525 * ReplyChannelBase.cs : add comment.
527 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
529 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
530 revert the change, to use internal asp.net state again.
531 * SvcHttpHandler.cs : add VirtualPathExtension.
533 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
535 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
536 asp.net response was not written correctly.
537 Fill HttpRequestMessageProperty to get handle WSDL requests
538 processed in ServiceMetadataExtension without NRE.
539 Remove wrong HttpListenerContext iteration at Abort and Close in
540 common base class and move it to non-asp derived channel.
542 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
544 * SvcHttpHandler.cs : remove unused code.
546 2009-09-30 Jb Evain <jbevain@novell.com>
548 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
549 to use any of the remoting features.
551 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
553 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
554 use AspNetCompatibilityEnabled.
555 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
557 * AspNetReplyChannel.cs : remove extra field.
559 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
561 * HttpReplyChannel.cs : remove extra field.
563 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
565 * AspNetRequestContext.cs : remove CWL.
567 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
569 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
570 only after AspNetRequestContext is closed. Do not close it
571 immediately after receiving the context. (HttpRuntime destructs it
572 and further uses then becomes impossible.)
574 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
576 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
577 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
578 Make sure that AspNetChannelListener is bound to correct
579 SvcHttpHandler, regardless of specific request URI. It is required
580 for both WSDL requests and RESTful binding requests.
582 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
584 * MessageProperties.cs : fix CopyProperties() behavior to not
585 clear existing items. Make all properties call this[name].
587 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
589 * HttpTransportBindingElement.cs : fix 2.1 build.
591 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
593 * TransportBindingElement.cs : another GetProperty fix, iterate
594 other binding elements.
596 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
598 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
599 some GetProperty() implementation.
601 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
603 * HttpListenerManager.cs : release HttpListener and avoid extra
604 close process more than once.
606 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
608 * HttpChannelListener.cs : do not iterate channel list to close
609 channels which in turn removes them from the list while iteration.
611 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
613 * HttpRequestChannel.cs : Fix message version member comparison.
614 Double-quote SOAPAction. Remove extra Exception.
615 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
616 * HttpRequestContext.cs : when addressing is None, remove action
619 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
621 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
622 path, to pick those endpoints that are added at custom factories.
624 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
626 * SvcHttpHandler.cs : apply configuration, and if there is still no
627 endpoint, then add default one.
629 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
631 * SvcHttpHandler.cs : another URL to make relative.
633 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
635 * SvcHttpHandlerFactory.cs : some GetHandler changes.
636 * SvcHttpHandler.cs : significant changes on receiver structure. Now
637 ProcessRequest() stores pending requests (this might be extraneous,
638 but maybe useful when it implements async handler). Also removed
639 reply_channel field as it may become to handle multiple requests.
640 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
641 * AspNetReplyChannel.cs : make it receive requests like
642 HttpReplyChannel (for HttpListener) to make them consistent.
644 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
646 * AspNetRequestContext.cs, HttpRequestContext.cs :
647 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
648 by splitting HttpListener-based context out from common code base.
650 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
652 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
653 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
656 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
658 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
659 loads types from system assemblies appropriately.
661 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
663 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
666 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
668 * HttpRequestMessageProperty.cs : fix default values.
670 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
672 * HttpChannelFactory.cs, HttpRequestChannel.cs,
673 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
674 Check ManualAddressing value and reject address-missing ones.
676 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
678 * HttpChannelFactory.cs : reject URI mismatch cases when required.
680 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
682 * PeerDuplexChannel.cs : When received Connect() from neighbor,
683 add the peer to its internal list.
684 Finally ChatApplication got working.
686 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
688 * PeerDuplexChannel.cs : since the channel factory is per instance,
689 do not reuse factory that is tied to different callback instance.
690 It resolved the issue that mono callback client didn't receive
691 messages from the client itself.
693 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
695 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
696 of the receiver, not the requestor. It resolved the issue that
697 .NET client didn't send further messages to mono server.
699 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
701 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
702 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
703 TcpReplyChannel.cs, TcpRequestChannel.cs,
704 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
705 rename EndRecord handling method to appropriate one.
706 Write EndRecord from recipient too.
708 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
710 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
711 Process PeerTo header to upgrade Message To header. Now mono
712 service accepts mono client (somehow not true for .NET client).
714 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
716 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
717 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
719 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
721 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
723 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
725 * TcpDuplexSessionChannel.cs : check channel state before processing
728 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
730 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
731 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
732 ongoing works, not working at all yet.
734 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
736 * TcpChannelListener.cs, TcpReplyChannel.cs :
737 cosmetic cleanup and corrections.
739 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
741 * TcpChannelFactory.cs : use expected Via uri.
742 Remove extra NIE stuff that are implemented in base.
744 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
746 * TcpDuplexSessionChannel.cs : remove extra code.
748 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
750 * PeerDuplexChannel.cs : ongoing implementation towards get callback
751 replies on peer connector clients (not working as duplex client
752 callback is not working yet).
754 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
756 * TcpDuplexSessionChannel.cs : in callback client channels,
757 OperationContext.IncomingMessageHeaders is null.
759 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
761 * MessageHeaders.cs : duplicate check was sloppy.
763 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
765 * Message.cs, MessageImpl.cs, BodyWriter.cs :
766 Implement BodyWriter.OnCreateBufferedCopy() and use it.
768 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
770 * ReplyChannelBase.cs : initialize field.
772 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
774 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
775 implement GetProperty<T>() and return its channel manager.
777 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
779 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
780 destination address in Connect() request. To repeat sending
781 request, use buffered copy. Set some peer-channel specific
782 header items. (todo: and consume them.)
784 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
786 * Message.cs : state is set only after WriteBodyContents().
788 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
790 * MessageHeaders.cs : eliminate wrong use of
791 ReadElementContentAsString() (it is not always simple string).
793 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
795 * MessageHeaders.cs : when the value is null, do not try to
796 deserialize EndpointAddress.
798 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
800 * MessageHeader.cs : add Value property. (Forgot dependent change.)
802 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
804 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
805 serialization and deserialization of values.
807 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
809 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
810 Now simply use connector contract.
812 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
814 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
816 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
818 * TcpChannelListener.cs : do not try to compare dead connection's
819 IPEndPoint (it raises an error).
821 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
823 * MessageHeaders.cs : allow null header value on each specific setter.
825 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
827 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
828 get local and remote address of connected counterpart to get
829 callback channel connected.
830 * PeerDuplexChannel.cs : remove FIXME wrt above.
832 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
834 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
836 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
838 * MessageHeader.cs : fill IsReferenceParameter.
840 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
842 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
843 implement remaining async methods and LocalAddress.
845 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
847 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
848 ServiceHost to process neighbor connection (not sure if this is
849 right way to go though ...).
851 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
853 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
854 connection part to use new internal IPeerConnectorContract for
857 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
859 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
860 PeerChannelListener.cs, HttpChannelListener.cs :
861 support ListenUri accordingly too so that it could be used when
862 it is different from LocalAddress.Uri.
864 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
866 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
867 TcpRequestChannel.cs : use Via uri to validate and connect.
869 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
871 * RequestChannelBase.cs, DuplexChannelBase.cs :
872 Return endpoint address Uri when no explicit Via uri is specified.
873 * ChannelFactoryBase.cs : Remove extra async close methods.
874 Add async open methods. Reject null EndpointAddress.
875 * PeerChannelFactory.cs : remove async open methods (now in base).
877 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
879 * PeerDuplexChannel.cs : set correct message endpoint (To header).
881 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
883 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
884 DuplexChannelBase.cs : set LocalAddress property at base.
886 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
888 * PeerDuplexChannel.cs : ongoing refactoring to work both as
889 listener and client. Now it creates a listening peer node, and
890 creates a set of TCP client channels for each peer in the mesh.
892 (EndpointAddress must be fixed to not filter out correct inputs).
894 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
896 * PeerChannelListener.cs : do not accept more than one channel
897 which results in lots of listening peer node. Only one is enough.
899 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
901 * DuplexChannelBase.cs : fix wrong loop implementation.
903 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
905 * TcpChannelListener.cs : to avoid creating two or more channels
906 for one remote endpoint, check existing remote endpoints and
907 ignore such connections (it must be handled in different thread
908 fired by ChannelDispatcher loop).
910 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
912 * TcpReplyChannel.cs : make sure to not try to receive request when
913 it is already closed.
915 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
917 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
918 some mannerless clients [*1] do not send EndRecord accordingly, but
919 such channels at listener side should not be kept open. So, close
920 disconnected channels when the listener needs to accept another
922 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
924 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
926 * TcpDuplexSessionChannel.cs :
927 Remove extra NIE overrides.
928 Implement OnAbort() apart from OnClose().
929 For duplex session channel, unlike reply channel, it must acquire
930 TCP connection before OnOpen(), otherwise ChannelDispatcher
931 releases the connection acceptance WaitHandle and the detected
932 live connection may be stolen by another channel acceptor.
934 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
936 * HttpRequestChannel.cs : implement OnAbort().
938 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
940 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
941 * DuplexChannelBase.cs : comment out some extra fields (so far).
942 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
944 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
946 * PeerCustomResolverBindingElement.cs : add some null checks.
948 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
950 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
951 Acquire TcpClient for each request/reply. Now it is fully
952 interoperable with .NET.
954 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
956 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
957 ReplyTo and MessageId (though it is session-less), and it expects
958 EndRecord at weird stage, inconsistent with [MC-NMF]...
959 Now .NET service accepts one mono client request.
961 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
963 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
964 Send and receive unsized message terminator at once.
965 Send EndRecord mutually. Got one .net client request working.
967 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
969 * BinaryMessageEncoder.cs : revert the previous dictionary change.
970 They are indeed used for non-in-band-dictionary messages.
972 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
974 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
975 split out binary frame manager class into separate file.
977 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
979 * TcpReplyChannel.cs : new reply channel implementation.
980 * TcpChannelListener.cs : use above for streamed reply channel.
981 * TcpDuplexSessionChannel.cs : more streaming mode support.
982 * TcpRequestChannel.cs : a couple of updates to get it working
983 with the reply channel above. Still some issues on .NET interop.
985 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
987 * RequestContext.cs : added internal derived class that implements
990 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
992 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
995 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
997 * PeerDuplexChannel.cs: add the registered node itself to peer list.
998 (The messaging must be done as TCP request/reply pattern, so it's
1001 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1003 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1004 messaging pattern). The messaging part is not working yet.
1005 * TcpChannelFactory.cs : support IRequestChannel.
1006 * TcpDuplexSessionChannel.cs : add unsized message support.
1008 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1010 * HttpRequestChannel.cs, RequestChannelBase.cs :
1011 A couple of async members are now implemented in the base class.
1012 Ditto for EndpointAddress and Via.
1014 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1016 * PeerDuplexChannel.cs : now it implements some of node management
1017 functionality and Send operation. The receiver part is not yet.
1019 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1021 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1022 timeout to channel constructor. it does not make sense.
1024 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1026 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1027 as common interface member, and use binary encoder (not text).
1029 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1031 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1033 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1035 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1036 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1037 going to be unified to PeerDuplexChannel. And it is likely that
1038 input and output functionalities are to be unified too.
1040 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1042 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1043 may have to reuse it for peer transport.
1044 * PeerChannelListener.cs : add binding member.
1045 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1047 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1049 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1050 PeerChannelFactory.cs : close opened channels at OnClose() as
1051 documented. Implement async methods.
1052 * PeerChannelListener.cs : removed some NIE overrides.
1054 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1056 * DuplexChannelBase.cs : some more async methods.
1058 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1060 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1062 * TcpChannelListener.cs : accept multiple channels at a time.
1064 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1066 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1067 session strings but output only those new ones in current message.
1068 This fixes inconsistent body output in repetitive use of sender.
1070 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1072 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1073 operation that does not involve session.
1074 Preserve writer session as well as reader session.
1075 * MessageHeaders.cs : take name and namespace into consideration
1076 when creating a serializer.
1078 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1080 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1081 Made required changes for repeated use of message exchanges.
1082 Hold binary reader session. The channels use it incrementally.
1083 Preambles are handled at Open, and EndRecords are handled at
1084 Close, Add session shutdown hook here (not working yet though).
1086 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1088 * ChannelListenerBase_1.cs : added cancellation hook here too.
1089 HttpChannelListener.cs : use above.
1090 Do not allow parallel channel creation (this listener does not
1091 allow more than one AcceptChannel().
1093 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1095 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1096 Add cancellation hook for async TryReceiveRequest.
1098 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1100 * HttpChannelListener.cs, HttpListenerManager.cs :
1101 slightly improved BuildChannelListener().
1102 Implement OnAbort() and differentiate it from OnClose().
1104 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1106 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1108 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1110 * DuplexChannelBase.cs : simple async delegate calls here too.
1112 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1114 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1116 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1118 * HttpReplyChannel.cs : cosometic simplification.
1120 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1122 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1123 infinite block in 2.0 profile.
1125 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1127 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1128 more careful close to avoid NRE.
1130 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1132 * HttpChannelListener.cs : do not Close() more than once (though
1133 it is allowed to call it twice, we don't reject it; just ignore).
1135 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1137 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1139 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1141 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1142 Temporarily disable HTTP Keep-Alive since it somehow results in
1143 wrong reuse of connection (shown as NRE in HttpConnection).
1144 Make sure to close RequestContext which was created from it.
1145 * HttpRequestContext.cs : simplify.
1147 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1149 * HttpChannelListener.cs, TcpChannelListener.cs,
1150 ChannelListenerBase_1.cs : put common internal listener base
1151 and let it handle those async stuff.
1153 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1155 * ReplyChannelBase.cs : fix wrong null delegate check point.
1157 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1159 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1160 now implemented as virtual in base class. Remove NIEs in http.
1162 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1164 * HttpChannelListener.cs : hack async implementation.
1166 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1168 * HttpListenerManager.cs : oops, extra line removal.
1170 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1172 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1174 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1176 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1177 "ChannelManager" is confusing (there is ChannelManagerBase).
1179 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1181 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1182 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1183 they should be split into separate listener->reply channel lines
1184 (remove "if (HostingEnvironment.IsAspNet)".)
1186 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1188 * CommunicationObject.cs : OnClosed() requires call to base method.
1189 Close() could rather abort the channel, and Abort() does not
1190 always invke OnAbort().
1191 * ChannelBase.cs : add call to base as above.
1193 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1195 * ClientAccessPolicy.cs: Removed
1196 * CrossDomainAccessManager.cs: Removed
1197 * CrossDomainPolicy.cs: Removed
1198 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1199 since this is now done inside the BeginGetResponse call (outside
1200 this assembly) for Moonlight (NET_2_1)
1202 2009-06-04 Alan McGovern <amcgovern@novell.com>
1204 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1205 instead of the sync apis. Prevents a possible deadlock condition in
1208 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1210 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1211 callbacks, so add hacky ones.
1213 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1215 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1216 true when socket input is not available.
1218 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1220 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1221 I cannot precisely identify when EndRecord should be consumed,
1222 so allow it at either at the end of ReadSizedMessage() or on
1223 consuming preamble (it's likely handling EndRecord of previous
1226 Now duplex IPeerResolverContract communication works between
1227 either of .NET/Mono client and .NET/Mono server.
1229 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1231 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1232 code. Handle preamble ack on ReadSizedMessage() only at server.
1233 Consume EndRecord from server, at client side. Though it is likely
1234 changed as it's blocking when mono is at server side.
1236 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1238 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1239 different protocol than existing code with related to preamble ack.
1240 So changed it to work fine with .NET client (finally).
1242 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1244 * MessageBufferImpl.cs : do not output Action twice.
1246 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1248 * MessageBufferImpl.cs : it did not copy headers.
1249 * Message.cs : remove 2_1 conditional implementation for buffered
1250 copy and hence remove bogus code.
1252 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1254 * MessageProperties.cs : copy argument is wrong.
1256 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1258 * PeerCustomResolverBindingElement.cs : some argument check.
1260 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1262 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1263 xml open, so close the writer as well as open elements.
1264 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1265 Do not output EndRecord and SizedMessage at a time.
1267 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1269 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1270 length of the SizedMessage in the output.
1272 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1274 * CommunicationObject.cs : use sane default timeout.
1275 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1276 * TcpDuplexSessionChannel.cs : ditto.
1278 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1280 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1281 only accepts buffered messages, so do as such for write buffers.
1282 Add RelatesTo header.
1284 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1286 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1287 rename from former to latter.
1289 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1291 * TcpDuplexSessionChannel.cs : reader does not always return full
1292 buffer (depending on the stream).
1294 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1296 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1298 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1300 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1303 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1305 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1307 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1309 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1311 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1313 * ChannelManagerBase.cs : fix wrong session channel detection.
1315 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1317 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1318 This encoder factory implements CreateSessionEncoder() and binary
1319 encoder does support session transmit, in different media type.
1320 * ChannelManagerBase.cs : added utility method to create appropriate
1322 * HttpChannelFactory.cs, HttpChannelListener.cs,
1323 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1324 PeerChannelFactory.cs, PeerChannelListener.cs,
1325 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1327 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1329 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1331 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1333 * DuplexSessionBase.cs : new file, for session implementation.
1334 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1335 DuplexSessionChannelBase.cs : changed sync/async implementation
1336 pattern. Now async methods call sync methods using delegates.
1338 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1340 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1341 a few minor API fixes.
1343 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1345 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1347 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1349 * TcpDuplexSessionChannel.cs : add To header.
1351 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1353 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1356 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1358 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1360 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1362 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1363 CommunicationException in each CreateFault().
1365 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1367 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1368 Open(). Some (but not all yet) continuous communication works now.
1369 Use ProtocolException. Remove dummy binary session string.
1371 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1373 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1374 sending/receiving SizedMessageRecord parts to manager class.
1375 Handle writer session, though it is likely broken at dictionary
1376 writer part (no string is written so far).
1377 * BinaryMessageEncoder.cs : add writer session and rename reader
1380 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1382 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1383 is mandatory in initiator preamble packet. Handle Fault reply in
1386 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1388 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1389 based communication under TcpBinaryFrameManager class.
1391 2009-05-13 Jb Evain <jbevain@novell.com>
1393 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1394 from a StringReader.
1396 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1398 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1399 actually eliminate DOM-based implementation too in 2.0.
1401 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1403 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1404 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1405 comments for magic numbers based on [MC-NMF].
1407 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1409 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1410 support for [MC-NBFSE] record in [MC-NMF], in this class.
1412 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1414 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1416 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1418 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1420 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1422 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1424 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1426 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1428 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1430 * BinaryMessageEncoder.cs : use quotas in binding element.
1431 Implement WriteMessage().
1433 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1435 * PeerCustomResolverBindingElement.cs : do initialize field.
1437 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1439 * PeerCustomResolverBindingElement.cs :
1440 implement full custom resolver.
1442 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1444 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1445 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1446 PeerChannelFactory.cs : ongoing p2p channel implementation.
1448 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1450 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1452 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1454 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1455 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1456 implement GetProperty<T>(). Return documented objects or null.
1458 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1460 * PeerChannelFactory.cs, PeerChannelListener.cs,
1461 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1462 PeerInputChannel.cs, PeerOutputChannel.cs :
1463 new; ongoing peer transport implementation.
1464 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1465 MsmqOutputChannel.cs, OutputChannelBase.cs,
1466 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1467 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1468 several internal changes (either required or for simplification)
1469 for ongoing peer transport implementation.
1471 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1473 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1475 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1477 * TcpTransportBindingElement.cs : check build-ability before
1478 actually building channels.
1479 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1480 conditions according to MSDN.
1482 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1484 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1485 handle headers in SL2. Slightly changed 3.0 code too.
1487 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1489 * HttpRequestChannel.cs : use cross domain access manager.
1491 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1493 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1494 message as BodyWriter.
1495 (in GetReaderAtBodyContents) just write body contents.
1496 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1498 Add some state check in GetReaderAtBodyContents().
1499 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1501 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1503 * Message.cs : do not forget to flush.
1504 * HttpRequestChannel.cs : give more exact error info.
1506 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1508 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1509 make buffered copy in ML2 really buffered.
1511 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1513 * Message.cs : if there is no header item to write, do not write
1514 SOAP header element.
1516 2009-01-22 Alan McGovern <amcgovern@novell.com>
1518 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1519 Rewrite to avoid usage of it.
1521 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1523 * ChannelParameterCollection.cs : implement, rather than NIE.
1525 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1527 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1528 internal users to know the type of the detail.
1530 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1532 * Message.c: Use private setter for state private variable to ease debugging.
1533 Modify ToString not to change the state, as it is called quite often by VS debugger
1535 2008-04-21 Roei Erez <roeie@mainsoft.com>
1537 * HttpChannleManager: Fix for multithreaded use.
1538 * HttpReplyChannel: Fix crash during sutdown.
1540 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1542 * HttpChannleManager: ensure trailing slash in uri.
1544 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1546 * added: HttpChannleManager,
1547 * HttpChannelListener: added use of HttpChannelManager
1549 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1551 * MessageEncodingBindingElement.cs: fixed ctor
1553 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1555 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1557 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1559 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1561 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1563 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1565 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1567 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1569 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1571 * BindingElementCollection.cs: fix API - .ctor's signature.
1573 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1575 * XmlSerializerBodyWriter.cs: Removed.
1577 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1579 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1581 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1583 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1584 * TcpChannelFactory.cs, TcpChannelListener.cs :
1585 unify factory and listener into TcpChannelInfo for use in
1586 TCP channel implementation. Do not store stream in the listener.
1587 Factory now uses BinaryMessageEncoder.
1588 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1589 holds TcpClient that the listener has accepted.
1591 tcp-transport-binding-element sample now communicates (though
1592 only when both sides are mono: there seems binary mismatch).
1594 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1596 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1597 clone connection pool settings too.
1598 * NamedPipetransportBindingElement.cs,
1599 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1600 being likely implemented though).
1602 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1604 * ConnectionOrientedTransportBindingElement.cs,
1605 TcpTransportBindingElement.cs : some API updates.
1606 Initialize default values.
1607 * TcpConnectionPoolSettings.cs : new file.
1609 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1611 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1612 added support for "factory" attribute.
1614 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1616 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1618 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1620 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1622 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1624 * HttpRequestChannel.cs : create WebRequest against To message header
1626 Consider HttpRequestMessageProperty.
1627 Do not output body when suppressed or the method is GET.
1629 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1631 * HttpChannelListener.cs : BindingContext may not have listenUri
1632 at its .ctor() step.
1634 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1636 * BindingContext.cs : RemainingBindingElements is not just a dummy
1637 collection but is actually user-controlled.
1639 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1641 * TcpChannelFactory.cs, TcpChannelListener.cs,
1642 HttpChannelFactory.cs, HttpChannelListener.cs,
1643 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1644 TextMessageEncodingBindingElement.cs,
1645 BinaryMessageEncodingBindingElement.cs,
1646 MtomMessageEncodingBindingElement.cs :
1647 message encoder should be retrieved only through public API.
1648 * BindingContext.cs : so my old guess was wrong.
1650 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1652 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1654 * HttpTransportBindingElement.cs : implemented copy constructor.
1656 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1658 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1659 header when AddressingVersion is None.
1661 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1663 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1666 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1668 * OneWayBindingElementImporter.cs
1669 CompositeDuplexBindingElementImporter.cs : new files.
1671 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1673 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1674 semantic change, its bool parameter must be false, not true.
1676 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1678 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1679 new files. Msmq transport listener Implementation.
1680 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1681 (wait for System.Messaging impl.)
1682 * HttpReplyChannel.cs : added comment
1684 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1686 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1687 new files. internal stuff for msmq channel.
1688 * BinaryMessageEncoder.cs : added another .ctor().
1689 * MsmqTransportBindingElement.cs :
1690 implemented [Can]BuildChannelFactory().
1692 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1694 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1695 initialize some fields.
1697 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1699 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1700 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1701 couple of msmq stubs.
1703 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1705 * SecureMessageGenerator.cs : SecurityContextToken support (though
1706 it is still regarded as invalid by WCF).
1708 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1710 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1711 make header.Contents.Add() more strict.
1712 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1714 Added some hack to allow ssl token external mode.
1715 Commented out such lines that always premised asymmtric key.
1717 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1719 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1721 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1723 * MessageSecurityBindingSupport.cs : support check to create
1724 authenticator is now done in both initiator/recipient sides.
1725 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1727 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1729 * MessageSecurityBindingSupport.cs : for now, comment out the code
1730 that makes authenticator creation optional.
1731 * SecurityRequestContext.cs : don't decrypt message when it is
1732 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1734 * SecurityChannelListener.cs : GetProperty<T>() now returns
1735 MessageSecurityBindingSupport when requested. It is used by
1736 EndpointDispatcher to check if it supports WS-Trust negotiation.
1737 * ChannelListenerBase.cs :
1738 removed extra TODO and field. Implemented GetProperty<T>().
1739 * Message.cs : In CreateMessage() for SOAP Fault, create
1740 SimpleMessage with IsFault = true.
1742 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1744 * SecurityRequestContext.cs : try to reply fault with the inner
1745 channel when an error occurred internally.
1746 * FaultConverter.cs : implemented based on OperationContext (at normal
1747 state it does not seem to create messages, so I implemented it this
1750 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1752 * TransportBindingElement.cs : implemented GetProperty<T>().
1753 * TransactionFlowBindingElement.cs : on building factory or listener,
1754 reject channel types that cannot build.
1755 * SecurityBindingElement.cs : added some TODO comments.
1756 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1757 delegate to base, not BindingContext.
1758 * SecurityRequestContext.cs : somewhat late decryption.
1760 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1762 * MessageSecurityBindingSupport.cs,
1763 AsymmetricSecurityBindingElement.cs,
1764 SymmetricSecurityBindingElement.cs :
1765 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1766 implemented ISecurityCapabilities on them. Now those binding
1767 elements support GetProperty<ISecurityCapabilities>().
1769 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1771 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1772 will work only for predefined parameter types.
1774 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1776 * MessageSecurityBindingSupport.cs :
1777 Set proper MessageDirection to the requirement after creation.
1778 split CreateTokenAuthenticator() as MessageDirection is different.
1779 Removed extra creation of requirement.
1781 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1783 * MessageSecurityBindingSupport.cs : token authenticator is not
1784 always created on channel-opening stage.
1785 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1786 Sslnego binding factory method.
1788 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1790 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1791 signature velification failure.
1793 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1795 * SecureMessageGenerator.cs : encrypt signature confirmations only
1796 when they are required.
1798 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1800 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1801 when [Signature Protection is true i.e. when we use
1802 SignBeforeEncryptAndEncryptSignature.
1804 With this change finally samplesvc.cs/samplecli.cs became
1807 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1809 * SecureMessageDecryptor.cs : signature verification was not done
1810 for endorsing supporting tokens.
1811 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1812 in the security header. Don't output empty ReferenceList.
1814 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1816 * SecureMessageGenerator.cs : signingToken was added before being
1817 initialized and thus caused NRE.
1819 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1821 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1822 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1823 don't need workaround for symmetric key restoration.
1825 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1827 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1828 SecureMessageGenerator.cs :
1829 Avoid extra reference search from the request's ReferenceList.
1830 create HMACSHA1 always with the key to compute hash (I'm not sure
1831 it is correct; it is rather to adjust all hash consistent.)
1833 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1835 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1836 actually endorsed the primary signature.
1837 * SecureMessageGenerator.cs : implemented endorsing of the primary
1838 signature. So, now supporting tokens are fully implemented.
1840 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1842 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1843 totally signing tokens.
1844 * SecureMessageGenerator.cs : Endorsing tokens should also be
1845 included in the message. They are just not signed.
1847 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1849 * SecureMessageGenerator.cs : support signing and encryption of
1850 supporting tokens. Some required refactory to do it.
1851 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1853 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1855 * SecureMessageDecryptor.cs : fix exception message.
1856 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1857 XmlNamespaceManager is not required for GetIdElement().
1859 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1861 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1862 moved decryption part from former file to latter file, to reuse
1863 SignedXml instance (though now I doubt how it actually was good)
1864 which in turn required to replace EncryptedData in
1865 WSSecurityMessageHeader with decrypted one.
1866 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1868 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1870 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1871 EncryptedData should contain KeyInfo as it is not obvious which key
1872 is used there. .net<->mono DerivedKeyToken introp is done.
1873 * SecureMessageDecryptor.cs : check derived key requirement.
1874 Reduce dom-dependent parts.
1876 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1878 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1879 the related DerivedKeyToken (if any).
1880 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1881 support. Some refactoring to distinguish deried-token-related
1883 * SecureMessageDecryptor.cs : removed its own support for derived
1884 key tokens. Now it fully works with DerivedKeySecurityToken.
1886 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1888 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1889 SecureMessageDecryptor.cs :
1890 Implemented increment token reading in o:Security, as
1891 DerivedKeyToken could reference to existing wrapped key.
1892 Removed WsscDerivedKeyToken and all relevant code.
1893 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1894 DerivedKeySecurityToken.
1896 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1898 * SecureMessageGenerator.cs : it was setting security tokens into
1899 incorrect SecurityMessageProperty.
1900 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1901 Now it uses SecurityRequestContext instead of just primary key.
1902 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1903 to symmetric reply decryption, which is the only trouble case.
1904 Do not create another SignedXml.
1905 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1907 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1909 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1910 the resolver works with in-progress token reading in o:Security.
1911 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1912 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1913 * SecureMessageGenerator.cs : cosmetic refactoring.
1915 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1917 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1918 instead of EncryptedKey.
1920 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1922 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1923 should not be always prepared at channel Open(). It also caused
1924 that extra token requirements.
1925 * SecureMessageGenerator.cs : use correct key clause for encryption.
1926 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1928 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1930 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1931 for supporting 'supporting tokens' .
1932 * SecureMessageGenerator.cs : Supporting token creation is done only
1933 at initiator (not sure if it is supposed that, but for now it is).
1934 Removed extraneous CollectSupportingTokens().
1935 * SecureMessageDecryptor.cs : implemented supporting token
1936 authentication (partly). "Signed" supporting tokens are expected
1939 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1941 * SecureMessageGenerator.cs :
1942 make SignBeforeEncryptAndEncryptSignature working.
1944 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1946 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1947 the key itself. ProtectionToken is WrappedKey.
1948 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1949 not EncryptedKeyIdentifierClause which is not for embedded key.
1950 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1952 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1954 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1955 to switch asymmetric and symmetric. Not used yet.
1956 * SecurityRequestChannel.cs : now it pass the request security
1957 property to reply receiver so that it could use the primary key
1958 used at request phase.
1959 * SecurityRequestContext.cs : now it pass the context itself to
1960 reply sender so that it could embed related MessageID.
1961 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1962 binding element. Add RelatesTo output and remove MessageID when
1963 replying to the sender. Added some hacks to get symmetric binding
1965 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1966 in SecurityTokenReference (it also involved existing encrypted key
1967 retrieval). In reply receiver, reuse the key that was used at
1968 request phase. It needs significant token resolution refactoring.
1970 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1972 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1973 * SecureMessageDecryptor.cs : store token and its authentication
1974 policies into the security property, and reuse it on reply.
1975 Some code refactoring; there is at most one o:Security to solve at
1976 one endpoint (depends on Actor). Some attempt to use correct
1977 token parameters (but for now I have only samples that use x509).
1978 * SecureMessageGenerator.cs : For replying message, use initiator's
1979 signing token as the encryption token. Simply reuse security
1980 property from the input message.
1982 I have some nasty workaround at decryptor for initiator that could
1983 not retrieve decryption key.
1985 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1987 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1988 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1989 several refactoring on token acquisition. Large part of
1990 MessageSecurityBindingSupport code is unified.
1992 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1994 * MessageProperties.cs : Security property should be one of the items.
1995 Actually many other properties should be similar as well.
1996 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1997 when copying a message, copy properties as well.
1998 * SecurityRequestContext.cs : on replying, pass input
1999 SecurityMessageProperty to the security generator.
2000 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2002 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2004 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2007 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2008 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2009 use new WSSignedXml instead of SignedXml, and remove coexisting
2010 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2011 - our reply messages could be consumed by .NET, and
2012 - .NET signature could be verified.
2014 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2016 * SecureMessageDecryptor.cs : The signing key must be passed as
2017 CheckSignature() argument, not SigningKey.
2019 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2021 * MessageImpl.cs : don't read attribute after ReadStartElement().
2023 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2025 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2026 * SecureMessageGenerator.cs : use correct signing key clause for
2027 SecurityTokenReferenceKeyInfo to be serialized.
2028 * SecureMessageDecryptor.cs : now it can try to parse signature.
2030 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2032 Ongoing changes to support signature confirmation
2033 * SecureMessageGenerator.cs :
2034 Don't output ReplyTo onto reply message.
2035 Write SignatureConfirmation if needed.
2036 * SecureMessageDecryptor.cs :
2037 Some refactoring for header cunsumption. Added commented-out
2038 signature verification part (not working yet, on client side due
2039 to incorrect reply from service and insufficient clause reader).
2040 * WSSecurityMessageHeader.cs :
2041 Added SignatureConfirmation support.
2042 KeyInfoClause for o:SecurityTokenReference should be replaced with
2043 SecurityTokenReferenceKeyInfo.
2045 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2047 * SecureMessageGenerator.cs : support Timestamp signature.
2048 Removed unused code, and extra argument in CreateReference().
2049 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2051 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2053 * SecureMessageGenerator.cs :
2054 Several fixes to make asymmetric binding working:
2055 - Differentiate signing and encryption token in several areas.
2056 - Fixed signing keyinfo.
2058 Added initial SecurityMessageProperty handling, not sure if it is
2059 appropriate here though.
2060 * HttpRequestChannel.cs : (some debugging lines)
2062 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2064 Woohoo! Here is a very basic WS-Security compliant message which could
2065 be allowed by Indigo.
2066 * MessageHeader.cs : added Id support for writing.
2067 * Message.cs : added internal BodyId for signature reference.
2068 * MessageImpl.cs : write Body Id if required.
2069 * SecureMessageGenerator.cs : Before signing, the target elements must
2070 be given wsu:Id. Since I still use System.Security.dll, I need some
2071 trick for signing (I give both Id and wsu:Id, former to sign and
2072 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2073 implementation later. Now singning mechanism works except for
2074 wsu:Timestamp (which is kind of mandatory).
2076 I can's still consume replies from Indigo but it's a big progress :)
2078 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2080 * MessageHeaderInfo.cs : added internal Id.
2081 * MessageHeader.cs : read and write wsu:Id.
2082 * Message.cs : output wsu namespace if Id exists in any header.
2083 * HttpReplyChannel.cs : (some debugging lines.)
2084 * SecureMessageDecryptor.cs : (remove debugging lines.)
2085 * MessageImpl.cs : removed obsolete code.
2086 * WSSecurityMessageHeader.cs : output "o" prefix.
2087 * SecureMessageGenerator.cs : replaced XmlElement-based header
2088 signing with MessageHeader-based signing, to support Id correctly.
2090 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2092 * SecureMessageGenerator.cs : some more refactoring and code comments.
2093 * MessageSecurityUtility.cs : made decryptor into an instance class,
2094 like I've done for SecureMessageGenerator.
2095 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2096 dependent changes for above.
2098 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2100 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2101 causing NRE due to the lack of token reference.
2102 No need to pass doc to SignedXml.ctor() anymore.
2103 Moved ReferenceList before the signature(s).
2105 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2107 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2108 Moved signing key generation code to non-HMACSHA1 signing part.
2109 Don't try to sign wss:Security.
2110 Pass document itself to SignedXml.ctor().
2111 Use temporary DataObjects to avoid adding Ids (not sure what is the
2112 expected processing yet).
2113 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2114 WriteTo() method in WsuTimestamp.
2116 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2118 * SecureMessageGenerator.cs : wrong key was used for signing.
2119 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2121 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2123 * SecureMessageGenerator.cs :
2124 Now ID generation process does not modify input message.
2125 Moved derived key generation part into (virtual) signing loop.
2126 MessagePartSpecification support for signing is done.
2128 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2130 * SecureMessageGenerator.cs : some reordering to handle signing and
2131 encryption with supporting tokens. Fixed XPath query bug for
2132 soap header contents (we want s:Header/*, not s:Header).
2134 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2136 * MessageSecurityBindingSupport.cs : more refactoring.
2137 Made it abstract and added Initiator- and Recipient- classes.
2138 Several members were moved to those derived types.
2139 * AsymmetricSecurityBindingElement.cs,
2140 SymmetricSecurityBindingElement.cs
2141 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2142 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2143 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2144 All dependent changes by above. Removed ISecurityChannelSource
2145 which became useless.
2147 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2149 * SecureMessageGenerator.cs : encryption parts should exist too.
2150 * AsymmetricSecurityBindingElement.cs
2151 SymmetricSecurityBindingElement.cs,
2152 MessageSecurityBindingSupport.cs : some refactoring.
2153 Split MessageSecurityBindingSupport into security binding element
2154 specific parts and made MessageSecurityBindingSupport concrete.
2155 It is likely split again, next time based on initiator/recipient.
2157 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2159 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2160 split encryptor part in the former file into latter file, and
2162 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2163 SecurityRequestContext.cs : apply the change above.
2165 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2167 * MessageSecurityBindingSupport.cs :
2168 Fixed incorrect TrgGetValue() use.
2169 Added CollectRecipientSupportingTokens().
2171 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2173 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2174 EncryptedKey. So, when a key itself is used to encrypt data,
2175 ReferenceList is contained by itself.
2176 * MessageSecurityBindingSupport.cs :
2177 added CollectInitiatorSupportingTokens().
2179 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2181 * MessageSecurityUtility.cs: it should support ReferenceList-less
2184 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2186 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2187 * MessageSecurityUtility.cs : there already was uuid.
2189 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2191 * MessageSecurityUtility.cs : replaced EncryptedKey with
2192 WrappedKeySecurityToken, which seems to be in actual use in .net.
2193 * WSSecurityMessageHeader.cs : added internal Guid so that it
2194 could be shared between header items.
2196 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2198 * HttpRequestContext.cs, TextMessageEncoder.cs :
2199 some null arg check.
2201 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2203 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2204 for SecurityTokenReference resolution.
2206 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2208 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2209 consider DerivedKeyTokens correctly.
2210 When creating LocalId, don't add '#' here.
2212 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2214 * MessageSecurityUtility.cs :
2215 handle key mapping for each wsse:Security.
2217 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2219 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2221 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2223 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2225 * MessageSecurityUtility.cs :
2226 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2227 suggests, and it is used to dereference decryption targets.
2228 Now it premises multiple wsse:Security elements to read.
2230 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2232 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2233 manually (and actually the namespace URI was wrong).
2235 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2237 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2239 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2241 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2243 * SecurityBindingElement.cs,
2244 SymmetricSecurityBindingElement.cs,
2245 AsymmetricSecurityBindingElement.cs :
2246 implemented SetKeyDerivation().
2248 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2250 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2253 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2255 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2258 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2260 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2261 thus move it in front of encryption/signing.
2263 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2265 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2266 check state by themselves (btw it's not really working).
2267 * HttpChannelListener.cs : If the url does not end with '/' add it
2268 so that it could be fed to HttpListener.
2270 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2272 * HttpChannelFactory.cs : check scheme on CreateChannel.
2273 * MessageHeader.cs : finish IsMessageVersionSupported().
2275 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2277 * FaultConverter.cs : new file, not used yet though.
2279 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2281 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2283 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2285 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2286 GET as well as HttpReplyChannel, configuration would be ready now.
2288 2006-10-18 Ankit Jain <jankit@novell.com>
2290 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2291 EnvelopeVersion.Soap12 and 'text/xml' for others.
2292 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2294 Strip '?' from the query string.
2296 2006-10-13 Ankit Jain <jankit@novell.com>
2298 * MessageVersion.cs (None): Set AddressingVersion.None
2300 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2302 * SvcHttpHandler.cs : added config-based endpoint addition code.
2303 Though due to some weird bug in mono-core it does not seem to work,
2304 so commented out for now.
2305 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2306 mex request message might just be wrong.
2307 Use expected MessageVersion by the channel.
2308 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2310 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2312 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2313 which differs depending on whether it is asymmetric or symmetric.
2314 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2315 simplify SecureMessage() and DecryptMessage() arguments (just
2316 take MessageSecurityBindingSupport instead of several parameters).
2317 * MessageSecurityUtility.cs :
2318 - simplify SecureMessage() and DecryptMessage() arguments (just
2319 take MessageSecurityBindingSupport instead of several parameters).
2320 - Take token inclusion mode into account. Don't include them when
2321 it is not expected. Also, change the token reference style.
2322 - add wsa:MessageID to the headers.
2323 - For hmac-sha1 signing (default for symmetric binding), use
2324 symmetric key created for encryption as well to create HMACSHA1.
2325 - add Id to wsu:Timestamp.
2326 - start to handle SecurityMessageProperty.
2327 * WSSecurityMessageHeader.cs :
2328 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2329 Changed date format.
2331 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2333 * CommunicationObject.cs : reject faulted state on Open()/Close().
2334 * MessageHeaders.cs : removed extra fields.
2336 2006-10-06 Ankit Jain <jankit@novell.com>
2338 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2340 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2342 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2343 added some FIXMEs and additional arg.
2345 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2347 * MessageSecurityUtility.cs : remove duplicate Action header.
2349 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2351 * MessageFault.cs : partly implemented CreateFault(Message, int).
2352 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2353 handle IsFault correctly in each implementation.
2355 2006-10-04 Ankit Jain <jankit@novell.com>
2357 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2359 2006-10-04 Ankit Jain <jankit@novell.com>
2361 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2362 in WebConnectionStream.
2364 2006-10-04 Ankit Jain <jankit@novell.com>
2366 * MessageHeaders.cs (To): Use GetHeader<string> till
2367 DataContractSerializer gets ISerializable support.
2368 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2370 2006-10-04 Ankit Jain <jankit@novell.com>
2372 * ServiceHostParser.cs (Parse):
2373 (Split): Add some error checks.
2375 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2377 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2378 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2379 * SslStreamSecurityUpgradeProvider.cs,
2380 SslStreamSecurityUpgradeAcceptor.cs :
2381 new files for Ssl upgrade provider implementation.
2382 * MessageSecurityUtility.cs :
2383 Create proper C14NTransform. Don't use enveloped signature
2384 transform but sign every significant bits. On securing messages
2385 use ChannelProtectionRequirements.
2386 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2388 * MessageEncoder.cs : fix API (missing constraint).
2389 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2390 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2391 * AsymmetricSecurityBindingElement.cs : default protection order is
2392 SignBeforeEncryptAndEncryptSignature.
2394 2006-09-29 Ankit Jain <jankit@novell.com>
2396 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2397 ServicHostParser and use that here.
2398 (PrivateBinPath): New.
2399 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2400 (RemovedCallback): Remove and close the SvcHttpHandler when its
2401 corresponding file (.svc) changes.
2402 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2404 * ServiceHostParser.cs : New.
2405 * CachingCompiler.cs : New. Code extracted from
2406 System.Web.Compilation.CachingCompiler
2407 * CompilationException.cs : New. From System.Web.Compilation
2408 * HtmlizedException.cs : New. Likewise.
2410 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2412 * MessageSecurityBindingSupport.cs : For client side, it is always
2413 InitiatorServiceModelSecurityTokenRequirement which should be
2414 created. Fixed wrong client encryption key acquisition.
2416 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2418 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2419 MessageSecurityBindingSupport.cs : made similar changes as factories
2420 to listener so that session channels and input channels would work.
2421 Added authenticator creation.
2423 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2425 * Binding.cs : added missing members.
2427 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2429 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2430 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2431 reduce code duplication between request and output channels.
2432 The common parts are now in MessageSecurityBindingSupport.
2433 Now reduced several arguments in SecureMessage() for client.
2435 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2437 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2439 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2441 * AsymmetricSecurityBindingElement.cs,
2442 SecurityChannelListener.cs,
2443 SecurityRequestContext.cs,
2444 SymmetricSecurityBindingElement.cs,
2445 SecurityRequestChannel.cs,
2446 SecurityOutputChannel.cs,
2447 SecurityChannelFactory.cs,
2448 MessageSecurityBindingSupport.cs : 1) Refactoring.
2449 IMessageSecurityBindingSupport now becomes a class and contains
2450 all the members which resided in ISecurityChannelSource.
2451 Now it takes more constructor params.
2452 Made dependent changes on all sources above.
2454 2) Added SecurityTokenAuthenticator creation in
2455 SecurityRequestChannel (SecurityOutputChannel should do the same).
2457 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2459 * SecurityRequestChannel.cs : ongoing improvements on conditional
2460 key creation. Actually there must be some part that creates an
2461 authenticator (WinFX does that).
2463 2006-09-27 Ankit Jain <jankit@novell.com>
2465 Add suport for handling .svc files.
2466 * SvcHttpHandlerFactory.cs: New.
2467 * SvcHttpHandler.cs: New.
2469 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2470 asp.net environment.
2471 (OnOpen): Do nothing in asp.net environment.
2472 (OnClose): Likewise.
2473 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2474 * HttpRequestContext.cs: .. here.
2476 * AspNetReplyChannel.cs: New.
2477 * AspNetRequestContext.cs: New.
2479 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2481 * MessageSecurityUtility.cs :
2482 Significantly rewritten decryption parts to respect ReferenceList
2483 to decrypt (so no workaround anymore).
2484 Now e:ReferenceList inside o:Security is treated as the referenced
2485 EncryptedType items are encrypted by 1) the derived key which is
2486 immediately in front of it, or 2) the default key (it is according
2487 to WS-SecureConversation section 9.1). Thus removed immediately
2488 previous hack to auto-fill wsu:Id attributes.
2490 On securing a message, generate correct Id and add DataReference
2491 to ReferenceList properly.
2493 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2495 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2498 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2500 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2501 Actually WSSecurityTokenSerializer should be able to consume it, but after
2502 spending a lot of time I still cannot successfully read it on WinFX.
2503 Skip ReferenceList for now.
2504 * MessageSecurityUtility.cs :
2505 Replaced some string literals with constants.
2506 Added some workaround for DerivedKeyToken retrieval.
2507 WinFX somehow sends incomplete ISO10126 padding which contains
2508 bigger number than the key size and is rejected by EncryptedXml,
2509 so added DecryptLax() which processes such ones in PaddingMode.None
2510 to workaround it (only for cross-connection between mono and winfx).
2511 Added some incomplete implicit wsu:Id processing.
2512 Don't try to replace SignedXml with EncryptedData. It is not added
2513 to the document tree.
2515 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2517 * MessageSecurityUtility.cs : support message signature encryption. Some
2520 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2522 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2524 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2526 * MessageSecurityUtility.cs : fix warnings.
2528 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2530 * MessageSecurityUtility.cs : actually there would be more than one
2531 EncryptedData. Decrypt all.
2533 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2535 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2536 Use ISO10126 padding mode (it is not required but in manner).
2538 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2540 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2541 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2542 that class to make it work fine with mono client).
2543 Removed buggy lines that reset decryption key to AES.
2544 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2545 * WSSecurityMessageHeader.cs :
2546 (SecurityTokenReferenceKeyInfo) support LoadXml.
2548 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2550 * TransactionMessageProperty.cs : new file.
2552 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2554 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2555 gmcs happened to report wrong code.
2557 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2559 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2560 .ctor() now requires ChannelProtectionRequirements which will be
2561 supplied via BindingParameterCollection.
2562 * SymmetricSecurityBindingElement.cs,
2563 AsymmetricSecurityBindingElement.cs : thus add
2564 ChannelProtectionRequirement parameter to factory/listener.
2565 * SecurityRequestChannel.cs : use recipient token requirement to
2566 create an encryption token. Thus differentiate the logic from
2567 signing (initiator) token.
2569 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2571 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2572 renamed former to latter.
2573 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2576 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2578 * MessageSecurityBindingSupport.cs : new internal types to commonize
2579 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2580 and thus make internal factory and listener reusable.
2581 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2582 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2583 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2584 SymmetricSecurityBindingElement, using the new types above.
2585 * SymmetricSecurityBindingElement.cs :
2586 Use SymmetricMessageSecurityBindingSupport.
2587 * AsymmetricSecurityBindingElement.cs :
2588 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2590 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2592 * ChannelFactoryBase.cs : more RC1 update.
2594 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2596 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2597 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2598 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2599 ChannelBase.cs : RC1 API updates.
2600 * MessageImpl.cs : implemented Properties.
2601 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2603 2006-09-18 Ankit Jain <jankit@novell.com>
2605 * MessageHeaders.cs (MessageId):
2606 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2608 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2610 * ChannelParameterCollection.cs : new file.
2611 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2612 new files for IOutputChannel implementation.
2613 * OneWayBindingElement.cs : hacky implementation.
2614 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2615 * MessageSecurityUtility.cs : now create identifier from the security
2616 token and the token parameters which is added as an argument.
2617 * SecurityRequestContext.cs,
2618 SecurityRequestChannel.cs : SecureMessage() argument changes.
2619 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2622 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2624 * HttpRequestChannel.cs : close the HttpWebRequest.
2626 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2628 * HttpRequestChannel.cs,
2629 HttpChannelFactory.cs : implement async request/reply.
2630 * HttpChannelFactory.cs :
2631 verify factory state when creating a channel.
2633 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2635 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2636 BinaryMessageEncoder.cs : added message version mismatch check.
2638 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2640 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2641 Making incomplete changes to handle different tokens for encryption
2643 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2644 split channel implementation classes out to the latter file.
2645 * MessageSecurityUtility.cs : seems like there is
2646 TimeStampValidityDuration property, so use it (incomplete; a server
2647 needs another love).
2649 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2651 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2652 SecurityRequestContext.cs : now that we have key identifier clause
2653 and working ResolveKeyIdentifierClause(), just create keys inside
2654 SecureMessage(). Add KeyInfo to the xmldsig.
2656 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2658 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2659 pass SecurityKeyIdentifierClause to SecureMessage().
2660 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2661 for IssuedToken binding element.
2662 * SymmetricSecurityChannelListener.cs : removed hack to just create
2663 X509 security token, and implemented correct token creation.
2664 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2665 wraps SecurityTokenReference element.
2666 * MessageSecurityUtility.cs : use the above.
2668 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2670 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2671 could not find a security header.
2672 * SymmetricSecurityChannelFactory.cs : now it also supports
2673 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2676 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2678 * SecurityRequestContext.cs : moved securing message part to
2679 MessageSecurityUtility.cs.
2680 * MessageSecurityUtility.cs : the change above.
2681 use DateTime.Now for timestamp basis. Don't append signature to
2682 the document. Instead it is added to the header. Capture body
2683 content instead of the body itself.
2684 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2685 be processed by upper layers.
2687 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2689 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2690 SymmetricSecurityChannelListener.cs,
2691 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2692 more refactoring. Request serialization became much more conformant
2693 and add required header items.
2694 Security Token retrieval is needed to send it in the request.
2695 Fixed wrong key encryption.
2697 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2699 * SecurityRequestContext.cs : the workaround was not functional.
2701 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2703 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2704 API, especially ReplaceData(), instead of native crypto stuff.
2705 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2706 MessageProtectionOrder.SignBeforeEncrypt).
2708 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2710 * SecurityRequestContext.cs : label should be combined of both
2711 the client's and the server's.
2713 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2715 * SecurityRequestContext.cs : enable key derivation (though for now
2716 GenerateDerivedKey() is unimplemented). Create meaningful,
2717 decrypted request message to be consumed by the upper layer.
2719 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2721 * SecurityRequestContext.cs : implement Close() and Reply().
2722 ongoing implementation of Reply(TimeSpan).
2723 * MessageSecurityUtility.cs : new file to collect utility methods.
2724 * SymmetricSecurityChannelFactory.cs : moved securing message code
2726 * SymmetricSecurityChannelListener.cs : tiny renaming.
2728 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2730 * SecurityRequestContext.cs : security header is also stored.
2732 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2735 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2737 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2740 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2742 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2743 so that it retrieves the security key in that manner.
2745 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2747 * Binding.cs : MessageVersion is null when there is no
2748 MessageEncodingBindingElement.
2749 * Message.cs : null arg check.
2751 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2753 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2755 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2757 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2758 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2759 LayeredRequestChannel.cs : some refactoring.
2760 * SymmetricSecurityChannelFactory.cs :
2761 ongoing secure message creation implementation.
2763 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2765 * SymmetricSecurityBindingElement.cs :
2766 pass specific ServiceCredentialsSecurityTokenManager type to
2767 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2768 * SymmetricSecurityChannelListener.cs :
2769 get service certificate. It's a temporary hack.
2770 Move RequestContext code to below.
2771 * SecurityRequestContext.cs : new file.
2772 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2773 it I have to finish decryption of the incoming message.
2775 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2777 * MessageImpl.cs : don't write attributes on the first body content
2778 element *on soap Body element*.
2779 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2780 ObjectDisposedException is appropriate.
2781 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2782 in OnWriteHeader*Contents*().
2784 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2786 * WSSecurityMessageHeader.cs : new file.
2787 * SymmetricSecurityChannelFactory.cs :
2788 moved WSSecurityHeader and related types to the above.
2789 * SymmetricSecurityChannelListener.cs :
2790 reject SOAP-env-less message.
2792 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2794 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2795 renamed former to latter.
2796 * SymmetricSecurityChannelFactory.cs :
2797 create requirements every time. It is also likely that I need
2798 another requirement instance to get service credentials here.
2800 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2802 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2803 similar to BuildChannelFactory() (set credentials, issuer binding
2805 * SecurityChannelListener.cs :
2806 more ongoing security support implementation.
2807 * SymmetricSecurityChannelFactory.cs :
2808 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2810 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2812 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2813 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2814 Implementation is underway.
2815 * LayeredReplyChannel.cs :
2816 like LayeredRequestChannel, use ChannelListenerBase to provide
2819 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2821 * MessageHeader.cs : added another implementation type that uses
2822 XmlElement, for buffering purpose.
2823 * MessageImpl.cs : Header item types are user-driven by
2824 MessageHeader.GetHeader<T>(int), so at storing phase just store
2825 nodes as XmlElement.
2826 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2829 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2831 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2832 BindingParameterCollection, not from binding element properties.
2834 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2836 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2837 renamed former to latter.
2839 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2841 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2842 work for SslSecurityTokenParameters.
2844 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2846 * SecurityBindingElement.cs :
2847 Added SetIssuerBindingContextIfRequired().
2848 * SecurityChannelFactory.cs :
2849 Changed .ctor() arg again, just to receive binding element.
2850 * SymmetricSecurityBindingElement.cs :
2851 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2852 SymmetricSecurityChannelFactory .ctor() arg changes.
2853 "ProtectionTokenParameters" is not passed now.
2855 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2857 * SymmetricSecurityBindingElement.cs : requirements should be
2858 filled at InitializeSecurityTokenParameters as long as possible.
2859 SymmetricSecurityChannelFactory<T> now does not receive
2860 requirements (it now creates one inside it) at .ctor().
2861 * SecurityChannelFactory.cs : remove requirement argument.
2863 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2865 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2867 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2869 * SymmetricSecurityBindingElement.cs :
2870 MessageSecurityVersion property is of type SecurityTokenVersion.
2871 * SecurityBindingElement.cs :
2872 Implemented CreateSecureConversationBindingElement().
2873 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2874 the argument IssuedSecurityTokenParameters itself.
2876 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2878 * SymmetricSecurityBindingElement.cs :
2879 CreateSecurityTokenManager() can be directly used now.
2880 Use CallInitializeSecurityTokenRequirement() to fill requirement
2883 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2885 * ChannelFactoryBase.cs : GetProperty() is virtual.
2887 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2889 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2890 create token manager, token parameters and token requirements,
2891 and fill some requirements.
2892 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2893 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2894 * BindingContext.cs : implemented RemainingBindingElements.
2895 kill "no remaining binding element" error in GetInnerProperty()
2896 * SecurityChannelFactory.cs : now it became
2897 SymmetricSecurityChannelFactory, thus soon to be renamed.
2898 Several ongoing actual security resolution is on.
2900 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2902 * CommunicationObject.cs :
2903 add GetCommunicationObjectType() and use it.
2904 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2905 use ThrowIfDisposedOrNotOpen().
2906 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2907 to CommunicationObject. Make it IDisposable.
2908 * LayeredRequestChannel.cs : use above.
2909 * SecurityChannelFactory.cs : removed state check as it is done at
2912 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2914 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2915 CanBuildChannelListener) directly dispatch to BindingContext.
2916 * SymmetricSecurityBindingElement.cs : require protection token
2917 parameters before building a channel or a listener.
2918 * ChannelFactoryBase.cs : raise an error when a channel is being
2919 created without opening the factory.
2920 * ChannelListenerBase_1.cs : ditto for the listener.
2921 * SecurityChannelFactory.cs : before sending a request, it must be
2924 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2926 * MessageBufferImpl.cs : initialize fields.
2927 workaround BufferSize just to return 0.
2928 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2929 which does not support multi time write.
2930 * Message.cs : implemented State.
2932 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2934 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2935 is consuming XmlReader.
2936 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2937 * MessageBuffer.cs : implemented CreateNavigator().
2938 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2940 I kinda know that MS heavily depends on binary XmlReader and may have
2941 XPathNavigator implementation based on the binary stuff, but at
2942 least for now we have almost no motivation to mimick it.
2944 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2946 * SecurityChannelFactory.cs : a bit more of security header code.
2948 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2950 * SymmetricSecurityBindingElement.cs :
2951 set default MessageProtectionOrder in every construction.
2953 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2955 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2956 changed to require ChannelFactoryBase to support default timeout.
2957 Made some methods non-virtual. Preparing code to add security
2958 headers (empty yet).
2959 * SecurityBindingElement.cs : implemented several factory methods
2960 that return SymmetricSecurityBindingElement.
2962 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2964 * IStreamUpgradeBindingElement.cs,
2965 StreamUpgradeBindingElement.cs : renamed from former to latter.
2967 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2969 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2971 2006-07-31 Ankit Jain <jankit@novell.com>
2973 * MessageHeaders.cs (From): Use Constants.WSA1
2974 (MessageId): Implement the same pattern as other properties (From etc).
2976 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2978 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2979 * SecurityBindingElement.cs : some cosmetic changes.
2981 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2983 * SecurityBindingElement.cs : LocalClientSettings and
2984 LocalServiceSettings returns an instance for each.
2985 * LocalClientSecuritySettings.cs : initialized fields.
2987 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2989 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2990 kinda implemented Clone() just with MemberwiseClone().
2992 2006-07-27 Ankit Jain <jankit@novell.com>
2994 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2995 * MessageHeader.cs (knownTypes): New. Known type array containing
2997 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2999 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3001 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3002 LayeredCommunicationObject.cs,
3003 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3004 new files to support security channels, though right now they
3005 just pass inner channels through.
3006 * SymmetricSecurityBindingElement.cs : use above.
3008 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3010 * AsymmetricSecurityBindingElement.cs,
3011 SymmetricSecurityBindingElement.cs :
3012 Default SecurityTokenParameters is null.
3014 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3016 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3018 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3020 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3022 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3023 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3024 headers. When AddressingVersion is None, don't output addressing
3025 headers as well, except for Action which is still needed by
3028 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3030 * MessageHeaders.cs : changed specific properties to find it from
3031 headers as Action property does (local variables won't be set by
3032 setter). Cache serializers. Check null serializer arguments.
3033 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3035 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3037 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3038 use XmlObjectSerializer (since it is not data contract type).
3040 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3042 * MessageImpl.cs : Improved ReadHeaders().
3043 For certain header items, use EndpointAddress.ReadFrom().
3045 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3047 * AsymmetricSecurityBindingElement.cs :
3048 it is not ISecurityCapabilities anymore.
3050 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3052 * MessageVersion.cs : added None.
3054 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3056 * Message.cs : GetReaderAtBodyContents() implementation using
3059 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3061 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3062 used MessageVersion.Default.
3064 2006-07-12 Duncan Mak <duncan@novell.com>
3066 * MessageBuffer.cs (MessageContentType): Return
3067 "application/soap+msbin1".
3069 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3070 (SimpleMessage.OnCreateBufferedCopy):
3071 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3072 MessageBuffer implementations.
3074 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3075 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3076 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3078 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3080 * MessageImpl.cs : Action should be added in request messages. Omit
3081 it only in reply message, thus moved to dispatcher logic.
3083 2006-07-12 Ankit Jain <jankit@novell.com>
3085 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3086 bug in WebConnectionStream.
3087 * MessageHeaders.cs (MessageHeaders.From):
3088 (MessageHeaders.ReplyTo):
3089 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3091 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3093 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3094 add SOAP Action to the response at any time.
3096 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3098 * SymmetricSecurityBindingElement.cs,
3099 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3100 Implemented .ctor() and some properties.
3102 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3104 * TransactionFlowBindingElement.cs : new file.
3105 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3107 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3110 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3111 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3112 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3113 vanished (there is anyways no way to instantiate this type).
3114 * MessageVersion.cs : added Soap11 and Soap12.
3115 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3116 in June CTP. goodie.
3118 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3120 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3121 removed some vanished CreateMessage() overloads.
3123 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3125 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3126 HttpTransportBindingElement.cs :
3127 They are not ISecurityCapabilities anymore.
3128 Modified code to match June CTP behavior.
3130 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3132 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3134 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3136 * EmptyFaultException.cs : removed unused code.
3137 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3139 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3141 * LayeredChannelFactory.cs : removed obsolete class.
3142 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3143 ChannelListenerBase.cs, HttpChannelListener.cs,
3144 HttpReplyChannel.cs, ChannelManagerBase.cs :
3145 all those changes were brought by ChannelManagerBase changes.
3147 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3149 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3150 CommunicationObject.cs, HttpChannelListener.cs,
3151 ChannelFactoryBase.cs :
3152 CommunicationObject abstract changes brought this madness.
3154 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3156 * BindingContext.cs : listenUri address parameters could be null in
3159 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3161 * IRequestContext.cs :
3162 Now it became a class. File renaming will follow soon.
3163 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3164 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3165 IOutputChannel.cs, IOutputSessionChannel.cs,
3166 IRequestChannel.cs, IRequestSessionChannel.cs :
3167 They are not IDisposable anymore.
3168 For IReplyChannel, IRequestContext -> RequestContext.
3169 * IChannelListener.cs : removed Identity. Added GetProperty().
3170 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3171 ReplyChannelBase.cs, HttpReplyChannel.cs :
3172 Several members disappeared, and dependent changes.
3173 * HttpTransportBindingElement.cs,
3174 HttpChannelListener.cs, :
3175 ChannelListenerBase.SharedChannelListener vanished.
3177 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3179 * MessageEncodingBindingElement.cs
3180 MtomMessageEncodingBindingElement.cs,
3181 TextMessageEncodingBindingElement.cs,
3182 BinaryMessageEncodingBindingElement.cs :
3183 June CTP updates: AddressingVersion -> MessageVersion.
3184 * Binding.cs : June CTP. MessageVersion is added.
3185 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3186 ChannelListenerBase_1.cs,
3187 ChannelListenerBase.cs, IChannelListener.cs,
3189 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3190 June CTP. Several interface changes.
3191 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3192 * IChannelManager.cs, LayeredChannelListener.cs,
3193 GenericWrapperChannelFactory.cs,
3194 GenericWrapperChannelListener.cs : They are not used anymore.
3196 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3198 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3199 sync fix with June CTP API updates.
3201 2006-07-03 Ankit Jain <jankit@novell.com>
3203 * MessageEncodingBindingElementConverter.cs:
3204 * StandardBindingConverter.cs:
3205 * TransportBindingElementConverter.cs:
3206 * TransactionFlowBindingElementConverter.cs:
3207 * ReliableSessionBindingElementConverter.cs:
3208 * SecurityBindingElementConverter.cs:
3209 Rename *Converter.cs to *Importer.cs
3211 * TransferMode.cs: Move to System.ServiceModel
3213 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3215 * CommunicationObject.cs : make sure to change State before
3216 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3218 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3220 * Message.cs : output WSAddressing xmlns only when Action is
3221 specified (To should be affected, but seems like it is ignored).
3223 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3225 * MessageImpl.cs : don't set Action when it is null.
3227 2006-06-12 Ankit Jain <jankit@novell.com>
3229 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3231 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3233 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3234 some updated API fixes.
3236 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3238 * EnvelopeVersion.cs : moved back to S.SM.
3240 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3242 * IBindingManualAddressing.cs : vanished in beta2.
3243 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3244 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3246 * SecurityBindingElement.cs :
3247 SecurityStandardsManager -> SecurityTokenSerializer.
3249 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3251 * XmlSerializerBodyWriter.cs : new file to handle
3252 TypedMessageConverter.ToMessage().
3254 2006-04-26 Ankit Jain <jankit@novell.com>
3256 * TransportBindingElementConverter.cs (BeforeImport): Remove
3257 NotImplementedException.
3258 (ImportContract): Likewise.
3259 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3261 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3263 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3264 being used was not reflecting that of Binding elements.
3266 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3268 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3269 just assume that it is in the message.
3271 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3273 * HttpReplyChannel.cs : actually HTTP header item might be null.
3275 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3277 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3280 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3282 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3284 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3286 * MessageFault.cs : Fixed SOAP12 reason output.
3288 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3290 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3291 MessageEncoder.ContentType explicitly contains encoding.
3292 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3293 if it is SOAP version dependent.
3295 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3297 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3299 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3301 * HttpChannelFactory.cs BindingContext.cs
3302 HttpChannelListener.cs HttpTransportBindingElement.cs :
3303 Now BindingContext holds MessageEncoder, and non-custom
3304 channel factory/listener should use it.
3305 * MtomMessageEncodingBindingElement.cs
3306 TextMessageEncodingBindingElement.cs
3307 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3308 -Listener() now sets internal BindingContext.MessageEncoder.
3309 Fixed some public API.
3311 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3313 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3314 for insufficient elements.
3315 * DispatchRuntime.cs : OperationDescription name is not action. So
3316 OperationSelector is created by name, not by action.
3317 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3319 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3321 * MessageFaultBodyWriter.cs
3322 XmlReaderBodyWriter.cs
3323 XmlObjectSerializerBodyWriter.cs : made internal.
3324 * SecurityBindingElement.cs
3325 AsymmetricSecurityBindingElement.cs
3326 SymmetricSecurityBindingElement.cs : API fixes.
3327 * TransportBindingElementConverter.cs : ditto.
3328 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3329 * WindowsStreamSecurityBindingElement.cs
3330 SslStreamSecurityBindingElement.cs
3331 TransportSecurityBindingElement.cs : new files.
3333 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3335 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3336 reading can be any xs:boolean value.
3338 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3340 * Message.cs MessageImpl.cs : more sorting out the role of each
3342 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3344 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3346 * Message.cs : don't write body contents if it is empty.
3347 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3348 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3349 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3350 * HttpRequestChannel.cs : close request stream before GetResponse().
3352 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3354 * TextMessageEncoderFactory.cs
3355 TextMessageEncoder.cs : encoder does not hold reference to the
3356 factory anymore. Use MessageVersion property in CreateMssage().
3357 * HttpChannelListener.cs : now it holds message encoder.
3358 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3359 * MessageImpl.cs : header is optional.
3360 * EnvelopeVersion.cs : namespace URI is missing.
3362 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3364 * CustomBinding.cs : removed Initialize().
3365 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3366 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3367 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3368 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3370 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3372 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3373 could be also added by Add() method and could be reset by Remove()).
3374 * MessageImpl.cs : implemented more. As noted above, Now we don't
3375 have to add Action header explicitly.
3376 * MessageHeader.cs : recovered Writer methods and ToString() from
3377 commented old version. Use prefixes for writing.
3378 Use WriteObjectContent() rather than WriteObject() (it needs
3379 DataContractSerializer fix btw).
3381 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3383 * MessageHeader.cs : added missing IsReferenceParameter.
3384 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3385 * MessageHeaders.cs : avoid NullRef when actors is null.
3386 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3387 (ForwardingMessage) reader consumer is being added (not done).
3388 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3389 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3390 * HttpRequestChannel.cs : this channel automatically call Open()
3391 when Request() is called. Set content length for request.
3392 Use MessageEncoder's ContentType to also handle charset.
3394 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3396 * MessageImpl.cs : make them internal.
3397 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3399 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3401 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3402 * HttpChannelListener.cs : removed commented line.
3403 * RequestChannelBase.cs : new base class for request channel classes.
3404 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3405 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3406 * Message.cs : default IsEmpty and IsFault false by default.
3407 * LayeredChannelListener.cs : removed Uri (no chance to set).
3408 * ChannelBase.cs : reimplemented timeout properties.
3409 * HttpRequestChannel.cs : now it is mostly based on
3410 RequestChannelBase. Some more attempt to implement Request().
3412 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3414 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3415 OnInitialize(). Added more BuildChannelListener() overloads.
3417 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3419 * Binding.cs : added some more missing members especially to support
3421 * HttpChannelListener.cs : Uri should not be null.
3422 * HttpTransportBindingElement.cs : implemented
3423 CanBuildChannelFactory() and CanBuildChannelListener().
3424 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3426 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3428 * Binding.cs : updated default namespace property value to Feb. CTP.
3430 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3432 * AddressHeader.cs : avoid null reference when value is null.
3433 * BindingContext.cs : check null ListenUri args.
3435 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3437 * MessageFault.cs : Fixed default action name. Null arg check.
3439 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3441 * BindingElement.cs : Dequeue elements in BindingContext directly.
3442 * BindingContext.cs : Added GetProperty<T>().
3443 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3444 Now we don't need these extra classes, so marked as deprecated.
3446 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3448 * Binding.cs : null arg check.
3449 * AddressingVersion.cs : fixed constants to pass the tests.
3450 * BindingElement.cs : tiny meessage fix.
3452 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3454 * MessageEncodingBindingElement.cs
3455 BinaryMessageEncodingBindingElement.cs
3456 TextMessageEncodingBindingElement.cs
3457 MtomMessageEncodingBindingElement.cs
3458 MessageEncodingBindingElementConverter.cs : several API fixes.
3459 * BindingElement.cs : now if we use generic wrapper it causes
3460 infinite loop, so for now replace it with most-possible-but-
3463 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3465 (back to normal "record-ChangeLogs" mode after the big API change mess)
3466 * HttpTransportBindingElement.cs : fixed minor API differences.
3468 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3470 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3471 SymmetricSecurityBindingElement.cs :
3472 Dependent fixes for System.IdentityModel reorgainzation.
3474 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3476 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3477 IProxyFormatter.cs WSHttpBindingBase.cs
3478 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3479 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3480 WSFederationBinding.cs ISessionChannel.cs
3481 CompositeDuplexBindingElement.cs MessageVersion.cs
3482 MessageHeader.cs IRequestSessionChannel.cs
3483 BindingElementCollection.cs IReplySessionChannel.cs
3484 MessageProperties.cs IDuplexClientChannel.cs
3485 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3486 TcpTransportBindingElement.cs EmptyFaultException.cs
3487 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3488 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3489 ConnectionOrientedTransportBindingElement.cs
3490 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3491 PeerResolverBindingElement.cs Message.cs
3492 HttpsTransportBindingElement.cs BindingElement.cs
3493 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3494 MessageFaultBodyWriter.cs IReplyChannel.cs
3495 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3496 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3497 IRequestContext.cs IInputSessionShutdown.cs
3498 SecurityBindingElement.cs PeerTransportBindingElement.cs
3499 IDuplexSession.cs IChannelInitializer.cs
3500 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3501 AddressingVersion.cs FaultException.cs
3502 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3503 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3504 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3505 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3506 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3507 BindingParameterCollection.cs IInstanceProvider.cs
3508 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3509 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3510 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3511 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3512 moved from System.ServiceModel due to the API changes.
3514 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3516 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3517 HttpChannelListener.cs HttpRequestChannel.cs
3518 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3519 PeerNode.cs ReplyChannelBase.cs :
3520 Feb. CTP API changes - chapter 1.
3522 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3524 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3525 * ReplyChannelBase.cs : now it is based on ChannelBase.
3526 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3527 and check null argument in .ctor().
3528 * HttpReplyChannel.cs : several changes.
3529 Non-async members are mostly implemented.
3530 * HttpChannelListener.cs : no need to receive
3531 IDefaultCommunicationTimeouts.
3532 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3533 to allocate buffer array and int.MaxValue causes OutOfMemory.
3535 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3537 * ClientFramingDecoderState.cs : added missing enum.
3538 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3540 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3542 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3544 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3545 AcceptChannel() has some code now but it needs more love.
3547 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3549 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3550 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3551 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3553 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3555 * HttpRequestChannel.cs : close the streams.
3557 HttpChannelListener.cs : renamed from former to latter.
3559 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3561 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3562 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3563 * HttpListenerFactory.cs : removed obsolete file.
3564 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3565 * ChannelListenerBase_1.cs : implemented virtual stuff.
3566 * CommunicationObject.cs : Open() should not call BeginOpen() and
3567 EndOpen(). Instead, invoke events individually.
3568 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3570 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3572 * HttpRequestChannel.cs : call Flush() after serializing message
3575 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3577 * HttpRequestChannel.cs : implemented pretty hacky Request().
3579 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3581 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3583 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3585 * ChannelFactoryBase.cs : removed some NotImplementedException for
3586 further internal implementation.
3588 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3590 * HttpRequestChannel.cs : new file. mostly not implemented.
3591 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3592 Partly implemented CreateChannel().
3594 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3596 * HttpChannelFactory.cs : (.ctor())
3597 Don't take ChannelBuildContext.
3599 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3601 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3602 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3603 PeerMessagePropagation.cs : updated to Nov. CTP.
3605 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3607 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3608 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3609 StreamSecurityUpgradeAcceptor.cs,
3610 StreamSecurityUpgradeInitiator.cs :
3611 Updated to Nov. CTP API.
3613 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3615 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3617 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3619 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3621 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3623 * ChannelBase.cs : tiny filename fix.
3624 * ChannelListenerBase.cs : added more .ctor()s.
3626 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3628 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3629 ListenerFactoryBase.cs ChannelListenerBase.cs :
3630 updated IListener related stuff to Nov. CTP.
3631 file renaming will come soon.
3633 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3635 * ListenerBase.cs, ChannelListenerBase.cs :
3636 moved from former to latter.
3637 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3638 moved from former to latter.
3640 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3642 * SessionFaultedException.cs : removed in Nov. CTP
3644 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3646 * CommunicationObject.cs : updated to Nov. CTP.
3647 * SessionFaultedException.cs : removed (in Nov. CTP)
3649 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3651 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3654 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3656 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3657 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3658 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3659 * MessageEncoder.cs : largely implemented.
3661 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3663 * IRequestReplyCorrelator.cs : new file.
3665 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3667 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3668 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3669 * MessageEncoder.cs : added misssing ToString().
3671 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3673 * ChannelBehaviorCollection.cs : moved to sys.sm.
3675 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3677 * HttpListenerFactory.cs, HttpListener.cs : new files.
3678 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3679 CommunicationObject.cs, ChannelFactoryBase.cs,
3680 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3682 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3683 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3685 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3687 * ListenerFactoryBase.cs : some implementation.
3689 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3691 * CommunicationObject.cs : more state fixes.
3693 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3695 * CommunicationObject.cs : some state machine fixes.
3697 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3699 * PeerNode.cs, ChannelManagerBase.cs :
3700 several API fixes detected by improved corcompare.
3702 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3704 * LayeredListenerFactory.cs : added missing generic class constraint.
3706 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3708 * ListenerFactoryBase.cs,
3709 ListenerBase.cs : class constraints were missing for generic args.
3711 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3713 * StreamUpgradeInitiator.cs : tiny API fix.
3715 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3717 * PeerMessagePropagationFilter.cs : tiny build fix.
3719 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3721 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3722 added Name. fixed StatusCode type.
3723 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3724 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3725 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3726 DirectionalAction.cs, HostedTransportConfiguration.cs,
3727 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3728 PeerMessagePropagationFilter.cs : added missing files.
3729 * Dummy.cs : removed. MSMQ stuff can be added later.
3731 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3733 * DeliveryStatus.cs, DeliveryFailure.cs,
3734 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3735 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3737 * Dummy.cs : removed above.
3739 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3741 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3743 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3745 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3746 MessageEncoder.cs, BufferManager.cs : new files.
3747 * Dummy.cs : removed above.
3749 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3751 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3752 * Dummy.cs : removed above.
3753 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3755 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3757 * HttpChannelFactory.cs : new file.
3759 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3761 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3762 moved to ../System.ServiceModel (correct location).
3763 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3764 new files for channels.
3765 * Dummy.cs : reflected above changes.
3766 * ChannelManagerBase.cs : added a bit of code and todos.
3768 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3770 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3771 added listener support files.
3772 * Dummy.cs : removed above.
3774 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3776 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3777 added request/reply channel interfaces.
3778 * Dummy.cs : removed above.
3779 * CommunicationObject.cs : FIXME comments.
3781 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3783 * CommunicationObject.cs : implemented some members.
3785 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3787 * CommunicationObject.cs : some signature fixes.