1 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
3 * HttpReplyChannel.cs : fill To header only if it does not exist.
5 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
7 * SecureMessageGenerator.cs : set ReplyTo and To, do not add.
9 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
11 * MessageHeaders.cs : use matching addressing version.
12 Remove header item if the same ones already exist.
14 2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
16 * HttpRequestChannel.cs: don't create the wait handle unless it is
19 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
21 * HttpRequestChannel.cs : use correct max buffer size.
23 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
25 * MessageFault.cs : check null serializer and detail.
26 Make sure to consume s12:Reason EndElement.
28 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
30 * MessageFault.cs : when created from XmlReader, it should not
31 deserialize fault details immediately. This class itself should
32 not do that. Strongly typed FaultContractInfo may want to use the
33 reader (GetReaderAtDetailContents()) for its own deserialization.
35 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
37 * ConnectionOrientedTransportBindingElement.cs,
38 TcpTransportBindingElement.cs : implement GetProperty<T>().
40 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
42 * HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
43 implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
44 properties type from HTTP.
46 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
48 * FaultConverter.cs : use addressing version from the message.
50 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
52 * FaultConverter.cs : check envelope version, not addressing version.
54 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
56 * FaultConverter.cs : implemented TryCreateException().
58 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
60 * MessageFault.cs : cosmetic method name clarification.
62 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
64 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
65 fix BodyWriter buffering that dropped in-scope namespaces and thus
66 caused problem on resolving QNames.
68 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
70 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
71 with certain Exception types.
73 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
75 * Message.cs : fix explanation on CreateMessage() overloads.
77 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
79 * MessageFault.cs : Write Subcode element correctly and fix wrong
80 Code/Value/Subcode element relationship. Give better error message.
82 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
84 * HttpRequestChannel.cs : ok, no need for conditional code path.
86 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
88 * AddressingVersion.cs : add fault action namespace.
90 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
92 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
95 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
97 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
99 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
101 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
104 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
106 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
108 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
110 * HttpRequestContext.cs : removed HTTP status rewriting for
113 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
115 * HttpRequestChannel.cs : handle only 4xx errors as to not process
118 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
120 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
122 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
124 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
125 Patch by Matt Dargavel.
127 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
129 * HttpListenerManager.cs : use lock object which is subject to
130 change. Fix by Matt Dargavel.
132 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
134 * HttpListenerManager.cs : remove consumed HttpListenerContext from
135 the pending queue. Compare "wsdl" request in case insensitive
136 manner. Patch by Matt Dargavel.
138 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
140 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
141 supposed to provide detailed 400 error message.
143 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
145 * TransactionFlowBindingElement.cs: revamp the previous change to
146 not regress regarding service metadata.
148 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
150 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
151 GetProperty<T>() bug that fails to retrieve properties. (This may
152 be rewritten later if an ongoing change proposal is to take place.)
154 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
156 * ReliableSessionBindingElement.cs,
157 PrivacyNoticeBindingElement.cs,
158 RemoteEndpointMessageProperty.cs : added some missing types.
160 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
162 * MessageHeaders.cs :
163 why does it filter out most of the headers? kill it.
165 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
167 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
168 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
169 to not raise "not found" error (see bug #573795).
171 2010-03-16 Jb Evain <jbevain@novell.com>
173 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
174 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
176 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
178 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
179 type, and use null password unless we find a chance to get password
180 in ASP.NET HttpContext.
182 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
184 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
185 HttpListenerManager.cs : ongoing authentication support. It returns
186 401 as expected, but somehow fails to retrieve user info.
188 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
190 * HttpListenerManager.cs : this change (along with HttpListener
191 implementation) somehow fixes basic auth. connection error...
193 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
195 * MessageHeaders.cs : add !NET_2_1.
197 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
199 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
200 typed UniqueId output.
202 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
204 * MessageHeader.cs : no need to treat EndpointAddress as a special
207 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
209 * MessageHeaders.cs : remove duplicate constant.
211 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
213 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
214 EndpointAddress as a special case. Instead, each MessageHeaders
215 property should convert it to appropriate serializable objects.
217 (Our DataContractSerializer fails to reject EndpointAddress as
218 serializable type, so it's rather a preparation step.)
220 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
222 * MessageHeader.cs, Message.cs : use dictionary string whenever
223 applicable. The binary output on #577139 is getting closer (no
224 idea if it is really about binary output though).
226 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
228 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
230 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
232 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
234 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
236 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
237 enable authentication schemes on monotouch.
239 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
241 * SvcHttpHandler.cs : a wait handle could be used for more than one
242 requests and hence it sometimes blocked one reply channel. Now
243 it creates a wait handle for each ASP.NET request so that such
244 multiple use should not occur. This should fix blocking on
245 concurrent requests (it indeed fixes as long as I can see).
247 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
249 * AspNetReplyChannel.cs : remove garbage output.
251 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
253 * SvcHttpHandler.cs : Use lock when it tries to create the service
256 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
258 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
261 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
263 * HttpListenerManager.cs : add another workaround for blocking
266 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
268 * HttpListenerManager.cs : small refactoring.
270 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
272 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
273 that somehow makes callback client to not cause infinite loop.
275 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
277 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
278 DuplexChannelBase.cs : Receive() should rather use TryReceive().
279 It should not be in reverse order.
281 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
283 * HttpReplyChannel.cs, HttpListenerManager.cs :
284 Implement async cancellation in the expected manner (though with
285 some hack). This mostly removed nunit blockers.
287 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
289 * CommunicationObject.cs : fix wrong status changes.
291 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
293 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
295 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
297 * AddressHeader.cs : implement remaining bits.
298 Eliminate dependency on NetDataContractSerializer.
300 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
302 * CommunicationObject.cs : in Fault(), do similar work as previous
305 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
307 * CommunicationObject.cs : when process state changes, lock the
308 object to make sure the state transition is valid.
309 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
311 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
313 * MessageHeaders.cs : implement SetAction().
315 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
317 * ChannelFactoryBase.cs : fix build.
319 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
321 * ChannelBase.cs : cosmetic API fix for SL3.
323 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
325 * ChannelFactoryBase.cs :
326 implement On{Begin/End}Close() on the generic type.
328 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
330 * HttpChannelFactory.cs, TcpChannelFactory.cs,
331 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
332 PeerChannelFactory.cs, HttpRequestChannel.cs:
333 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
334 type and made required changes.
336 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
338 * HttpCookieContainerBindingElement.cs : new.
339 * IHttpCookieContainer.cs : fix type name.
340 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
342 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
344 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
345 does not happen when communicating with .NET client but happens with
346 mono). Seealso FIXME comment.
347 * TcpDuplexSessionChannel.cs : do not try to close session when it
348 failed to read sized message. The connection is already dead.
352 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
354 * TcpDuplexSessionChannel.cs :
355 Write EndRecord only when the connection is available.
356 Remove hack - do let ChannelDispatcher close the channel.
357 * TcpBinaryFrameManager.cs :
358 The socket may be disconnected when trying to read a sized message,
359 so check some socket exceptions.
360 In case the client silently shuts down without EndRecord and
361 reconnects to the server with preamble while expecting a sized
362 message (which is so lame, but that's what .NET often does), refresh
363 preamble and continue.
365 This fixes some cases of bug #567949 but not all.
367 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
369 * BinaryMessageEncoder.cs : enable workaround buffering only when
370 the argument stream does *not* support seek. This fixes some
371 net.tcp connection problem.
373 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
375 * TcpBinaryFrameManager.cs : If preamble byte is not available from
376 the client stream, detect it to close the reply or input channel.
377 * TcpRequestChannel.cs : send preamble at each request time.
378 It differentiates communication behavior on such cases that involve
379 single open and multiple requests.
380 * TcpReplyChannel.cs : close the channel only when the channel is
381 oeprated to close i.e. do not close the socket every time.
382 Process preambles on each request (the same as request channel).
384 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
386 * TcpBinaryFrameManager.cs : unsized envelope record may have more
387 than one data block, so consume them accordingly. This should fix
388 large buffer consumption.
390 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
392 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
395 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
397 * HttpRequestContext.cs : for DestinationUnreachable message, this
398 channel returns 400 in .NET.
400 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
402 * BinaryMessageEncoder.cs : added workaround for strange stream
403 consumption error raised by HttpTransport + Binary encoder example.
404 * BinaryMessageEncodingBindingElement.cs:
405 only SOAP 1.2 is allowed for this encoder.
407 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
409 * XmlReaderBodyWriter.cs : don't try to write empty xml.
411 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
413 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
414 default WebHeaderCollection items are overwritten.
416 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
418 * HttpRequestChannel.cs : when HTTP response was error, do not try
419 to read message but just raise an error.
421 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
423 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
425 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
427 * HttpRequestChannel.cs : WebException.Response might be null.
429 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
431 * ReplyChannelBase.cs : added listener property.
432 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
433 been updated to prefer async by default, a while ago.
435 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
437 * HttpTransportBindingElement.cs : finished all GetProperty() values.
439 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
441 * HttpRequestChannel.cs : disabled carelessly added
442 "UseDefaultCredentials = false" line. It blocked basic auth.
444 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
446 * HttpRequestChannel.cs, HttpChannelFactory.cs,
447 HttpChannelListener.cs, HttpListenerManager.cs :
448 implemented http client authentication and some of corresponding
449 service code. Only client works so far.
451 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
453 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
454 added URI scheme check.
456 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
458 * TransportSecurityBindingElement.cs : fix 2.1 build.
460 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
462 * HttpsTransportBindingElement.cs :
463 RequireClientCertificate is false by default.
464 Remove extra #if NET_2_1.
465 * SecurityBindingElement.cs :
466 Implement some transport security factory methods.
467 * TransportSecurityBindingElement.cs :
468 It is not ISecurityCapabilities anymore.
470 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
473 SecurityBindingElement.cs
474 LocalClientSecuritySettings.cs
475 TransportSecurityBindingElement.cs
476 FaultConverter.cs : They are now part of SL3 API.
478 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
480 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
482 2009-11-05 Geoff Norton <gnorton@novell.com>
484 * HttpsTransportBindingElement.cs: Implement basic https transport
485 binding support for Moonlight and MonoTouch
487 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
489 * HttpListenerManager.cs : remove CWLs.
491 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
493 * SvcHttpHandler.cs : move back previous listener selector code in
494 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
495 and differentiate requests to deeper paths (such as /jsdebug), so
496 we need such refinement here.
498 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
500 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
503 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
505 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
506 HttpChannelListener.cs, HttpListenerManager.cs :
507 Similar refactoring on ASP.NET side to the previous one.
508 Added ASP.NET implementation of HttpListenerManager and use some
509 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
511 Rewrote AspNetReplyChannel to become almost the same as
512 HttpSimpleReplyChannel, to hopefully unify them later.
513 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
514 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
517 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
519 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
520 Refactoring on listener manager to correctly handle wsdl and help
521 requests for such case that they conflict in addressing. Now it
522 can correctly distinguish service calls, WSDL requests and help
523 requests when all of them point to "http://localhost/foo.svc"
524 (which is very common case that the user does not change Http*Url).
526 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
528 * ChannelListenerBase.cs : add Properties property to add arbitrary
529 properties handy (only inside this assembly).
531 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
533 * HttpReplyChannel.cs : fix warning.
535 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
537 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
539 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
541 * HttpReplyChannel.cs : make sure to release wait lock.
542 * HttpChannelListener.cs : session channels are not supported, so
543 remove relevant NIEs.
545 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
547 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
548 support contexts so we call the non-overloaded WaitOne method
549 (which defaults to false).
551 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
553 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
554 significant rewrite to cooperate wcf handler and asp.net handler
555 to not mix multiple WCF listener within the asp.net handler.
556 So far it mostly works when 1) there are no ChannelDispatchers
557 that have an identical listen Uri and 2) MaxConcurrentSessions is
558 1 (must be explicitly set).
560 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
562 * CommunicationObject.cs : give better state error description.
564 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
566 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
567 to base methods. This resulted in not a few changes everywhere.
569 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
571 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
573 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
575 * SvcHttpHandler.cs : use file path given by the factory to
576 construct BaseAddresses. Requests to "test.svc/jsdebug" should
577 not be handled as request to "jsdebug" file, it's rather an
578 "argument" to "test.svc".
580 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
582 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
583 rewrite to handle shutdown situation better. The listeners should
584 not close channels that it opened. Instead, just stop accepting
585 further requests. Removed blocking mutex on WaitForRequest().
586 Now xsp shuts down as expected.
588 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
590 * HttpReplyChannel.cs : lock list when releasing its content contexts.
591 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
594 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
596 * SvcHttpHandlerFactory.cs : remove todo.
597 * ReplyChannelBase.cs : add comment.
599 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
601 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
602 revert the change, to use internal asp.net state again.
603 * SvcHttpHandler.cs : add VirtualPathExtension.
605 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
607 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
608 asp.net response was not written correctly.
609 Fill HttpRequestMessageProperty to get handle WSDL requests
610 processed in ServiceMetadataExtension without NRE.
611 Remove wrong HttpListenerContext iteration at Abort and Close in
612 common base class and move it to non-asp derived channel.
614 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
616 * SvcHttpHandler.cs : remove unused code.
618 2009-09-30 Jb Evain <jbevain@novell.com>
620 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
621 to use any of the remoting features.
623 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
625 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
626 use AspNetCompatibilityEnabled.
627 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
629 * AspNetReplyChannel.cs : remove extra field.
631 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
633 * HttpReplyChannel.cs : remove extra field.
635 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
637 * AspNetRequestContext.cs : remove CWL.
639 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
641 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
642 only after AspNetRequestContext is closed. Do not close it
643 immediately after receiving the context. (HttpRuntime destructs it
644 and further uses then becomes impossible.)
646 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
648 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
649 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
650 Make sure that AspNetChannelListener is bound to correct
651 SvcHttpHandler, regardless of specific request URI. It is required
652 for both WSDL requests and RESTful binding requests.
654 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
656 * MessageProperties.cs : fix CopyProperties() behavior to not
657 clear existing items. Make all properties call this[name].
659 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
661 * HttpTransportBindingElement.cs : fix 2.1 build.
663 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
665 * TransportBindingElement.cs : another GetProperty fix, iterate
666 other binding elements.
668 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
670 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
671 some GetProperty() implementation.
673 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
675 * HttpListenerManager.cs : release HttpListener and avoid extra
676 close process more than once.
678 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
680 * HttpChannelListener.cs : do not iterate channel list to close
681 channels which in turn removes them from the list while iteration.
683 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
685 * HttpRequestChannel.cs : Fix message version member comparison.
686 Double-quote SOAPAction. Remove extra Exception.
687 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
688 * HttpRequestContext.cs : when addressing is None, remove action
691 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
693 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
694 path, to pick those endpoints that are added at custom factories.
696 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
698 * SvcHttpHandler.cs : apply configuration, and if there is still no
699 endpoint, then add default one.
701 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
703 * SvcHttpHandler.cs : another URL to make relative.
705 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
707 * SvcHttpHandlerFactory.cs : some GetHandler changes.
708 * SvcHttpHandler.cs : significant changes on receiver structure. Now
709 ProcessRequest() stores pending requests (this might be extraneous,
710 but maybe useful when it implements async handler). Also removed
711 reply_channel field as it may become to handle multiple requests.
712 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
713 * AspNetReplyChannel.cs : make it receive requests like
714 HttpReplyChannel (for HttpListener) to make them consistent.
716 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
718 * AspNetRequestContext.cs, HttpRequestContext.cs :
719 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
720 by splitting HttpListener-based context out from common code base.
722 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
724 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
725 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
728 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
730 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
731 loads types from system assemblies appropriately.
733 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
735 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
738 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
740 * HttpRequestMessageProperty.cs : fix default values.
742 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
744 * HttpChannelFactory.cs, HttpRequestChannel.cs,
745 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
746 Check ManualAddressing value and reject address-missing ones.
748 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
750 * HttpChannelFactory.cs : reject URI mismatch cases when required.
752 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
754 * PeerDuplexChannel.cs : When received Connect() from neighbor,
755 add the peer to its internal list.
756 Finally ChatApplication got working.
758 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
760 * PeerDuplexChannel.cs : since the channel factory is per instance,
761 do not reuse factory that is tied to different callback instance.
762 It resolved the issue that mono callback client didn't receive
763 messages from the client itself.
765 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
767 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
768 of the receiver, not the requestor. It resolved the issue that
769 .NET client didn't send further messages to mono server.
771 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
773 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
774 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
775 TcpReplyChannel.cs, TcpRequestChannel.cs,
776 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
777 rename EndRecord handling method to appropriate one.
778 Write EndRecord from recipient too.
780 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
782 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
783 Process PeerTo header to upgrade Message To header. Now mono
784 service accepts mono client (somehow not true for .NET client).
786 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
788 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
789 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
791 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
793 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
795 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
797 * TcpDuplexSessionChannel.cs : check channel state before processing
800 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
802 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
803 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
804 ongoing works, not working at all yet.
806 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
808 * TcpChannelListener.cs, TcpReplyChannel.cs :
809 cosmetic cleanup and corrections.
811 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
813 * TcpChannelFactory.cs : use expected Via uri.
814 Remove extra NIE stuff that are implemented in base.
816 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
818 * TcpDuplexSessionChannel.cs : remove extra code.
820 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
822 * PeerDuplexChannel.cs : ongoing implementation towards get callback
823 replies on peer connector clients (not working as duplex client
824 callback is not working yet).
826 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
828 * TcpDuplexSessionChannel.cs : in callback client channels,
829 OperationContext.IncomingMessageHeaders is null.
831 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
833 * MessageHeaders.cs : duplicate check was sloppy.
835 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
837 * Message.cs, MessageImpl.cs, BodyWriter.cs :
838 Implement BodyWriter.OnCreateBufferedCopy() and use it.
840 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
842 * ReplyChannelBase.cs : initialize field.
844 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
846 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
847 implement GetProperty<T>() and return its channel manager.
849 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
851 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
852 destination address in Connect() request. To repeat sending
853 request, use buffered copy. Set some peer-channel specific
854 header items. (todo: and consume them.)
856 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
858 * Message.cs : state is set only after WriteBodyContents().
860 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
862 * MessageHeaders.cs : eliminate wrong use of
863 ReadElementContentAsString() (it is not always simple string).
865 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
867 * MessageHeaders.cs : when the value is null, do not try to
868 deserialize EndpointAddress.
870 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
872 * MessageHeader.cs : add Value property. (Forgot dependent change.)
874 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
876 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
877 serialization and deserialization of values.
879 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
881 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
882 Now simply use connector contract.
884 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
886 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
888 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
890 * TcpChannelListener.cs : do not try to compare dead connection's
891 IPEndPoint (it raises an error).
893 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
895 * MessageHeaders.cs : allow null header value on each specific setter.
897 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
899 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
900 get local and remote address of connected counterpart to get
901 callback channel connected.
902 * PeerDuplexChannel.cs : remove FIXME wrt above.
904 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
906 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
908 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
910 * MessageHeader.cs : fill IsReferenceParameter.
912 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
914 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
915 implement remaining async methods and LocalAddress.
917 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
919 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
920 ServiceHost to process neighbor connection (not sure if this is
921 right way to go though ...).
923 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
925 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
926 connection part to use new internal IPeerConnectorContract for
929 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
931 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
932 PeerChannelListener.cs, HttpChannelListener.cs :
933 support ListenUri accordingly too so that it could be used when
934 it is different from LocalAddress.Uri.
936 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
938 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
939 TcpRequestChannel.cs : use Via uri to validate and connect.
941 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
943 * RequestChannelBase.cs, DuplexChannelBase.cs :
944 Return endpoint address Uri when no explicit Via uri is specified.
945 * ChannelFactoryBase.cs : Remove extra async close methods.
946 Add async open methods. Reject null EndpointAddress.
947 * PeerChannelFactory.cs : remove async open methods (now in base).
949 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
951 * PeerDuplexChannel.cs : set correct message endpoint (To header).
953 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
955 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
956 DuplexChannelBase.cs : set LocalAddress property at base.
958 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
960 * PeerDuplexChannel.cs : ongoing refactoring to work both as
961 listener and client. Now it creates a listening peer node, and
962 creates a set of TCP client channels for each peer in the mesh.
964 (EndpointAddress must be fixed to not filter out correct inputs).
966 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
968 * PeerChannelListener.cs : do not accept more than one channel
969 which results in lots of listening peer node. Only one is enough.
971 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
973 * DuplexChannelBase.cs : fix wrong loop implementation.
975 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
977 * TcpChannelListener.cs : to avoid creating two or more channels
978 for one remote endpoint, check existing remote endpoints and
979 ignore such connections (it must be handled in different thread
980 fired by ChannelDispatcher loop).
982 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
984 * TcpReplyChannel.cs : make sure to not try to receive request when
985 it is already closed.
987 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
989 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
990 some mannerless clients [*1] do not send EndRecord accordingly, but
991 such channels at listener side should not be kept open. So, close
992 disconnected channels when the listener needs to accept another
994 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
996 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
998 * TcpDuplexSessionChannel.cs :
999 Remove extra NIE overrides.
1000 Implement OnAbort() apart from OnClose().
1001 For duplex session channel, unlike reply channel, it must acquire
1002 TCP connection before OnOpen(), otherwise ChannelDispatcher
1003 releases the connection acceptance WaitHandle and the detected
1004 live connection may be stolen by another channel acceptor.
1006 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1008 * HttpRequestChannel.cs : implement OnAbort().
1010 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1012 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
1013 * DuplexChannelBase.cs : comment out some extra fields (so far).
1014 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
1016 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1018 * PeerCustomResolverBindingElement.cs : add some null checks.
1020 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1022 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
1023 Acquire TcpClient for each request/reply. Now it is fully
1024 interoperable with .NET.
1026 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1028 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
1029 ReplyTo and MessageId (though it is session-less), and it expects
1030 EndRecord at weird stage, inconsistent with [MC-NMF]...
1031 Now .NET service accepts one mono client request.
1033 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1035 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
1036 Send and receive unsized message terminator at once.
1037 Send EndRecord mutually. Got one .net client request working.
1039 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1041 * BinaryMessageEncoder.cs : revert the previous dictionary change.
1042 They are indeed used for non-in-band-dictionary messages.
1044 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1046 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1047 split out binary frame manager class into separate file.
1049 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1051 * TcpReplyChannel.cs : new reply channel implementation.
1052 * TcpChannelListener.cs : use above for streamed reply channel.
1053 * TcpDuplexSessionChannel.cs : more streaming mode support.
1054 * TcpRequestChannel.cs : a couple of updates to get it working
1055 with the reply channel above. Still some issues on .NET interop.
1057 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1059 * RequestContext.cs : added internal derived class that implements
1062 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1064 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1067 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1069 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1070 (The messaging must be done as TCP request/reply pattern, so it's
1073 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1075 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1076 messaging pattern). The messaging part is not working yet.
1077 * TcpChannelFactory.cs : support IRequestChannel.
1078 * TcpDuplexSessionChannel.cs : add unsized message support.
1080 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1082 * HttpRequestChannel.cs, RequestChannelBase.cs :
1083 A couple of async members are now implemented in the base class.
1084 Ditto for EndpointAddress and Via.
1086 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1088 * PeerDuplexChannel.cs : now it implements some of node management
1089 functionality and Send operation. The receiver part is not yet.
1091 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1093 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1094 timeout to channel constructor. it does not make sense.
1096 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1098 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1099 as common interface member, and use binary encoder (not text).
1101 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1103 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1105 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1107 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1108 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1109 going to be unified to PeerDuplexChannel. And it is likely that
1110 input and output functionalities are to be unified too.
1112 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1114 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1115 may have to reuse it for peer transport.
1116 * PeerChannelListener.cs : add binding member.
1117 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1119 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1121 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1122 PeerChannelFactory.cs : close opened channels at OnClose() as
1123 documented. Implement async methods.
1124 * PeerChannelListener.cs : removed some NIE overrides.
1126 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1128 * DuplexChannelBase.cs : some more async methods.
1130 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1132 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1134 * TcpChannelListener.cs : accept multiple channels at a time.
1136 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1138 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1139 session strings but output only those new ones in current message.
1140 This fixes inconsistent body output in repetitive use of sender.
1142 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1144 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1145 operation that does not involve session.
1146 Preserve writer session as well as reader session.
1147 * MessageHeaders.cs : take name and namespace into consideration
1148 when creating a serializer.
1150 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1152 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1153 Made required changes for repeated use of message exchanges.
1154 Hold binary reader session. The channels use it incrementally.
1155 Preambles are handled at Open, and EndRecords are handled at
1156 Close, Add session shutdown hook here (not working yet though).
1158 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1160 * ChannelListenerBase_1.cs : added cancellation hook here too.
1161 HttpChannelListener.cs : use above.
1162 Do not allow parallel channel creation (this listener does not
1163 allow more than one AcceptChannel().
1165 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1167 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1168 Add cancellation hook for async TryReceiveRequest.
1170 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1172 * HttpChannelListener.cs, HttpListenerManager.cs :
1173 slightly improved BuildChannelListener().
1174 Implement OnAbort() and differentiate it from OnClose().
1176 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1178 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1180 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1182 * DuplexChannelBase.cs : simple async delegate calls here too.
1184 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1186 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1188 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1190 * HttpReplyChannel.cs : cosometic simplification.
1192 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1194 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1195 infinite block in 2.0 profile.
1197 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1199 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1200 more careful close to avoid NRE.
1202 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1204 * HttpChannelListener.cs : do not Close() more than once (though
1205 it is allowed to call it twice, we don't reject it; just ignore).
1207 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1209 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1211 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1213 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1214 Temporarily disable HTTP Keep-Alive since it somehow results in
1215 wrong reuse of connection (shown as NRE in HttpConnection).
1216 Make sure to close RequestContext which was created from it.
1217 * HttpRequestContext.cs : simplify.
1219 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1221 * HttpChannelListener.cs, TcpChannelListener.cs,
1222 ChannelListenerBase_1.cs : put common internal listener base
1223 and let it handle those async stuff.
1225 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1227 * ReplyChannelBase.cs : fix wrong null delegate check point.
1229 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1231 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1232 now implemented as virtual in base class. Remove NIEs in http.
1234 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1236 * HttpChannelListener.cs : hack async implementation.
1238 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1240 * HttpListenerManager.cs : oops, extra line removal.
1242 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1244 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1246 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1248 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1249 "ChannelManager" is confusing (there is ChannelManagerBase).
1251 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1253 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1254 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1255 they should be split into separate listener->reply channel lines
1256 (remove "if (HostingEnvironment.IsAspNet)".)
1258 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1260 * CommunicationObject.cs : OnClosed() requires call to base method.
1261 Close() could rather abort the channel, and Abort() does not
1262 always invke OnAbort().
1263 * ChannelBase.cs : add call to base as above.
1265 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1267 * ClientAccessPolicy.cs: Removed
1268 * CrossDomainAccessManager.cs: Removed
1269 * CrossDomainPolicy.cs: Removed
1270 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1271 since this is now done inside the BeginGetResponse call (outside
1272 this assembly) for Moonlight (NET_2_1)
1274 2009-06-04 Alan McGovern <amcgovern@novell.com>
1276 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1277 instead of the sync apis. Prevents a possible deadlock condition in
1280 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1282 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1283 callbacks, so add hacky ones.
1285 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1287 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1288 true when socket input is not available.
1290 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1292 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1293 I cannot precisely identify when EndRecord should be consumed,
1294 so allow it at either at the end of ReadSizedMessage() or on
1295 consuming preamble (it's likely handling EndRecord of previous
1298 Now duplex IPeerResolverContract communication works between
1299 either of .NET/Mono client and .NET/Mono server.
1301 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1303 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1304 code. Handle preamble ack on ReadSizedMessage() only at server.
1305 Consume EndRecord from server, at client side. Though it is likely
1306 changed as it's blocking when mono is at server side.
1308 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1310 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1311 different protocol than existing code with related to preamble ack.
1312 So changed it to work fine with .NET client (finally).
1314 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1316 * MessageBufferImpl.cs : do not output Action twice.
1318 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1320 * MessageBufferImpl.cs : it did not copy headers.
1321 * Message.cs : remove 2_1 conditional implementation for buffered
1322 copy and hence remove bogus code.
1324 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1326 * MessageProperties.cs : copy argument is wrong.
1328 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1330 * PeerCustomResolverBindingElement.cs : some argument check.
1332 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1334 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1335 xml open, so close the writer as well as open elements.
1336 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1337 Do not output EndRecord and SizedMessage at a time.
1339 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1341 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1342 length of the SizedMessage in the output.
1344 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1346 * CommunicationObject.cs : use sane default timeout.
1347 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1348 * TcpDuplexSessionChannel.cs : ditto.
1350 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1352 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1353 only accepts buffered messages, so do as such for write buffers.
1354 Add RelatesTo header.
1356 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1358 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1359 rename from former to latter.
1361 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1363 * TcpDuplexSessionChannel.cs : reader does not always return full
1364 buffer (depending on the stream).
1366 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1368 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1370 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1372 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1375 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1377 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1379 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1381 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1383 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1385 * ChannelManagerBase.cs : fix wrong session channel detection.
1387 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1389 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1390 This encoder factory implements CreateSessionEncoder() and binary
1391 encoder does support session transmit, in different media type.
1392 * ChannelManagerBase.cs : added utility method to create appropriate
1394 * HttpChannelFactory.cs, HttpChannelListener.cs,
1395 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1396 PeerChannelFactory.cs, PeerChannelListener.cs,
1397 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1399 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1401 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1403 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1405 * DuplexSessionBase.cs : new file, for session implementation.
1406 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1407 DuplexSessionChannelBase.cs : changed sync/async implementation
1408 pattern. Now async methods call sync methods using delegates.
1410 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1412 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1413 a few minor API fixes.
1415 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1417 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1419 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1421 * TcpDuplexSessionChannel.cs : add To header.
1423 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1425 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1428 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1430 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1432 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1434 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1435 CommunicationException in each CreateFault().
1437 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1439 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1440 Open(). Some (but not all yet) continuous communication works now.
1441 Use ProtocolException. Remove dummy binary session string.
1443 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1445 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1446 sending/receiving SizedMessageRecord parts to manager class.
1447 Handle writer session, though it is likely broken at dictionary
1448 writer part (no string is written so far).
1449 * BinaryMessageEncoder.cs : add writer session and rename reader
1452 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1454 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1455 is mandatory in initiator preamble packet. Handle Fault reply in
1458 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1460 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1461 based communication under TcpBinaryFrameManager class.
1463 2009-05-13 Jb Evain <jbevain@novell.com>
1465 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1466 from a StringReader.
1468 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1470 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1471 actually eliminate DOM-based implementation too in 2.0.
1473 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1475 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1476 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1477 comments for magic numbers based on [MC-NMF].
1479 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1481 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1482 support for [MC-NBFSE] record in [MC-NMF], in this class.
1484 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1486 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1488 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1490 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1492 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1494 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1496 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1498 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1500 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1502 * BinaryMessageEncoder.cs : use quotas in binding element.
1503 Implement WriteMessage().
1505 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1507 * PeerCustomResolverBindingElement.cs : do initialize field.
1509 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1511 * PeerCustomResolverBindingElement.cs :
1512 implement full custom resolver.
1514 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1516 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1517 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1518 PeerChannelFactory.cs : ongoing p2p channel implementation.
1520 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1522 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1524 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1526 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1527 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1528 implement GetProperty<T>(). Return documented objects or null.
1530 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1532 * PeerChannelFactory.cs, PeerChannelListener.cs,
1533 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1534 PeerInputChannel.cs, PeerOutputChannel.cs :
1535 new; ongoing peer transport implementation.
1536 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1537 MsmqOutputChannel.cs, OutputChannelBase.cs,
1538 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1539 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1540 several internal changes (either required or for simplification)
1541 for ongoing peer transport implementation.
1543 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1545 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1547 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1549 * TcpTransportBindingElement.cs : check build-ability before
1550 actually building channels.
1551 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1552 conditions according to MSDN.
1554 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1556 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1557 handle headers in SL2. Slightly changed 3.0 code too.
1559 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1561 * HttpRequestChannel.cs : use cross domain access manager.
1563 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1565 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1566 message as BodyWriter.
1567 (in GetReaderAtBodyContents) just write body contents.
1568 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1570 Add some state check in GetReaderAtBodyContents().
1571 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1573 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1575 * Message.cs : do not forget to flush.
1576 * HttpRequestChannel.cs : give more exact error info.
1578 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1580 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1581 make buffered copy in ML2 really buffered.
1583 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1585 * Message.cs : if there is no header item to write, do not write
1586 SOAP header element.
1588 2009-01-22 Alan McGovern <amcgovern@novell.com>
1590 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1591 Rewrite to avoid usage of it.
1593 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1595 * ChannelParameterCollection.cs : implement, rather than NIE.
1597 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1599 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1600 internal users to know the type of the detail.
1602 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1604 * Message.c: Use private setter for state private variable to ease debugging.
1605 Modify ToString not to change the state, as it is called quite often by VS debugger
1607 2008-04-21 Roei Erez <roeie@mainsoft.com>
1609 * HttpChannleManager: Fix for multithreaded use.
1610 * HttpReplyChannel: Fix crash during sutdown.
1612 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1614 * HttpChannleManager: ensure trailing slash in uri.
1616 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1618 * added: HttpChannleManager,
1619 * HttpChannelListener: added use of HttpChannelManager
1621 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1623 * MessageEncodingBindingElement.cs: fixed ctor
1625 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1627 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1629 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1631 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1633 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1635 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1637 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1639 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1641 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1643 * BindingElementCollection.cs: fix API - .ctor's signature.
1645 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1647 * XmlSerializerBodyWriter.cs: Removed.
1649 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1651 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1653 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1655 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1656 * TcpChannelFactory.cs, TcpChannelListener.cs :
1657 unify factory and listener into TcpChannelInfo for use in
1658 TCP channel implementation. Do not store stream in the listener.
1659 Factory now uses BinaryMessageEncoder.
1660 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1661 holds TcpClient that the listener has accepted.
1663 tcp-transport-binding-element sample now communicates (though
1664 only when both sides are mono: there seems binary mismatch).
1666 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1668 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1669 clone connection pool settings too.
1670 * NamedPipetransportBindingElement.cs,
1671 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1672 being likely implemented though).
1674 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1676 * ConnectionOrientedTransportBindingElement.cs,
1677 TcpTransportBindingElement.cs : some API updates.
1678 Initialize default values.
1679 * TcpConnectionPoolSettings.cs : new file.
1681 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1683 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1684 added support for "factory" attribute.
1686 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1688 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1690 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1692 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1694 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1696 * HttpRequestChannel.cs : create WebRequest against To message header
1698 Consider HttpRequestMessageProperty.
1699 Do not output body when suppressed or the method is GET.
1701 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1703 * HttpChannelListener.cs : BindingContext may not have listenUri
1704 at its .ctor() step.
1706 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1708 * BindingContext.cs : RemainingBindingElements is not just a dummy
1709 collection but is actually user-controlled.
1711 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1713 * TcpChannelFactory.cs, TcpChannelListener.cs,
1714 HttpChannelFactory.cs, HttpChannelListener.cs,
1715 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1716 TextMessageEncodingBindingElement.cs,
1717 BinaryMessageEncodingBindingElement.cs,
1718 MtomMessageEncodingBindingElement.cs :
1719 message encoder should be retrieved only through public API.
1720 * BindingContext.cs : so my old guess was wrong.
1722 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1724 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1726 * HttpTransportBindingElement.cs : implemented copy constructor.
1728 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1730 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1731 header when AddressingVersion is None.
1733 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1735 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1738 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1740 * OneWayBindingElementImporter.cs
1741 CompositeDuplexBindingElementImporter.cs : new files.
1743 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1745 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1746 semantic change, its bool parameter must be false, not true.
1748 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1750 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1751 new files. Msmq transport listener Implementation.
1752 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1753 (wait for System.Messaging impl.)
1754 * HttpReplyChannel.cs : added comment
1756 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1758 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1759 new files. internal stuff for msmq channel.
1760 * BinaryMessageEncoder.cs : added another .ctor().
1761 * MsmqTransportBindingElement.cs :
1762 implemented [Can]BuildChannelFactory().
1764 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1766 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1767 initialize some fields.
1769 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1771 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1772 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1773 couple of msmq stubs.
1775 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1777 * SecureMessageGenerator.cs : SecurityContextToken support (though
1778 it is still regarded as invalid by WCF).
1780 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1782 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1783 make header.Contents.Add() more strict.
1784 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1786 Added some hack to allow ssl token external mode.
1787 Commented out such lines that always premised asymmtric key.
1789 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1791 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1793 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1795 * MessageSecurityBindingSupport.cs : support check to create
1796 authenticator is now done in both initiator/recipient sides.
1797 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1799 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1801 * MessageSecurityBindingSupport.cs : for now, comment out the code
1802 that makes authenticator creation optional.
1803 * SecurityRequestContext.cs : don't decrypt message when it is
1804 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1806 * SecurityChannelListener.cs : GetProperty<T>() now returns
1807 MessageSecurityBindingSupport when requested. It is used by
1808 EndpointDispatcher to check if it supports WS-Trust negotiation.
1809 * ChannelListenerBase.cs :
1810 removed extra TODO and field. Implemented GetProperty<T>().
1811 * Message.cs : In CreateMessage() for SOAP Fault, create
1812 SimpleMessage with IsFault = true.
1814 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1816 * SecurityRequestContext.cs : try to reply fault with the inner
1817 channel when an error occurred internally.
1818 * FaultConverter.cs : implemented based on OperationContext (at normal
1819 state it does not seem to create messages, so I implemented it this
1822 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1824 * TransportBindingElement.cs : implemented GetProperty<T>().
1825 * TransactionFlowBindingElement.cs : on building factory or listener,
1826 reject channel types that cannot build.
1827 * SecurityBindingElement.cs : added some TODO comments.
1828 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1829 delegate to base, not BindingContext.
1830 * SecurityRequestContext.cs : somewhat late decryption.
1832 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1834 * MessageSecurityBindingSupport.cs,
1835 AsymmetricSecurityBindingElement.cs,
1836 SymmetricSecurityBindingElement.cs :
1837 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1838 implemented ISecurityCapabilities on them. Now those binding
1839 elements support GetProperty<ISecurityCapabilities>().
1841 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1843 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1844 will work only for predefined parameter types.
1846 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1848 * MessageSecurityBindingSupport.cs :
1849 Set proper MessageDirection to the requirement after creation.
1850 split CreateTokenAuthenticator() as MessageDirection is different.
1851 Removed extra creation of requirement.
1853 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1855 * MessageSecurityBindingSupport.cs : token authenticator is not
1856 always created on channel-opening stage.
1857 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1858 Sslnego binding factory method.
1860 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1862 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1863 signature velification failure.
1865 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1867 * SecureMessageGenerator.cs : encrypt signature confirmations only
1868 when they are required.
1870 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1872 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1873 when [Signature Protection is true i.e. when we use
1874 SignBeforeEncryptAndEncryptSignature.
1876 With this change finally samplesvc.cs/samplecli.cs became
1879 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1881 * SecureMessageDecryptor.cs : signature verification was not done
1882 for endorsing supporting tokens.
1883 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1884 in the security header. Don't output empty ReferenceList.
1886 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1888 * SecureMessageGenerator.cs : signingToken was added before being
1889 initialized and thus caused NRE.
1891 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1893 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1894 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1895 don't need workaround for symmetric key restoration.
1897 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1899 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1900 SecureMessageGenerator.cs :
1901 Avoid extra reference search from the request's ReferenceList.
1902 create HMACSHA1 always with the key to compute hash (I'm not sure
1903 it is correct; it is rather to adjust all hash consistent.)
1905 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1907 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1908 actually endorsed the primary signature.
1909 * SecureMessageGenerator.cs : implemented endorsing of the primary
1910 signature. So, now supporting tokens are fully implemented.
1912 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1914 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1915 totally signing tokens.
1916 * SecureMessageGenerator.cs : Endorsing tokens should also be
1917 included in the message. They are just not signed.
1919 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1921 * SecureMessageGenerator.cs : support signing and encryption of
1922 supporting tokens. Some required refactory to do it.
1923 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1925 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1927 * SecureMessageDecryptor.cs : fix exception message.
1928 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1929 XmlNamespaceManager is not required for GetIdElement().
1931 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1933 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1934 moved decryption part from former file to latter file, to reuse
1935 SignedXml instance (though now I doubt how it actually was good)
1936 which in turn required to replace EncryptedData in
1937 WSSecurityMessageHeader with decrypted one.
1938 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1940 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1942 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1943 EncryptedData should contain KeyInfo as it is not obvious which key
1944 is used there. .net<->mono DerivedKeyToken introp is done.
1945 * SecureMessageDecryptor.cs : check derived key requirement.
1946 Reduce dom-dependent parts.
1948 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1950 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1951 the related DerivedKeyToken (if any).
1952 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1953 support. Some refactoring to distinguish deried-token-related
1955 * SecureMessageDecryptor.cs : removed its own support for derived
1956 key tokens. Now it fully works with DerivedKeySecurityToken.
1958 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1960 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1961 SecureMessageDecryptor.cs :
1962 Implemented increment token reading in o:Security, as
1963 DerivedKeyToken could reference to existing wrapped key.
1964 Removed WsscDerivedKeyToken and all relevant code.
1965 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1966 DerivedKeySecurityToken.
1968 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1970 * SecureMessageGenerator.cs : it was setting security tokens into
1971 incorrect SecurityMessageProperty.
1972 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1973 Now it uses SecurityRequestContext instead of just primary key.
1974 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1975 to symmetric reply decryption, which is the only trouble case.
1976 Do not create another SignedXml.
1977 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1979 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1981 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1982 the resolver works with in-progress token reading in o:Security.
1983 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1984 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1985 * SecureMessageGenerator.cs : cosmetic refactoring.
1987 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1989 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1990 instead of EncryptedKey.
1992 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1994 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1995 should not be always prepared at channel Open(). It also caused
1996 that extra token requirements.
1997 * SecureMessageGenerator.cs : use correct key clause for encryption.
1998 * SecureMessageDecryptor.cs : reduce extra key acquisition.
2000 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2002 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
2003 for supporting 'supporting tokens' .
2004 * SecureMessageGenerator.cs : Supporting token creation is done only
2005 at initiator (not sure if it is supposed that, but for now it is).
2006 Removed extraneous CollectSupportingTokens().
2007 * SecureMessageDecryptor.cs : implemented supporting token
2008 authentication (partly). "Signed" supporting tokens are expected
2011 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2013 * SecureMessageGenerator.cs :
2014 make SignBeforeEncryptAndEncryptSignature working.
2016 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2018 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
2019 the key itself. ProtectionToken is WrappedKey.
2020 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
2021 not EncryptedKeyIdentifierClause which is not for embedded key.
2022 * MessageProperties.cs : Fixed copy direction in CopyProperties().
2024 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
2026 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
2027 to switch asymmetric and symmetric. Not used yet.
2028 * SecurityRequestChannel.cs : now it pass the request security
2029 property to reply receiver so that it could use the primary key
2030 used at request phase.
2031 * SecurityRequestContext.cs : now it pass the context itself to
2032 reply sender so that it could embed related MessageID.
2033 * SecureMessageGenerator.cs : ongoing changes to support symmetric
2034 binding element. Add RelatesTo output and remove MessageID when
2035 replying to the sender. Added some hacks to get symmetric binding
2037 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
2038 in SecurityTokenReference (it also involved existing encrypted key
2039 retrieval). In reply receiver, reuse the key that was used at
2040 request phase. It needs significant token resolution refactoring.
2042 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2044 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2045 * SecureMessageDecryptor.cs : store token and its authentication
2046 policies into the security property, and reuse it on reply.
2047 Some code refactoring; there is at most one o:Security to solve at
2048 one endpoint (depends on Actor). Some attempt to use correct
2049 token parameters (but for now I have only samples that use x509).
2050 * SecureMessageGenerator.cs : For replying message, use initiator's
2051 signing token as the encryption token. Simply reuse security
2052 property from the input message.
2054 I have some nasty workaround at decryptor for initiator that could
2055 not retrieve decryption key.
2057 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2059 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2060 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2061 several refactoring on token acquisition. Large part of
2062 MessageSecurityBindingSupport code is unified.
2064 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2066 * MessageProperties.cs : Security property should be one of the items.
2067 Actually many other properties should be similar as well.
2068 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2069 when copying a message, copy properties as well.
2070 * SecurityRequestContext.cs : on replying, pass input
2071 SecurityMessageProperty to the security generator.
2072 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2074 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2076 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2079 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2080 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2081 use new WSSignedXml instead of SignedXml, and remove coexisting
2082 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2083 - our reply messages could be consumed by .NET, and
2084 - .NET signature could be verified.
2086 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2088 * SecureMessageDecryptor.cs : The signing key must be passed as
2089 CheckSignature() argument, not SigningKey.
2091 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2093 * MessageImpl.cs : don't read attribute after ReadStartElement().
2095 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2097 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2098 * SecureMessageGenerator.cs : use correct signing key clause for
2099 SecurityTokenReferenceKeyInfo to be serialized.
2100 * SecureMessageDecryptor.cs : now it can try to parse signature.
2102 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2104 Ongoing changes to support signature confirmation
2105 * SecureMessageGenerator.cs :
2106 Don't output ReplyTo onto reply message.
2107 Write SignatureConfirmation if needed.
2108 * SecureMessageDecryptor.cs :
2109 Some refactoring for header cunsumption. Added commented-out
2110 signature verification part (not working yet, on client side due
2111 to incorrect reply from service and insufficient clause reader).
2112 * WSSecurityMessageHeader.cs :
2113 Added SignatureConfirmation support.
2114 KeyInfoClause for o:SecurityTokenReference should be replaced with
2115 SecurityTokenReferenceKeyInfo.
2117 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2119 * SecureMessageGenerator.cs : support Timestamp signature.
2120 Removed unused code, and extra argument in CreateReference().
2121 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2123 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2125 * SecureMessageGenerator.cs :
2126 Several fixes to make asymmetric binding working:
2127 - Differentiate signing and encryption token in several areas.
2128 - Fixed signing keyinfo.
2130 Added initial SecurityMessageProperty handling, not sure if it is
2131 appropriate here though.
2132 * HttpRequestChannel.cs : (some debugging lines)
2134 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2136 Woohoo! Here is a very basic WS-Security compliant message which could
2137 be allowed by Indigo.
2138 * MessageHeader.cs : added Id support for writing.
2139 * Message.cs : added internal BodyId for signature reference.
2140 * MessageImpl.cs : write Body Id if required.
2141 * SecureMessageGenerator.cs : Before signing, the target elements must
2142 be given wsu:Id. Since I still use System.Security.dll, I need some
2143 trick for signing (I give both Id and wsu:Id, former to sign and
2144 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2145 implementation later. Now singning mechanism works except for
2146 wsu:Timestamp (which is kind of mandatory).
2148 I can's still consume replies from Indigo but it's a big progress :)
2150 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2152 * MessageHeaderInfo.cs : added internal Id.
2153 * MessageHeader.cs : read and write wsu:Id.
2154 * Message.cs : output wsu namespace if Id exists in any header.
2155 * HttpReplyChannel.cs : (some debugging lines.)
2156 * SecureMessageDecryptor.cs : (remove debugging lines.)
2157 * MessageImpl.cs : removed obsolete code.
2158 * WSSecurityMessageHeader.cs : output "o" prefix.
2159 * SecureMessageGenerator.cs : replaced XmlElement-based header
2160 signing with MessageHeader-based signing, to support Id correctly.
2162 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2164 * SecureMessageGenerator.cs : some more refactoring and code comments.
2165 * MessageSecurityUtility.cs : made decryptor into an instance class,
2166 like I've done for SecureMessageGenerator.
2167 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2168 dependent changes for above.
2170 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2172 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2173 causing NRE due to the lack of token reference.
2174 No need to pass doc to SignedXml.ctor() anymore.
2175 Moved ReferenceList before the signature(s).
2177 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2179 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2180 Moved signing key generation code to non-HMACSHA1 signing part.
2181 Don't try to sign wss:Security.
2182 Pass document itself to SignedXml.ctor().
2183 Use temporary DataObjects to avoid adding Ids (not sure what is the
2184 expected processing yet).
2185 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2186 WriteTo() method in WsuTimestamp.
2188 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2190 * SecureMessageGenerator.cs : wrong key was used for signing.
2191 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2193 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2195 * SecureMessageGenerator.cs :
2196 Now ID generation process does not modify input message.
2197 Moved derived key generation part into (virtual) signing loop.
2198 MessagePartSpecification support for signing is done.
2200 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2202 * SecureMessageGenerator.cs : some reordering to handle signing and
2203 encryption with supporting tokens. Fixed XPath query bug for
2204 soap header contents (we want s:Header/*, not s:Header).
2206 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2208 * MessageSecurityBindingSupport.cs : more refactoring.
2209 Made it abstract and added Initiator- and Recipient- classes.
2210 Several members were moved to those derived types.
2211 * AsymmetricSecurityBindingElement.cs,
2212 SymmetricSecurityBindingElement.cs
2213 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2214 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2215 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2216 All dependent changes by above. Removed ISecurityChannelSource
2217 which became useless.
2219 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2221 * SecureMessageGenerator.cs : encryption parts should exist too.
2222 * AsymmetricSecurityBindingElement.cs
2223 SymmetricSecurityBindingElement.cs,
2224 MessageSecurityBindingSupport.cs : some refactoring.
2225 Split MessageSecurityBindingSupport into security binding element
2226 specific parts and made MessageSecurityBindingSupport concrete.
2227 It is likely split again, next time based on initiator/recipient.
2229 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2231 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2232 split encryptor part in the former file into latter file, and
2234 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2235 SecurityRequestContext.cs : apply the change above.
2237 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2239 * MessageSecurityBindingSupport.cs :
2240 Fixed incorrect TrgGetValue() use.
2241 Added CollectRecipientSupportingTokens().
2243 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2245 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2246 EncryptedKey. So, when a key itself is used to encrypt data,
2247 ReferenceList is contained by itself.
2248 * MessageSecurityBindingSupport.cs :
2249 added CollectInitiatorSupportingTokens().
2251 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2253 * MessageSecurityUtility.cs: it should support ReferenceList-less
2256 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2258 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2259 * MessageSecurityUtility.cs : there already was uuid.
2261 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2263 * MessageSecurityUtility.cs : replaced EncryptedKey with
2264 WrappedKeySecurityToken, which seems to be in actual use in .net.
2265 * WSSecurityMessageHeader.cs : added internal Guid so that it
2266 could be shared between header items.
2268 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2270 * HttpRequestContext.cs, TextMessageEncoder.cs :
2271 some null arg check.
2273 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2275 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2276 for SecurityTokenReference resolution.
2278 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2280 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2281 consider DerivedKeyTokens correctly.
2282 When creating LocalId, don't add '#' here.
2284 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2286 * MessageSecurityUtility.cs :
2287 handle key mapping for each wsse:Security.
2289 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2291 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2293 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2295 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2297 * MessageSecurityUtility.cs :
2298 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2299 suggests, and it is used to dereference decryption targets.
2300 Now it premises multiple wsse:Security elements to read.
2302 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2304 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2305 manually (and actually the namespace URI was wrong).
2307 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2309 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2311 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2313 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2315 * SecurityBindingElement.cs,
2316 SymmetricSecurityBindingElement.cs,
2317 AsymmetricSecurityBindingElement.cs :
2318 implemented SetKeyDerivation().
2320 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2322 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2325 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2327 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2330 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2332 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2333 thus move it in front of encryption/signing.
2335 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2337 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2338 check state by themselves (btw it's not really working).
2339 * HttpChannelListener.cs : If the url does not end with '/' add it
2340 so that it could be fed to HttpListener.
2342 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2344 * HttpChannelFactory.cs : check scheme on CreateChannel.
2345 * MessageHeader.cs : finish IsMessageVersionSupported().
2347 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2349 * FaultConverter.cs : new file, not used yet though.
2351 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2353 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2355 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2357 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2358 GET as well as HttpReplyChannel, configuration would be ready now.
2360 2006-10-18 Ankit Jain <jankit@novell.com>
2362 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2363 EnvelopeVersion.Soap12 and 'text/xml' for others.
2364 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2366 Strip '?' from the query string.
2368 2006-10-13 Ankit Jain <jankit@novell.com>
2370 * MessageVersion.cs (None): Set AddressingVersion.None
2372 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2374 * SvcHttpHandler.cs : added config-based endpoint addition code.
2375 Though due to some weird bug in mono-core it does not seem to work,
2376 so commented out for now.
2377 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2378 mex request message might just be wrong.
2379 Use expected MessageVersion by the channel.
2380 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2382 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2384 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2385 which differs depending on whether it is asymmetric or symmetric.
2386 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2387 simplify SecureMessage() and DecryptMessage() arguments (just
2388 take MessageSecurityBindingSupport instead of several parameters).
2389 * MessageSecurityUtility.cs :
2390 - simplify SecureMessage() and DecryptMessage() arguments (just
2391 take MessageSecurityBindingSupport instead of several parameters).
2392 - Take token inclusion mode into account. Don't include them when
2393 it is not expected. Also, change the token reference style.
2394 - add wsa:MessageID to the headers.
2395 - For hmac-sha1 signing (default for symmetric binding), use
2396 symmetric key created for encryption as well to create HMACSHA1.
2397 - add Id to wsu:Timestamp.
2398 - start to handle SecurityMessageProperty.
2399 * WSSecurityMessageHeader.cs :
2400 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2401 Changed date format.
2403 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2405 * CommunicationObject.cs : reject faulted state on Open()/Close().
2406 * MessageHeaders.cs : removed extra fields.
2408 2006-10-06 Ankit Jain <jankit@novell.com>
2410 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2412 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2414 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2415 added some FIXMEs and additional arg.
2417 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2419 * MessageSecurityUtility.cs : remove duplicate Action header.
2421 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2423 * MessageFault.cs : partly implemented CreateFault(Message, int).
2424 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2425 handle IsFault correctly in each implementation.
2427 2006-10-04 Ankit Jain <jankit@novell.com>
2429 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2431 2006-10-04 Ankit Jain <jankit@novell.com>
2433 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2434 in WebConnectionStream.
2436 2006-10-04 Ankit Jain <jankit@novell.com>
2438 * MessageHeaders.cs (To): Use GetHeader<string> till
2439 DataContractSerializer gets ISerializable support.
2440 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2442 2006-10-04 Ankit Jain <jankit@novell.com>
2444 * ServiceHostParser.cs (Parse):
2445 (Split): Add some error checks.
2447 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2449 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2450 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2451 * SslStreamSecurityUpgradeProvider.cs,
2452 SslStreamSecurityUpgradeAcceptor.cs :
2453 new files for Ssl upgrade provider implementation.
2454 * MessageSecurityUtility.cs :
2455 Create proper C14NTransform. Don't use enveloped signature
2456 transform but sign every significant bits. On securing messages
2457 use ChannelProtectionRequirements.
2458 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2460 * MessageEncoder.cs : fix API (missing constraint).
2461 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2462 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2463 * AsymmetricSecurityBindingElement.cs : default protection order is
2464 SignBeforeEncryptAndEncryptSignature.
2466 2006-09-29 Ankit Jain <jankit@novell.com>
2468 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2469 ServicHostParser and use that here.
2470 (PrivateBinPath): New.
2471 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2472 (RemovedCallback): Remove and close the SvcHttpHandler when its
2473 corresponding file (.svc) changes.
2474 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2476 * ServiceHostParser.cs : New.
2477 * CachingCompiler.cs : New. Code extracted from
2478 System.Web.Compilation.CachingCompiler
2479 * CompilationException.cs : New. From System.Web.Compilation
2480 * HtmlizedException.cs : New. Likewise.
2482 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2484 * MessageSecurityBindingSupport.cs : For client side, it is always
2485 InitiatorServiceModelSecurityTokenRequirement which should be
2486 created. Fixed wrong client encryption key acquisition.
2488 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2490 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2491 MessageSecurityBindingSupport.cs : made similar changes as factories
2492 to listener so that session channels and input channels would work.
2493 Added authenticator creation.
2495 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2497 * Binding.cs : added missing members.
2499 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2501 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2502 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2503 reduce code duplication between request and output channels.
2504 The common parts are now in MessageSecurityBindingSupport.
2505 Now reduced several arguments in SecureMessage() for client.
2507 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2509 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2511 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2513 * AsymmetricSecurityBindingElement.cs,
2514 SecurityChannelListener.cs,
2515 SecurityRequestContext.cs,
2516 SymmetricSecurityBindingElement.cs,
2517 SecurityRequestChannel.cs,
2518 SecurityOutputChannel.cs,
2519 SecurityChannelFactory.cs,
2520 MessageSecurityBindingSupport.cs : 1) Refactoring.
2521 IMessageSecurityBindingSupport now becomes a class and contains
2522 all the members which resided in ISecurityChannelSource.
2523 Now it takes more constructor params.
2524 Made dependent changes on all sources above.
2526 2) Added SecurityTokenAuthenticator creation in
2527 SecurityRequestChannel (SecurityOutputChannel should do the same).
2529 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2531 * SecurityRequestChannel.cs : ongoing improvements on conditional
2532 key creation. Actually there must be some part that creates an
2533 authenticator (WinFX does that).
2535 2006-09-27 Ankit Jain <jankit@novell.com>
2537 Add suport for handling .svc files.
2538 * SvcHttpHandlerFactory.cs: New.
2539 * SvcHttpHandler.cs: New.
2541 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2542 asp.net environment.
2543 (OnOpen): Do nothing in asp.net environment.
2544 (OnClose): Likewise.
2545 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2546 * HttpRequestContext.cs: .. here.
2548 * AspNetReplyChannel.cs: New.
2549 * AspNetRequestContext.cs: New.
2551 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2553 * MessageSecurityUtility.cs :
2554 Significantly rewritten decryption parts to respect ReferenceList
2555 to decrypt (so no workaround anymore).
2556 Now e:ReferenceList inside o:Security is treated as the referenced
2557 EncryptedType items are encrypted by 1) the derived key which is
2558 immediately in front of it, or 2) the default key (it is according
2559 to WS-SecureConversation section 9.1). Thus removed immediately
2560 previous hack to auto-fill wsu:Id attributes.
2562 On securing a message, generate correct Id and add DataReference
2563 to ReferenceList properly.
2565 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2567 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2570 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2572 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2573 Actually WSSecurityTokenSerializer should be able to consume it, but after
2574 spending a lot of time I still cannot successfully read it on WinFX.
2575 Skip ReferenceList for now.
2576 * MessageSecurityUtility.cs :
2577 Replaced some string literals with constants.
2578 Added some workaround for DerivedKeyToken retrieval.
2579 WinFX somehow sends incomplete ISO10126 padding which contains
2580 bigger number than the key size and is rejected by EncryptedXml,
2581 so added DecryptLax() which processes such ones in PaddingMode.None
2582 to workaround it (only for cross-connection between mono and winfx).
2583 Added some incomplete implicit wsu:Id processing.
2584 Don't try to replace SignedXml with EncryptedData. It is not added
2585 to the document tree.
2587 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2589 * MessageSecurityUtility.cs : support message signature encryption. Some
2592 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2594 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2596 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2598 * MessageSecurityUtility.cs : fix warnings.
2600 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2602 * MessageSecurityUtility.cs : actually there would be more than one
2603 EncryptedData. Decrypt all.
2605 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2607 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2608 Use ISO10126 padding mode (it is not required but in manner).
2610 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2612 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2613 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2614 that class to make it work fine with mono client).
2615 Removed buggy lines that reset decryption key to AES.
2616 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2617 * WSSecurityMessageHeader.cs :
2618 (SecurityTokenReferenceKeyInfo) support LoadXml.
2620 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2622 * TransactionMessageProperty.cs : new file.
2624 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2626 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2627 gmcs happened to report wrong code.
2629 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2631 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2632 .ctor() now requires ChannelProtectionRequirements which will be
2633 supplied via BindingParameterCollection.
2634 * SymmetricSecurityBindingElement.cs,
2635 AsymmetricSecurityBindingElement.cs : thus add
2636 ChannelProtectionRequirement parameter to factory/listener.
2637 * SecurityRequestChannel.cs : use recipient token requirement to
2638 create an encryption token. Thus differentiate the logic from
2639 signing (initiator) token.
2641 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2643 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2644 renamed former to latter.
2645 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2648 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2650 * MessageSecurityBindingSupport.cs : new internal types to commonize
2651 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2652 and thus make internal factory and listener reusable.
2653 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2654 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2655 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2656 SymmetricSecurityBindingElement, using the new types above.
2657 * SymmetricSecurityBindingElement.cs :
2658 Use SymmetricMessageSecurityBindingSupport.
2659 * AsymmetricSecurityBindingElement.cs :
2660 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2662 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2664 * ChannelFactoryBase.cs : more RC1 update.
2666 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2668 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2669 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2670 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2671 ChannelBase.cs : RC1 API updates.
2672 * MessageImpl.cs : implemented Properties.
2673 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2675 2006-09-18 Ankit Jain <jankit@novell.com>
2677 * MessageHeaders.cs (MessageId):
2678 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2680 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2682 * ChannelParameterCollection.cs : new file.
2683 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2684 new files for IOutputChannel implementation.
2685 * OneWayBindingElement.cs : hacky implementation.
2686 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2687 * MessageSecurityUtility.cs : now create identifier from the security
2688 token and the token parameters which is added as an argument.
2689 * SecurityRequestContext.cs,
2690 SecurityRequestChannel.cs : SecureMessage() argument changes.
2691 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2694 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2696 * HttpRequestChannel.cs : close the HttpWebRequest.
2698 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2700 * HttpRequestChannel.cs,
2701 HttpChannelFactory.cs : implement async request/reply.
2702 * HttpChannelFactory.cs :
2703 verify factory state when creating a channel.
2705 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2707 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2708 BinaryMessageEncoder.cs : added message version mismatch check.
2710 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2712 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2713 Making incomplete changes to handle different tokens for encryption
2715 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2716 split channel implementation classes out to the latter file.
2717 * MessageSecurityUtility.cs : seems like there is
2718 TimeStampValidityDuration property, so use it (incomplete; a server
2719 needs another love).
2721 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2723 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2724 SecurityRequestContext.cs : now that we have key identifier clause
2725 and working ResolveKeyIdentifierClause(), just create keys inside
2726 SecureMessage(). Add KeyInfo to the xmldsig.
2728 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2730 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2731 pass SecurityKeyIdentifierClause to SecureMessage().
2732 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2733 for IssuedToken binding element.
2734 * SymmetricSecurityChannelListener.cs : removed hack to just create
2735 X509 security token, and implemented correct token creation.
2736 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2737 wraps SecurityTokenReference element.
2738 * MessageSecurityUtility.cs : use the above.
2740 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2742 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2743 could not find a security header.
2744 * SymmetricSecurityChannelFactory.cs : now it also supports
2745 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2748 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2750 * SecurityRequestContext.cs : moved securing message part to
2751 MessageSecurityUtility.cs.
2752 * MessageSecurityUtility.cs : the change above.
2753 use DateTime.Now for timestamp basis. Don't append signature to
2754 the document. Instead it is added to the header. Capture body
2755 content instead of the body itself.
2756 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2757 be processed by upper layers.
2759 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2761 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2762 SymmetricSecurityChannelListener.cs,
2763 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2764 more refactoring. Request serialization became much more conformant
2765 and add required header items.
2766 Security Token retrieval is needed to send it in the request.
2767 Fixed wrong key encryption.
2769 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2771 * SecurityRequestContext.cs : the workaround was not functional.
2773 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2775 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2776 API, especially ReplaceData(), instead of native crypto stuff.
2777 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2778 MessageProtectionOrder.SignBeforeEncrypt).
2780 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2782 * SecurityRequestContext.cs : label should be combined of both
2783 the client's and the server's.
2785 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2787 * SecurityRequestContext.cs : enable key derivation (though for now
2788 GenerateDerivedKey() is unimplemented). Create meaningful,
2789 decrypted request message to be consumed by the upper layer.
2791 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2793 * SecurityRequestContext.cs : implement Close() and Reply().
2794 ongoing implementation of Reply(TimeSpan).
2795 * MessageSecurityUtility.cs : new file to collect utility methods.
2796 * SymmetricSecurityChannelFactory.cs : moved securing message code
2798 * SymmetricSecurityChannelListener.cs : tiny renaming.
2800 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2802 * SecurityRequestContext.cs : security header is also stored.
2804 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2807 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2809 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2812 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2814 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2815 so that it retrieves the security key in that manner.
2817 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2819 * Binding.cs : MessageVersion is null when there is no
2820 MessageEncodingBindingElement.
2821 * Message.cs : null arg check.
2823 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2825 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2827 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2829 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2830 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2831 LayeredRequestChannel.cs : some refactoring.
2832 * SymmetricSecurityChannelFactory.cs :
2833 ongoing secure message creation implementation.
2835 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2837 * SymmetricSecurityBindingElement.cs :
2838 pass specific ServiceCredentialsSecurityTokenManager type to
2839 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2840 * SymmetricSecurityChannelListener.cs :
2841 get service certificate. It's a temporary hack.
2842 Move RequestContext code to below.
2843 * SecurityRequestContext.cs : new file.
2844 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2845 it I have to finish decryption of the incoming message.
2847 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2849 * MessageImpl.cs : don't write attributes on the first body content
2850 element *on soap Body element*.
2851 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2852 ObjectDisposedException is appropriate.
2853 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2854 in OnWriteHeader*Contents*().
2856 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2858 * WSSecurityMessageHeader.cs : new file.
2859 * SymmetricSecurityChannelFactory.cs :
2860 moved WSSecurityHeader and related types to the above.
2861 * SymmetricSecurityChannelListener.cs :
2862 reject SOAP-env-less message.
2864 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2866 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2867 renamed former to latter.
2868 * SymmetricSecurityChannelFactory.cs :
2869 create requirements every time. It is also likely that I need
2870 another requirement instance to get service credentials here.
2872 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2874 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2875 similar to BuildChannelFactory() (set credentials, issuer binding
2877 * SecurityChannelListener.cs :
2878 more ongoing security support implementation.
2879 * SymmetricSecurityChannelFactory.cs :
2880 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2882 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2884 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2885 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2886 Implementation is underway.
2887 * LayeredReplyChannel.cs :
2888 like LayeredRequestChannel, use ChannelListenerBase to provide
2891 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2893 * MessageHeader.cs : added another implementation type that uses
2894 XmlElement, for buffering purpose.
2895 * MessageImpl.cs : Header item types are user-driven by
2896 MessageHeader.GetHeader<T>(int), so at storing phase just store
2897 nodes as XmlElement.
2898 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2901 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2903 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2904 BindingParameterCollection, not from binding element properties.
2906 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2908 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2909 renamed former to latter.
2911 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2913 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2914 work for SslSecurityTokenParameters.
2916 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2918 * SecurityBindingElement.cs :
2919 Added SetIssuerBindingContextIfRequired().
2920 * SecurityChannelFactory.cs :
2921 Changed .ctor() arg again, just to receive binding element.
2922 * SymmetricSecurityBindingElement.cs :
2923 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2924 SymmetricSecurityChannelFactory .ctor() arg changes.
2925 "ProtectionTokenParameters" is not passed now.
2927 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2929 * SymmetricSecurityBindingElement.cs : requirements should be
2930 filled at InitializeSecurityTokenParameters as long as possible.
2931 SymmetricSecurityChannelFactory<T> now does not receive
2932 requirements (it now creates one inside it) at .ctor().
2933 * SecurityChannelFactory.cs : remove requirement argument.
2935 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2937 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2939 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2941 * SymmetricSecurityBindingElement.cs :
2942 MessageSecurityVersion property is of type SecurityTokenVersion.
2943 * SecurityBindingElement.cs :
2944 Implemented CreateSecureConversationBindingElement().
2945 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2946 the argument IssuedSecurityTokenParameters itself.
2948 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2950 * SymmetricSecurityBindingElement.cs :
2951 CreateSecurityTokenManager() can be directly used now.
2952 Use CallInitializeSecurityTokenRequirement() to fill requirement
2955 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2957 * ChannelFactoryBase.cs : GetProperty() is virtual.
2959 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2961 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2962 create token manager, token parameters and token requirements,
2963 and fill some requirements.
2964 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2965 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2966 * BindingContext.cs : implemented RemainingBindingElements.
2967 kill "no remaining binding element" error in GetInnerProperty()
2968 * SecurityChannelFactory.cs : now it became
2969 SymmetricSecurityChannelFactory, thus soon to be renamed.
2970 Several ongoing actual security resolution is on.
2972 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2974 * CommunicationObject.cs :
2975 add GetCommunicationObjectType() and use it.
2976 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2977 use ThrowIfDisposedOrNotOpen().
2978 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2979 to CommunicationObject. Make it IDisposable.
2980 * LayeredRequestChannel.cs : use above.
2981 * SecurityChannelFactory.cs : removed state check as it is done at
2984 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2986 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2987 CanBuildChannelListener) directly dispatch to BindingContext.
2988 * SymmetricSecurityBindingElement.cs : require protection token
2989 parameters before building a channel or a listener.
2990 * ChannelFactoryBase.cs : raise an error when a channel is being
2991 created without opening the factory.
2992 * ChannelListenerBase_1.cs : ditto for the listener.
2993 * SecurityChannelFactory.cs : before sending a request, it must be
2996 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2998 * MessageBufferImpl.cs : initialize fields.
2999 workaround BufferSize just to return 0.
3000 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
3001 which does not support multi time write.
3002 * Message.cs : implemented State.
3004 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3006 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
3007 is consuming XmlReader.
3008 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
3009 * MessageBuffer.cs : implemented CreateNavigator().
3010 * MessageBufferImpl.cs : added XPathMessageBuffer class.
3012 I kinda know that MS heavily depends on binary XmlReader and may have
3013 XPathNavigator implementation based on the binary stuff, but at
3014 least for now we have almost no motivation to mimick it.
3016 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3018 * SecurityChannelFactory.cs : a bit more of security header code.
3020 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
3022 * SymmetricSecurityBindingElement.cs :
3023 set default MessageProtectionOrder in every construction.
3025 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
3027 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
3028 changed to require ChannelFactoryBase to support default timeout.
3029 Made some methods non-virtual. Preparing code to add security
3030 headers (empty yet).
3031 * SecurityBindingElement.cs : implemented several factory methods
3032 that return SymmetricSecurityBindingElement.
3034 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3036 * IStreamUpgradeBindingElement.cs,
3037 StreamUpgradeBindingElement.cs : renamed from former to latter.
3039 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3041 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
3043 2006-07-31 Ankit Jain <jankit@novell.com>
3045 * MessageHeaders.cs (From): Use Constants.WSA1
3046 (MessageId): Implement the same pattern as other properties (From etc).
3048 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3050 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3051 * SecurityBindingElement.cs : some cosmetic changes.
3053 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3055 * SecurityBindingElement.cs : LocalClientSettings and
3056 LocalServiceSettings returns an instance for each.
3057 * LocalClientSecuritySettings.cs : initialized fields.
3059 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3061 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3062 kinda implemented Clone() just with MemberwiseClone().
3064 2006-07-27 Ankit Jain <jankit@novell.com>
3066 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3067 * MessageHeader.cs (knownTypes): New. Known type array containing
3069 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3071 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3073 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3074 LayeredCommunicationObject.cs,
3075 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3076 new files to support security channels, though right now they
3077 just pass inner channels through.
3078 * SymmetricSecurityBindingElement.cs : use above.
3080 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3082 * AsymmetricSecurityBindingElement.cs,
3083 SymmetricSecurityBindingElement.cs :
3084 Default SecurityTokenParameters is null.
3086 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3088 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3090 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3092 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3094 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3095 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3096 headers. When AddressingVersion is None, don't output addressing
3097 headers as well, except for Action which is still needed by
3100 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3102 * MessageHeaders.cs : changed specific properties to find it from
3103 headers as Action property does (local variables won't be set by
3104 setter). Cache serializers. Check null serializer arguments.
3105 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3107 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3109 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3110 use XmlObjectSerializer (since it is not data contract type).
3112 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3114 * MessageImpl.cs : Improved ReadHeaders().
3115 For certain header items, use EndpointAddress.ReadFrom().
3117 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3119 * AsymmetricSecurityBindingElement.cs :
3120 it is not ISecurityCapabilities anymore.
3122 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3124 * MessageVersion.cs : added None.
3126 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3128 * Message.cs : GetReaderAtBodyContents() implementation using
3131 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3133 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3134 used MessageVersion.Default.
3136 2006-07-12 Duncan Mak <duncan@novell.com>
3138 * MessageBuffer.cs (MessageContentType): Return
3139 "application/soap+msbin1".
3141 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3142 (SimpleMessage.OnCreateBufferedCopy):
3143 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3144 MessageBuffer implementations.
3146 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3147 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3148 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3150 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3152 * MessageImpl.cs : Action should be added in request messages. Omit
3153 it only in reply message, thus moved to dispatcher logic.
3155 2006-07-12 Ankit Jain <jankit@novell.com>
3157 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3158 bug in WebConnectionStream.
3159 * MessageHeaders.cs (MessageHeaders.From):
3160 (MessageHeaders.ReplyTo):
3161 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3163 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3165 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3166 add SOAP Action to the response at any time.
3168 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3170 * SymmetricSecurityBindingElement.cs,
3171 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3172 Implemented .ctor() and some properties.
3174 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3176 * TransactionFlowBindingElement.cs : new file.
3177 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3179 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3182 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3183 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3184 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3185 vanished (there is anyways no way to instantiate this type).
3186 * MessageVersion.cs : added Soap11 and Soap12.
3187 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3188 in June CTP. goodie.
3190 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3192 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3193 removed some vanished CreateMessage() overloads.
3195 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3197 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3198 HttpTransportBindingElement.cs :
3199 They are not ISecurityCapabilities anymore.
3200 Modified code to match June CTP behavior.
3202 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3204 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3206 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3208 * EmptyFaultException.cs : removed unused code.
3209 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3211 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3213 * LayeredChannelFactory.cs : removed obsolete class.
3214 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3215 ChannelListenerBase.cs, HttpChannelListener.cs,
3216 HttpReplyChannel.cs, ChannelManagerBase.cs :
3217 all those changes were brought by ChannelManagerBase changes.
3219 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3221 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3222 CommunicationObject.cs, HttpChannelListener.cs,
3223 ChannelFactoryBase.cs :
3224 CommunicationObject abstract changes brought this madness.
3226 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3228 * BindingContext.cs : listenUri address parameters could be null in
3231 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3233 * IRequestContext.cs :
3234 Now it became a class. File renaming will follow soon.
3235 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3236 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3237 IOutputChannel.cs, IOutputSessionChannel.cs,
3238 IRequestChannel.cs, IRequestSessionChannel.cs :
3239 They are not IDisposable anymore.
3240 For IReplyChannel, IRequestContext -> RequestContext.
3241 * IChannelListener.cs : removed Identity. Added GetProperty().
3242 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3243 ReplyChannelBase.cs, HttpReplyChannel.cs :
3244 Several members disappeared, and dependent changes.
3245 * HttpTransportBindingElement.cs,
3246 HttpChannelListener.cs, :
3247 ChannelListenerBase.SharedChannelListener vanished.
3249 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3251 * MessageEncodingBindingElement.cs
3252 MtomMessageEncodingBindingElement.cs,
3253 TextMessageEncodingBindingElement.cs,
3254 BinaryMessageEncodingBindingElement.cs :
3255 June CTP updates: AddressingVersion -> MessageVersion.
3256 * Binding.cs : June CTP. MessageVersion is added.
3257 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3258 ChannelListenerBase_1.cs,
3259 ChannelListenerBase.cs, IChannelListener.cs,
3261 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3262 June CTP. Several interface changes.
3263 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3264 * IChannelManager.cs, LayeredChannelListener.cs,
3265 GenericWrapperChannelFactory.cs,
3266 GenericWrapperChannelListener.cs : They are not used anymore.
3268 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3270 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3271 sync fix with June CTP API updates.
3273 2006-07-03 Ankit Jain <jankit@novell.com>
3275 * MessageEncodingBindingElementConverter.cs:
3276 * StandardBindingConverter.cs:
3277 * TransportBindingElementConverter.cs:
3278 * TransactionFlowBindingElementConverter.cs:
3279 * ReliableSessionBindingElementConverter.cs:
3280 * SecurityBindingElementConverter.cs:
3281 Rename *Converter.cs to *Importer.cs
3283 * TransferMode.cs: Move to System.ServiceModel
3285 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3287 * CommunicationObject.cs : make sure to change State before
3288 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3290 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3292 * Message.cs : output WSAddressing xmlns only when Action is
3293 specified (To should be affected, but seems like it is ignored).
3295 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3297 * MessageImpl.cs : don't set Action when it is null.
3299 2006-06-12 Ankit Jain <jankit@novell.com>
3301 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3303 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3305 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3306 some updated API fixes.
3308 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3310 * EnvelopeVersion.cs : moved back to S.SM.
3312 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3314 * IBindingManualAddressing.cs : vanished in beta2.
3315 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3316 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3318 * SecurityBindingElement.cs :
3319 SecurityStandardsManager -> SecurityTokenSerializer.
3321 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3323 * XmlSerializerBodyWriter.cs : new file to handle
3324 TypedMessageConverter.ToMessage().
3326 2006-04-26 Ankit Jain <jankit@novell.com>
3328 * TransportBindingElementConverter.cs (BeforeImport): Remove
3329 NotImplementedException.
3330 (ImportContract): Likewise.
3331 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3333 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3335 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3336 being used was not reflecting that of Binding elements.
3338 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3340 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3341 just assume that it is in the message.
3343 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3345 * HttpReplyChannel.cs : actually HTTP header item might be null.
3347 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3349 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3352 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3354 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3356 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3358 * MessageFault.cs : Fixed SOAP12 reason output.
3360 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3362 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3363 MessageEncoder.ContentType explicitly contains encoding.
3364 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3365 if it is SOAP version dependent.
3367 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3369 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3371 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3373 * HttpChannelFactory.cs BindingContext.cs
3374 HttpChannelListener.cs HttpTransportBindingElement.cs :
3375 Now BindingContext holds MessageEncoder, and non-custom
3376 channel factory/listener should use it.
3377 * MtomMessageEncodingBindingElement.cs
3378 TextMessageEncodingBindingElement.cs
3379 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3380 -Listener() now sets internal BindingContext.MessageEncoder.
3381 Fixed some public API.
3383 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3385 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3386 for insufficient elements.
3387 * DispatchRuntime.cs : OperationDescription name is not action. So
3388 OperationSelector is created by name, not by action.
3389 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3391 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3393 * MessageFaultBodyWriter.cs
3394 XmlReaderBodyWriter.cs
3395 XmlObjectSerializerBodyWriter.cs : made internal.
3396 * SecurityBindingElement.cs
3397 AsymmetricSecurityBindingElement.cs
3398 SymmetricSecurityBindingElement.cs : API fixes.
3399 * TransportBindingElementConverter.cs : ditto.
3400 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3401 * WindowsStreamSecurityBindingElement.cs
3402 SslStreamSecurityBindingElement.cs
3403 TransportSecurityBindingElement.cs : new files.
3405 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3407 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3408 reading can be any xs:boolean value.
3410 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3412 * Message.cs MessageImpl.cs : more sorting out the role of each
3414 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3416 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3418 * Message.cs : don't write body contents if it is empty.
3419 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3420 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3421 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3422 * HttpRequestChannel.cs : close request stream before GetResponse().
3424 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3426 * TextMessageEncoderFactory.cs
3427 TextMessageEncoder.cs : encoder does not hold reference to the
3428 factory anymore. Use MessageVersion property in CreateMssage().
3429 * HttpChannelListener.cs : now it holds message encoder.
3430 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3431 * MessageImpl.cs : header is optional.
3432 * EnvelopeVersion.cs : namespace URI is missing.
3434 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3436 * CustomBinding.cs : removed Initialize().
3437 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3438 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3439 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3440 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3442 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3444 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3445 could be also added by Add() method and could be reset by Remove()).
3446 * MessageImpl.cs : implemented more. As noted above, Now we don't
3447 have to add Action header explicitly.
3448 * MessageHeader.cs : recovered Writer methods and ToString() from
3449 commented old version. Use prefixes for writing.
3450 Use WriteObjectContent() rather than WriteObject() (it needs
3451 DataContractSerializer fix btw).
3453 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3455 * MessageHeader.cs : added missing IsReferenceParameter.
3456 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3457 * MessageHeaders.cs : avoid NullRef when actors is null.
3458 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3459 (ForwardingMessage) reader consumer is being added (not done).
3460 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3461 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3462 * HttpRequestChannel.cs : this channel automatically call Open()
3463 when Request() is called. Set content length for request.
3464 Use MessageEncoder's ContentType to also handle charset.
3466 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3468 * MessageImpl.cs : make them internal.
3469 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3471 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3473 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3474 * HttpChannelListener.cs : removed commented line.
3475 * RequestChannelBase.cs : new base class for request channel classes.
3476 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3477 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3478 * Message.cs : default IsEmpty and IsFault false by default.
3479 * LayeredChannelListener.cs : removed Uri (no chance to set).
3480 * ChannelBase.cs : reimplemented timeout properties.
3481 * HttpRequestChannel.cs : now it is mostly based on
3482 RequestChannelBase. Some more attempt to implement Request().
3484 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3486 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3487 OnInitialize(). Added more BuildChannelListener() overloads.
3489 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3491 * Binding.cs : added some more missing members especially to support
3493 * HttpChannelListener.cs : Uri should not be null.
3494 * HttpTransportBindingElement.cs : implemented
3495 CanBuildChannelFactory() and CanBuildChannelListener().
3496 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3498 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3500 * Binding.cs : updated default namespace property value to Feb. CTP.
3502 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3504 * AddressHeader.cs : avoid null reference when value is null.
3505 * BindingContext.cs : check null ListenUri args.
3507 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3509 * MessageFault.cs : Fixed default action name. Null arg check.
3511 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3513 * BindingElement.cs : Dequeue elements in BindingContext directly.
3514 * BindingContext.cs : Added GetProperty<T>().
3515 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3516 Now we don't need these extra classes, so marked as deprecated.
3518 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3520 * Binding.cs : null arg check.
3521 * AddressingVersion.cs : fixed constants to pass the tests.
3522 * BindingElement.cs : tiny meessage fix.
3524 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3526 * MessageEncodingBindingElement.cs
3527 BinaryMessageEncodingBindingElement.cs
3528 TextMessageEncodingBindingElement.cs
3529 MtomMessageEncodingBindingElement.cs
3530 MessageEncodingBindingElementConverter.cs : several API fixes.
3531 * BindingElement.cs : now if we use generic wrapper it causes
3532 infinite loop, so for now replace it with most-possible-but-
3535 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3537 (back to normal "record-ChangeLogs" mode after the big API change mess)
3538 * HttpTransportBindingElement.cs : fixed minor API differences.
3540 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3542 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3543 SymmetricSecurityBindingElement.cs :
3544 Dependent fixes for System.IdentityModel reorgainzation.
3546 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3548 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3549 IProxyFormatter.cs WSHttpBindingBase.cs
3550 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3551 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3552 WSFederationBinding.cs ISessionChannel.cs
3553 CompositeDuplexBindingElement.cs MessageVersion.cs
3554 MessageHeader.cs IRequestSessionChannel.cs
3555 BindingElementCollection.cs IReplySessionChannel.cs
3556 MessageProperties.cs IDuplexClientChannel.cs
3557 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3558 TcpTransportBindingElement.cs EmptyFaultException.cs
3559 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3560 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3561 ConnectionOrientedTransportBindingElement.cs
3562 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3563 PeerResolverBindingElement.cs Message.cs
3564 HttpsTransportBindingElement.cs BindingElement.cs
3565 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3566 MessageFaultBodyWriter.cs IReplyChannel.cs
3567 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3568 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3569 IRequestContext.cs IInputSessionShutdown.cs
3570 SecurityBindingElement.cs PeerTransportBindingElement.cs
3571 IDuplexSession.cs IChannelInitializer.cs
3572 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3573 AddressingVersion.cs FaultException.cs
3574 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3575 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3576 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3577 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3578 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3579 BindingParameterCollection.cs IInstanceProvider.cs
3580 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3581 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3582 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3583 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3584 moved from System.ServiceModel due to the API changes.
3586 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3588 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3589 HttpChannelListener.cs HttpRequestChannel.cs
3590 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3591 PeerNode.cs ReplyChannelBase.cs :
3592 Feb. CTP API changes - chapter 1.
3594 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3596 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3597 * ReplyChannelBase.cs : now it is based on ChannelBase.
3598 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3599 and check null argument in .ctor().
3600 * HttpReplyChannel.cs : several changes.
3601 Non-async members are mostly implemented.
3602 * HttpChannelListener.cs : no need to receive
3603 IDefaultCommunicationTimeouts.
3604 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3605 to allocate buffer array and int.MaxValue causes OutOfMemory.
3607 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3609 * ClientFramingDecoderState.cs : added missing enum.
3610 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3612 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3614 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3616 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3617 AcceptChannel() has some code now but it needs more love.
3619 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3621 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3622 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3623 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3625 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3627 * HttpRequestChannel.cs : close the streams.
3629 HttpChannelListener.cs : renamed from former to latter.
3631 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3633 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3634 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3635 * HttpListenerFactory.cs : removed obsolete file.
3636 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3637 * ChannelListenerBase_1.cs : implemented virtual stuff.
3638 * CommunicationObject.cs : Open() should not call BeginOpen() and
3639 EndOpen(). Instead, invoke events individually.
3640 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3642 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3644 * HttpRequestChannel.cs : call Flush() after serializing message
3647 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3649 * HttpRequestChannel.cs : implemented pretty hacky Request().
3651 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3653 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3655 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3657 * ChannelFactoryBase.cs : removed some NotImplementedException for
3658 further internal implementation.
3660 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3662 * HttpRequestChannel.cs : new file. mostly not implemented.
3663 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3664 Partly implemented CreateChannel().
3666 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3668 * HttpChannelFactory.cs : (.ctor())
3669 Don't take ChannelBuildContext.
3671 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3673 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3674 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3675 PeerMessagePropagation.cs : updated to Nov. CTP.
3677 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3679 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3680 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3681 StreamSecurityUpgradeAcceptor.cs,
3682 StreamSecurityUpgradeInitiator.cs :
3683 Updated to Nov. CTP API.
3685 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3687 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3689 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3691 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3693 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3695 * ChannelBase.cs : tiny filename fix.
3696 * ChannelListenerBase.cs : added more .ctor()s.
3698 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3700 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3701 ListenerFactoryBase.cs ChannelListenerBase.cs :
3702 updated IListener related stuff to Nov. CTP.
3703 file renaming will come soon.
3705 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3707 * ListenerBase.cs, ChannelListenerBase.cs :
3708 moved from former to latter.
3709 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3710 moved from former to latter.
3712 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3714 * SessionFaultedException.cs : removed in Nov. CTP
3716 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3718 * CommunicationObject.cs : updated to Nov. CTP.
3719 * SessionFaultedException.cs : removed (in Nov. CTP)
3721 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3723 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3726 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3728 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3729 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3730 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3731 * MessageEncoder.cs : largely implemented.
3733 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3735 * IRequestReplyCorrelator.cs : new file.
3737 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3739 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3740 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3741 * MessageEncoder.cs : added misssing ToString().
3743 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3745 * ChannelBehaviorCollection.cs : moved to sys.sm.
3747 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3749 * HttpListenerFactory.cs, HttpListener.cs : new files.
3750 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3751 CommunicationObject.cs, ChannelFactoryBase.cs,
3752 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3754 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3755 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3757 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3759 * ListenerFactoryBase.cs : some implementation.
3761 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3763 * CommunicationObject.cs : more state fixes.
3765 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3767 * CommunicationObject.cs : some state machine fixes.
3769 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3771 * PeerNode.cs, ChannelManagerBase.cs :
3772 several API fixes detected by improved corcompare.
3774 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3776 * LayeredListenerFactory.cs : added missing generic class constraint.
3778 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3780 * ListenerFactoryBase.cs,
3781 ListenerBase.cs : class constraints were missing for generic args.
3783 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3785 * StreamUpgradeInitiator.cs : tiny API fix.
3787 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3789 * PeerMessagePropagationFilter.cs : tiny build fix.
3791 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3793 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3794 added Name. fixed StatusCode type.
3795 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3796 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3797 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3798 DirectionalAction.cs, HostedTransportConfiguration.cs,
3799 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3800 PeerMessagePropagationFilter.cs : added missing files.
3801 * Dummy.cs : removed. MSMQ stuff can be added later.
3803 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3805 * DeliveryStatus.cs, DeliveryFailure.cs,
3806 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3807 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3809 * Dummy.cs : removed above.
3811 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3813 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3815 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3817 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3818 MessageEncoder.cs, BufferManager.cs : new files.
3819 * Dummy.cs : removed above.
3821 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3823 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3824 * Dummy.cs : removed above.
3825 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3827 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3829 * HttpChannelFactory.cs : new file.
3831 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3833 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3834 moved to ../System.ServiceModel (correct location).
3835 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3836 new files for channels.
3837 * Dummy.cs : reflected above changes.
3838 * ChannelManagerBase.cs : added a bit of code and todos.
3840 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3842 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3843 added listener support files.
3844 * Dummy.cs : removed above.
3846 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3848 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3849 added request/reply channel interfaces.
3850 * Dummy.cs : removed above.
3851 * CommunicationObject.cs : FIXME comments.
3853 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3855 * CommunicationObject.cs : implemented some members.
3857 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3859 * CommunicationObject.cs : some signature fixes.