1 2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 * HttpRequestChannel.cs: don't create the wait handle unless it is
6 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
8 * HttpRequestChannel.cs : use correct max buffer size.
10 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
12 * MessageFault.cs : check null serializer and detail.
13 Make sure to consume s12:Reason EndElement.
15 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
17 * MessageFault.cs : when created from XmlReader, it should not
18 deserialize fault details immediately. This class itself should
19 not do that. Strongly typed FaultContractInfo may want to use the
20 reader (GetReaderAtDetailContents()) for its own deserialization.
22 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
24 * ConnectionOrientedTransportBindingElement.cs,
25 TcpTransportBindingElement.cs : implement GetProperty<T>().
27 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
29 * HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
30 implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
31 properties type from HTTP.
33 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
35 * FaultConverter.cs : use addressing version from the message.
37 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
39 * FaultConverter.cs : check envelope version, not addressing version.
41 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
43 * FaultConverter.cs : implemented TryCreateException().
45 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
47 * MessageFault.cs : cosmetic method name clarification.
49 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
51 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
52 fix BodyWriter buffering that dropped in-scope namespaces and thus
53 caused problem on resolving QNames.
55 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
57 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
58 with certain Exception types.
60 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
62 * Message.cs : fix explanation on CreateMessage() overloads.
64 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
66 * MessageFault.cs : Write Subcode element correctly and fix wrong
67 Code/Value/Subcode element relationship. Give better error message.
69 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
71 * HttpRequestChannel.cs : ok, no need for conditional code path.
73 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
75 * AddressingVersion.cs : add fault action namespace.
77 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
79 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
82 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
84 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
86 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
88 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
91 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
93 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
95 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
97 * HttpRequestContext.cs : removed HTTP status rewriting for
100 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
102 * HttpRequestChannel.cs : handle only 4xx errors as to not process
105 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
107 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
109 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
111 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
112 Patch by Matt Dargavel.
114 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
116 * HttpListenerManager.cs : use lock object which is subject to
117 change. Fix by Matt Dargavel.
119 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
121 * HttpListenerManager.cs : remove consumed HttpListenerContext from
122 the pending queue. Compare "wsdl" request in case insensitive
123 manner. Patch by Matt Dargavel.
125 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
127 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
128 supposed to provide detailed 400 error message.
130 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
132 * TransactionFlowBindingElement.cs: revamp the previous change to
133 not regress regarding service metadata.
135 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
137 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
138 GetProperty<T>() bug that fails to retrieve properties. (This may
139 be rewritten later if an ongoing change proposal is to take place.)
141 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
143 * ReliableSessionBindingElement.cs,
144 PrivacyNoticeBindingElement.cs,
145 RemoteEndpointMessageProperty.cs : added some missing types.
147 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
149 * MessageHeaders.cs :
150 why does it filter out most of the headers? kill it.
152 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
154 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
155 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
156 to not raise "not found" error (see bug #573795).
158 2010-03-16 Jb Evain <jbevain@novell.com>
160 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
161 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
163 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
165 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
166 type, and use null password unless we find a chance to get password
167 in ASP.NET HttpContext.
169 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
171 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
172 HttpListenerManager.cs : ongoing authentication support. It returns
173 401 as expected, but somehow fails to retrieve user info.
175 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
177 * HttpListenerManager.cs : this change (along with HttpListener
178 implementation) somehow fixes basic auth. connection error...
180 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
182 * MessageHeaders.cs : add !NET_2_1.
184 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
186 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
187 typed UniqueId output.
189 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
191 * MessageHeader.cs : no need to treat EndpointAddress as a special
194 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
196 * MessageHeaders.cs : remove duplicate constant.
198 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
200 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
201 EndpointAddress as a special case. Instead, each MessageHeaders
202 property should convert it to appropriate serializable objects.
204 (Our DataContractSerializer fails to reject EndpointAddress as
205 serializable type, so it's rather a preparation step.)
207 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
209 * MessageHeader.cs, Message.cs : use dictionary string whenever
210 applicable. The binary output on #577139 is getting closer (no
211 idea if it is really about binary output though).
213 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
215 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
217 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
219 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
221 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
223 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
224 enable authentication schemes on monotouch.
226 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
228 * SvcHttpHandler.cs : a wait handle could be used for more than one
229 requests and hence it sometimes blocked one reply channel. Now
230 it creates a wait handle for each ASP.NET request so that such
231 multiple use should not occur. This should fix blocking on
232 concurrent requests (it indeed fixes as long as I can see).
234 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
236 * AspNetReplyChannel.cs : remove garbage output.
238 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
240 * SvcHttpHandler.cs : Use lock when it tries to create the service
243 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
245 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
248 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
250 * HttpListenerManager.cs : add another workaround for blocking
253 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
255 * HttpListenerManager.cs : small refactoring.
257 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
259 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
260 that somehow makes callback client to not cause infinite loop.
262 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
264 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
265 DuplexChannelBase.cs : Receive() should rather use TryReceive().
266 It should not be in reverse order.
268 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
270 * HttpReplyChannel.cs, HttpListenerManager.cs :
271 Implement async cancellation in the expected manner (though with
272 some hack). This mostly removed nunit blockers.
274 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
276 * CommunicationObject.cs : fix wrong status changes.
278 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
280 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
282 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
284 * AddressHeader.cs : implement remaining bits.
285 Eliminate dependency on NetDataContractSerializer.
287 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
289 * CommunicationObject.cs : in Fault(), do similar work as previous
292 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
294 * CommunicationObject.cs : when process state changes, lock the
295 object to make sure the state transition is valid.
296 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
298 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
300 * MessageHeaders.cs : implement SetAction().
302 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
304 * ChannelFactoryBase.cs : fix build.
306 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
308 * ChannelBase.cs : cosmetic API fix for SL3.
310 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
312 * ChannelFactoryBase.cs :
313 implement On{Begin/End}Close() on the generic type.
315 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
317 * HttpChannelFactory.cs, TcpChannelFactory.cs,
318 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
319 PeerChannelFactory.cs, HttpRequestChannel.cs:
320 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
321 type and made required changes.
323 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
325 * HttpCookieContainerBindingElement.cs : new.
326 * IHttpCookieContainer.cs : fix type name.
327 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
329 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
331 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
332 does not happen when communicating with .NET client but happens with
333 mono). Seealso FIXME comment.
334 * TcpDuplexSessionChannel.cs : do not try to close session when it
335 failed to read sized message. The connection is already dead.
339 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
341 * TcpDuplexSessionChannel.cs :
342 Write EndRecord only when the connection is available.
343 Remove hack - do let ChannelDispatcher close the channel.
344 * TcpBinaryFrameManager.cs :
345 The socket may be disconnected when trying to read a sized message,
346 so check some socket exceptions.
347 In case the client silently shuts down without EndRecord and
348 reconnects to the server with preamble while expecting a sized
349 message (which is so lame, but that's what .NET often does), refresh
350 preamble and continue.
352 This fixes some cases of bug #567949 but not all.
354 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
356 * BinaryMessageEncoder.cs : enable workaround buffering only when
357 the argument stream does *not* support seek. This fixes some
358 net.tcp connection problem.
360 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
362 * TcpBinaryFrameManager.cs : If preamble byte is not available from
363 the client stream, detect it to close the reply or input channel.
364 * TcpRequestChannel.cs : send preamble at each request time.
365 It differentiates communication behavior on such cases that involve
366 single open and multiple requests.
367 * TcpReplyChannel.cs : close the channel only when the channel is
368 oeprated to close i.e. do not close the socket every time.
369 Process preambles on each request (the same as request channel).
371 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
373 * TcpBinaryFrameManager.cs : unsized envelope record may have more
374 than one data block, so consume them accordingly. This should fix
375 large buffer consumption.
377 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
379 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
382 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
384 * HttpRequestContext.cs : for DestinationUnreachable message, this
385 channel returns 400 in .NET.
387 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
389 * BinaryMessageEncoder.cs : added workaround for strange stream
390 consumption error raised by HttpTransport + Binary encoder example.
391 * BinaryMessageEncodingBindingElement.cs:
392 only SOAP 1.2 is allowed for this encoder.
394 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
396 * XmlReaderBodyWriter.cs : don't try to write empty xml.
398 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
400 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
401 default WebHeaderCollection items are overwritten.
403 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
405 * HttpRequestChannel.cs : when HTTP response was error, do not try
406 to read message but just raise an error.
408 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
410 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
412 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
414 * HttpRequestChannel.cs : WebException.Response might be null.
416 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
418 * ReplyChannelBase.cs : added listener property.
419 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
420 been updated to prefer async by default, a while ago.
422 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
424 * HttpTransportBindingElement.cs : finished all GetProperty() values.
426 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
428 * HttpRequestChannel.cs : disabled carelessly added
429 "UseDefaultCredentials = false" line. It blocked basic auth.
431 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
433 * HttpRequestChannel.cs, HttpChannelFactory.cs,
434 HttpChannelListener.cs, HttpListenerManager.cs :
435 implemented http client authentication and some of corresponding
436 service code. Only client works so far.
438 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
440 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
441 added URI scheme check.
443 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
445 * TransportSecurityBindingElement.cs : fix 2.1 build.
447 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
449 * HttpsTransportBindingElement.cs :
450 RequireClientCertificate is false by default.
451 Remove extra #if NET_2_1.
452 * SecurityBindingElement.cs :
453 Implement some transport security factory methods.
454 * TransportSecurityBindingElement.cs :
455 It is not ISecurityCapabilities anymore.
457 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
460 SecurityBindingElement.cs
461 LocalClientSecuritySettings.cs
462 TransportSecurityBindingElement.cs
463 FaultConverter.cs : They are now part of SL3 API.
465 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
467 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
469 2009-11-05 Geoff Norton <gnorton@novell.com>
471 * HttpsTransportBindingElement.cs: Implement basic https transport
472 binding support for Moonlight and MonoTouch
474 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
476 * HttpListenerManager.cs : remove CWLs.
478 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
480 * SvcHttpHandler.cs : move back previous listener selector code in
481 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
482 and differentiate requests to deeper paths (such as /jsdebug), so
483 we need such refinement here.
485 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
487 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
490 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
492 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
493 HttpChannelListener.cs, HttpListenerManager.cs :
494 Similar refactoring on ASP.NET side to the previous one.
495 Added ASP.NET implementation of HttpListenerManager and use some
496 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
498 Rewrote AspNetReplyChannel to become almost the same as
499 HttpSimpleReplyChannel, to hopefully unify them later.
500 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
501 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
504 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
506 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
507 Refactoring on listener manager to correctly handle wsdl and help
508 requests for such case that they conflict in addressing. Now it
509 can correctly distinguish service calls, WSDL requests and help
510 requests when all of them point to "http://localhost/foo.svc"
511 (which is very common case that the user does not change Http*Url).
513 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
515 * ChannelListenerBase.cs : add Properties property to add arbitrary
516 properties handy (only inside this assembly).
518 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
520 * HttpReplyChannel.cs : fix warning.
522 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
524 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
526 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
528 * HttpReplyChannel.cs : make sure to release wait lock.
529 * HttpChannelListener.cs : session channels are not supported, so
530 remove relevant NIEs.
532 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
534 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
535 support contexts so we call the non-overloaded WaitOne method
536 (which defaults to false).
538 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
540 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
541 significant rewrite to cooperate wcf handler and asp.net handler
542 to not mix multiple WCF listener within the asp.net handler.
543 So far it mostly works when 1) there are no ChannelDispatchers
544 that have an identical listen Uri and 2) MaxConcurrentSessions is
545 1 (must be explicitly set).
547 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
549 * CommunicationObject.cs : give better state error description.
551 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
553 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
554 to base methods. This resulted in not a few changes everywhere.
556 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
558 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
560 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
562 * SvcHttpHandler.cs : use file path given by the factory to
563 construct BaseAddresses. Requests to "test.svc/jsdebug" should
564 not be handled as request to "jsdebug" file, it's rather an
565 "argument" to "test.svc".
567 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
569 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
570 rewrite to handle shutdown situation better. The listeners should
571 not close channels that it opened. Instead, just stop accepting
572 further requests. Removed blocking mutex on WaitForRequest().
573 Now xsp shuts down as expected.
575 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
577 * HttpReplyChannel.cs : lock list when releasing its content contexts.
578 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
581 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
583 * SvcHttpHandlerFactory.cs : remove todo.
584 * ReplyChannelBase.cs : add comment.
586 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
588 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
589 revert the change, to use internal asp.net state again.
590 * SvcHttpHandler.cs : add VirtualPathExtension.
592 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
594 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
595 asp.net response was not written correctly.
596 Fill HttpRequestMessageProperty to get handle WSDL requests
597 processed in ServiceMetadataExtension without NRE.
598 Remove wrong HttpListenerContext iteration at Abort and Close in
599 common base class and move it to non-asp derived channel.
601 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
603 * SvcHttpHandler.cs : remove unused code.
605 2009-09-30 Jb Evain <jbevain@novell.com>
607 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
608 to use any of the remoting features.
610 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
612 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
613 use AspNetCompatibilityEnabled.
614 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
616 * AspNetReplyChannel.cs : remove extra field.
618 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
620 * HttpReplyChannel.cs : remove extra field.
622 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
624 * AspNetRequestContext.cs : remove CWL.
626 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
628 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
629 only after AspNetRequestContext is closed. Do not close it
630 immediately after receiving the context. (HttpRuntime destructs it
631 and further uses then becomes impossible.)
633 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
635 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
636 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
637 Make sure that AspNetChannelListener is bound to correct
638 SvcHttpHandler, regardless of specific request URI. It is required
639 for both WSDL requests and RESTful binding requests.
641 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
643 * MessageProperties.cs : fix CopyProperties() behavior to not
644 clear existing items. Make all properties call this[name].
646 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
648 * HttpTransportBindingElement.cs : fix 2.1 build.
650 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
652 * TransportBindingElement.cs : another GetProperty fix, iterate
653 other binding elements.
655 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
657 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
658 some GetProperty() implementation.
660 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
662 * HttpListenerManager.cs : release HttpListener and avoid extra
663 close process more than once.
665 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
667 * HttpChannelListener.cs : do not iterate channel list to close
668 channels which in turn removes them from the list while iteration.
670 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
672 * HttpRequestChannel.cs : Fix message version member comparison.
673 Double-quote SOAPAction. Remove extra Exception.
674 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
675 * HttpRequestContext.cs : when addressing is None, remove action
678 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
680 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
681 path, to pick those endpoints that are added at custom factories.
683 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
685 * SvcHttpHandler.cs : apply configuration, and if there is still no
686 endpoint, then add default one.
688 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
690 * SvcHttpHandler.cs : another URL to make relative.
692 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
694 * SvcHttpHandlerFactory.cs : some GetHandler changes.
695 * SvcHttpHandler.cs : significant changes on receiver structure. Now
696 ProcessRequest() stores pending requests (this might be extraneous,
697 but maybe useful when it implements async handler). Also removed
698 reply_channel field as it may become to handle multiple requests.
699 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
700 * AspNetReplyChannel.cs : make it receive requests like
701 HttpReplyChannel (for HttpListener) to make them consistent.
703 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
705 * AspNetRequestContext.cs, HttpRequestContext.cs :
706 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
707 by splitting HttpListener-based context out from common code base.
709 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
711 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
712 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
715 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
717 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
718 loads types from system assemblies appropriately.
720 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
722 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
725 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
727 * HttpRequestMessageProperty.cs : fix default values.
729 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
731 * HttpChannelFactory.cs, HttpRequestChannel.cs,
732 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
733 Check ManualAddressing value and reject address-missing ones.
735 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
737 * HttpChannelFactory.cs : reject URI mismatch cases when required.
739 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
741 * PeerDuplexChannel.cs : When received Connect() from neighbor,
742 add the peer to its internal list.
743 Finally ChatApplication got working.
745 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
747 * PeerDuplexChannel.cs : since the channel factory is per instance,
748 do not reuse factory that is tied to different callback instance.
749 It resolved the issue that mono callback client didn't receive
750 messages from the client itself.
752 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
754 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
755 of the receiver, not the requestor. It resolved the issue that
756 .NET client didn't send further messages to mono server.
758 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
760 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
761 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
762 TcpReplyChannel.cs, TcpRequestChannel.cs,
763 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
764 rename EndRecord handling method to appropriate one.
765 Write EndRecord from recipient too.
767 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
769 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
770 Process PeerTo header to upgrade Message To header. Now mono
771 service accepts mono client (somehow not true for .NET client).
773 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
775 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
776 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
778 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
780 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
782 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
784 * TcpDuplexSessionChannel.cs : check channel state before processing
787 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
789 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
790 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
791 ongoing works, not working at all yet.
793 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
795 * TcpChannelListener.cs, TcpReplyChannel.cs :
796 cosmetic cleanup and corrections.
798 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
800 * TcpChannelFactory.cs : use expected Via uri.
801 Remove extra NIE stuff that are implemented in base.
803 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
805 * TcpDuplexSessionChannel.cs : remove extra code.
807 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
809 * PeerDuplexChannel.cs : ongoing implementation towards get callback
810 replies on peer connector clients (not working as duplex client
811 callback is not working yet).
813 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
815 * TcpDuplexSessionChannel.cs : in callback client channels,
816 OperationContext.IncomingMessageHeaders is null.
818 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
820 * MessageHeaders.cs : duplicate check was sloppy.
822 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
824 * Message.cs, MessageImpl.cs, BodyWriter.cs :
825 Implement BodyWriter.OnCreateBufferedCopy() and use it.
827 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
829 * ReplyChannelBase.cs : initialize field.
831 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
833 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
834 implement GetProperty<T>() and return its channel manager.
836 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
838 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
839 destination address in Connect() request. To repeat sending
840 request, use buffered copy. Set some peer-channel specific
841 header items. (todo: and consume them.)
843 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
845 * Message.cs : state is set only after WriteBodyContents().
847 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
849 * MessageHeaders.cs : eliminate wrong use of
850 ReadElementContentAsString() (it is not always simple string).
852 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
854 * MessageHeaders.cs : when the value is null, do not try to
855 deserialize EndpointAddress.
857 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
859 * MessageHeader.cs : add Value property. (Forgot dependent change.)
861 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
863 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
864 serialization and deserialization of values.
866 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
868 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
869 Now simply use connector contract.
871 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
873 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
875 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
877 * TcpChannelListener.cs : do not try to compare dead connection's
878 IPEndPoint (it raises an error).
880 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
882 * MessageHeaders.cs : allow null header value on each specific setter.
884 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
886 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
887 get local and remote address of connected counterpart to get
888 callback channel connected.
889 * PeerDuplexChannel.cs : remove FIXME wrt above.
891 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
893 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
895 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
897 * MessageHeader.cs : fill IsReferenceParameter.
899 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
901 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
902 implement remaining async methods and LocalAddress.
904 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
906 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
907 ServiceHost to process neighbor connection (not sure if this is
908 right way to go though ...).
910 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
912 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
913 connection part to use new internal IPeerConnectorContract for
916 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
918 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
919 PeerChannelListener.cs, HttpChannelListener.cs :
920 support ListenUri accordingly too so that it could be used when
921 it is different from LocalAddress.Uri.
923 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
925 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
926 TcpRequestChannel.cs : use Via uri to validate and connect.
928 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
930 * RequestChannelBase.cs, DuplexChannelBase.cs :
931 Return endpoint address Uri when no explicit Via uri is specified.
932 * ChannelFactoryBase.cs : Remove extra async close methods.
933 Add async open methods. Reject null EndpointAddress.
934 * PeerChannelFactory.cs : remove async open methods (now in base).
936 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
938 * PeerDuplexChannel.cs : set correct message endpoint (To header).
940 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
942 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
943 DuplexChannelBase.cs : set LocalAddress property at base.
945 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
947 * PeerDuplexChannel.cs : ongoing refactoring to work both as
948 listener and client. Now it creates a listening peer node, and
949 creates a set of TCP client channels for each peer in the mesh.
951 (EndpointAddress must be fixed to not filter out correct inputs).
953 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
955 * PeerChannelListener.cs : do not accept more than one channel
956 which results in lots of listening peer node. Only one is enough.
958 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
960 * DuplexChannelBase.cs : fix wrong loop implementation.
962 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
964 * TcpChannelListener.cs : to avoid creating two or more channels
965 for one remote endpoint, check existing remote endpoints and
966 ignore such connections (it must be handled in different thread
967 fired by ChannelDispatcher loop).
969 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
971 * TcpReplyChannel.cs : make sure to not try to receive request when
972 it is already closed.
974 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
976 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
977 some mannerless clients [*1] do not send EndRecord accordingly, but
978 such channels at listener side should not be kept open. So, close
979 disconnected channels when the listener needs to accept another
981 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
983 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
985 * TcpDuplexSessionChannel.cs :
986 Remove extra NIE overrides.
987 Implement OnAbort() apart from OnClose().
988 For duplex session channel, unlike reply channel, it must acquire
989 TCP connection before OnOpen(), otherwise ChannelDispatcher
990 releases the connection acceptance WaitHandle and the detected
991 live connection may be stolen by another channel acceptor.
993 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
995 * HttpRequestChannel.cs : implement OnAbort().
997 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
999 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
1000 * DuplexChannelBase.cs : comment out some extra fields (so far).
1001 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
1003 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1005 * PeerCustomResolverBindingElement.cs : add some null checks.
1007 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1009 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
1010 Acquire TcpClient for each request/reply. Now it is fully
1011 interoperable with .NET.
1013 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1015 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
1016 ReplyTo and MessageId (though it is session-less), and it expects
1017 EndRecord at weird stage, inconsistent with [MC-NMF]...
1018 Now .NET service accepts one mono client request.
1020 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1022 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
1023 Send and receive unsized message terminator at once.
1024 Send EndRecord mutually. Got one .net client request working.
1026 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1028 * BinaryMessageEncoder.cs : revert the previous dictionary change.
1029 They are indeed used for non-in-band-dictionary messages.
1031 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1033 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1034 split out binary frame manager class into separate file.
1036 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1038 * TcpReplyChannel.cs : new reply channel implementation.
1039 * TcpChannelListener.cs : use above for streamed reply channel.
1040 * TcpDuplexSessionChannel.cs : more streaming mode support.
1041 * TcpRequestChannel.cs : a couple of updates to get it working
1042 with the reply channel above. Still some issues on .NET interop.
1044 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1046 * RequestContext.cs : added internal derived class that implements
1049 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1051 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1054 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1056 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1057 (The messaging must be done as TCP request/reply pattern, so it's
1060 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1062 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1063 messaging pattern). The messaging part is not working yet.
1064 * TcpChannelFactory.cs : support IRequestChannel.
1065 * TcpDuplexSessionChannel.cs : add unsized message support.
1067 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1069 * HttpRequestChannel.cs, RequestChannelBase.cs :
1070 A couple of async members are now implemented in the base class.
1071 Ditto for EndpointAddress and Via.
1073 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1075 * PeerDuplexChannel.cs : now it implements some of node management
1076 functionality and Send operation. The receiver part is not yet.
1078 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1080 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1081 timeout to channel constructor. it does not make sense.
1083 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1085 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1086 as common interface member, and use binary encoder (not text).
1088 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1090 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1092 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1094 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1095 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1096 going to be unified to PeerDuplexChannel. And it is likely that
1097 input and output functionalities are to be unified too.
1099 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1101 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1102 may have to reuse it for peer transport.
1103 * PeerChannelListener.cs : add binding member.
1104 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1106 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1108 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1109 PeerChannelFactory.cs : close opened channels at OnClose() as
1110 documented. Implement async methods.
1111 * PeerChannelListener.cs : removed some NIE overrides.
1113 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1115 * DuplexChannelBase.cs : some more async methods.
1117 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1119 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1121 * TcpChannelListener.cs : accept multiple channels at a time.
1123 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1125 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1126 session strings but output only those new ones in current message.
1127 This fixes inconsistent body output in repetitive use of sender.
1129 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1131 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1132 operation that does not involve session.
1133 Preserve writer session as well as reader session.
1134 * MessageHeaders.cs : take name and namespace into consideration
1135 when creating a serializer.
1137 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1139 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1140 Made required changes for repeated use of message exchanges.
1141 Hold binary reader session. The channels use it incrementally.
1142 Preambles are handled at Open, and EndRecords are handled at
1143 Close, Add session shutdown hook here (not working yet though).
1145 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1147 * ChannelListenerBase_1.cs : added cancellation hook here too.
1148 HttpChannelListener.cs : use above.
1149 Do not allow parallel channel creation (this listener does not
1150 allow more than one AcceptChannel().
1152 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1154 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1155 Add cancellation hook for async TryReceiveRequest.
1157 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1159 * HttpChannelListener.cs, HttpListenerManager.cs :
1160 slightly improved BuildChannelListener().
1161 Implement OnAbort() and differentiate it from OnClose().
1163 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1165 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1167 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1169 * DuplexChannelBase.cs : simple async delegate calls here too.
1171 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1173 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1175 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1177 * HttpReplyChannel.cs : cosometic simplification.
1179 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1181 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1182 infinite block in 2.0 profile.
1184 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1186 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1187 more careful close to avoid NRE.
1189 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1191 * HttpChannelListener.cs : do not Close() more than once (though
1192 it is allowed to call it twice, we don't reject it; just ignore).
1194 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1196 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1198 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1200 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1201 Temporarily disable HTTP Keep-Alive since it somehow results in
1202 wrong reuse of connection (shown as NRE in HttpConnection).
1203 Make sure to close RequestContext which was created from it.
1204 * HttpRequestContext.cs : simplify.
1206 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1208 * HttpChannelListener.cs, TcpChannelListener.cs,
1209 ChannelListenerBase_1.cs : put common internal listener base
1210 and let it handle those async stuff.
1212 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1214 * ReplyChannelBase.cs : fix wrong null delegate check point.
1216 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1218 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1219 now implemented as virtual in base class. Remove NIEs in http.
1221 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1223 * HttpChannelListener.cs : hack async implementation.
1225 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1227 * HttpListenerManager.cs : oops, extra line removal.
1229 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1231 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1233 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1235 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1236 "ChannelManager" is confusing (there is ChannelManagerBase).
1238 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1240 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1241 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1242 they should be split into separate listener->reply channel lines
1243 (remove "if (HostingEnvironment.IsAspNet)".)
1245 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1247 * CommunicationObject.cs : OnClosed() requires call to base method.
1248 Close() could rather abort the channel, and Abort() does not
1249 always invke OnAbort().
1250 * ChannelBase.cs : add call to base as above.
1252 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1254 * ClientAccessPolicy.cs: Removed
1255 * CrossDomainAccessManager.cs: Removed
1256 * CrossDomainPolicy.cs: Removed
1257 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1258 since this is now done inside the BeginGetResponse call (outside
1259 this assembly) for Moonlight (NET_2_1)
1261 2009-06-04 Alan McGovern <amcgovern@novell.com>
1263 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1264 instead of the sync apis. Prevents a possible deadlock condition in
1267 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1269 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1270 callbacks, so add hacky ones.
1272 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1274 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1275 true when socket input is not available.
1277 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1279 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1280 I cannot precisely identify when EndRecord should be consumed,
1281 so allow it at either at the end of ReadSizedMessage() or on
1282 consuming preamble (it's likely handling EndRecord of previous
1285 Now duplex IPeerResolverContract communication works between
1286 either of .NET/Mono client and .NET/Mono server.
1288 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1290 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1291 code. Handle preamble ack on ReadSizedMessage() only at server.
1292 Consume EndRecord from server, at client side. Though it is likely
1293 changed as it's blocking when mono is at server side.
1295 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1297 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1298 different protocol than existing code with related to preamble ack.
1299 So changed it to work fine with .NET client (finally).
1301 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1303 * MessageBufferImpl.cs : do not output Action twice.
1305 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1307 * MessageBufferImpl.cs : it did not copy headers.
1308 * Message.cs : remove 2_1 conditional implementation for buffered
1309 copy and hence remove bogus code.
1311 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1313 * MessageProperties.cs : copy argument is wrong.
1315 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1317 * PeerCustomResolverBindingElement.cs : some argument check.
1319 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1321 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1322 xml open, so close the writer as well as open elements.
1323 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1324 Do not output EndRecord and SizedMessage at a time.
1326 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1328 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1329 length of the SizedMessage in the output.
1331 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1333 * CommunicationObject.cs : use sane default timeout.
1334 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1335 * TcpDuplexSessionChannel.cs : ditto.
1337 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1339 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1340 only accepts buffered messages, so do as such for write buffers.
1341 Add RelatesTo header.
1343 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1345 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1346 rename from former to latter.
1348 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1350 * TcpDuplexSessionChannel.cs : reader does not always return full
1351 buffer (depending on the stream).
1353 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1355 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1357 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1359 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1362 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1364 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1366 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1368 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1370 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1372 * ChannelManagerBase.cs : fix wrong session channel detection.
1374 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1376 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1377 This encoder factory implements CreateSessionEncoder() and binary
1378 encoder does support session transmit, in different media type.
1379 * ChannelManagerBase.cs : added utility method to create appropriate
1381 * HttpChannelFactory.cs, HttpChannelListener.cs,
1382 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1383 PeerChannelFactory.cs, PeerChannelListener.cs,
1384 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1386 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1388 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1390 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1392 * DuplexSessionBase.cs : new file, for session implementation.
1393 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1394 DuplexSessionChannelBase.cs : changed sync/async implementation
1395 pattern. Now async methods call sync methods using delegates.
1397 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1399 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1400 a few minor API fixes.
1402 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1404 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1406 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1408 * TcpDuplexSessionChannel.cs : add To header.
1410 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1412 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1415 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1417 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1419 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1421 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1422 CommunicationException in each CreateFault().
1424 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1426 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1427 Open(). Some (but not all yet) continuous communication works now.
1428 Use ProtocolException. Remove dummy binary session string.
1430 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1432 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1433 sending/receiving SizedMessageRecord parts to manager class.
1434 Handle writer session, though it is likely broken at dictionary
1435 writer part (no string is written so far).
1436 * BinaryMessageEncoder.cs : add writer session and rename reader
1439 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1441 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1442 is mandatory in initiator preamble packet. Handle Fault reply in
1445 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1447 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1448 based communication under TcpBinaryFrameManager class.
1450 2009-05-13 Jb Evain <jbevain@novell.com>
1452 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1453 from a StringReader.
1455 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1457 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1458 actually eliminate DOM-based implementation too in 2.0.
1460 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1462 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1463 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1464 comments for magic numbers based on [MC-NMF].
1466 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1468 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1469 support for [MC-NBFSE] record in [MC-NMF], in this class.
1471 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1473 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1475 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1477 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1479 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1481 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1483 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1485 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1487 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1489 * BinaryMessageEncoder.cs : use quotas in binding element.
1490 Implement WriteMessage().
1492 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1494 * PeerCustomResolverBindingElement.cs : do initialize field.
1496 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1498 * PeerCustomResolverBindingElement.cs :
1499 implement full custom resolver.
1501 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1503 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1504 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1505 PeerChannelFactory.cs : ongoing p2p channel implementation.
1507 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1509 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1511 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1513 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1514 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1515 implement GetProperty<T>(). Return documented objects or null.
1517 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1519 * PeerChannelFactory.cs, PeerChannelListener.cs,
1520 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1521 PeerInputChannel.cs, PeerOutputChannel.cs :
1522 new; ongoing peer transport implementation.
1523 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1524 MsmqOutputChannel.cs, OutputChannelBase.cs,
1525 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1526 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1527 several internal changes (either required or for simplification)
1528 for ongoing peer transport implementation.
1530 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1532 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1534 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1536 * TcpTransportBindingElement.cs : check build-ability before
1537 actually building channels.
1538 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1539 conditions according to MSDN.
1541 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1543 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1544 handle headers in SL2. Slightly changed 3.0 code too.
1546 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1548 * HttpRequestChannel.cs : use cross domain access manager.
1550 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1552 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1553 message as BodyWriter.
1554 (in GetReaderAtBodyContents) just write body contents.
1555 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1557 Add some state check in GetReaderAtBodyContents().
1558 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1560 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1562 * Message.cs : do not forget to flush.
1563 * HttpRequestChannel.cs : give more exact error info.
1565 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1567 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1568 make buffered copy in ML2 really buffered.
1570 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1572 * Message.cs : if there is no header item to write, do not write
1573 SOAP header element.
1575 2009-01-22 Alan McGovern <amcgovern@novell.com>
1577 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1578 Rewrite to avoid usage of it.
1580 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1582 * ChannelParameterCollection.cs : implement, rather than NIE.
1584 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1586 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1587 internal users to know the type of the detail.
1589 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1591 * Message.c: Use private setter for state private variable to ease debugging.
1592 Modify ToString not to change the state, as it is called quite often by VS debugger
1594 2008-04-21 Roei Erez <roeie@mainsoft.com>
1596 * HttpChannleManager: Fix for multithreaded use.
1597 * HttpReplyChannel: Fix crash during sutdown.
1599 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1601 * HttpChannleManager: ensure trailing slash in uri.
1603 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1605 * added: HttpChannleManager,
1606 * HttpChannelListener: added use of HttpChannelManager
1608 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1610 * MessageEncodingBindingElement.cs: fixed ctor
1612 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1614 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1616 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1618 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1620 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1622 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1624 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1626 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1628 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1630 * BindingElementCollection.cs: fix API - .ctor's signature.
1632 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1634 * XmlSerializerBodyWriter.cs: Removed.
1636 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1638 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1640 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1642 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1643 * TcpChannelFactory.cs, TcpChannelListener.cs :
1644 unify factory and listener into TcpChannelInfo for use in
1645 TCP channel implementation. Do not store stream in the listener.
1646 Factory now uses BinaryMessageEncoder.
1647 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1648 holds TcpClient that the listener has accepted.
1650 tcp-transport-binding-element sample now communicates (though
1651 only when both sides are mono: there seems binary mismatch).
1653 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1655 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1656 clone connection pool settings too.
1657 * NamedPipetransportBindingElement.cs,
1658 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1659 being likely implemented though).
1661 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1663 * ConnectionOrientedTransportBindingElement.cs,
1664 TcpTransportBindingElement.cs : some API updates.
1665 Initialize default values.
1666 * TcpConnectionPoolSettings.cs : new file.
1668 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1670 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1671 added support for "factory" attribute.
1673 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1675 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1677 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1679 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1681 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1683 * HttpRequestChannel.cs : create WebRequest against To message header
1685 Consider HttpRequestMessageProperty.
1686 Do not output body when suppressed or the method is GET.
1688 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1690 * HttpChannelListener.cs : BindingContext may not have listenUri
1691 at its .ctor() step.
1693 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1695 * BindingContext.cs : RemainingBindingElements is not just a dummy
1696 collection but is actually user-controlled.
1698 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1700 * TcpChannelFactory.cs, TcpChannelListener.cs,
1701 HttpChannelFactory.cs, HttpChannelListener.cs,
1702 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1703 TextMessageEncodingBindingElement.cs,
1704 BinaryMessageEncodingBindingElement.cs,
1705 MtomMessageEncodingBindingElement.cs :
1706 message encoder should be retrieved only through public API.
1707 * BindingContext.cs : so my old guess was wrong.
1709 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1711 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1713 * HttpTransportBindingElement.cs : implemented copy constructor.
1715 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1717 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1718 header when AddressingVersion is None.
1720 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1722 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1725 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1727 * OneWayBindingElementImporter.cs
1728 CompositeDuplexBindingElementImporter.cs : new files.
1730 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1732 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1733 semantic change, its bool parameter must be false, not true.
1735 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1737 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1738 new files. Msmq transport listener Implementation.
1739 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1740 (wait for System.Messaging impl.)
1741 * HttpReplyChannel.cs : added comment
1743 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1745 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1746 new files. internal stuff for msmq channel.
1747 * BinaryMessageEncoder.cs : added another .ctor().
1748 * MsmqTransportBindingElement.cs :
1749 implemented [Can]BuildChannelFactory().
1751 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1753 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1754 initialize some fields.
1756 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1758 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1759 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1760 couple of msmq stubs.
1762 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1764 * SecureMessageGenerator.cs : SecurityContextToken support (though
1765 it is still regarded as invalid by WCF).
1767 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1769 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1770 make header.Contents.Add() more strict.
1771 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1773 Added some hack to allow ssl token external mode.
1774 Commented out such lines that always premised asymmtric key.
1776 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1778 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1780 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1782 * MessageSecurityBindingSupport.cs : support check to create
1783 authenticator is now done in both initiator/recipient sides.
1784 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1786 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1788 * MessageSecurityBindingSupport.cs : for now, comment out the code
1789 that makes authenticator creation optional.
1790 * SecurityRequestContext.cs : don't decrypt message when it is
1791 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1793 * SecurityChannelListener.cs : GetProperty<T>() now returns
1794 MessageSecurityBindingSupport when requested. It is used by
1795 EndpointDispatcher to check if it supports WS-Trust negotiation.
1796 * ChannelListenerBase.cs :
1797 removed extra TODO and field. Implemented GetProperty<T>().
1798 * Message.cs : In CreateMessage() for SOAP Fault, create
1799 SimpleMessage with IsFault = true.
1801 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1803 * SecurityRequestContext.cs : try to reply fault with the inner
1804 channel when an error occurred internally.
1805 * FaultConverter.cs : implemented based on OperationContext (at normal
1806 state it does not seem to create messages, so I implemented it this
1809 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1811 * TransportBindingElement.cs : implemented GetProperty<T>().
1812 * TransactionFlowBindingElement.cs : on building factory or listener,
1813 reject channel types that cannot build.
1814 * SecurityBindingElement.cs : added some TODO comments.
1815 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1816 delegate to base, not BindingContext.
1817 * SecurityRequestContext.cs : somewhat late decryption.
1819 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1821 * MessageSecurityBindingSupport.cs,
1822 AsymmetricSecurityBindingElement.cs,
1823 SymmetricSecurityBindingElement.cs :
1824 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1825 implemented ISecurityCapabilities on them. Now those binding
1826 elements support GetProperty<ISecurityCapabilities>().
1828 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1830 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1831 will work only for predefined parameter types.
1833 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1835 * MessageSecurityBindingSupport.cs :
1836 Set proper MessageDirection to the requirement after creation.
1837 split CreateTokenAuthenticator() as MessageDirection is different.
1838 Removed extra creation of requirement.
1840 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1842 * MessageSecurityBindingSupport.cs : token authenticator is not
1843 always created on channel-opening stage.
1844 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1845 Sslnego binding factory method.
1847 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1849 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1850 signature velification failure.
1852 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1854 * SecureMessageGenerator.cs : encrypt signature confirmations only
1855 when they are required.
1857 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1859 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1860 when [Signature Protection is true i.e. when we use
1861 SignBeforeEncryptAndEncryptSignature.
1863 With this change finally samplesvc.cs/samplecli.cs became
1866 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1868 * SecureMessageDecryptor.cs : signature verification was not done
1869 for endorsing supporting tokens.
1870 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1871 in the security header. Don't output empty ReferenceList.
1873 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1875 * SecureMessageGenerator.cs : signingToken was added before being
1876 initialized and thus caused NRE.
1878 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1880 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1881 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1882 don't need workaround for symmetric key restoration.
1884 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1886 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1887 SecureMessageGenerator.cs :
1888 Avoid extra reference search from the request's ReferenceList.
1889 create HMACSHA1 always with the key to compute hash (I'm not sure
1890 it is correct; it is rather to adjust all hash consistent.)
1892 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1894 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1895 actually endorsed the primary signature.
1896 * SecureMessageGenerator.cs : implemented endorsing of the primary
1897 signature. So, now supporting tokens are fully implemented.
1899 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1901 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1902 totally signing tokens.
1903 * SecureMessageGenerator.cs : Endorsing tokens should also be
1904 included in the message. They are just not signed.
1906 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1908 * SecureMessageGenerator.cs : support signing and encryption of
1909 supporting tokens. Some required refactory to do it.
1910 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1912 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1914 * SecureMessageDecryptor.cs : fix exception message.
1915 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1916 XmlNamespaceManager is not required for GetIdElement().
1918 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1920 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1921 moved decryption part from former file to latter file, to reuse
1922 SignedXml instance (though now I doubt how it actually was good)
1923 which in turn required to replace EncryptedData in
1924 WSSecurityMessageHeader with decrypted one.
1925 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1927 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1929 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1930 EncryptedData should contain KeyInfo as it is not obvious which key
1931 is used there. .net<->mono DerivedKeyToken introp is done.
1932 * SecureMessageDecryptor.cs : check derived key requirement.
1933 Reduce dom-dependent parts.
1935 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1937 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1938 the related DerivedKeyToken (if any).
1939 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1940 support. Some refactoring to distinguish deried-token-related
1942 * SecureMessageDecryptor.cs : removed its own support for derived
1943 key tokens. Now it fully works with DerivedKeySecurityToken.
1945 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1947 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1948 SecureMessageDecryptor.cs :
1949 Implemented increment token reading in o:Security, as
1950 DerivedKeyToken could reference to existing wrapped key.
1951 Removed WsscDerivedKeyToken and all relevant code.
1952 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1953 DerivedKeySecurityToken.
1955 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1957 * SecureMessageGenerator.cs : it was setting security tokens into
1958 incorrect SecurityMessageProperty.
1959 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1960 Now it uses SecurityRequestContext instead of just primary key.
1961 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1962 to symmetric reply decryption, which is the only trouble case.
1963 Do not create another SignedXml.
1964 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1966 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1968 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1969 the resolver works with in-progress token reading in o:Security.
1970 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1971 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1972 * SecureMessageGenerator.cs : cosmetic refactoring.
1974 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1976 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1977 instead of EncryptedKey.
1979 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1981 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1982 should not be always prepared at channel Open(). It also caused
1983 that extra token requirements.
1984 * SecureMessageGenerator.cs : use correct key clause for encryption.
1985 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1987 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1989 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1990 for supporting 'supporting tokens' .
1991 * SecureMessageGenerator.cs : Supporting token creation is done only
1992 at initiator (not sure if it is supposed that, but for now it is).
1993 Removed extraneous CollectSupportingTokens().
1994 * SecureMessageDecryptor.cs : implemented supporting token
1995 authentication (partly). "Signed" supporting tokens are expected
1998 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2000 * SecureMessageGenerator.cs :
2001 make SignBeforeEncryptAndEncryptSignature working.
2003 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2005 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
2006 the key itself. ProtectionToken is WrappedKey.
2007 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
2008 not EncryptedKeyIdentifierClause which is not for embedded key.
2009 * MessageProperties.cs : Fixed copy direction in CopyProperties().
2011 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
2013 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
2014 to switch asymmetric and symmetric. Not used yet.
2015 * SecurityRequestChannel.cs : now it pass the request security
2016 property to reply receiver so that it could use the primary key
2017 used at request phase.
2018 * SecurityRequestContext.cs : now it pass the context itself to
2019 reply sender so that it could embed related MessageID.
2020 * SecureMessageGenerator.cs : ongoing changes to support symmetric
2021 binding element. Add RelatesTo output and remove MessageID when
2022 replying to the sender. Added some hacks to get symmetric binding
2024 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
2025 in SecurityTokenReference (it also involved existing encrypted key
2026 retrieval). In reply receiver, reuse the key that was used at
2027 request phase. It needs significant token resolution refactoring.
2029 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2031 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2032 * SecureMessageDecryptor.cs : store token and its authentication
2033 policies into the security property, and reuse it on reply.
2034 Some code refactoring; there is at most one o:Security to solve at
2035 one endpoint (depends on Actor). Some attempt to use correct
2036 token parameters (but for now I have only samples that use x509).
2037 * SecureMessageGenerator.cs : For replying message, use initiator's
2038 signing token as the encryption token. Simply reuse security
2039 property from the input message.
2041 I have some nasty workaround at decryptor for initiator that could
2042 not retrieve decryption key.
2044 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2046 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2047 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2048 several refactoring on token acquisition. Large part of
2049 MessageSecurityBindingSupport code is unified.
2051 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2053 * MessageProperties.cs : Security property should be one of the items.
2054 Actually many other properties should be similar as well.
2055 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2056 when copying a message, copy properties as well.
2057 * SecurityRequestContext.cs : on replying, pass input
2058 SecurityMessageProperty to the security generator.
2059 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2061 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2063 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2066 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2067 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2068 use new WSSignedXml instead of SignedXml, and remove coexisting
2069 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2070 - our reply messages could be consumed by .NET, and
2071 - .NET signature could be verified.
2073 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2075 * SecureMessageDecryptor.cs : The signing key must be passed as
2076 CheckSignature() argument, not SigningKey.
2078 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2080 * MessageImpl.cs : don't read attribute after ReadStartElement().
2082 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2084 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2085 * SecureMessageGenerator.cs : use correct signing key clause for
2086 SecurityTokenReferenceKeyInfo to be serialized.
2087 * SecureMessageDecryptor.cs : now it can try to parse signature.
2089 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2091 Ongoing changes to support signature confirmation
2092 * SecureMessageGenerator.cs :
2093 Don't output ReplyTo onto reply message.
2094 Write SignatureConfirmation if needed.
2095 * SecureMessageDecryptor.cs :
2096 Some refactoring for header cunsumption. Added commented-out
2097 signature verification part (not working yet, on client side due
2098 to incorrect reply from service and insufficient clause reader).
2099 * WSSecurityMessageHeader.cs :
2100 Added SignatureConfirmation support.
2101 KeyInfoClause for o:SecurityTokenReference should be replaced with
2102 SecurityTokenReferenceKeyInfo.
2104 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2106 * SecureMessageGenerator.cs : support Timestamp signature.
2107 Removed unused code, and extra argument in CreateReference().
2108 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2110 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2112 * SecureMessageGenerator.cs :
2113 Several fixes to make asymmetric binding working:
2114 - Differentiate signing and encryption token in several areas.
2115 - Fixed signing keyinfo.
2117 Added initial SecurityMessageProperty handling, not sure if it is
2118 appropriate here though.
2119 * HttpRequestChannel.cs : (some debugging lines)
2121 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2123 Woohoo! Here is a very basic WS-Security compliant message which could
2124 be allowed by Indigo.
2125 * MessageHeader.cs : added Id support for writing.
2126 * Message.cs : added internal BodyId for signature reference.
2127 * MessageImpl.cs : write Body Id if required.
2128 * SecureMessageGenerator.cs : Before signing, the target elements must
2129 be given wsu:Id. Since I still use System.Security.dll, I need some
2130 trick for signing (I give both Id and wsu:Id, former to sign and
2131 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2132 implementation later. Now singning mechanism works except for
2133 wsu:Timestamp (which is kind of mandatory).
2135 I can's still consume replies from Indigo but it's a big progress :)
2137 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2139 * MessageHeaderInfo.cs : added internal Id.
2140 * MessageHeader.cs : read and write wsu:Id.
2141 * Message.cs : output wsu namespace if Id exists in any header.
2142 * HttpReplyChannel.cs : (some debugging lines.)
2143 * SecureMessageDecryptor.cs : (remove debugging lines.)
2144 * MessageImpl.cs : removed obsolete code.
2145 * WSSecurityMessageHeader.cs : output "o" prefix.
2146 * SecureMessageGenerator.cs : replaced XmlElement-based header
2147 signing with MessageHeader-based signing, to support Id correctly.
2149 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2151 * SecureMessageGenerator.cs : some more refactoring and code comments.
2152 * MessageSecurityUtility.cs : made decryptor into an instance class,
2153 like I've done for SecureMessageGenerator.
2154 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2155 dependent changes for above.
2157 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2159 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2160 causing NRE due to the lack of token reference.
2161 No need to pass doc to SignedXml.ctor() anymore.
2162 Moved ReferenceList before the signature(s).
2164 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2166 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2167 Moved signing key generation code to non-HMACSHA1 signing part.
2168 Don't try to sign wss:Security.
2169 Pass document itself to SignedXml.ctor().
2170 Use temporary DataObjects to avoid adding Ids (not sure what is the
2171 expected processing yet).
2172 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2173 WriteTo() method in WsuTimestamp.
2175 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2177 * SecureMessageGenerator.cs : wrong key was used for signing.
2178 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2180 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2182 * SecureMessageGenerator.cs :
2183 Now ID generation process does not modify input message.
2184 Moved derived key generation part into (virtual) signing loop.
2185 MessagePartSpecification support for signing is done.
2187 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2189 * SecureMessageGenerator.cs : some reordering to handle signing and
2190 encryption with supporting tokens. Fixed XPath query bug for
2191 soap header contents (we want s:Header/*, not s:Header).
2193 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2195 * MessageSecurityBindingSupport.cs : more refactoring.
2196 Made it abstract and added Initiator- and Recipient- classes.
2197 Several members were moved to those derived types.
2198 * AsymmetricSecurityBindingElement.cs,
2199 SymmetricSecurityBindingElement.cs
2200 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2201 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2202 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2203 All dependent changes by above. Removed ISecurityChannelSource
2204 which became useless.
2206 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2208 * SecureMessageGenerator.cs : encryption parts should exist too.
2209 * AsymmetricSecurityBindingElement.cs
2210 SymmetricSecurityBindingElement.cs,
2211 MessageSecurityBindingSupport.cs : some refactoring.
2212 Split MessageSecurityBindingSupport into security binding element
2213 specific parts and made MessageSecurityBindingSupport concrete.
2214 It is likely split again, next time based on initiator/recipient.
2216 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2218 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2219 split encryptor part in the former file into latter file, and
2221 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2222 SecurityRequestContext.cs : apply the change above.
2224 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2226 * MessageSecurityBindingSupport.cs :
2227 Fixed incorrect TrgGetValue() use.
2228 Added CollectRecipientSupportingTokens().
2230 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2232 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2233 EncryptedKey. So, when a key itself is used to encrypt data,
2234 ReferenceList is contained by itself.
2235 * MessageSecurityBindingSupport.cs :
2236 added CollectInitiatorSupportingTokens().
2238 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2240 * MessageSecurityUtility.cs: it should support ReferenceList-less
2243 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2245 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2246 * MessageSecurityUtility.cs : there already was uuid.
2248 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2250 * MessageSecurityUtility.cs : replaced EncryptedKey with
2251 WrappedKeySecurityToken, which seems to be in actual use in .net.
2252 * WSSecurityMessageHeader.cs : added internal Guid so that it
2253 could be shared between header items.
2255 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2257 * HttpRequestContext.cs, TextMessageEncoder.cs :
2258 some null arg check.
2260 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2262 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2263 for SecurityTokenReference resolution.
2265 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2267 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2268 consider DerivedKeyTokens correctly.
2269 When creating LocalId, don't add '#' here.
2271 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2273 * MessageSecurityUtility.cs :
2274 handle key mapping for each wsse:Security.
2276 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2278 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2280 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2282 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2284 * MessageSecurityUtility.cs :
2285 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2286 suggests, and it is used to dereference decryption targets.
2287 Now it premises multiple wsse:Security elements to read.
2289 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2291 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2292 manually (and actually the namespace URI was wrong).
2294 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2296 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2298 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2300 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2302 * SecurityBindingElement.cs,
2303 SymmetricSecurityBindingElement.cs,
2304 AsymmetricSecurityBindingElement.cs :
2305 implemented SetKeyDerivation().
2307 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2309 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2312 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2314 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2317 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2319 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2320 thus move it in front of encryption/signing.
2322 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2324 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2325 check state by themselves (btw it's not really working).
2326 * HttpChannelListener.cs : If the url does not end with '/' add it
2327 so that it could be fed to HttpListener.
2329 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2331 * HttpChannelFactory.cs : check scheme on CreateChannel.
2332 * MessageHeader.cs : finish IsMessageVersionSupported().
2334 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2336 * FaultConverter.cs : new file, not used yet though.
2338 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2340 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2342 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2344 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2345 GET as well as HttpReplyChannel, configuration would be ready now.
2347 2006-10-18 Ankit Jain <jankit@novell.com>
2349 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2350 EnvelopeVersion.Soap12 and 'text/xml' for others.
2351 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2353 Strip '?' from the query string.
2355 2006-10-13 Ankit Jain <jankit@novell.com>
2357 * MessageVersion.cs (None): Set AddressingVersion.None
2359 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2361 * SvcHttpHandler.cs : added config-based endpoint addition code.
2362 Though due to some weird bug in mono-core it does not seem to work,
2363 so commented out for now.
2364 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2365 mex request message might just be wrong.
2366 Use expected MessageVersion by the channel.
2367 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2369 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2371 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2372 which differs depending on whether it is asymmetric or symmetric.
2373 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2374 simplify SecureMessage() and DecryptMessage() arguments (just
2375 take MessageSecurityBindingSupport instead of several parameters).
2376 * MessageSecurityUtility.cs :
2377 - simplify SecureMessage() and DecryptMessage() arguments (just
2378 take MessageSecurityBindingSupport instead of several parameters).
2379 - Take token inclusion mode into account. Don't include them when
2380 it is not expected. Also, change the token reference style.
2381 - add wsa:MessageID to the headers.
2382 - For hmac-sha1 signing (default for symmetric binding), use
2383 symmetric key created for encryption as well to create HMACSHA1.
2384 - add Id to wsu:Timestamp.
2385 - start to handle SecurityMessageProperty.
2386 * WSSecurityMessageHeader.cs :
2387 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2388 Changed date format.
2390 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2392 * CommunicationObject.cs : reject faulted state on Open()/Close().
2393 * MessageHeaders.cs : removed extra fields.
2395 2006-10-06 Ankit Jain <jankit@novell.com>
2397 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2399 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2401 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2402 added some FIXMEs and additional arg.
2404 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2406 * MessageSecurityUtility.cs : remove duplicate Action header.
2408 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2410 * MessageFault.cs : partly implemented CreateFault(Message, int).
2411 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2412 handle IsFault correctly in each implementation.
2414 2006-10-04 Ankit Jain <jankit@novell.com>
2416 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2418 2006-10-04 Ankit Jain <jankit@novell.com>
2420 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2421 in WebConnectionStream.
2423 2006-10-04 Ankit Jain <jankit@novell.com>
2425 * MessageHeaders.cs (To): Use GetHeader<string> till
2426 DataContractSerializer gets ISerializable support.
2427 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2429 2006-10-04 Ankit Jain <jankit@novell.com>
2431 * ServiceHostParser.cs (Parse):
2432 (Split): Add some error checks.
2434 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2436 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2437 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2438 * SslStreamSecurityUpgradeProvider.cs,
2439 SslStreamSecurityUpgradeAcceptor.cs :
2440 new files for Ssl upgrade provider implementation.
2441 * MessageSecurityUtility.cs :
2442 Create proper C14NTransform. Don't use enveloped signature
2443 transform but sign every significant bits. On securing messages
2444 use ChannelProtectionRequirements.
2445 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2447 * MessageEncoder.cs : fix API (missing constraint).
2448 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2449 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2450 * AsymmetricSecurityBindingElement.cs : default protection order is
2451 SignBeforeEncryptAndEncryptSignature.
2453 2006-09-29 Ankit Jain <jankit@novell.com>
2455 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2456 ServicHostParser and use that here.
2457 (PrivateBinPath): New.
2458 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2459 (RemovedCallback): Remove and close the SvcHttpHandler when its
2460 corresponding file (.svc) changes.
2461 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2463 * ServiceHostParser.cs : New.
2464 * CachingCompiler.cs : New. Code extracted from
2465 System.Web.Compilation.CachingCompiler
2466 * CompilationException.cs : New. From System.Web.Compilation
2467 * HtmlizedException.cs : New. Likewise.
2469 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2471 * MessageSecurityBindingSupport.cs : For client side, it is always
2472 InitiatorServiceModelSecurityTokenRequirement which should be
2473 created. Fixed wrong client encryption key acquisition.
2475 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2477 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2478 MessageSecurityBindingSupport.cs : made similar changes as factories
2479 to listener so that session channels and input channels would work.
2480 Added authenticator creation.
2482 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2484 * Binding.cs : added missing members.
2486 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2488 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2489 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2490 reduce code duplication between request and output channels.
2491 The common parts are now in MessageSecurityBindingSupport.
2492 Now reduced several arguments in SecureMessage() for client.
2494 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2496 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2498 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2500 * AsymmetricSecurityBindingElement.cs,
2501 SecurityChannelListener.cs,
2502 SecurityRequestContext.cs,
2503 SymmetricSecurityBindingElement.cs,
2504 SecurityRequestChannel.cs,
2505 SecurityOutputChannel.cs,
2506 SecurityChannelFactory.cs,
2507 MessageSecurityBindingSupport.cs : 1) Refactoring.
2508 IMessageSecurityBindingSupport now becomes a class and contains
2509 all the members which resided in ISecurityChannelSource.
2510 Now it takes more constructor params.
2511 Made dependent changes on all sources above.
2513 2) Added SecurityTokenAuthenticator creation in
2514 SecurityRequestChannel (SecurityOutputChannel should do the same).
2516 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2518 * SecurityRequestChannel.cs : ongoing improvements on conditional
2519 key creation. Actually there must be some part that creates an
2520 authenticator (WinFX does that).
2522 2006-09-27 Ankit Jain <jankit@novell.com>
2524 Add suport for handling .svc files.
2525 * SvcHttpHandlerFactory.cs: New.
2526 * SvcHttpHandler.cs: New.
2528 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2529 asp.net environment.
2530 (OnOpen): Do nothing in asp.net environment.
2531 (OnClose): Likewise.
2532 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2533 * HttpRequestContext.cs: .. here.
2535 * AspNetReplyChannel.cs: New.
2536 * AspNetRequestContext.cs: New.
2538 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2540 * MessageSecurityUtility.cs :
2541 Significantly rewritten decryption parts to respect ReferenceList
2542 to decrypt (so no workaround anymore).
2543 Now e:ReferenceList inside o:Security is treated as the referenced
2544 EncryptedType items are encrypted by 1) the derived key which is
2545 immediately in front of it, or 2) the default key (it is according
2546 to WS-SecureConversation section 9.1). Thus removed immediately
2547 previous hack to auto-fill wsu:Id attributes.
2549 On securing a message, generate correct Id and add DataReference
2550 to ReferenceList properly.
2552 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2554 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2557 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2559 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2560 Actually WSSecurityTokenSerializer should be able to consume it, but after
2561 spending a lot of time I still cannot successfully read it on WinFX.
2562 Skip ReferenceList for now.
2563 * MessageSecurityUtility.cs :
2564 Replaced some string literals with constants.
2565 Added some workaround for DerivedKeyToken retrieval.
2566 WinFX somehow sends incomplete ISO10126 padding which contains
2567 bigger number than the key size and is rejected by EncryptedXml,
2568 so added DecryptLax() which processes such ones in PaddingMode.None
2569 to workaround it (only for cross-connection between mono and winfx).
2570 Added some incomplete implicit wsu:Id processing.
2571 Don't try to replace SignedXml with EncryptedData. It is not added
2572 to the document tree.
2574 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2576 * MessageSecurityUtility.cs : support message signature encryption. Some
2579 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2581 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2583 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2585 * MessageSecurityUtility.cs : fix warnings.
2587 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2589 * MessageSecurityUtility.cs : actually there would be more than one
2590 EncryptedData. Decrypt all.
2592 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2594 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2595 Use ISO10126 padding mode (it is not required but in manner).
2597 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2599 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2600 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2601 that class to make it work fine with mono client).
2602 Removed buggy lines that reset decryption key to AES.
2603 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2604 * WSSecurityMessageHeader.cs :
2605 (SecurityTokenReferenceKeyInfo) support LoadXml.
2607 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2609 * TransactionMessageProperty.cs : new file.
2611 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2613 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2614 gmcs happened to report wrong code.
2616 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2618 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2619 .ctor() now requires ChannelProtectionRequirements which will be
2620 supplied via BindingParameterCollection.
2621 * SymmetricSecurityBindingElement.cs,
2622 AsymmetricSecurityBindingElement.cs : thus add
2623 ChannelProtectionRequirement parameter to factory/listener.
2624 * SecurityRequestChannel.cs : use recipient token requirement to
2625 create an encryption token. Thus differentiate the logic from
2626 signing (initiator) token.
2628 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2630 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2631 renamed former to latter.
2632 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2635 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2637 * MessageSecurityBindingSupport.cs : new internal types to commonize
2638 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2639 and thus make internal factory and listener reusable.
2640 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2641 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2642 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2643 SymmetricSecurityBindingElement, using the new types above.
2644 * SymmetricSecurityBindingElement.cs :
2645 Use SymmetricMessageSecurityBindingSupport.
2646 * AsymmetricSecurityBindingElement.cs :
2647 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2649 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2651 * ChannelFactoryBase.cs : more RC1 update.
2653 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2655 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2656 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2657 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2658 ChannelBase.cs : RC1 API updates.
2659 * MessageImpl.cs : implemented Properties.
2660 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2662 2006-09-18 Ankit Jain <jankit@novell.com>
2664 * MessageHeaders.cs (MessageId):
2665 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2667 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2669 * ChannelParameterCollection.cs : new file.
2670 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2671 new files for IOutputChannel implementation.
2672 * OneWayBindingElement.cs : hacky implementation.
2673 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2674 * MessageSecurityUtility.cs : now create identifier from the security
2675 token and the token parameters which is added as an argument.
2676 * SecurityRequestContext.cs,
2677 SecurityRequestChannel.cs : SecureMessage() argument changes.
2678 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2681 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2683 * HttpRequestChannel.cs : close the HttpWebRequest.
2685 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2687 * HttpRequestChannel.cs,
2688 HttpChannelFactory.cs : implement async request/reply.
2689 * HttpChannelFactory.cs :
2690 verify factory state when creating a channel.
2692 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2694 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2695 BinaryMessageEncoder.cs : added message version mismatch check.
2697 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2699 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2700 Making incomplete changes to handle different tokens for encryption
2702 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2703 split channel implementation classes out to the latter file.
2704 * MessageSecurityUtility.cs : seems like there is
2705 TimeStampValidityDuration property, so use it (incomplete; a server
2706 needs another love).
2708 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2710 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2711 SecurityRequestContext.cs : now that we have key identifier clause
2712 and working ResolveKeyIdentifierClause(), just create keys inside
2713 SecureMessage(). Add KeyInfo to the xmldsig.
2715 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2717 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2718 pass SecurityKeyIdentifierClause to SecureMessage().
2719 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2720 for IssuedToken binding element.
2721 * SymmetricSecurityChannelListener.cs : removed hack to just create
2722 X509 security token, and implemented correct token creation.
2723 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2724 wraps SecurityTokenReference element.
2725 * MessageSecurityUtility.cs : use the above.
2727 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2729 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2730 could not find a security header.
2731 * SymmetricSecurityChannelFactory.cs : now it also supports
2732 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2735 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2737 * SecurityRequestContext.cs : moved securing message part to
2738 MessageSecurityUtility.cs.
2739 * MessageSecurityUtility.cs : the change above.
2740 use DateTime.Now for timestamp basis. Don't append signature to
2741 the document. Instead it is added to the header. Capture body
2742 content instead of the body itself.
2743 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2744 be processed by upper layers.
2746 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2748 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2749 SymmetricSecurityChannelListener.cs,
2750 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2751 more refactoring. Request serialization became much more conformant
2752 and add required header items.
2753 Security Token retrieval is needed to send it in the request.
2754 Fixed wrong key encryption.
2756 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2758 * SecurityRequestContext.cs : the workaround was not functional.
2760 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2762 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2763 API, especially ReplaceData(), instead of native crypto stuff.
2764 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2765 MessageProtectionOrder.SignBeforeEncrypt).
2767 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2769 * SecurityRequestContext.cs : label should be combined of both
2770 the client's and the server's.
2772 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2774 * SecurityRequestContext.cs : enable key derivation (though for now
2775 GenerateDerivedKey() is unimplemented). Create meaningful,
2776 decrypted request message to be consumed by the upper layer.
2778 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2780 * SecurityRequestContext.cs : implement Close() and Reply().
2781 ongoing implementation of Reply(TimeSpan).
2782 * MessageSecurityUtility.cs : new file to collect utility methods.
2783 * SymmetricSecurityChannelFactory.cs : moved securing message code
2785 * SymmetricSecurityChannelListener.cs : tiny renaming.
2787 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2789 * SecurityRequestContext.cs : security header is also stored.
2791 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2794 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2796 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2799 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2801 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2802 so that it retrieves the security key in that manner.
2804 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2806 * Binding.cs : MessageVersion is null when there is no
2807 MessageEncodingBindingElement.
2808 * Message.cs : null arg check.
2810 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2812 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2814 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2816 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2817 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2818 LayeredRequestChannel.cs : some refactoring.
2819 * SymmetricSecurityChannelFactory.cs :
2820 ongoing secure message creation implementation.
2822 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2824 * SymmetricSecurityBindingElement.cs :
2825 pass specific ServiceCredentialsSecurityTokenManager type to
2826 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2827 * SymmetricSecurityChannelListener.cs :
2828 get service certificate. It's a temporary hack.
2829 Move RequestContext code to below.
2830 * SecurityRequestContext.cs : new file.
2831 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2832 it I have to finish decryption of the incoming message.
2834 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2836 * MessageImpl.cs : don't write attributes on the first body content
2837 element *on soap Body element*.
2838 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2839 ObjectDisposedException is appropriate.
2840 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2841 in OnWriteHeader*Contents*().
2843 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2845 * WSSecurityMessageHeader.cs : new file.
2846 * SymmetricSecurityChannelFactory.cs :
2847 moved WSSecurityHeader and related types to the above.
2848 * SymmetricSecurityChannelListener.cs :
2849 reject SOAP-env-less message.
2851 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2853 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2854 renamed former to latter.
2855 * SymmetricSecurityChannelFactory.cs :
2856 create requirements every time. It is also likely that I need
2857 another requirement instance to get service credentials here.
2859 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2861 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2862 similar to BuildChannelFactory() (set credentials, issuer binding
2864 * SecurityChannelListener.cs :
2865 more ongoing security support implementation.
2866 * SymmetricSecurityChannelFactory.cs :
2867 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2869 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2871 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2872 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2873 Implementation is underway.
2874 * LayeredReplyChannel.cs :
2875 like LayeredRequestChannel, use ChannelListenerBase to provide
2878 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2880 * MessageHeader.cs : added another implementation type that uses
2881 XmlElement, for buffering purpose.
2882 * MessageImpl.cs : Header item types are user-driven by
2883 MessageHeader.GetHeader<T>(int), so at storing phase just store
2884 nodes as XmlElement.
2885 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2888 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2890 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2891 BindingParameterCollection, not from binding element properties.
2893 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2895 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2896 renamed former to latter.
2898 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2900 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2901 work for SslSecurityTokenParameters.
2903 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2905 * SecurityBindingElement.cs :
2906 Added SetIssuerBindingContextIfRequired().
2907 * SecurityChannelFactory.cs :
2908 Changed .ctor() arg again, just to receive binding element.
2909 * SymmetricSecurityBindingElement.cs :
2910 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2911 SymmetricSecurityChannelFactory .ctor() arg changes.
2912 "ProtectionTokenParameters" is not passed now.
2914 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2916 * SymmetricSecurityBindingElement.cs : requirements should be
2917 filled at InitializeSecurityTokenParameters as long as possible.
2918 SymmetricSecurityChannelFactory<T> now does not receive
2919 requirements (it now creates one inside it) at .ctor().
2920 * SecurityChannelFactory.cs : remove requirement argument.
2922 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2924 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2926 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2928 * SymmetricSecurityBindingElement.cs :
2929 MessageSecurityVersion property is of type SecurityTokenVersion.
2930 * SecurityBindingElement.cs :
2931 Implemented CreateSecureConversationBindingElement().
2932 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2933 the argument IssuedSecurityTokenParameters itself.
2935 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2937 * SymmetricSecurityBindingElement.cs :
2938 CreateSecurityTokenManager() can be directly used now.
2939 Use CallInitializeSecurityTokenRequirement() to fill requirement
2942 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2944 * ChannelFactoryBase.cs : GetProperty() is virtual.
2946 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2948 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2949 create token manager, token parameters and token requirements,
2950 and fill some requirements.
2951 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2952 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2953 * BindingContext.cs : implemented RemainingBindingElements.
2954 kill "no remaining binding element" error in GetInnerProperty()
2955 * SecurityChannelFactory.cs : now it became
2956 SymmetricSecurityChannelFactory, thus soon to be renamed.
2957 Several ongoing actual security resolution is on.
2959 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2961 * CommunicationObject.cs :
2962 add GetCommunicationObjectType() and use it.
2963 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2964 use ThrowIfDisposedOrNotOpen().
2965 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2966 to CommunicationObject. Make it IDisposable.
2967 * LayeredRequestChannel.cs : use above.
2968 * SecurityChannelFactory.cs : removed state check as it is done at
2971 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2973 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2974 CanBuildChannelListener) directly dispatch to BindingContext.
2975 * SymmetricSecurityBindingElement.cs : require protection token
2976 parameters before building a channel or a listener.
2977 * ChannelFactoryBase.cs : raise an error when a channel is being
2978 created without opening the factory.
2979 * ChannelListenerBase_1.cs : ditto for the listener.
2980 * SecurityChannelFactory.cs : before sending a request, it must be
2983 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2985 * MessageBufferImpl.cs : initialize fields.
2986 workaround BufferSize just to return 0.
2987 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2988 which does not support multi time write.
2989 * Message.cs : implemented State.
2991 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2993 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2994 is consuming XmlReader.
2995 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2996 * MessageBuffer.cs : implemented CreateNavigator().
2997 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2999 I kinda know that MS heavily depends on binary XmlReader and may have
3000 XPathNavigator implementation based on the binary stuff, but at
3001 least for now we have almost no motivation to mimick it.
3003 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3005 * SecurityChannelFactory.cs : a bit more of security header code.
3007 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
3009 * SymmetricSecurityBindingElement.cs :
3010 set default MessageProtectionOrder in every construction.
3012 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
3014 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
3015 changed to require ChannelFactoryBase to support default timeout.
3016 Made some methods non-virtual. Preparing code to add security
3017 headers (empty yet).
3018 * SecurityBindingElement.cs : implemented several factory methods
3019 that return SymmetricSecurityBindingElement.
3021 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3023 * IStreamUpgradeBindingElement.cs,
3024 StreamUpgradeBindingElement.cs : renamed from former to latter.
3026 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3028 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
3030 2006-07-31 Ankit Jain <jankit@novell.com>
3032 * MessageHeaders.cs (From): Use Constants.WSA1
3033 (MessageId): Implement the same pattern as other properties (From etc).
3035 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3037 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3038 * SecurityBindingElement.cs : some cosmetic changes.
3040 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3042 * SecurityBindingElement.cs : LocalClientSettings and
3043 LocalServiceSettings returns an instance for each.
3044 * LocalClientSecuritySettings.cs : initialized fields.
3046 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3048 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3049 kinda implemented Clone() just with MemberwiseClone().
3051 2006-07-27 Ankit Jain <jankit@novell.com>
3053 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3054 * MessageHeader.cs (knownTypes): New. Known type array containing
3056 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3058 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3060 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3061 LayeredCommunicationObject.cs,
3062 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3063 new files to support security channels, though right now they
3064 just pass inner channels through.
3065 * SymmetricSecurityBindingElement.cs : use above.
3067 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3069 * AsymmetricSecurityBindingElement.cs,
3070 SymmetricSecurityBindingElement.cs :
3071 Default SecurityTokenParameters is null.
3073 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3075 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3077 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3079 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3081 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3082 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3083 headers. When AddressingVersion is None, don't output addressing
3084 headers as well, except for Action which is still needed by
3087 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3089 * MessageHeaders.cs : changed specific properties to find it from
3090 headers as Action property does (local variables won't be set by
3091 setter). Cache serializers. Check null serializer arguments.
3092 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3094 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3096 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3097 use XmlObjectSerializer (since it is not data contract type).
3099 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3101 * MessageImpl.cs : Improved ReadHeaders().
3102 For certain header items, use EndpointAddress.ReadFrom().
3104 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3106 * AsymmetricSecurityBindingElement.cs :
3107 it is not ISecurityCapabilities anymore.
3109 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3111 * MessageVersion.cs : added None.
3113 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3115 * Message.cs : GetReaderAtBodyContents() implementation using
3118 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3120 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3121 used MessageVersion.Default.
3123 2006-07-12 Duncan Mak <duncan@novell.com>
3125 * MessageBuffer.cs (MessageContentType): Return
3126 "application/soap+msbin1".
3128 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3129 (SimpleMessage.OnCreateBufferedCopy):
3130 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3131 MessageBuffer implementations.
3133 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3134 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3135 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3137 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3139 * MessageImpl.cs : Action should be added in request messages. Omit
3140 it only in reply message, thus moved to dispatcher logic.
3142 2006-07-12 Ankit Jain <jankit@novell.com>
3144 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3145 bug in WebConnectionStream.
3146 * MessageHeaders.cs (MessageHeaders.From):
3147 (MessageHeaders.ReplyTo):
3148 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3150 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3152 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3153 add SOAP Action to the response at any time.
3155 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3157 * SymmetricSecurityBindingElement.cs,
3158 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3159 Implemented .ctor() and some properties.
3161 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3163 * TransactionFlowBindingElement.cs : new file.
3164 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3166 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3169 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3170 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3171 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3172 vanished (there is anyways no way to instantiate this type).
3173 * MessageVersion.cs : added Soap11 and Soap12.
3174 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3175 in June CTP. goodie.
3177 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3179 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3180 removed some vanished CreateMessage() overloads.
3182 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3184 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3185 HttpTransportBindingElement.cs :
3186 They are not ISecurityCapabilities anymore.
3187 Modified code to match June CTP behavior.
3189 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3191 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3193 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3195 * EmptyFaultException.cs : removed unused code.
3196 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3198 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3200 * LayeredChannelFactory.cs : removed obsolete class.
3201 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3202 ChannelListenerBase.cs, HttpChannelListener.cs,
3203 HttpReplyChannel.cs, ChannelManagerBase.cs :
3204 all those changes were brought by ChannelManagerBase changes.
3206 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3208 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3209 CommunicationObject.cs, HttpChannelListener.cs,
3210 ChannelFactoryBase.cs :
3211 CommunicationObject abstract changes brought this madness.
3213 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3215 * BindingContext.cs : listenUri address parameters could be null in
3218 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3220 * IRequestContext.cs :
3221 Now it became a class. File renaming will follow soon.
3222 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3223 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3224 IOutputChannel.cs, IOutputSessionChannel.cs,
3225 IRequestChannel.cs, IRequestSessionChannel.cs :
3226 They are not IDisposable anymore.
3227 For IReplyChannel, IRequestContext -> RequestContext.
3228 * IChannelListener.cs : removed Identity. Added GetProperty().
3229 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3230 ReplyChannelBase.cs, HttpReplyChannel.cs :
3231 Several members disappeared, and dependent changes.
3232 * HttpTransportBindingElement.cs,
3233 HttpChannelListener.cs, :
3234 ChannelListenerBase.SharedChannelListener vanished.
3236 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3238 * MessageEncodingBindingElement.cs
3239 MtomMessageEncodingBindingElement.cs,
3240 TextMessageEncodingBindingElement.cs,
3241 BinaryMessageEncodingBindingElement.cs :
3242 June CTP updates: AddressingVersion -> MessageVersion.
3243 * Binding.cs : June CTP. MessageVersion is added.
3244 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3245 ChannelListenerBase_1.cs,
3246 ChannelListenerBase.cs, IChannelListener.cs,
3248 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3249 June CTP. Several interface changes.
3250 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3251 * IChannelManager.cs, LayeredChannelListener.cs,
3252 GenericWrapperChannelFactory.cs,
3253 GenericWrapperChannelListener.cs : They are not used anymore.
3255 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3257 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3258 sync fix with June CTP API updates.
3260 2006-07-03 Ankit Jain <jankit@novell.com>
3262 * MessageEncodingBindingElementConverter.cs:
3263 * StandardBindingConverter.cs:
3264 * TransportBindingElementConverter.cs:
3265 * TransactionFlowBindingElementConverter.cs:
3266 * ReliableSessionBindingElementConverter.cs:
3267 * SecurityBindingElementConverter.cs:
3268 Rename *Converter.cs to *Importer.cs
3270 * TransferMode.cs: Move to System.ServiceModel
3272 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3274 * CommunicationObject.cs : make sure to change State before
3275 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3277 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3279 * Message.cs : output WSAddressing xmlns only when Action is
3280 specified (To should be affected, but seems like it is ignored).
3282 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3284 * MessageImpl.cs : don't set Action when it is null.
3286 2006-06-12 Ankit Jain <jankit@novell.com>
3288 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3290 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3292 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3293 some updated API fixes.
3295 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3297 * EnvelopeVersion.cs : moved back to S.SM.
3299 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3301 * IBindingManualAddressing.cs : vanished in beta2.
3302 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3303 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3305 * SecurityBindingElement.cs :
3306 SecurityStandardsManager -> SecurityTokenSerializer.
3308 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3310 * XmlSerializerBodyWriter.cs : new file to handle
3311 TypedMessageConverter.ToMessage().
3313 2006-04-26 Ankit Jain <jankit@novell.com>
3315 * TransportBindingElementConverter.cs (BeforeImport): Remove
3316 NotImplementedException.
3317 (ImportContract): Likewise.
3318 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3320 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3322 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3323 being used was not reflecting that of Binding elements.
3325 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3327 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3328 just assume that it is in the message.
3330 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3332 * HttpReplyChannel.cs : actually HTTP header item might be null.
3334 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3336 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3339 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3341 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3343 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3345 * MessageFault.cs : Fixed SOAP12 reason output.
3347 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3349 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3350 MessageEncoder.ContentType explicitly contains encoding.
3351 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3352 if it is SOAP version dependent.
3354 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3356 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3358 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3360 * HttpChannelFactory.cs BindingContext.cs
3361 HttpChannelListener.cs HttpTransportBindingElement.cs :
3362 Now BindingContext holds MessageEncoder, and non-custom
3363 channel factory/listener should use it.
3364 * MtomMessageEncodingBindingElement.cs
3365 TextMessageEncodingBindingElement.cs
3366 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3367 -Listener() now sets internal BindingContext.MessageEncoder.
3368 Fixed some public API.
3370 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3372 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3373 for insufficient elements.
3374 * DispatchRuntime.cs : OperationDescription name is not action. So
3375 OperationSelector is created by name, not by action.
3376 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3378 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3380 * MessageFaultBodyWriter.cs
3381 XmlReaderBodyWriter.cs
3382 XmlObjectSerializerBodyWriter.cs : made internal.
3383 * SecurityBindingElement.cs
3384 AsymmetricSecurityBindingElement.cs
3385 SymmetricSecurityBindingElement.cs : API fixes.
3386 * TransportBindingElementConverter.cs : ditto.
3387 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3388 * WindowsStreamSecurityBindingElement.cs
3389 SslStreamSecurityBindingElement.cs
3390 TransportSecurityBindingElement.cs : new files.
3392 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3394 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3395 reading can be any xs:boolean value.
3397 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3399 * Message.cs MessageImpl.cs : more sorting out the role of each
3401 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3403 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3405 * Message.cs : don't write body contents if it is empty.
3406 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3407 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3408 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3409 * HttpRequestChannel.cs : close request stream before GetResponse().
3411 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3413 * TextMessageEncoderFactory.cs
3414 TextMessageEncoder.cs : encoder does not hold reference to the
3415 factory anymore. Use MessageVersion property in CreateMssage().
3416 * HttpChannelListener.cs : now it holds message encoder.
3417 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3418 * MessageImpl.cs : header is optional.
3419 * EnvelopeVersion.cs : namespace URI is missing.
3421 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3423 * CustomBinding.cs : removed Initialize().
3424 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3425 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3426 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3427 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3429 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3431 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3432 could be also added by Add() method and could be reset by Remove()).
3433 * MessageImpl.cs : implemented more. As noted above, Now we don't
3434 have to add Action header explicitly.
3435 * MessageHeader.cs : recovered Writer methods and ToString() from
3436 commented old version. Use prefixes for writing.
3437 Use WriteObjectContent() rather than WriteObject() (it needs
3438 DataContractSerializer fix btw).
3440 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3442 * MessageHeader.cs : added missing IsReferenceParameter.
3443 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3444 * MessageHeaders.cs : avoid NullRef when actors is null.
3445 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3446 (ForwardingMessage) reader consumer is being added (not done).
3447 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3448 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3449 * HttpRequestChannel.cs : this channel automatically call Open()
3450 when Request() is called. Set content length for request.
3451 Use MessageEncoder's ContentType to also handle charset.
3453 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3455 * MessageImpl.cs : make them internal.
3456 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3458 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3460 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3461 * HttpChannelListener.cs : removed commented line.
3462 * RequestChannelBase.cs : new base class for request channel classes.
3463 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3464 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3465 * Message.cs : default IsEmpty and IsFault false by default.
3466 * LayeredChannelListener.cs : removed Uri (no chance to set).
3467 * ChannelBase.cs : reimplemented timeout properties.
3468 * HttpRequestChannel.cs : now it is mostly based on
3469 RequestChannelBase. Some more attempt to implement Request().
3471 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3473 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3474 OnInitialize(). Added more BuildChannelListener() overloads.
3476 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3478 * Binding.cs : added some more missing members especially to support
3480 * HttpChannelListener.cs : Uri should not be null.
3481 * HttpTransportBindingElement.cs : implemented
3482 CanBuildChannelFactory() and CanBuildChannelListener().
3483 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3485 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3487 * Binding.cs : updated default namespace property value to Feb. CTP.
3489 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3491 * AddressHeader.cs : avoid null reference when value is null.
3492 * BindingContext.cs : check null ListenUri args.
3494 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3496 * MessageFault.cs : Fixed default action name. Null arg check.
3498 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3500 * BindingElement.cs : Dequeue elements in BindingContext directly.
3501 * BindingContext.cs : Added GetProperty<T>().
3502 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3503 Now we don't need these extra classes, so marked as deprecated.
3505 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3507 * Binding.cs : null arg check.
3508 * AddressingVersion.cs : fixed constants to pass the tests.
3509 * BindingElement.cs : tiny meessage fix.
3511 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3513 * MessageEncodingBindingElement.cs
3514 BinaryMessageEncodingBindingElement.cs
3515 TextMessageEncodingBindingElement.cs
3516 MtomMessageEncodingBindingElement.cs
3517 MessageEncodingBindingElementConverter.cs : several API fixes.
3518 * BindingElement.cs : now if we use generic wrapper it causes
3519 infinite loop, so for now replace it with most-possible-but-
3522 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3524 (back to normal "record-ChangeLogs" mode after the big API change mess)
3525 * HttpTransportBindingElement.cs : fixed minor API differences.
3527 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3529 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3530 SymmetricSecurityBindingElement.cs :
3531 Dependent fixes for System.IdentityModel reorgainzation.
3533 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3535 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3536 IProxyFormatter.cs WSHttpBindingBase.cs
3537 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3538 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3539 WSFederationBinding.cs ISessionChannel.cs
3540 CompositeDuplexBindingElement.cs MessageVersion.cs
3541 MessageHeader.cs IRequestSessionChannel.cs
3542 BindingElementCollection.cs IReplySessionChannel.cs
3543 MessageProperties.cs IDuplexClientChannel.cs
3544 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3545 TcpTransportBindingElement.cs EmptyFaultException.cs
3546 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3547 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3548 ConnectionOrientedTransportBindingElement.cs
3549 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3550 PeerResolverBindingElement.cs Message.cs
3551 HttpsTransportBindingElement.cs BindingElement.cs
3552 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3553 MessageFaultBodyWriter.cs IReplyChannel.cs
3554 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3555 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3556 IRequestContext.cs IInputSessionShutdown.cs
3557 SecurityBindingElement.cs PeerTransportBindingElement.cs
3558 IDuplexSession.cs IChannelInitializer.cs
3559 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3560 AddressingVersion.cs FaultException.cs
3561 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3562 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3563 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3564 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3565 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3566 BindingParameterCollection.cs IInstanceProvider.cs
3567 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3568 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3569 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3570 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3571 moved from System.ServiceModel due to the API changes.
3573 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3575 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3576 HttpChannelListener.cs HttpRequestChannel.cs
3577 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3578 PeerNode.cs ReplyChannelBase.cs :
3579 Feb. CTP API changes - chapter 1.
3581 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3583 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3584 * ReplyChannelBase.cs : now it is based on ChannelBase.
3585 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3586 and check null argument in .ctor().
3587 * HttpReplyChannel.cs : several changes.
3588 Non-async members are mostly implemented.
3589 * HttpChannelListener.cs : no need to receive
3590 IDefaultCommunicationTimeouts.
3591 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3592 to allocate buffer array and int.MaxValue causes OutOfMemory.
3594 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3596 * ClientFramingDecoderState.cs : added missing enum.
3597 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3599 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3601 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3603 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3604 AcceptChannel() has some code now but it needs more love.
3606 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3608 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3609 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3610 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3612 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3614 * HttpRequestChannel.cs : close the streams.
3616 HttpChannelListener.cs : renamed from former to latter.
3618 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3620 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3621 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3622 * HttpListenerFactory.cs : removed obsolete file.
3623 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3624 * ChannelListenerBase_1.cs : implemented virtual stuff.
3625 * CommunicationObject.cs : Open() should not call BeginOpen() and
3626 EndOpen(). Instead, invoke events individually.
3627 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3629 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3631 * HttpRequestChannel.cs : call Flush() after serializing message
3634 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3636 * HttpRequestChannel.cs : implemented pretty hacky Request().
3638 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3640 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3642 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3644 * ChannelFactoryBase.cs : removed some NotImplementedException for
3645 further internal implementation.
3647 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3649 * HttpRequestChannel.cs : new file. mostly not implemented.
3650 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3651 Partly implemented CreateChannel().
3653 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3655 * HttpChannelFactory.cs : (.ctor())
3656 Don't take ChannelBuildContext.
3658 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3660 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3661 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3662 PeerMessagePropagation.cs : updated to Nov. CTP.
3664 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3666 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3667 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3668 StreamSecurityUpgradeAcceptor.cs,
3669 StreamSecurityUpgradeInitiator.cs :
3670 Updated to Nov. CTP API.
3672 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3674 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3676 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3678 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3680 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3682 * ChannelBase.cs : tiny filename fix.
3683 * ChannelListenerBase.cs : added more .ctor()s.
3685 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3687 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3688 ListenerFactoryBase.cs ChannelListenerBase.cs :
3689 updated IListener related stuff to Nov. CTP.
3690 file renaming will come soon.
3692 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3694 * ListenerBase.cs, ChannelListenerBase.cs :
3695 moved from former to latter.
3696 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3697 moved from former to latter.
3699 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3701 * SessionFaultedException.cs : removed in Nov. CTP
3703 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3705 * CommunicationObject.cs : updated to Nov. CTP.
3706 * SessionFaultedException.cs : removed (in Nov. CTP)
3708 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3710 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3713 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3715 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3716 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3717 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3718 * MessageEncoder.cs : largely implemented.
3720 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3722 * IRequestReplyCorrelator.cs : new file.
3724 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3726 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3727 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3728 * MessageEncoder.cs : added misssing ToString().
3730 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3732 * ChannelBehaviorCollection.cs : moved to sys.sm.
3734 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3736 * HttpListenerFactory.cs, HttpListener.cs : new files.
3737 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3738 CommunicationObject.cs, ChannelFactoryBase.cs,
3739 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3741 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3742 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3744 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3746 * ListenerFactoryBase.cs : some implementation.
3748 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3750 * CommunicationObject.cs : more state fixes.
3752 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3754 * CommunicationObject.cs : some state machine fixes.
3756 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3758 * PeerNode.cs, ChannelManagerBase.cs :
3759 several API fixes detected by improved corcompare.
3761 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3763 * LayeredListenerFactory.cs : added missing generic class constraint.
3765 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3767 * ListenerFactoryBase.cs,
3768 ListenerBase.cs : class constraints were missing for generic args.
3770 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3772 * StreamUpgradeInitiator.cs : tiny API fix.
3774 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3776 * PeerMessagePropagationFilter.cs : tiny build fix.
3778 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3780 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3781 added Name. fixed StatusCode type.
3782 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3783 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3784 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3785 DirectionalAction.cs, HostedTransportConfiguration.cs,
3786 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3787 PeerMessagePropagationFilter.cs : added missing files.
3788 * Dummy.cs : removed. MSMQ stuff can be added later.
3790 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3792 * DeliveryStatus.cs, DeliveryFailure.cs,
3793 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3794 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3796 * Dummy.cs : removed above.
3798 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3800 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3802 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3804 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3805 MessageEncoder.cs, BufferManager.cs : new files.
3806 * Dummy.cs : removed above.
3808 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3810 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3811 * Dummy.cs : removed above.
3812 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3814 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3816 * HttpChannelFactory.cs : new file.
3818 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3820 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3821 moved to ../System.ServiceModel (correct location).
3822 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3823 new files for channels.
3824 * Dummy.cs : reflected above changes.
3825 * ChannelManagerBase.cs : added a bit of code and todos.
3827 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3829 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3830 added listener support files.
3831 * Dummy.cs : removed above.
3833 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3835 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3836 added request/reply channel interfaces.
3837 * Dummy.cs : removed above.
3838 * CommunicationObject.cs : FIXME comments.
3840 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3842 * CommunicationObject.cs : implemented some members.
3844 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3846 * CommunicationObject.cs : some signature fixes.