1 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
3 * SvcHttpHandler.cs : a wait handle could be used for more than one
4 requests and hence it sometimes blocked one reply channel. Now
5 it creates a wait handle for each ASP.NET request so that such
6 multiple use should not occur. This should fix blocking on
7 concurrent requests (it indeed fixes as long as I can see).
9 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
11 * AspNetReplyChannel.cs : remove garbage output.
13 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
15 * SvcHttpHandler.cs : Use lock when it tries to create the service
18 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
20 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
23 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
25 * HttpListenerManager.cs : add another workaround for blocking
28 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
30 * HttpListenerManager.cs : small refactoring.
32 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
34 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
35 that somehow makes callback client to not cause infinite loop.
37 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
39 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
40 DuplexChannelBase.cs : Receive() should rather use TryReceive().
41 It should not be in reverse order.
43 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
45 * HttpReplyChannel.cs, HttpListenerManager.cs :
46 Implement async cancellation in the expected manner (though with
47 some hack). This mostly removed nunit blockers.
49 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
51 * CommunicationObject.cs : fix wrong status changes.
53 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
55 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
57 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
59 * AddressHeader.cs : implement remaining bits.
60 Eliminate dependency on NetDataContractSerializer.
62 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
64 * CommunicationObject.cs : in Fault(), do similar work as previous
67 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
69 * CommunicationObject.cs : when process state changes, lock the
70 object to make sure the state transition is valid.
71 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
73 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
75 * MessageHeaders.cs : implement SetAction().
77 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
79 * ChannelFactoryBase.cs : fix build.
81 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
83 * ChannelBase.cs : cosmetic API fix for SL3.
85 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
87 * ChannelFactoryBase.cs :
88 implement On{Begin/End}Close() on the generic type.
90 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
92 * HttpChannelFactory.cs, TcpChannelFactory.cs,
93 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
94 PeerChannelFactory.cs, HttpRequestChannel.cs:
95 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
96 type and made required changes.
98 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
100 * HttpCookieContainerBindingElement.cs : new.
101 * IHttpCookieContainer.cs : fix type name.
102 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
104 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
106 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
107 does not happen when communicating with .NET client but happens with
108 mono). Seealso FIXME comment.
109 * TcpDuplexSessionChannel.cs : do not try to close session when it
110 failed to read sized message. The connection is already dead.
114 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
116 * TcpDuplexSessionChannel.cs :
117 Write EndRecord only when the connection is available.
118 Remove hack - do let ChannelDispatcher close the channel.
119 * TcpBinaryFrameManager.cs :
120 The socket may be disconnected when trying to read a sized message,
121 so check some socket exceptions.
122 In case the client silently shuts down without EndRecord and
123 reconnects to the server with preamble while expecting a sized
124 message (which is so lame, but that's what .NET often does), refresh
125 preamble and continue.
127 This fixes some cases of bug #567949 but not all.
129 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
131 * BinaryMessageEncoder.cs : enable workaround buffering only when
132 the argument stream does *not* support seek. This fixes some
133 net.tcp connection problem.
135 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
137 * TcpBinaryFrameManager.cs : If preamble byte is not available from
138 the client stream, detect it to close the reply or input channel.
139 * TcpRequestChannel.cs : send preamble at each request time.
140 It differentiates communication behavior on such cases that involve
141 single open and multiple requests.
142 * TcpReplyChannel.cs : close the channel only when the channel is
143 oeprated to close i.e. do not close the socket every time.
144 Process preambles on each request (the same as request channel).
146 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
148 * TcpBinaryFrameManager.cs : unsized envelope record may have more
149 than one data block, so consume them accordingly. This should fix
150 large buffer consumption.
152 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
154 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
157 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
159 * HttpRequestContext.cs : for DestinationUnreachable message, this
160 channel returns 400 in .NET.
162 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
164 * BinaryMessageEncoder.cs : added workaround for strange stream
165 consumption error raised by HttpTransport + Binary encoder example.
166 * BinaryMessageEncodingBindingElement.cs:
167 only SOAP 1.2 is allowed for this encoder.
169 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
171 * XmlReaderBodyWriter.cs : don't try to write empty xml.
173 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
175 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
176 default WebHeaderCollection items are overwritten.
178 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
180 * HttpRequestChannel.cs : when HTTP response was error, do not try
181 to read message but just raise an error.
183 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
185 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
187 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
189 * HttpRequestChannel.cs : WebException.Response might be null.
191 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
193 * ReplyChannelBase.cs : added listener property.
194 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
195 been updated to prefer async by default, a while ago.
197 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
199 * HttpTransportBindingElement.cs : finished all GetProperty() values.
201 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
203 * HttpRequestChannel.cs : disabled carelessly added
204 "UseDefaultCredentials = false" line. It blocked basic auth.
206 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
208 * HttpRequestChannel.cs, HttpChannelFactory.cs,
209 HttpChannelListener.cs, HttpListenerManager.cs :
210 implemented http client authentication and some of corresponding
211 service code. Only client works so far.
213 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
215 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
216 added URI scheme check.
218 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
220 * TransportSecurityBindingElement.cs : fix 2.1 build.
222 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
224 * HttpsTransportBindingElement.cs :
225 RequireClientCertificate is false by default.
226 Remove extra #if NET_2_1.
227 * SecurityBindingElement.cs :
228 Implement some transport security factory methods.
229 * TransportSecurityBindingElement.cs :
230 It is not ISecurityCapabilities anymore.
232 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
235 SecurityBindingElement.cs
236 LocalClientSecuritySettings.cs
237 TransportSecurityBindingElement.cs
238 FaultConverter.cs : They are now part of SL3 API.
240 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
242 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
244 2009-11-05 Geoff Norton <gnorton@novell.com>
246 * HttpsTransportBindingElement.cs: Implement basic https transport
247 binding support for Moonlight and MonoTouch
249 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
251 * HttpListenerManager.cs : remove CWLs.
253 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
255 * SvcHttpHandler.cs : move back previous listener selector code in
256 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
257 and differentiate requests to deeper paths (such as /jsdebug), so
258 we need such refinement here.
260 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
262 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
265 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
267 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
268 HttpChannelListener.cs, HttpListenerManager.cs :
269 Similar refactoring on ASP.NET side to the previous one.
270 Added ASP.NET implementation of HttpListenerManager and use some
271 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
273 Rewrote AspNetReplyChannel to become almost the same as
274 HttpSimpleReplyChannel, to hopefully unify them later.
275 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
276 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
279 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
281 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
282 Refactoring on listener manager to correctly handle wsdl and help
283 requests for such case that they conflict in addressing. Now it
284 can correctly distinguish service calls, WSDL requests and help
285 requests when all of them point to "http://localhost/foo.svc"
286 (which is very common case that the user does not change Http*Url).
288 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
290 * ChannelListenerBase.cs : add Properties property to add arbitrary
291 properties handy (only inside this assembly).
293 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
295 * HttpReplyChannel.cs : fix warning.
297 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
299 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
301 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
303 * HttpReplyChannel.cs : make sure to release wait lock.
304 * HttpChannelListener.cs : session channels are not supported, so
305 remove relevant NIEs.
307 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
309 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
310 support contexts so we call the non-overloaded WaitOne method
311 (which defaults to false).
313 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
315 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
316 significant rewrite to cooperate wcf handler and asp.net handler
317 to not mix multiple WCF listener within the asp.net handler.
318 So far it mostly works when 1) there are no ChannelDispatchers
319 that have an identical listen Uri and 2) MaxConcurrentSessions is
320 1 (must be explicitly set).
322 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
324 * CommunicationObject.cs : give better state error description.
326 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
328 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
329 to base methods. This resulted in not a few changes everywhere.
331 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
333 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
335 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
337 * SvcHttpHandler.cs : use file path given by the factory to
338 construct BaseAddresses. Requests to "test.svc/jsdebug" should
339 not be handled as request to "jsdebug" file, it's rather an
340 "argument" to "test.svc".
342 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
344 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
345 rewrite to handle shutdown situation better. The listeners should
346 not close channels that it opened. Instead, just stop accepting
347 further requests. Removed blocking mutex on WaitForRequest().
348 Now xsp shuts down as expected.
350 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
352 * HttpReplyChannel.cs : lock list when releasing its content contexts.
353 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
356 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
358 * SvcHttpHandlerFactory.cs : remove todo.
359 * ReplyChannelBase.cs : add comment.
361 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
363 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
364 revert the change, to use internal asp.net state again.
365 * SvcHttpHandler.cs : add VirtualPathExtension.
367 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
369 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
370 asp.net response was not written correctly.
371 Fill HttpRequestMessageProperty to get handle WSDL requests
372 processed in ServiceMetadataExtension without NRE.
373 Remove wrong HttpListenerContext iteration at Abort and Close in
374 common base class and move it to non-asp derived channel.
376 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
378 * SvcHttpHandler.cs : remove unused code.
380 2009-09-30 Jb Evain <jbevain@novell.com>
382 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
383 to use any of the remoting features.
385 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
387 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
388 use AspNetCompatibilityEnabled.
389 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
391 * AspNetReplyChannel.cs : remove extra field.
393 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
395 * HttpReplyChannel.cs : remove extra field.
397 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
399 * AspNetRequestContext.cs : remove CWL.
401 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
403 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
404 only after AspNetRequestContext is closed. Do not close it
405 immediately after receiving the context. (HttpRuntime destructs it
406 and further uses then becomes impossible.)
408 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
410 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
411 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
412 Make sure that AspNetChannelListener is bound to correct
413 SvcHttpHandler, regardless of specific request URI. It is required
414 for both WSDL requests and RESTful binding requests.
416 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
418 * MessageProperties.cs : fix CopyProperties() behavior to not
419 clear existing items. Make all properties call this[name].
421 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
423 * HttpTransportBindingElement.cs : fix 2.1 build.
425 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
427 * TransportBindingElement.cs : another GetProperty fix, iterate
428 other binding elements.
430 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
432 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
433 some GetProperty() implementation.
435 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
437 * HttpListenerManager.cs : release HttpListener and avoid extra
438 close process more than once.
440 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
442 * HttpChannelListener.cs : do not iterate channel list to close
443 channels which in turn removes them from the list while iteration.
445 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
447 * HttpRequestChannel.cs : Fix message version member comparison.
448 Double-quote SOAPAction. Remove extra Exception.
449 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
450 * HttpRequestContext.cs : when addressing is None, remove action
453 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
455 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
456 path, to pick those endpoints that are added at custom factories.
458 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
460 * SvcHttpHandler.cs : apply configuration, and if there is still no
461 endpoint, then add default one.
463 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
465 * SvcHttpHandler.cs : another URL to make relative.
467 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
469 * SvcHttpHandlerFactory.cs : some GetHandler changes.
470 * SvcHttpHandler.cs : significant changes on receiver structure. Now
471 ProcessRequest() stores pending requests (this might be extraneous,
472 but maybe useful when it implements async handler). Also removed
473 reply_channel field as it may become to handle multiple requests.
474 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
475 * AspNetReplyChannel.cs : make it receive requests like
476 HttpReplyChannel (for HttpListener) to make them consistent.
478 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
480 * AspNetRequestContext.cs, HttpRequestContext.cs :
481 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
482 by splitting HttpListener-based context out from common code base.
484 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
486 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
487 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
490 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
492 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
493 loads types from system assemblies appropriately.
495 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
497 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
500 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
502 * HttpRequestMessageProperty.cs : fix default values.
504 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
506 * HttpChannelFactory.cs, HttpRequestChannel.cs,
507 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
508 Check ManualAddressing value and reject address-missing ones.
510 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
512 * HttpChannelFactory.cs : reject URI mismatch cases when required.
514 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
516 * PeerDuplexChannel.cs : When received Connect() from neighbor,
517 add the peer to its internal list.
518 Finally ChatApplication got working.
520 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
522 * PeerDuplexChannel.cs : since the channel factory is per instance,
523 do not reuse factory that is tied to different callback instance.
524 It resolved the issue that mono callback client didn't receive
525 messages from the client itself.
527 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
529 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
530 of the receiver, not the requestor. It resolved the issue that
531 .NET client didn't send further messages to mono server.
533 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
535 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
536 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
537 TcpReplyChannel.cs, TcpRequestChannel.cs,
538 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
539 rename EndRecord handling method to appropriate one.
540 Write EndRecord from recipient too.
542 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
544 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
545 Process PeerTo header to upgrade Message To header. Now mono
546 service accepts mono client (somehow not true for .NET client).
548 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
550 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
551 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
553 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
555 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
557 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
559 * TcpDuplexSessionChannel.cs : check channel state before processing
562 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
564 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
565 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
566 ongoing works, not working at all yet.
568 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
570 * TcpChannelListener.cs, TcpReplyChannel.cs :
571 cosmetic cleanup and corrections.
573 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
575 * TcpChannelFactory.cs : use expected Via uri.
576 Remove extra NIE stuff that are implemented in base.
578 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
580 * TcpDuplexSessionChannel.cs : remove extra code.
582 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
584 * PeerDuplexChannel.cs : ongoing implementation towards get callback
585 replies on peer connector clients (not working as duplex client
586 callback is not working yet).
588 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
590 * TcpDuplexSessionChannel.cs : in callback client channels,
591 OperationContext.IncomingMessageHeaders is null.
593 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
595 * MessageHeaders.cs : duplicate check was sloppy.
597 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
599 * Message.cs, MessageImpl.cs, BodyWriter.cs :
600 Implement BodyWriter.OnCreateBufferedCopy() and use it.
602 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
604 * ReplyChannelBase.cs : initialize field.
606 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
608 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
609 implement GetProperty<T>() and return its channel manager.
611 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
613 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
614 destination address in Connect() request. To repeat sending
615 request, use buffered copy. Set some peer-channel specific
616 header items. (todo: and consume them.)
618 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
620 * Message.cs : state is set only after WriteBodyContents().
622 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
624 * MessageHeaders.cs : eliminate wrong use of
625 ReadElementContentAsString() (it is not always simple string).
627 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
629 * MessageHeaders.cs : when the value is null, do not try to
630 deserialize EndpointAddress.
632 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
634 * MessageHeader.cs : add Value property. (Forgot dependent change.)
636 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
638 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
639 serialization and deserialization of values.
641 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
643 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
644 Now simply use connector contract.
646 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
648 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
650 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
652 * TcpChannelListener.cs : do not try to compare dead connection's
653 IPEndPoint (it raises an error).
655 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
657 * MessageHeaders.cs : allow null header value on each specific setter.
659 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
661 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
662 get local and remote address of connected counterpart to get
663 callback channel connected.
664 * PeerDuplexChannel.cs : remove FIXME wrt above.
666 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
668 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
670 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
672 * MessageHeader.cs : fill IsReferenceParameter.
674 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
676 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
677 implement remaining async methods and LocalAddress.
679 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
681 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
682 ServiceHost to process neighbor connection (not sure if this is
683 right way to go though ...).
685 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
687 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
688 connection part to use new internal IPeerConnectorContract for
691 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
693 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
694 PeerChannelListener.cs, HttpChannelListener.cs :
695 support ListenUri accordingly too so that it could be used when
696 it is different from LocalAddress.Uri.
698 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
700 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
701 TcpRequestChannel.cs : use Via uri to validate and connect.
703 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
705 * RequestChannelBase.cs, DuplexChannelBase.cs :
706 Return endpoint address Uri when no explicit Via uri is specified.
707 * ChannelFactoryBase.cs : Remove extra async close methods.
708 Add async open methods. Reject null EndpointAddress.
709 * PeerChannelFactory.cs : remove async open methods (now in base).
711 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
713 * PeerDuplexChannel.cs : set correct message endpoint (To header).
715 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
717 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
718 DuplexChannelBase.cs : set LocalAddress property at base.
720 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
722 * PeerDuplexChannel.cs : ongoing refactoring to work both as
723 listener and client. Now it creates a listening peer node, and
724 creates a set of TCP client channels for each peer in the mesh.
726 (EndpointAddress must be fixed to not filter out correct inputs).
728 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
730 * PeerChannelListener.cs : do not accept more than one channel
731 which results in lots of listening peer node. Only one is enough.
733 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
735 * DuplexChannelBase.cs : fix wrong loop implementation.
737 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
739 * TcpChannelListener.cs : to avoid creating two or more channels
740 for one remote endpoint, check existing remote endpoints and
741 ignore such connections (it must be handled in different thread
742 fired by ChannelDispatcher loop).
744 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
746 * TcpReplyChannel.cs : make sure to not try to receive request when
747 it is already closed.
749 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
751 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
752 some mannerless clients [*1] do not send EndRecord accordingly, but
753 such channels at listener side should not be kept open. So, close
754 disconnected channels when the listener needs to accept another
756 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
758 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
760 * TcpDuplexSessionChannel.cs :
761 Remove extra NIE overrides.
762 Implement OnAbort() apart from OnClose().
763 For duplex session channel, unlike reply channel, it must acquire
764 TCP connection before OnOpen(), otherwise ChannelDispatcher
765 releases the connection acceptance WaitHandle and the detected
766 live connection may be stolen by another channel acceptor.
768 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
770 * HttpRequestChannel.cs : implement OnAbort().
772 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
774 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
775 * DuplexChannelBase.cs : comment out some extra fields (so far).
776 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
778 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
780 * PeerCustomResolverBindingElement.cs : add some null checks.
782 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
784 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
785 Acquire TcpClient for each request/reply. Now it is fully
786 interoperable with .NET.
788 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
790 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
791 ReplyTo and MessageId (though it is session-less), and it expects
792 EndRecord at weird stage, inconsistent with [MC-NMF]...
793 Now .NET service accepts one mono client request.
795 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
797 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
798 Send and receive unsized message terminator at once.
799 Send EndRecord mutually. Got one .net client request working.
801 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
803 * BinaryMessageEncoder.cs : revert the previous dictionary change.
804 They are indeed used for non-in-band-dictionary messages.
806 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
808 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
809 split out binary frame manager class into separate file.
811 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
813 * TcpReplyChannel.cs : new reply channel implementation.
814 * TcpChannelListener.cs : use above for streamed reply channel.
815 * TcpDuplexSessionChannel.cs : more streaming mode support.
816 * TcpRequestChannel.cs : a couple of updates to get it working
817 with the reply channel above. Still some issues on .NET interop.
819 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
821 * RequestContext.cs : added internal derived class that implements
824 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
826 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
829 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
831 * PeerDuplexChannel.cs: add the registered node itself to peer list.
832 (The messaging must be done as TCP request/reply pattern, so it's
835 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
837 * TcpRequestChannel.cs : new channel file (TCP for request/reply
838 messaging pattern). The messaging part is not working yet.
839 * TcpChannelFactory.cs : support IRequestChannel.
840 * TcpDuplexSessionChannel.cs : add unsized message support.
842 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
844 * HttpRequestChannel.cs, RequestChannelBase.cs :
845 A couple of async members are now implemented in the base class.
846 Ditto for EndpointAddress and Via.
848 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
850 * PeerDuplexChannel.cs : now it implements some of node management
851 functionality and Send operation. The receiver part is not yet.
853 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
855 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
856 timeout to channel constructor. it does not make sense.
858 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
860 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
861 as common interface member, and use binary encoder (not text).
863 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
865 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
867 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
869 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
870 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
871 going to be unified to PeerDuplexChannel. And it is likely that
872 input and output functionalities are to be unified too.
874 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
876 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
877 may have to reuse it for peer transport.
878 * PeerChannelListener.cs : add binding member.
879 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
881 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
883 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
884 PeerChannelFactory.cs : close opened channels at OnClose() as
885 documented. Implement async methods.
886 * PeerChannelListener.cs : removed some NIE overrides.
888 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
890 * DuplexChannelBase.cs : some more async methods.
892 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
894 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
896 * TcpChannelListener.cs : accept multiple channels at a time.
898 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
900 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
901 session strings but output only those new ones in current message.
902 This fixes inconsistent body output in repetitive use of sender.
904 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
906 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
907 operation that does not involve session.
908 Preserve writer session as well as reader session.
909 * MessageHeaders.cs : take name and namespace into consideration
910 when creating a serializer.
912 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
914 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
915 Made required changes for repeated use of message exchanges.
916 Hold binary reader session. The channels use it incrementally.
917 Preambles are handled at Open, and EndRecords are handled at
918 Close, Add session shutdown hook here (not working yet though).
920 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
922 * ChannelListenerBase_1.cs : added cancellation hook here too.
923 HttpChannelListener.cs : use above.
924 Do not allow parallel channel creation (this listener does not
925 allow more than one AcceptChannel().
927 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
929 * ReplyChannelBase.cs, HttpReplyChannel.cs :
930 Add cancellation hook for async TryReceiveRequest.
932 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
934 * HttpChannelListener.cs, HttpListenerManager.cs :
935 slightly improved BuildChannelListener().
936 Implement OnAbort() and differentiate it from OnClose().
938 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
940 * TcpDuplexSessionChannel.cs : remove NIE stubs.
942 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
944 * DuplexChannelBase.cs : simple async delegate calls here too.
946 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
948 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
950 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
952 * HttpReplyChannel.cs : cosometic simplification.
954 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
956 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
957 infinite block in 2.0 profile.
959 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
961 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
962 more careful close to avoid NRE.
964 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
966 * HttpChannelListener.cs : do not Close() more than once (though
967 it is allowed to call it twice, we don't reject it; just ignore).
969 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
971 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
973 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
975 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
976 Temporarily disable HTTP Keep-Alive since it somehow results in
977 wrong reuse of connection (shown as NRE in HttpConnection).
978 Make sure to close RequestContext which was created from it.
979 * HttpRequestContext.cs : simplify.
981 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
983 * HttpChannelListener.cs, TcpChannelListener.cs,
984 ChannelListenerBase_1.cs : put common internal listener base
985 and let it handle those async stuff.
987 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
989 * ReplyChannelBase.cs : fix wrong null delegate check point.
991 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
993 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
994 now implemented as virtual in base class. Remove NIEs in http.
996 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
998 * HttpChannelListener.cs : hack async implementation.
1000 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1002 * HttpListenerManager.cs : oops, extra line removal.
1004 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1006 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1008 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1010 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1011 "ChannelManager" is confusing (there is ChannelManagerBase).
1013 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1015 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1016 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1017 they should be split into separate listener->reply channel lines
1018 (remove "if (HostingEnvironment.IsAspNet)".)
1020 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1022 * CommunicationObject.cs : OnClosed() requires call to base method.
1023 Close() could rather abort the channel, and Abort() does not
1024 always invke OnAbort().
1025 * ChannelBase.cs : add call to base as above.
1027 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1029 * ClientAccessPolicy.cs: Removed
1030 * CrossDomainAccessManager.cs: Removed
1031 * CrossDomainPolicy.cs: Removed
1032 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1033 since this is now done inside the BeginGetResponse call (outside
1034 this assembly) for Moonlight (NET_2_1)
1036 2009-06-04 Alan McGovern <amcgovern@novell.com>
1038 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1039 instead of the sync apis. Prevents a possible deadlock condition in
1042 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1044 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1045 callbacks, so add hacky ones.
1047 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1049 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1050 true when socket input is not available.
1052 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1054 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1055 I cannot precisely identify when EndRecord should be consumed,
1056 so allow it at either at the end of ReadSizedMessage() or on
1057 consuming preamble (it's likely handling EndRecord of previous
1060 Now duplex IPeerResolverContract communication works between
1061 either of .NET/Mono client and .NET/Mono server.
1063 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1065 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1066 code. Handle preamble ack on ReadSizedMessage() only at server.
1067 Consume EndRecord from server, at client side. Though it is likely
1068 changed as it's blocking when mono is at server side.
1070 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1072 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1073 different protocol than existing code with related to preamble ack.
1074 So changed it to work fine with .NET client (finally).
1076 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1078 * MessageBufferImpl.cs : do not output Action twice.
1080 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1082 * MessageBufferImpl.cs : it did not copy headers.
1083 * Message.cs : remove 2_1 conditional implementation for buffered
1084 copy and hence remove bogus code.
1086 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1088 * MessageProperties.cs : copy argument is wrong.
1090 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1092 * PeerCustomResolverBindingElement.cs : some argument check.
1094 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1096 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1097 xml open, so close the writer as well as open elements.
1098 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1099 Do not output EndRecord and SizedMessage at a time.
1101 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1103 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1104 length of the SizedMessage in the output.
1106 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1108 * CommunicationObject.cs : use sane default timeout.
1109 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1110 * TcpDuplexSessionChannel.cs : ditto.
1112 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1114 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1115 only accepts buffered messages, so do as such for write buffers.
1116 Add RelatesTo header.
1118 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1120 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1121 rename from former to latter.
1123 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1125 * TcpDuplexSessionChannel.cs : reader does not always return full
1126 buffer (depending on the stream).
1128 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1130 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1132 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1134 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1137 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1139 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1141 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1143 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1145 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1147 * ChannelManagerBase.cs : fix wrong session channel detection.
1149 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1151 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1152 This encoder factory implements CreateSessionEncoder() and binary
1153 encoder does support session transmit, in different media type.
1154 * ChannelManagerBase.cs : added utility method to create appropriate
1156 * HttpChannelFactory.cs, HttpChannelListener.cs,
1157 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1158 PeerChannelFactory.cs, PeerChannelListener.cs,
1159 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1161 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1163 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1165 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1167 * DuplexSessionBase.cs : new file, for session implementation.
1168 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1169 DuplexSessionChannelBase.cs : changed sync/async implementation
1170 pattern. Now async methods call sync methods using delegates.
1172 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1174 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1175 a few minor API fixes.
1177 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1179 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1181 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1183 * TcpDuplexSessionChannel.cs : add To header.
1185 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1187 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1190 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1192 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1194 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1196 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1197 CommunicationException in each CreateFault().
1199 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1201 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1202 Open(). Some (but not all yet) continuous communication works now.
1203 Use ProtocolException. Remove dummy binary session string.
1205 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1207 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1208 sending/receiving SizedMessageRecord parts to manager class.
1209 Handle writer session, though it is likely broken at dictionary
1210 writer part (no string is written so far).
1211 * BinaryMessageEncoder.cs : add writer session and rename reader
1214 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1216 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1217 is mandatory in initiator preamble packet. Handle Fault reply in
1220 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1222 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1223 based communication under TcpBinaryFrameManager class.
1225 2009-05-13 Jb Evain <jbevain@novell.com>
1227 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1228 from a StringReader.
1230 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1232 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1233 actually eliminate DOM-based implementation too in 2.0.
1235 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1237 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1238 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1239 comments for magic numbers based on [MC-NMF].
1241 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1243 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1244 support for [MC-NBFSE] record in [MC-NMF], in this class.
1246 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1248 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1250 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1252 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1254 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1256 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1258 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1260 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1262 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1264 * BinaryMessageEncoder.cs : use quotas in binding element.
1265 Implement WriteMessage().
1267 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1269 * PeerCustomResolverBindingElement.cs : do initialize field.
1271 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1273 * PeerCustomResolverBindingElement.cs :
1274 implement full custom resolver.
1276 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1278 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1279 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1280 PeerChannelFactory.cs : ongoing p2p channel implementation.
1282 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1284 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1286 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1288 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1289 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1290 implement GetProperty<T>(). Return documented objects or null.
1292 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1294 * PeerChannelFactory.cs, PeerChannelListener.cs,
1295 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1296 PeerInputChannel.cs, PeerOutputChannel.cs :
1297 new; ongoing peer transport implementation.
1298 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1299 MsmqOutputChannel.cs, OutputChannelBase.cs,
1300 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1301 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1302 several internal changes (either required or for simplification)
1303 for ongoing peer transport implementation.
1305 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1307 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1309 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1311 * TcpTransportBindingElement.cs : check build-ability before
1312 actually building channels.
1313 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1314 conditions according to MSDN.
1316 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1318 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1319 handle headers in SL2. Slightly changed 3.0 code too.
1321 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1323 * HttpRequestChannel.cs : use cross domain access manager.
1325 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1327 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1328 message as BodyWriter.
1329 (in GetReaderAtBodyContents) just write body contents.
1330 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1332 Add some state check in GetReaderAtBodyContents().
1333 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1335 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1337 * Message.cs : do not forget to flush.
1338 * HttpRequestChannel.cs : give more exact error info.
1340 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1342 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1343 make buffered copy in ML2 really buffered.
1345 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1347 * Message.cs : if there is no header item to write, do not write
1348 SOAP header element.
1350 2009-01-22 Alan McGovern <amcgovern@novell.com>
1352 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1353 Rewrite to avoid usage of it.
1355 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1357 * ChannelParameterCollection.cs : implement, rather than NIE.
1359 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1361 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1362 internal users to know the type of the detail.
1364 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1366 * Message.c: Use private setter for state private variable to ease debugging.
1367 Modify ToString not to change the state, as it is called quite often by VS debugger
1369 2008-04-21 Roei Erez <roeie@mainsoft.com>
1371 * HttpChannleManager: Fix for multithreaded use.
1372 * HttpReplyChannel: Fix crash during sutdown.
1374 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1376 * HttpChannleManager: ensure trailing slash in uri.
1378 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1380 * added: HttpChannleManager,
1381 * HttpChannelListener: added use of HttpChannelManager
1383 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1385 * MessageEncodingBindingElement.cs: fixed ctor
1387 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1389 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1391 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1393 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1395 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1397 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1399 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1401 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1403 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1405 * BindingElementCollection.cs: fix API - .ctor's signature.
1407 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1409 * XmlSerializerBodyWriter.cs: Removed.
1411 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1413 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1415 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1417 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1418 * TcpChannelFactory.cs, TcpChannelListener.cs :
1419 unify factory and listener into TcpChannelInfo for use in
1420 TCP channel implementation. Do not store stream in the listener.
1421 Factory now uses BinaryMessageEncoder.
1422 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1423 holds TcpClient that the listener has accepted.
1425 tcp-transport-binding-element sample now communicates (though
1426 only when both sides are mono: there seems binary mismatch).
1428 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1430 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1431 clone connection pool settings too.
1432 * NamedPipetransportBindingElement.cs,
1433 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1434 being likely implemented though).
1436 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1438 * ConnectionOrientedTransportBindingElement.cs,
1439 TcpTransportBindingElement.cs : some API updates.
1440 Initialize default values.
1441 * TcpConnectionPoolSettings.cs : new file.
1443 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1445 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1446 added support for "factory" attribute.
1448 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1450 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1452 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1454 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1456 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1458 * HttpRequestChannel.cs : create WebRequest against To message header
1460 Consider HttpRequestMessageProperty.
1461 Do not output body when suppressed or the method is GET.
1463 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1465 * HttpChannelListener.cs : BindingContext may not have listenUri
1466 at its .ctor() step.
1468 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1470 * BindingContext.cs : RemainingBindingElements is not just a dummy
1471 collection but is actually user-controlled.
1473 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1475 * TcpChannelFactory.cs, TcpChannelListener.cs,
1476 HttpChannelFactory.cs, HttpChannelListener.cs,
1477 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1478 TextMessageEncodingBindingElement.cs,
1479 BinaryMessageEncodingBindingElement.cs,
1480 MtomMessageEncodingBindingElement.cs :
1481 message encoder should be retrieved only through public API.
1482 * BindingContext.cs : so my old guess was wrong.
1484 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1486 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1488 * HttpTransportBindingElement.cs : implemented copy constructor.
1490 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1492 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1493 header when AddressingVersion is None.
1495 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1497 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1500 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1502 * OneWayBindingElementImporter.cs
1503 CompositeDuplexBindingElementImporter.cs : new files.
1505 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1507 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1508 semantic change, its bool parameter must be false, not true.
1510 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1512 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1513 new files. Msmq transport listener Implementation.
1514 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1515 (wait for System.Messaging impl.)
1516 * HttpReplyChannel.cs : added comment
1518 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1520 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1521 new files. internal stuff for msmq channel.
1522 * BinaryMessageEncoder.cs : added another .ctor().
1523 * MsmqTransportBindingElement.cs :
1524 implemented [Can]BuildChannelFactory().
1526 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1528 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1529 initialize some fields.
1531 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1533 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1534 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1535 couple of msmq stubs.
1537 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1539 * SecureMessageGenerator.cs : SecurityContextToken support (though
1540 it is still regarded as invalid by WCF).
1542 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1544 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1545 make header.Contents.Add() more strict.
1546 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1548 Added some hack to allow ssl token external mode.
1549 Commented out such lines that always premised asymmtric key.
1551 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1553 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1555 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1557 * MessageSecurityBindingSupport.cs : support check to create
1558 authenticator is now done in both initiator/recipient sides.
1559 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1561 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1563 * MessageSecurityBindingSupport.cs : for now, comment out the code
1564 that makes authenticator creation optional.
1565 * SecurityRequestContext.cs : don't decrypt message when it is
1566 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1568 * SecurityChannelListener.cs : GetProperty<T>() now returns
1569 MessageSecurityBindingSupport when requested. It is used by
1570 EndpointDispatcher to check if it supports WS-Trust negotiation.
1571 * ChannelListenerBase.cs :
1572 removed extra TODO and field. Implemented GetProperty<T>().
1573 * Message.cs : In CreateMessage() for SOAP Fault, create
1574 SimpleMessage with IsFault = true.
1576 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1578 * SecurityRequestContext.cs : try to reply fault with the inner
1579 channel when an error occurred internally.
1580 * FaultConverter.cs : implemented based on OperationContext (at normal
1581 state it does not seem to create messages, so I implemented it this
1584 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1586 * TransportBindingElement.cs : implemented GetProperty<T>().
1587 * TransactionFlowBindingElement.cs : on building factory or listener,
1588 reject channel types that cannot build.
1589 * SecurityBindingElement.cs : added some TODO comments.
1590 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1591 delegate to base, not BindingContext.
1592 * SecurityRequestContext.cs : somewhat late decryption.
1594 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1596 * MessageSecurityBindingSupport.cs,
1597 AsymmetricSecurityBindingElement.cs,
1598 SymmetricSecurityBindingElement.cs :
1599 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1600 implemented ISecurityCapabilities on them. Now those binding
1601 elements support GetProperty<ISecurityCapabilities>().
1603 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1605 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1606 will work only for predefined parameter types.
1608 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1610 * MessageSecurityBindingSupport.cs :
1611 Set proper MessageDirection to the requirement after creation.
1612 split CreateTokenAuthenticator() as MessageDirection is different.
1613 Removed extra creation of requirement.
1615 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1617 * MessageSecurityBindingSupport.cs : token authenticator is not
1618 always created on channel-opening stage.
1619 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1620 Sslnego binding factory method.
1622 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1624 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1625 signature velification failure.
1627 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1629 * SecureMessageGenerator.cs : encrypt signature confirmations only
1630 when they are required.
1632 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1634 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1635 when [Signature Protection is true i.e. when we use
1636 SignBeforeEncryptAndEncryptSignature.
1638 With this change finally samplesvc.cs/samplecli.cs became
1641 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1643 * SecureMessageDecryptor.cs : signature verification was not done
1644 for endorsing supporting tokens.
1645 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1646 in the security header. Don't output empty ReferenceList.
1648 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1650 * SecureMessageGenerator.cs : signingToken was added before being
1651 initialized and thus caused NRE.
1653 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1655 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1656 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1657 don't need workaround for symmetric key restoration.
1659 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1661 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1662 SecureMessageGenerator.cs :
1663 Avoid extra reference search from the request's ReferenceList.
1664 create HMACSHA1 always with the key to compute hash (I'm not sure
1665 it is correct; it is rather to adjust all hash consistent.)
1667 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1669 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1670 actually endorsed the primary signature.
1671 * SecureMessageGenerator.cs : implemented endorsing of the primary
1672 signature. So, now supporting tokens are fully implemented.
1674 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1676 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1677 totally signing tokens.
1678 * SecureMessageGenerator.cs : Endorsing tokens should also be
1679 included in the message. They are just not signed.
1681 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1683 * SecureMessageGenerator.cs : support signing and encryption of
1684 supporting tokens. Some required refactory to do it.
1685 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1687 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1689 * SecureMessageDecryptor.cs : fix exception message.
1690 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1691 XmlNamespaceManager is not required for GetIdElement().
1693 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1695 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1696 moved decryption part from former file to latter file, to reuse
1697 SignedXml instance (though now I doubt how it actually was good)
1698 which in turn required to replace EncryptedData in
1699 WSSecurityMessageHeader with decrypted one.
1700 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1702 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1704 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1705 EncryptedData should contain KeyInfo as it is not obvious which key
1706 is used there. .net<->mono DerivedKeyToken introp is done.
1707 * SecureMessageDecryptor.cs : check derived key requirement.
1708 Reduce dom-dependent parts.
1710 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1712 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1713 the related DerivedKeyToken (if any).
1714 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1715 support. Some refactoring to distinguish deried-token-related
1717 * SecureMessageDecryptor.cs : removed its own support for derived
1718 key tokens. Now it fully works with DerivedKeySecurityToken.
1720 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1722 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1723 SecureMessageDecryptor.cs :
1724 Implemented increment token reading in o:Security, as
1725 DerivedKeyToken could reference to existing wrapped key.
1726 Removed WsscDerivedKeyToken and all relevant code.
1727 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1728 DerivedKeySecurityToken.
1730 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1732 * SecureMessageGenerator.cs : it was setting security tokens into
1733 incorrect SecurityMessageProperty.
1734 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1735 Now it uses SecurityRequestContext instead of just primary key.
1736 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1737 to symmetric reply decryption, which is the only trouble case.
1738 Do not create another SignedXml.
1739 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1741 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1743 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1744 the resolver works with in-progress token reading in o:Security.
1745 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1746 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1747 * SecureMessageGenerator.cs : cosmetic refactoring.
1749 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1751 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1752 instead of EncryptedKey.
1754 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1756 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1757 should not be always prepared at channel Open(). It also caused
1758 that extra token requirements.
1759 * SecureMessageGenerator.cs : use correct key clause for encryption.
1760 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1762 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1764 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1765 for supporting 'supporting tokens' .
1766 * SecureMessageGenerator.cs : Supporting token creation is done only
1767 at initiator (not sure if it is supposed that, but for now it is).
1768 Removed extraneous CollectSupportingTokens().
1769 * SecureMessageDecryptor.cs : implemented supporting token
1770 authentication (partly). "Signed" supporting tokens are expected
1773 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1775 * SecureMessageGenerator.cs :
1776 make SignBeforeEncryptAndEncryptSignature working.
1778 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1780 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1781 the key itself. ProtectionToken is WrappedKey.
1782 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1783 not EncryptedKeyIdentifierClause which is not for embedded key.
1784 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1786 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1788 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1789 to switch asymmetric and symmetric. Not used yet.
1790 * SecurityRequestChannel.cs : now it pass the request security
1791 property to reply receiver so that it could use the primary key
1792 used at request phase.
1793 * SecurityRequestContext.cs : now it pass the context itself to
1794 reply sender so that it could embed related MessageID.
1795 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1796 binding element. Add RelatesTo output and remove MessageID when
1797 replying to the sender. Added some hacks to get symmetric binding
1799 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1800 in SecurityTokenReference (it also involved existing encrypted key
1801 retrieval). In reply receiver, reuse the key that was used at
1802 request phase. It needs significant token resolution refactoring.
1804 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1806 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1807 * SecureMessageDecryptor.cs : store token and its authentication
1808 policies into the security property, and reuse it on reply.
1809 Some code refactoring; there is at most one o:Security to solve at
1810 one endpoint (depends on Actor). Some attempt to use correct
1811 token parameters (but for now I have only samples that use x509).
1812 * SecureMessageGenerator.cs : For replying message, use initiator's
1813 signing token as the encryption token. Simply reuse security
1814 property from the input message.
1816 I have some nasty workaround at decryptor for initiator that could
1817 not retrieve decryption key.
1819 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1821 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1822 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1823 several refactoring on token acquisition. Large part of
1824 MessageSecurityBindingSupport code is unified.
1826 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1828 * MessageProperties.cs : Security property should be one of the items.
1829 Actually many other properties should be similar as well.
1830 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1831 when copying a message, copy properties as well.
1832 * SecurityRequestContext.cs : on replying, pass input
1833 SecurityMessageProperty to the security generator.
1834 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1836 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1838 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1841 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1842 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
1843 use new WSSignedXml instead of SignedXml, and remove coexisting
1844 Id and wsu:Id. Now we can live only with wsu:Id and therefore
1845 - our reply messages could be consumed by .NET, and
1846 - .NET signature could be verified.
1848 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1850 * SecureMessageDecryptor.cs : The signing key must be passed as
1851 CheckSignature() argument, not SigningKey.
1853 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1855 * MessageImpl.cs : don't read attribute after ReadStartElement().
1857 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1859 * MessageSecurityBindingSupport.cs : some Release() refactoring.
1860 * SecureMessageGenerator.cs : use correct signing key clause for
1861 SecurityTokenReferenceKeyInfo to be serialized.
1862 * SecureMessageDecryptor.cs : now it can try to parse signature.
1864 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1866 Ongoing changes to support signature confirmation
1867 * SecureMessageGenerator.cs :
1868 Don't output ReplyTo onto reply message.
1869 Write SignatureConfirmation if needed.
1870 * SecureMessageDecryptor.cs :
1871 Some refactoring for header cunsumption. Added commented-out
1872 signature verification part (not working yet, on client side due
1873 to incorrect reply from service and insufficient clause reader).
1874 * WSSecurityMessageHeader.cs :
1875 Added SignatureConfirmation support.
1876 KeyInfoClause for o:SecurityTokenReference should be replaced with
1877 SecurityTokenReferenceKeyInfo.
1879 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1881 * SecureMessageGenerator.cs : support Timestamp signature.
1882 Removed unused code, and extra argument in CreateReference().
1883 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
1885 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1887 * SecureMessageGenerator.cs :
1888 Several fixes to make asymmetric binding working:
1889 - Differentiate signing and encryption token in several areas.
1890 - Fixed signing keyinfo.
1892 Added initial SecurityMessageProperty handling, not sure if it is
1893 appropriate here though.
1894 * HttpRequestChannel.cs : (some debugging lines)
1896 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1898 Woohoo! Here is a very basic WS-Security compliant message which could
1899 be allowed by Indigo.
1900 * MessageHeader.cs : added Id support for writing.
1901 * Message.cs : added internal BodyId for signature reference.
1902 * MessageImpl.cs : write Body Id if required.
1903 * SecureMessageGenerator.cs : Before signing, the target elements must
1904 be given wsu:Id. Since I still use System.Security.dll, I need some
1905 trick for signing (I give both Id and wsu:Id, former to sign and
1906 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
1907 implementation later. Now singning mechanism works except for
1908 wsu:Timestamp (which is kind of mandatory).
1910 I can's still consume replies from Indigo but it's a big progress :)
1912 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1914 * MessageHeaderInfo.cs : added internal Id.
1915 * MessageHeader.cs : read and write wsu:Id.
1916 * Message.cs : output wsu namespace if Id exists in any header.
1917 * HttpReplyChannel.cs : (some debugging lines.)
1918 * SecureMessageDecryptor.cs : (remove debugging lines.)
1919 * MessageImpl.cs : removed obsolete code.
1920 * WSSecurityMessageHeader.cs : output "o" prefix.
1921 * SecureMessageGenerator.cs : replaced XmlElement-based header
1922 signing with MessageHeader-based signing, to support Id correctly.
1924 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
1926 * SecureMessageGenerator.cs : some more refactoring and code comments.
1927 * MessageSecurityUtility.cs : made decryptor into an instance class,
1928 like I've done for SecureMessageGenerator.
1929 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
1930 dependent changes for above.
1932 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1934 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
1935 causing NRE due to the lack of token reference.
1936 No need to pass doc to SignedXml.ctor() anymore.
1937 Moved ReferenceList before the signature(s).
1939 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1941 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
1942 Moved signing key generation code to non-HMACSHA1 signing part.
1943 Don't try to sign wss:Security.
1944 Pass document itself to SignedXml.ctor().
1945 Use temporary DataObjects to avoid adding Ids (not sure what is the
1946 expected processing yet).
1947 * WSSecurityMessageHeader.cs : to support timestamp signing, add
1948 WriteTo() method in WsuTimestamp.
1950 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1952 * SecureMessageGenerator.cs : wrong key was used for signing.
1953 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
1955 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1957 * SecureMessageGenerator.cs :
1958 Now ID generation process does not modify input message.
1959 Moved derived key generation part into (virtual) signing loop.
1960 MessagePartSpecification support for signing is done.
1962 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1964 * SecureMessageGenerator.cs : some reordering to handle signing and
1965 encryption with supporting tokens. Fixed XPath query bug for
1966 soap header contents (we want s:Header/*, not s:Header).
1968 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1970 * MessageSecurityBindingSupport.cs : more refactoring.
1971 Made it abstract and added Initiator- and Recipient- classes.
1972 Several members were moved to those derived types.
1973 * AsymmetricSecurityBindingElement.cs,
1974 SymmetricSecurityBindingElement.cs
1975 SecurityChannelFactory.cs, SecurityChannelListener.cs,
1976 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
1977 SecurityRequestContext.cs, SecureMessageGenerator.cs :
1978 All dependent changes by above. Removed ISecurityChannelSource
1979 which became useless.
1981 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1983 * SecureMessageGenerator.cs : encryption parts should exist too.
1984 * AsymmetricSecurityBindingElement.cs
1985 SymmetricSecurityBindingElement.cs,
1986 MessageSecurityBindingSupport.cs : some refactoring.
1987 Split MessageSecurityBindingSupport into security binding element
1988 specific parts and made MessageSecurityBindingSupport concrete.
1989 It is likely split again, next time based on initiator/recipient.
1991 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1993 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
1994 split encryptor part in the former file into latter file, and
1996 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
1997 SecurityRequestContext.cs : apply the change above.
1999 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2001 * MessageSecurityBindingSupport.cs :
2002 Fixed incorrect TrgGetValue() use.
2003 Added CollectRecipientSupportingTokens().
2005 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2007 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2008 EncryptedKey. So, when a key itself is used to encrypt data,
2009 ReferenceList is contained by itself.
2010 * MessageSecurityBindingSupport.cs :
2011 added CollectInitiatorSupportingTokens().
2013 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2015 * MessageSecurityUtility.cs: it should support ReferenceList-less
2018 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2020 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2021 * MessageSecurityUtility.cs : there already was uuid.
2023 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2025 * MessageSecurityUtility.cs : replaced EncryptedKey with
2026 WrappedKeySecurityToken, which seems to be in actual use in .net.
2027 * WSSecurityMessageHeader.cs : added internal Guid so that it
2028 could be shared between header items.
2030 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2032 * HttpRequestContext.cs, TextMessageEncoder.cs :
2033 some null arg check.
2035 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2037 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2038 for SecurityTokenReference resolution.
2040 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2042 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2043 consider DerivedKeyTokens correctly.
2044 When creating LocalId, don't add '#' here.
2046 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2048 * MessageSecurityUtility.cs :
2049 handle key mapping for each wsse:Security.
2051 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2053 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2055 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2057 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2059 * MessageSecurityUtility.cs :
2060 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2061 suggests, and it is used to dereference decryption targets.
2062 Now it premises multiple wsse:Security elements to read.
2064 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2066 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2067 manually (and actually the namespace URI was wrong).
2069 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2071 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2073 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2075 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2077 * SecurityBindingElement.cs,
2078 SymmetricSecurityBindingElement.cs,
2079 AsymmetricSecurityBindingElement.cs :
2080 implemented SetKeyDerivation().
2082 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2084 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2087 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2089 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2092 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2094 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2095 thus move it in front of encryption/signing.
2097 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2099 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2100 check state by themselves (btw it's not really working).
2101 * HttpChannelListener.cs : If the url does not end with '/' add it
2102 so that it could be fed to HttpListener.
2104 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2106 * HttpChannelFactory.cs : check scheme on CreateChannel.
2107 * MessageHeader.cs : finish IsMessageVersionSupported().
2109 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2111 * FaultConverter.cs : new file, not used yet though.
2113 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2115 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2117 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2119 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2120 GET as well as HttpReplyChannel, configuration would be ready now.
2122 2006-10-18 Ankit Jain <jankit@novell.com>
2124 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2125 EnvelopeVersion.Soap12 and 'text/xml' for others.
2126 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2128 Strip '?' from the query string.
2130 2006-10-13 Ankit Jain <jankit@novell.com>
2132 * MessageVersion.cs (None): Set AddressingVersion.None
2134 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2136 * SvcHttpHandler.cs : added config-based endpoint addition code.
2137 Though due to some weird bug in mono-core it does not seem to work,
2138 so commented out for now.
2139 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2140 mex request message might just be wrong.
2141 Use expected MessageVersion by the channel.
2142 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2144 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2146 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2147 which differs depending on whether it is asymmetric or symmetric.
2148 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2149 simplify SecureMessage() and DecryptMessage() arguments (just
2150 take MessageSecurityBindingSupport instead of several parameters).
2151 * MessageSecurityUtility.cs :
2152 - simplify SecureMessage() and DecryptMessage() arguments (just
2153 take MessageSecurityBindingSupport instead of several parameters).
2154 - Take token inclusion mode into account. Don't include them when
2155 it is not expected. Also, change the token reference style.
2156 - add wsa:MessageID to the headers.
2157 - For hmac-sha1 signing (default for symmetric binding), use
2158 symmetric key created for encryption as well to create HMACSHA1.
2159 - add Id to wsu:Timestamp.
2160 - start to handle SecurityMessageProperty.
2161 * WSSecurityMessageHeader.cs :
2162 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2163 Changed date format.
2165 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2167 * CommunicationObject.cs : reject faulted state on Open()/Close().
2168 * MessageHeaders.cs : removed extra fields.
2170 2006-10-06 Ankit Jain <jankit@novell.com>
2172 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2174 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2176 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2177 added some FIXMEs and additional arg.
2179 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2181 * MessageSecurityUtility.cs : remove duplicate Action header.
2183 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2185 * MessageFault.cs : partly implemented CreateFault(Message, int).
2186 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2187 handle IsFault correctly in each implementation.
2189 2006-10-04 Ankit Jain <jankit@novell.com>
2191 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2193 2006-10-04 Ankit Jain <jankit@novell.com>
2195 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2196 in WebConnectionStream.
2198 2006-10-04 Ankit Jain <jankit@novell.com>
2200 * MessageHeaders.cs (To): Use GetHeader<string> till
2201 DataContractSerializer gets ISerializable support.
2202 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2204 2006-10-04 Ankit Jain <jankit@novell.com>
2206 * ServiceHostParser.cs (Parse):
2207 (Split): Add some error checks.
2209 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2211 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2212 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2213 * SslStreamSecurityUpgradeProvider.cs,
2214 SslStreamSecurityUpgradeAcceptor.cs :
2215 new files for Ssl upgrade provider implementation.
2216 * MessageSecurityUtility.cs :
2217 Create proper C14NTransform. Don't use enveloped signature
2218 transform but sign every significant bits. On securing messages
2219 use ChannelProtectionRequirements.
2220 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2222 * MessageEncoder.cs : fix API (missing constraint).
2223 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2224 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2225 * AsymmetricSecurityBindingElement.cs : default protection order is
2226 SignBeforeEncryptAndEncryptSignature.
2228 2006-09-29 Ankit Jain <jankit@novell.com>
2230 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2231 ServicHostParser and use that here.
2232 (PrivateBinPath): New.
2233 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2234 (RemovedCallback): Remove and close the SvcHttpHandler when its
2235 corresponding file (.svc) changes.
2236 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2238 * ServiceHostParser.cs : New.
2239 * CachingCompiler.cs : New. Code extracted from
2240 System.Web.Compilation.CachingCompiler
2241 * CompilationException.cs : New. From System.Web.Compilation
2242 * HtmlizedException.cs : New. Likewise.
2244 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2246 * MessageSecurityBindingSupport.cs : For client side, it is always
2247 InitiatorServiceModelSecurityTokenRequirement which should be
2248 created. Fixed wrong client encryption key acquisition.
2250 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2252 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2253 MessageSecurityBindingSupport.cs : made similar changes as factories
2254 to listener so that session channels and input channels would work.
2255 Added authenticator creation.
2257 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2259 * Binding.cs : added missing members.
2261 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2263 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2264 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2265 reduce code duplication between request and output channels.
2266 The common parts are now in MessageSecurityBindingSupport.
2267 Now reduced several arguments in SecureMessage() for client.
2269 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2271 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2273 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2275 * AsymmetricSecurityBindingElement.cs,
2276 SecurityChannelListener.cs,
2277 SecurityRequestContext.cs,
2278 SymmetricSecurityBindingElement.cs,
2279 SecurityRequestChannel.cs,
2280 SecurityOutputChannel.cs,
2281 SecurityChannelFactory.cs,
2282 MessageSecurityBindingSupport.cs : 1) Refactoring.
2283 IMessageSecurityBindingSupport now becomes a class and contains
2284 all the members which resided in ISecurityChannelSource.
2285 Now it takes more constructor params.
2286 Made dependent changes on all sources above.
2288 2) Added SecurityTokenAuthenticator creation in
2289 SecurityRequestChannel (SecurityOutputChannel should do the same).
2291 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2293 * SecurityRequestChannel.cs : ongoing improvements on conditional
2294 key creation. Actually there must be some part that creates an
2295 authenticator (WinFX does that).
2297 2006-09-27 Ankit Jain <jankit@novell.com>
2299 Add suport for handling .svc files.
2300 * SvcHttpHandlerFactory.cs: New.
2301 * SvcHttpHandler.cs: New.
2303 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2304 asp.net environment.
2305 (OnOpen): Do nothing in asp.net environment.
2306 (OnClose): Likewise.
2307 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2308 * HttpRequestContext.cs: .. here.
2310 * AspNetReplyChannel.cs: New.
2311 * AspNetRequestContext.cs: New.
2313 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2315 * MessageSecurityUtility.cs :
2316 Significantly rewritten decryption parts to respect ReferenceList
2317 to decrypt (so no workaround anymore).
2318 Now e:ReferenceList inside o:Security is treated as the referenced
2319 EncryptedType items are encrypted by 1) the derived key which is
2320 immediately in front of it, or 2) the default key (it is according
2321 to WS-SecureConversation section 9.1). Thus removed immediately
2322 previous hack to auto-fill wsu:Id attributes.
2324 On securing a message, generate correct Id and add DataReference
2325 to ReferenceList properly.
2327 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2329 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2332 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2334 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2335 Actually WSSecurityTokenSerializer should be able to consume it, but after
2336 spending a lot of time I still cannot successfully read it on WinFX.
2337 Skip ReferenceList for now.
2338 * MessageSecurityUtility.cs :
2339 Replaced some string literals with constants.
2340 Added some workaround for DerivedKeyToken retrieval.
2341 WinFX somehow sends incomplete ISO10126 padding which contains
2342 bigger number than the key size and is rejected by EncryptedXml,
2343 so added DecryptLax() which processes such ones in PaddingMode.None
2344 to workaround it (only for cross-connection between mono and winfx).
2345 Added some incomplete implicit wsu:Id processing.
2346 Don't try to replace SignedXml with EncryptedData. It is not added
2347 to the document tree.
2349 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2351 * MessageSecurityUtility.cs : support message signature encryption. Some
2354 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2356 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2358 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2360 * MessageSecurityUtility.cs : fix warnings.
2362 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2364 * MessageSecurityUtility.cs : actually there would be more than one
2365 EncryptedData. Decrypt all.
2367 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2369 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2370 Use ISO10126 padding mode (it is not required but in manner).
2372 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2374 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2375 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2376 that class to make it work fine with mono client).
2377 Removed buggy lines that reset decryption key to AES.
2378 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2379 * WSSecurityMessageHeader.cs :
2380 (SecurityTokenReferenceKeyInfo) support LoadXml.
2382 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2384 * TransactionMessageProperty.cs : new file.
2386 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2388 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2389 gmcs happened to report wrong code.
2391 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2393 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2394 .ctor() now requires ChannelProtectionRequirements which will be
2395 supplied via BindingParameterCollection.
2396 * SymmetricSecurityBindingElement.cs,
2397 AsymmetricSecurityBindingElement.cs : thus add
2398 ChannelProtectionRequirement parameter to factory/listener.
2399 * SecurityRequestChannel.cs : use recipient token requirement to
2400 create an encryption token. Thus differentiate the logic from
2401 signing (initiator) token.
2403 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2405 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2406 renamed former to latter.
2407 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2410 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2412 * MessageSecurityBindingSupport.cs : new internal types to commonize
2413 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2414 and thus make internal factory and listener reusable.
2415 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2416 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2417 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2418 SymmetricSecurityBindingElement, using the new types above.
2419 * SymmetricSecurityBindingElement.cs :
2420 Use SymmetricMessageSecurityBindingSupport.
2421 * AsymmetricSecurityBindingElement.cs :
2422 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2424 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2426 * ChannelFactoryBase.cs : more RC1 update.
2428 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2430 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2431 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2432 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2433 ChannelBase.cs : RC1 API updates.
2434 * MessageImpl.cs : implemented Properties.
2435 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2437 2006-09-18 Ankit Jain <jankit@novell.com>
2439 * MessageHeaders.cs (MessageId):
2440 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2442 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2444 * ChannelParameterCollection.cs : new file.
2445 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2446 new files for IOutputChannel implementation.
2447 * OneWayBindingElement.cs : hacky implementation.
2448 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2449 * MessageSecurityUtility.cs : now create identifier from the security
2450 token and the token parameters which is added as an argument.
2451 * SecurityRequestContext.cs,
2452 SecurityRequestChannel.cs : SecureMessage() argument changes.
2453 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2456 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2458 * HttpRequestChannel.cs : close the HttpWebRequest.
2460 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2462 * HttpRequestChannel.cs,
2463 HttpChannelFactory.cs : implement async request/reply.
2464 * HttpChannelFactory.cs :
2465 verify factory state when creating a channel.
2467 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2469 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2470 BinaryMessageEncoder.cs : added message version mismatch check.
2472 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2474 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2475 Making incomplete changes to handle different tokens for encryption
2477 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2478 split channel implementation classes out to the latter file.
2479 * MessageSecurityUtility.cs : seems like there is
2480 TimeStampValidityDuration property, so use it (incomplete; a server
2481 needs another love).
2483 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2485 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2486 SecurityRequestContext.cs : now that we have key identifier clause
2487 and working ResolveKeyIdentifierClause(), just create keys inside
2488 SecureMessage(). Add KeyInfo to the xmldsig.
2490 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2492 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2493 pass SecurityKeyIdentifierClause to SecureMessage().
2494 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2495 for IssuedToken binding element.
2496 * SymmetricSecurityChannelListener.cs : removed hack to just create
2497 X509 security token, and implemented correct token creation.
2498 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2499 wraps SecurityTokenReference element.
2500 * MessageSecurityUtility.cs : use the above.
2502 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2504 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2505 could not find a security header.
2506 * SymmetricSecurityChannelFactory.cs : now it also supports
2507 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2510 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2512 * SecurityRequestContext.cs : moved securing message part to
2513 MessageSecurityUtility.cs.
2514 * MessageSecurityUtility.cs : the change above.
2515 use DateTime.Now for timestamp basis. Don't append signature to
2516 the document. Instead it is added to the header. Capture body
2517 content instead of the body itself.
2518 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2519 be processed by upper layers.
2521 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2523 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2524 SymmetricSecurityChannelListener.cs,
2525 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2526 more refactoring. Request serialization became much more conformant
2527 and add required header items.
2528 Security Token retrieval is needed to send it in the request.
2529 Fixed wrong key encryption.
2531 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2533 * SecurityRequestContext.cs : the workaround was not functional.
2535 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2537 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2538 API, especially ReplaceData(), instead of native crypto stuff.
2539 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2540 MessageProtectionOrder.SignBeforeEncrypt).
2542 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2544 * SecurityRequestContext.cs : label should be combined of both
2545 the client's and the server's.
2547 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2549 * SecurityRequestContext.cs : enable key derivation (though for now
2550 GenerateDerivedKey() is unimplemented). Create meaningful,
2551 decrypted request message to be consumed by the upper layer.
2553 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2555 * SecurityRequestContext.cs : implement Close() and Reply().
2556 ongoing implementation of Reply(TimeSpan).
2557 * MessageSecurityUtility.cs : new file to collect utility methods.
2558 * SymmetricSecurityChannelFactory.cs : moved securing message code
2560 * SymmetricSecurityChannelListener.cs : tiny renaming.
2562 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2564 * SecurityRequestContext.cs : security header is also stored.
2566 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2569 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2571 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2574 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2576 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2577 so that it retrieves the security key in that manner.
2579 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2581 * Binding.cs : MessageVersion is null when there is no
2582 MessageEncodingBindingElement.
2583 * Message.cs : null arg check.
2585 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2587 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2589 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2591 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2592 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2593 LayeredRequestChannel.cs : some refactoring.
2594 * SymmetricSecurityChannelFactory.cs :
2595 ongoing secure message creation implementation.
2597 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2599 * SymmetricSecurityBindingElement.cs :
2600 pass specific ServiceCredentialsSecurityTokenManager type to
2601 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2602 * SymmetricSecurityChannelListener.cs :
2603 get service certificate. It's a temporary hack.
2604 Move RequestContext code to below.
2605 * SecurityRequestContext.cs : new file.
2606 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2607 it I have to finish decryption of the incoming message.
2609 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2611 * MessageImpl.cs : don't write attributes on the first body content
2612 element *on soap Body element*.
2613 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2614 ObjectDisposedException is appropriate.
2615 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2616 in OnWriteHeader*Contents*().
2618 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2620 * WSSecurityMessageHeader.cs : new file.
2621 * SymmetricSecurityChannelFactory.cs :
2622 moved WSSecurityHeader and related types to the above.
2623 * SymmetricSecurityChannelListener.cs :
2624 reject SOAP-env-less message.
2626 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2628 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2629 renamed former to latter.
2630 * SymmetricSecurityChannelFactory.cs :
2631 create requirements every time. It is also likely that I need
2632 another requirement instance to get service credentials here.
2634 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2636 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2637 similar to BuildChannelFactory() (set credentials, issuer binding
2639 * SecurityChannelListener.cs :
2640 more ongoing security support implementation.
2641 * SymmetricSecurityChannelFactory.cs :
2642 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2644 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2646 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2647 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2648 Implementation is underway.
2649 * LayeredReplyChannel.cs :
2650 like LayeredRequestChannel, use ChannelListenerBase to provide
2653 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2655 * MessageHeader.cs : added another implementation type that uses
2656 XmlElement, for buffering purpose.
2657 * MessageImpl.cs : Header item types are user-driven by
2658 MessageHeader.GetHeader<T>(int), so at storing phase just store
2659 nodes as XmlElement.
2660 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2663 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2665 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2666 BindingParameterCollection, not from binding element properties.
2668 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2670 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2671 renamed former to latter.
2673 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2675 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2676 work for SslSecurityTokenParameters.
2678 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2680 * SecurityBindingElement.cs :
2681 Added SetIssuerBindingContextIfRequired().
2682 * SecurityChannelFactory.cs :
2683 Changed .ctor() arg again, just to receive binding element.
2684 * SymmetricSecurityBindingElement.cs :
2685 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2686 SymmetricSecurityChannelFactory .ctor() arg changes.
2687 "ProtectionTokenParameters" is not passed now.
2689 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2691 * SymmetricSecurityBindingElement.cs : requirements should be
2692 filled at InitializeSecurityTokenParameters as long as possible.
2693 SymmetricSecurityChannelFactory<T> now does not receive
2694 requirements (it now creates one inside it) at .ctor().
2695 * SecurityChannelFactory.cs : remove requirement argument.
2697 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2699 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2701 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2703 * SymmetricSecurityBindingElement.cs :
2704 MessageSecurityVersion property is of type SecurityTokenVersion.
2705 * SecurityBindingElement.cs :
2706 Implemented CreateSecureConversationBindingElement().
2707 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2708 the argument IssuedSecurityTokenParameters itself.
2710 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2712 * SymmetricSecurityBindingElement.cs :
2713 CreateSecurityTokenManager() can be directly used now.
2714 Use CallInitializeSecurityTokenRequirement() to fill requirement
2717 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2719 * ChannelFactoryBase.cs : GetProperty() is virtual.
2721 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2723 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2724 create token manager, token parameters and token requirements,
2725 and fill some requirements.
2726 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2727 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2728 * BindingContext.cs : implemented RemainingBindingElements.
2729 kill "no remaining binding element" error in GetInnerProperty()
2730 * SecurityChannelFactory.cs : now it became
2731 SymmetricSecurityChannelFactory, thus soon to be renamed.
2732 Several ongoing actual security resolution is on.
2734 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2736 * CommunicationObject.cs :
2737 add GetCommunicationObjectType() and use it.
2738 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2739 use ThrowIfDisposedOrNotOpen().
2740 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2741 to CommunicationObject. Make it IDisposable.
2742 * LayeredRequestChannel.cs : use above.
2743 * SecurityChannelFactory.cs : removed state check as it is done at
2746 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2748 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2749 CanBuildChannelListener) directly dispatch to BindingContext.
2750 * SymmetricSecurityBindingElement.cs : require protection token
2751 parameters before building a channel or a listener.
2752 * ChannelFactoryBase.cs : raise an error when a channel is being
2753 created without opening the factory.
2754 * ChannelListenerBase_1.cs : ditto for the listener.
2755 * SecurityChannelFactory.cs : before sending a request, it must be
2758 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2760 * MessageBufferImpl.cs : initialize fields.
2761 workaround BufferSize just to return 0.
2762 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2763 which does not support multi time write.
2764 * Message.cs : implemented State.
2766 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2768 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2769 is consuming XmlReader.
2770 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2771 * MessageBuffer.cs : implemented CreateNavigator().
2772 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2774 I kinda know that MS heavily depends on binary XmlReader and may have
2775 XPathNavigator implementation based on the binary stuff, but at
2776 least for now we have almost no motivation to mimick it.
2778 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2780 * SecurityChannelFactory.cs : a bit more of security header code.
2782 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2784 * SymmetricSecurityBindingElement.cs :
2785 set default MessageProtectionOrder in every construction.
2787 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2789 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2790 changed to require ChannelFactoryBase to support default timeout.
2791 Made some methods non-virtual. Preparing code to add security
2792 headers (empty yet).
2793 * SecurityBindingElement.cs : implemented several factory methods
2794 that return SymmetricSecurityBindingElement.
2796 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2798 * IStreamUpgradeBindingElement.cs,
2799 StreamUpgradeBindingElement.cs : renamed from former to latter.
2801 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2803 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2805 2006-07-31 Ankit Jain <jankit@novell.com>
2807 * MessageHeaders.cs (From): Use Constants.WSA1
2808 (MessageId): Implement the same pattern as other properties (From etc).
2810 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2812 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2813 * SecurityBindingElement.cs : some cosmetic changes.
2815 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2817 * SecurityBindingElement.cs : LocalClientSettings and
2818 LocalServiceSettings returns an instance for each.
2819 * LocalClientSecuritySettings.cs : initialized fields.
2821 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2823 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2824 kinda implemented Clone() just with MemberwiseClone().
2826 2006-07-27 Ankit Jain <jankit@novell.com>
2828 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2829 * MessageHeader.cs (knownTypes): New. Known type array containing
2831 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2833 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2835 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2836 LayeredCommunicationObject.cs,
2837 SecurityChannelFactory.cs, SecurityChannelListener.cs :
2838 new files to support security channels, though right now they
2839 just pass inner channels through.
2840 * SymmetricSecurityBindingElement.cs : use above.
2842 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2844 * AsymmetricSecurityBindingElement.cs,
2845 SymmetricSecurityBindingElement.cs :
2846 Default SecurityTokenParameters is null.
2848 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2850 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
2852 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2854 * Message.cs : When EnvelopeVersion is None, don't write SOAP
2856 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
2857 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
2858 headers. When AddressingVersion is None, don't output addressing
2859 headers as well, except for Action which is still needed by
2862 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2864 * MessageHeaders.cs : changed specific properties to find it from
2865 headers as Action property does (local variables won't be set by
2866 setter). Cache serializers. Check null serializer arguments.
2867 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
2869 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
2871 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
2872 use XmlObjectSerializer (since it is not data contract type).
2874 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2876 * MessageImpl.cs : Improved ReadHeaders().
2877 For certain header items, use EndpointAddress.ReadFrom().
2879 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2881 * AsymmetricSecurityBindingElement.cs :
2882 it is not ISecurityCapabilities anymore.
2884 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2886 * MessageVersion.cs : added None.
2888 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
2890 * Message.cs : GetReaderAtBodyContents() implementation using
2893 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
2895 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
2896 used MessageVersion.Default.
2898 2006-07-12 Duncan Mak <duncan@novell.com>
2900 * MessageBuffer.cs (MessageContentType): Return
2901 "application/soap+msbin1".
2903 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
2904 (SimpleMessage.OnCreateBufferedCopy):
2905 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
2906 MessageBuffer implementations.
2908 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
2909 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
2910 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
2912 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
2914 * MessageImpl.cs : Action should be added in request messages. Omit
2915 it only in reply message, thus moved to dispatcher logic.
2917 2006-07-12 Ankit Jain <jankit@novell.com>
2919 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
2920 bug in WebConnectionStream.
2921 * MessageHeaders.cs (MessageHeaders.From):
2922 (MessageHeaders.ReplyTo):
2923 (MessageHeaders.To): Add the corresponding MessageHeader on set.
2925 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
2927 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
2928 add SOAP Action to the response at any time.
2930 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
2932 * SymmetricSecurityBindingElement.cs,
2933 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
2934 Implemented .ctor() and some properties.
2936 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
2938 * TransactionFlowBindingElement.cs : new file.
2939 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
2941 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
2944 DefaultAction vanished. CreateFault() now takes bufferSize arg.
2945 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
2946 * AddressingVersion.cs : added None. Equals() and GetHashCode()
2947 vanished (there is anyways no way to instantiate this type).
2948 * MessageVersion.cs : added Soap11 and Soap12.
2949 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
2950 in June CTP. goodie.
2952 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2954 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
2955 removed some vanished CreateMessage() overloads.
2957 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2959 * CustomBinding.cs, HttpsTransportBindingElement.cs,
2960 HttpTransportBindingElement.cs :
2961 They are not ISecurityCapabilities anymore.
2962 Modified code to match June CTP behavior.
2964 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2966 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
2968 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2970 * EmptyFaultException.cs : removed unused code.
2971 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
2973 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2975 * LayeredChannelFactory.cs : removed obsolete class.
2976 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
2977 ChannelListenerBase.cs, HttpChannelListener.cs,
2978 HttpReplyChannel.cs, ChannelManagerBase.cs :
2979 all those changes were brought by ChannelManagerBase changes.
2981 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2983 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
2984 CommunicationObject.cs, HttpChannelListener.cs,
2985 ChannelFactoryBase.cs :
2986 CommunicationObject abstract changes brought this madness.
2988 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2990 * BindingContext.cs : listenUri address parameters could be null in
2993 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2995 * IRequestContext.cs :
2996 Now it became a class. File renaming will follow soon.
2997 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
2998 IDuplexChannel.cs, IDuplexSessionChannel.cs,
2999 IOutputChannel.cs, IOutputSessionChannel.cs,
3000 IRequestChannel.cs, IRequestSessionChannel.cs :
3001 They are not IDisposable anymore.
3002 For IReplyChannel, IRequestContext -> RequestContext.
3003 * IChannelListener.cs : removed Identity. Added GetProperty().
3004 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3005 ReplyChannelBase.cs, HttpReplyChannel.cs :
3006 Several members disappeared, and dependent changes.
3007 * HttpTransportBindingElement.cs,
3008 HttpChannelListener.cs, :
3009 ChannelListenerBase.SharedChannelListener vanished.
3011 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3013 * MessageEncodingBindingElement.cs
3014 MtomMessageEncodingBindingElement.cs,
3015 TextMessageEncodingBindingElement.cs,
3016 BinaryMessageEncodingBindingElement.cs :
3017 June CTP updates: AddressingVersion -> MessageVersion.
3018 * Binding.cs : June CTP. MessageVersion is added.
3019 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3020 ChannelListenerBase_1.cs,
3021 ChannelListenerBase.cs, IChannelListener.cs,
3023 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3024 June CTP. Several interface changes.
3025 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3026 * IChannelManager.cs, LayeredChannelListener.cs,
3027 GenericWrapperChannelFactory.cs,
3028 GenericWrapperChannelListener.cs : They are not used anymore.
3030 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3032 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3033 sync fix with June CTP API updates.
3035 2006-07-03 Ankit Jain <jankit@novell.com>
3037 * MessageEncodingBindingElementConverter.cs:
3038 * StandardBindingConverter.cs:
3039 * TransportBindingElementConverter.cs:
3040 * TransactionFlowBindingElementConverter.cs:
3041 * ReliableSessionBindingElementConverter.cs:
3042 * SecurityBindingElementConverter.cs:
3043 Rename *Converter.cs to *Importer.cs
3045 * TransferMode.cs: Move to System.ServiceModel
3047 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3049 * CommunicationObject.cs : make sure to change State before
3050 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3052 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3054 * Message.cs : output WSAddressing xmlns only when Action is
3055 specified (To should be affected, but seems like it is ignored).
3057 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3059 * MessageImpl.cs : don't set Action when it is null.
3061 2006-06-12 Ankit Jain <jankit@novell.com>
3063 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3065 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3067 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3068 some updated API fixes.
3070 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3072 * EnvelopeVersion.cs : moved back to S.SM.
3074 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3076 * IBindingManualAddressing.cs : vanished in beta2.
3077 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3078 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3080 * SecurityBindingElement.cs :
3081 SecurityStandardsManager -> SecurityTokenSerializer.
3083 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3085 * XmlSerializerBodyWriter.cs : new file to handle
3086 TypedMessageConverter.ToMessage().
3088 2006-04-26 Ankit Jain <jankit@novell.com>
3090 * TransportBindingElementConverter.cs (BeforeImport): Remove
3091 NotImplementedException.
3092 (ImportContract): Likewise.
3093 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3095 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3097 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3098 being used was not reflecting that of Binding elements.
3100 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3102 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3103 just assume that it is in the message.
3105 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3107 * HttpReplyChannel.cs : actually HTTP header item might be null.
3109 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3111 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3114 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3116 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3118 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3120 * MessageFault.cs : Fixed SOAP12 reason output.
3122 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3124 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3125 MessageEncoder.ContentType explicitly contains encoding.
3126 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3127 if it is SOAP version dependent.
3129 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3131 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3133 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3135 * HttpChannelFactory.cs BindingContext.cs
3136 HttpChannelListener.cs HttpTransportBindingElement.cs :
3137 Now BindingContext holds MessageEncoder, and non-custom
3138 channel factory/listener should use it.
3139 * MtomMessageEncodingBindingElement.cs
3140 TextMessageEncodingBindingElement.cs
3141 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3142 -Listener() now sets internal BindingContext.MessageEncoder.
3143 Fixed some public API.
3145 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3147 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3148 for insufficient elements.
3149 * DispatchRuntime.cs : OperationDescription name is not action. So
3150 OperationSelector is created by name, not by action.
3151 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3153 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3155 * MessageFaultBodyWriter.cs
3156 XmlReaderBodyWriter.cs
3157 XmlObjectSerializerBodyWriter.cs : made internal.
3158 * SecurityBindingElement.cs
3159 AsymmetricSecurityBindingElement.cs
3160 SymmetricSecurityBindingElement.cs : API fixes.
3161 * TransportBindingElementConverter.cs : ditto.
3162 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3163 * WindowsStreamSecurityBindingElement.cs
3164 SslStreamSecurityBindingElement.cs
3165 TransportSecurityBindingElement.cs : new files.
3167 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3169 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3170 reading can be any xs:boolean value.
3172 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3174 * Message.cs MessageImpl.cs : more sorting out the role of each
3176 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3178 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3180 * Message.cs : don't write body contents if it is empty.
3181 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3182 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3183 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3184 * HttpRequestChannel.cs : close request stream before GetResponse().
3186 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3188 * TextMessageEncoderFactory.cs
3189 TextMessageEncoder.cs : encoder does not hold reference to the
3190 factory anymore. Use MessageVersion property in CreateMssage().
3191 * HttpChannelListener.cs : now it holds message encoder.
3192 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3193 * MessageImpl.cs : header is optional.
3194 * EnvelopeVersion.cs : namespace URI is missing.
3196 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3198 * CustomBinding.cs : removed Initialize().
3199 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3200 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3201 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3202 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3204 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3206 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3207 could be also added by Add() method and could be reset by Remove()).
3208 * MessageImpl.cs : implemented more. As noted above, Now we don't
3209 have to add Action header explicitly.
3210 * MessageHeader.cs : recovered Writer methods and ToString() from
3211 commented old version. Use prefixes for writing.
3212 Use WriteObjectContent() rather than WriteObject() (it needs
3213 DataContractSerializer fix btw).
3215 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3217 * MessageHeader.cs : added missing IsReferenceParameter.
3218 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3219 * MessageHeaders.cs : avoid NullRef when actors is null.
3220 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3221 (ForwardingMessage) reader consumer is being added (not done).
3222 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3223 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3224 * HttpRequestChannel.cs : this channel automatically call Open()
3225 when Request() is called. Set content length for request.
3226 Use MessageEncoder's ContentType to also handle charset.
3228 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3230 * MessageImpl.cs : make them internal.
3231 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3233 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3235 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3236 * HttpChannelListener.cs : removed commented line.
3237 * RequestChannelBase.cs : new base class for request channel classes.
3238 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3239 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3240 * Message.cs : default IsEmpty and IsFault false by default.
3241 * LayeredChannelListener.cs : removed Uri (no chance to set).
3242 * ChannelBase.cs : reimplemented timeout properties.
3243 * HttpRequestChannel.cs : now it is mostly based on
3244 RequestChannelBase. Some more attempt to implement Request().
3246 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3248 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3249 OnInitialize(). Added more BuildChannelListener() overloads.
3251 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3253 * Binding.cs : added some more missing members especially to support
3255 * HttpChannelListener.cs : Uri should not be null.
3256 * HttpTransportBindingElement.cs : implemented
3257 CanBuildChannelFactory() and CanBuildChannelListener().
3258 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3260 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3262 * Binding.cs : updated default namespace property value to Feb. CTP.
3264 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3266 * AddressHeader.cs : avoid null reference when value is null.
3267 * BindingContext.cs : check null ListenUri args.
3269 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3271 * MessageFault.cs : Fixed default action name. Null arg check.
3273 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3275 * BindingElement.cs : Dequeue elements in BindingContext directly.
3276 * BindingContext.cs : Added GetProperty<T>().
3277 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3278 Now we don't need these extra classes, so marked as deprecated.
3280 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3282 * Binding.cs : null arg check.
3283 * AddressingVersion.cs : fixed constants to pass the tests.
3284 * BindingElement.cs : tiny meessage fix.
3286 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3288 * MessageEncodingBindingElement.cs
3289 BinaryMessageEncodingBindingElement.cs
3290 TextMessageEncodingBindingElement.cs
3291 MtomMessageEncodingBindingElement.cs
3292 MessageEncodingBindingElementConverter.cs : several API fixes.
3293 * BindingElement.cs : now if we use generic wrapper it causes
3294 infinite loop, so for now replace it with most-possible-but-
3297 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3299 (back to normal "record-ChangeLogs" mode after the big API change mess)
3300 * HttpTransportBindingElement.cs : fixed minor API differences.
3302 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3304 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3305 SymmetricSecurityBindingElement.cs :
3306 Dependent fixes for System.IdentityModel reorgainzation.
3308 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3310 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3311 IProxyFormatter.cs WSHttpBindingBase.cs
3312 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3313 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3314 WSFederationBinding.cs ISessionChannel.cs
3315 CompositeDuplexBindingElement.cs MessageVersion.cs
3316 MessageHeader.cs IRequestSessionChannel.cs
3317 BindingElementCollection.cs IReplySessionChannel.cs
3318 MessageProperties.cs IDuplexClientChannel.cs
3319 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3320 TcpTransportBindingElement.cs EmptyFaultException.cs
3321 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3322 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3323 ConnectionOrientedTransportBindingElement.cs
3324 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3325 PeerResolverBindingElement.cs Message.cs
3326 HttpsTransportBindingElement.cs BindingElement.cs
3327 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3328 MessageFaultBodyWriter.cs IReplyChannel.cs
3329 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3330 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3331 IRequestContext.cs IInputSessionShutdown.cs
3332 SecurityBindingElement.cs PeerTransportBindingElement.cs
3333 IDuplexSession.cs IChannelInitializer.cs
3334 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3335 AddressingVersion.cs FaultException.cs
3336 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3337 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3338 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3339 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3340 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3341 BindingParameterCollection.cs IInstanceProvider.cs
3342 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3343 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3344 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3345 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3346 moved from System.ServiceModel due to the API changes.
3348 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3350 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3351 HttpChannelListener.cs HttpRequestChannel.cs
3352 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3353 PeerNode.cs ReplyChannelBase.cs :
3354 Feb. CTP API changes - chapter 1.
3356 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3358 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3359 * ReplyChannelBase.cs : now it is based on ChannelBase.
3360 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3361 and check null argument in .ctor().
3362 * HttpReplyChannel.cs : several changes.
3363 Non-async members are mostly implemented.
3364 * HttpChannelListener.cs : no need to receive
3365 IDefaultCommunicationTimeouts.
3366 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3367 to allocate buffer array and int.MaxValue causes OutOfMemory.
3369 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3371 * ClientFramingDecoderState.cs : added missing enum.
3372 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3374 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3376 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3378 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3379 AcceptChannel() has some code now but it needs more love.
3381 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3383 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3384 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3385 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3387 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3389 * HttpRequestChannel.cs : close the streams.
3391 HttpChannelListener.cs : renamed from former to latter.
3393 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3395 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3396 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3397 * HttpListenerFactory.cs : removed obsolete file.
3398 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3399 * ChannelListenerBase_1.cs : implemented virtual stuff.
3400 * CommunicationObject.cs : Open() should not call BeginOpen() and
3401 EndOpen(). Instead, invoke events individually.
3402 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3404 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3406 * HttpRequestChannel.cs : call Flush() after serializing message
3409 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3411 * HttpRequestChannel.cs : implemented pretty hacky Request().
3413 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3415 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3417 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3419 * ChannelFactoryBase.cs : removed some NotImplementedException for
3420 further internal implementation.
3422 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3424 * HttpRequestChannel.cs : new file. mostly not implemented.
3425 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3426 Partly implemented CreateChannel().
3428 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3430 * HttpChannelFactory.cs : (.ctor())
3431 Don't take ChannelBuildContext.
3433 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3435 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3436 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3437 PeerMessagePropagation.cs : updated to Nov. CTP.
3439 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3441 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3442 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3443 StreamSecurityUpgradeAcceptor.cs,
3444 StreamSecurityUpgradeInitiator.cs :
3445 Updated to Nov. CTP API.
3447 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3449 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3451 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3453 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3455 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3457 * ChannelBase.cs : tiny filename fix.
3458 * ChannelListenerBase.cs : added more .ctor()s.
3460 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3462 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3463 ListenerFactoryBase.cs ChannelListenerBase.cs :
3464 updated IListener related stuff to Nov. CTP.
3465 file renaming will come soon.
3467 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3469 * ListenerBase.cs, ChannelListenerBase.cs :
3470 moved from former to latter.
3471 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3472 moved from former to latter.
3474 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3476 * SessionFaultedException.cs : removed in Nov. CTP
3478 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3480 * CommunicationObject.cs : updated to Nov. CTP.
3481 * SessionFaultedException.cs : removed (in Nov. CTP)
3483 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3485 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3488 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3490 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3491 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3492 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3493 * MessageEncoder.cs : largely implemented.
3495 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3497 * IRequestReplyCorrelator.cs : new file.
3499 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3501 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3502 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3503 * MessageEncoder.cs : added misssing ToString().
3505 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3507 * ChannelBehaviorCollection.cs : moved to sys.sm.
3509 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3511 * HttpListenerFactory.cs, HttpListener.cs : new files.
3512 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3513 CommunicationObject.cs, ChannelFactoryBase.cs,
3514 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3516 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3517 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3519 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3521 * ListenerFactoryBase.cs : some implementation.
3523 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3525 * CommunicationObject.cs : more state fixes.
3527 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3529 * CommunicationObject.cs : some state machine fixes.
3531 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3533 * PeerNode.cs, ChannelManagerBase.cs :
3534 several API fixes detected by improved corcompare.
3536 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3538 * LayeredListenerFactory.cs : added missing generic class constraint.
3540 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3542 * ListenerFactoryBase.cs,
3543 ListenerBase.cs : class constraints were missing for generic args.
3545 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3547 * StreamUpgradeInitiator.cs : tiny API fix.
3549 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3551 * PeerMessagePropagationFilter.cs : tiny build fix.
3553 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3555 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3556 added Name. fixed StatusCode type.
3557 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3558 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3559 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3560 DirectionalAction.cs, HostedTransportConfiguration.cs,
3561 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3562 PeerMessagePropagationFilter.cs : added missing files.
3563 * Dummy.cs : removed. MSMQ stuff can be added later.
3565 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3567 * DeliveryStatus.cs, DeliveryFailure.cs,
3568 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3569 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3571 * Dummy.cs : removed above.
3573 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3575 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3577 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3579 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3580 MessageEncoder.cs, BufferManager.cs : new files.
3581 * Dummy.cs : removed above.
3583 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3585 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3586 * Dummy.cs : removed above.
3587 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3589 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3591 * HttpChannelFactory.cs : new file.
3593 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3595 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3596 moved to ../System.ServiceModel (correct location).
3597 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3598 new files for channels.
3599 * Dummy.cs : reflected above changes.
3600 * ChannelManagerBase.cs : added a bit of code and todos.
3602 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3604 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3605 added listener support files.
3606 * Dummy.cs : removed above.
3608 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3610 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3611 added request/reply channel interfaces.
3612 * Dummy.cs : removed above.
3613 * CommunicationObject.cs : FIXME comments.
3615 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3617 * CommunicationObject.cs : implemented some members.
3619 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3621 * CommunicationObject.cs : some signature fixes.