1 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
3 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
4 DuplexChannelBase.cs : Receive() should rather use TryReceive().
5 It should not be in reverse order.
7 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
9 * HttpReplyChannel.cs, HttpListenerManager.cs :
10 Implement async cancellation in the expected manner (though with
11 some hack). This mostly removed nunit blockers.
13 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
15 * CommunicationObject.cs : fix wrong status changes.
17 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
19 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
21 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
23 * AddressHeader.cs : implement remaining bits.
24 Eliminate dependency on NetDataContractSerializer.
26 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
28 * CommunicationObject.cs : in Fault(), do similar work as previous
31 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
33 * CommunicationObject.cs : when process state changes, lock the
34 object to make sure the state transition is valid.
35 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
37 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
39 * MessageHeaders.cs : implement SetAction().
41 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
43 * ChannelFactoryBase.cs : fix build.
45 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
47 * ChannelBase.cs : cosmetic API fix for SL3.
49 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
51 * ChannelFactoryBase.cs :
52 implement On{Begin/End}Close() on the generic type.
54 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
56 * HttpChannelFactory.cs, TcpChannelFactory.cs,
57 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
58 PeerChannelFactory.cs, HttpRequestChannel.cs:
59 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
60 type and made required changes.
62 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
64 * HttpCookieContainerBindingElement.cs : new.
65 * IHttpCookieContainer.cs : fix type name.
66 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
68 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
70 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
71 does not happen when communicating with .NET client but happens with
72 mono). Seealso FIXME comment.
73 * TcpDuplexSessionChannel.cs : do not try to close session when it
74 failed to read sized message. The connection is already dead.
78 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
80 * TcpDuplexSessionChannel.cs :
81 Write EndRecord only when the connection is available.
82 Remove hack - do let ChannelDispatcher close the channel.
83 * TcpBinaryFrameManager.cs :
84 The socket may be disconnected when trying to read a sized message,
85 so check some socket exceptions.
86 In case the client silently shuts down without EndRecord and
87 reconnects to the server with preamble while expecting a sized
88 message (which is so lame, but that's what .NET often does), refresh
89 preamble and continue.
91 This fixes some cases of bug #567949 but not all.
93 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
95 * BinaryMessageEncoder.cs : enable workaround buffering only when
96 the argument stream does *not* support seek. This fixes some
97 net.tcp connection problem.
99 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
101 * TcpBinaryFrameManager.cs : If preamble byte is not available from
102 the client stream, detect it to close the reply or input channel.
103 * TcpRequestChannel.cs : send preamble at each request time.
104 It differentiates communication behavior on such cases that involve
105 single open and multiple requests.
106 * TcpReplyChannel.cs : close the channel only when the channel is
107 oeprated to close i.e. do not close the socket every time.
108 Process preambles on each request (the same as request channel).
110 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
112 * TcpBinaryFrameManager.cs : unsized envelope record may have more
113 than one data block, so consume them accordingly. This should fix
114 large buffer consumption.
116 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
118 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
121 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
123 * HttpRequestContext.cs : for DestinationUnreachable message, this
124 channel returns 400 in .NET.
126 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
128 * BinaryMessageEncoder.cs : added workaround for strange stream
129 consumption error raised by HttpTransport + Binary encoder example.
130 * BinaryMessageEncodingBindingElement.cs:
131 only SOAP 1.2 is allowed for this encoder.
133 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
135 * XmlReaderBodyWriter.cs : don't try to write empty xml.
137 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
139 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
140 default WebHeaderCollection items are overwritten.
142 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
144 * HttpRequestChannel.cs : when HTTP response was error, do not try
145 to read message but just raise an error.
147 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
149 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
151 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
153 * HttpRequestChannel.cs : WebException.Response might be null.
155 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
157 * ReplyChannelBase.cs : added listener property.
158 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
159 been updated to prefer async by default, a while ago.
161 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
163 * HttpTransportBindingElement.cs : finished all GetProperty() values.
165 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
167 * HttpRequestChannel.cs : disabled carelessly added
168 "UseDefaultCredentials = false" line. It blocked basic auth.
170 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
172 * HttpRequestChannel.cs, HttpChannelFactory.cs,
173 HttpChannelListener.cs, HttpListenerManager.cs :
174 implemented http client authentication and some of corresponding
175 service code. Only client works so far.
177 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
179 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
180 added URI scheme check.
182 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
184 * TransportSecurityBindingElement.cs : fix 2.1 build.
186 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
188 * HttpsTransportBindingElement.cs :
189 RequireClientCertificate is false by default.
190 Remove extra #if NET_2_1.
191 * SecurityBindingElement.cs :
192 Implement some transport security factory methods.
193 * TransportSecurityBindingElement.cs :
194 It is not ISecurityCapabilities anymore.
196 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
199 SecurityBindingElement.cs
200 LocalClientSecuritySettings.cs
201 TransportSecurityBindingElement.cs
202 FaultConverter.cs : They are now part of SL3 API.
204 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
206 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
208 2009-11-05 Geoff Norton <gnorton@novell.com>
210 * HttpsTransportBindingElement.cs: Implement basic https transport
211 binding support for Moonlight and MonoTouch
213 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
215 * HttpListenerManager.cs : remove CWLs.
217 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
219 * SvcHttpHandler.cs : move back previous listener selector code in
220 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
221 and differentiate requests to deeper paths (such as /jsdebug), so
222 we need such refinement here.
224 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
226 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
229 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
231 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
232 HttpChannelListener.cs, HttpListenerManager.cs :
233 Similar refactoring on ASP.NET side to the previous one.
234 Added ASP.NET implementation of HttpListenerManager and use some
235 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
237 Rewrote AspNetReplyChannel to become almost the same as
238 HttpSimpleReplyChannel, to hopefully unify them later.
239 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
240 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
243 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
245 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
246 Refactoring on listener manager to correctly handle wsdl and help
247 requests for such case that they conflict in addressing. Now it
248 can correctly distinguish service calls, WSDL requests and help
249 requests when all of them point to "http://localhost/foo.svc"
250 (which is very common case that the user does not change Http*Url).
252 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
254 * ChannelListenerBase.cs : add Properties property to add arbitrary
255 properties handy (only inside this assembly).
257 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
259 * HttpReplyChannel.cs : fix warning.
261 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
263 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
265 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
267 * HttpReplyChannel.cs : make sure to release wait lock.
268 * HttpChannelListener.cs : session channels are not supported, so
269 remove relevant NIEs.
271 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
273 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
274 support contexts so we call the non-overloaded WaitOne method
275 (which defaults to false).
277 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
279 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
280 significant rewrite to cooperate wcf handler and asp.net handler
281 to not mix multiple WCF listener within the asp.net handler.
282 So far it mostly works when 1) there are no ChannelDispatchers
283 that have an identical listen Uri and 2) MaxConcurrentSessions is
284 1 (must be explicitly set).
286 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
288 * CommunicationObject.cs : give better state error description.
290 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
292 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
293 to base methods. This resulted in not a few changes everywhere.
295 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
297 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
299 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
301 * SvcHttpHandler.cs : use file path given by the factory to
302 construct BaseAddresses. Requests to "test.svc/jsdebug" should
303 not be handled as request to "jsdebug" file, it's rather an
304 "argument" to "test.svc".
306 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
308 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
309 rewrite to handle shutdown situation better. The listeners should
310 not close channels that it opened. Instead, just stop accepting
311 further requests. Removed blocking mutex on WaitForRequest().
312 Now xsp shuts down as expected.
314 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
316 * HttpReplyChannel.cs : lock list when releasing its content contexts.
317 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
320 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
322 * SvcHttpHandlerFactory.cs : remove todo.
323 * ReplyChannelBase.cs : add comment.
325 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
327 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
328 revert the change, to use internal asp.net state again.
329 * SvcHttpHandler.cs : add VirtualPathExtension.
331 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
333 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
334 asp.net response was not written correctly.
335 Fill HttpRequestMessageProperty to get handle WSDL requests
336 processed in ServiceMetadataExtension without NRE.
337 Remove wrong HttpListenerContext iteration at Abort and Close in
338 common base class and move it to non-asp derived channel.
340 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
342 * SvcHttpHandler.cs : remove unused code.
344 2009-09-30 Jb Evain <jbevain@novell.com>
346 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
347 to use any of the remoting features.
349 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
351 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
352 use AspNetCompatibilityEnabled.
353 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
355 * AspNetReplyChannel.cs : remove extra field.
357 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
359 * HttpReplyChannel.cs : remove extra field.
361 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
363 * AspNetRequestContext.cs : remove CWL.
365 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
367 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
368 only after AspNetRequestContext is closed. Do not close it
369 immediately after receiving the context. (HttpRuntime destructs it
370 and further uses then becomes impossible.)
372 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
374 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
375 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
376 Make sure that AspNetChannelListener is bound to correct
377 SvcHttpHandler, regardless of specific request URI. It is required
378 for both WSDL requests and RESTful binding requests.
380 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
382 * MessageProperties.cs : fix CopyProperties() behavior to not
383 clear existing items. Make all properties call this[name].
385 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
387 * HttpTransportBindingElement.cs : fix 2.1 build.
389 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
391 * TransportBindingElement.cs : another GetProperty fix, iterate
392 other binding elements.
394 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
396 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
397 some GetProperty() implementation.
399 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
401 * HttpListenerManager.cs : release HttpListener and avoid extra
402 close process more than once.
404 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
406 * HttpChannelListener.cs : do not iterate channel list to close
407 channels which in turn removes them from the list while iteration.
409 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
411 * HttpRequestChannel.cs : Fix message version member comparison.
412 Double-quote SOAPAction. Remove extra Exception.
413 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
414 * HttpRequestContext.cs : when addressing is None, remove action
417 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
419 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
420 path, to pick those endpoints that are added at custom factories.
422 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
424 * SvcHttpHandler.cs : apply configuration, and if there is still no
425 endpoint, then add default one.
427 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
429 * SvcHttpHandler.cs : another URL to make relative.
431 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
433 * SvcHttpHandlerFactory.cs : some GetHandler changes.
434 * SvcHttpHandler.cs : significant changes on receiver structure. Now
435 ProcessRequest() stores pending requests (this might be extraneous,
436 but maybe useful when it implements async handler). Also removed
437 reply_channel field as it may become to handle multiple requests.
438 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
439 * AspNetReplyChannel.cs : make it receive requests like
440 HttpReplyChannel (for HttpListener) to make them consistent.
442 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
444 * AspNetRequestContext.cs, HttpRequestContext.cs :
445 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
446 by splitting HttpListener-based context out from common code base.
448 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
450 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
451 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
454 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
456 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
457 loads types from system assemblies appropriately.
459 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
461 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
464 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
466 * HttpRequestMessageProperty.cs : fix default values.
468 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
470 * HttpChannelFactory.cs, HttpRequestChannel.cs,
471 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
472 Check ManualAddressing value and reject address-missing ones.
474 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
476 * HttpChannelFactory.cs : reject URI mismatch cases when required.
478 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
480 * PeerDuplexChannel.cs : When received Connect() from neighbor,
481 add the peer to its internal list.
482 Finally ChatApplication got working.
484 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
486 * PeerDuplexChannel.cs : since the channel factory is per instance,
487 do not reuse factory that is tied to different callback instance.
488 It resolved the issue that mono callback client didn't receive
489 messages from the client itself.
491 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
493 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
494 of the receiver, not the requestor. It resolved the issue that
495 .NET client didn't send further messages to mono server.
497 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
499 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
500 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
501 TcpReplyChannel.cs, TcpRequestChannel.cs,
502 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
503 rename EndRecord handling method to appropriate one.
504 Write EndRecord from recipient too.
506 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
508 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
509 Process PeerTo header to upgrade Message To header. Now mono
510 service accepts mono client (somehow not true for .NET client).
512 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
514 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
515 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
517 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
519 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
521 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
523 * TcpDuplexSessionChannel.cs : check channel state before processing
526 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
528 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
529 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
530 ongoing works, not working at all yet.
532 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
534 * TcpChannelListener.cs, TcpReplyChannel.cs :
535 cosmetic cleanup and corrections.
537 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
539 * TcpChannelFactory.cs : use expected Via uri.
540 Remove extra NIE stuff that are implemented in base.
542 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
544 * TcpDuplexSessionChannel.cs : remove extra code.
546 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
548 * PeerDuplexChannel.cs : ongoing implementation towards get callback
549 replies on peer connector clients (not working as duplex client
550 callback is not working yet).
552 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
554 * TcpDuplexSessionChannel.cs : in callback client channels,
555 OperationContext.IncomingMessageHeaders is null.
557 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
559 * MessageHeaders.cs : duplicate check was sloppy.
561 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
563 * Message.cs, MessageImpl.cs, BodyWriter.cs :
564 Implement BodyWriter.OnCreateBufferedCopy() and use it.
566 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
568 * ReplyChannelBase.cs : initialize field.
570 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
572 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
573 implement GetProperty<T>() and return its channel manager.
575 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
577 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
578 destination address in Connect() request. To repeat sending
579 request, use buffered copy. Set some peer-channel specific
580 header items. (todo: and consume them.)
582 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
584 * Message.cs : state is set only after WriteBodyContents().
586 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
588 * MessageHeaders.cs : eliminate wrong use of
589 ReadElementContentAsString() (it is not always simple string).
591 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
593 * MessageHeaders.cs : when the value is null, do not try to
594 deserialize EndpointAddress.
596 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
598 * MessageHeader.cs : add Value property. (Forgot dependent change.)
600 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
602 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
603 serialization and deserialization of values.
605 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
607 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
608 Now simply use connector contract.
610 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
612 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
614 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
616 * TcpChannelListener.cs : do not try to compare dead connection's
617 IPEndPoint (it raises an error).
619 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
621 * MessageHeaders.cs : allow null header value on each specific setter.
623 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
625 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
626 get local and remote address of connected counterpart to get
627 callback channel connected.
628 * PeerDuplexChannel.cs : remove FIXME wrt above.
630 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
632 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
634 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
636 * MessageHeader.cs : fill IsReferenceParameter.
638 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
640 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
641 implement remaining async methods and LocalAddress.
643 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
645 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
646 ServiceHost to process neighbor connection (not sure if this is
647 right way to go though ...).
649 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
651 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
652 connection part to use new internal IPeerConnectorContract for
655 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
657 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
658 PeerChannelListener.cs, HttpChannelListener.cs :
659 support ListenUri accordingly too so that it could be used when
660 it is different from LocalAddress.Uri.
662 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
664 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
665 TcpRequestChannel.cs : use Via uri to validate and connect.
667 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
669 * RequestChannelBase.cs, DuplexChannelBase.cs :
670 Return endpoint address Uri when no explicit Via uri is specified.
671 * ChannelFactoryBase.cs : Remove extra async close methods.
672 Add async open methods. Reject null EndpointAddress.
673 * PeerChannelFactory.cs : remove async open methods (now in base).
675 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
677 * PeerDuplexChannel.cs : set correct message endpoint (To header).
679 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
681 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
682 DuplexChannelBase.cs : set LocalAddress property at base.
684 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
686 * PeerDuplexChannel.cs : ongoing refactoring to work both as
687 listener and client. Now it creates a listening peer node, and
688 creates a set of TCP client channels for each peer in the mesh.
690 (EndpointAddress must be fixed to not filter out correct inputs).
692 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
694 * PeerChannelListener.cs : do not accept more than one channel
695 which results in lots of listening peer node. Only one is enough.
697 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
699 * DuplexChannelBase.cs : fix wrong loop implementation.
701 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
703 * TcpChannelListener.cs : to avoid creating two or more channels
704 for one remote endpoint, check existing remote endpoints and
705 ignore such connections (it must be handled in different thread
706 fired by ChannelDispatcher loop).
708 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
710 * TcpReplyChannel.cs : make sure to not try to receive request when
711 it is already closed.
713 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
715 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
716 some mannerless clients [*1] do not send EndRecord accordingly, but
717 such channels at listener side should not be kept open. So, close
718 disconnected channels when the listener needs to accept another
720 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
722 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
724 * TcpDuplexSessionChannel.cs :
725 Remove extra NIE overrides.
726 Implement OnAbort() apart from OnClose().
727 For duplex session channel, unlike reply channel, it must acquire
728 TCP connection before OnOpen(), otherwise ChannelDispatcher
729 releases the connection acceptance WaitHandle and the detected
730 live connection may be stolen by another channel acceptor.
732 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
734 * HttpRequestChannel.cs : implement OnAbort().
736 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
738 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
739 * DuplexChannelBase.cs : comment out some extra fields (so far).
740 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
742 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
744 * PeerCustomResolverBindingElement.cs : add some null checks.
746 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
748 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
749 Acquire TcpClient for each request/reply. Now it is fully
750 interoperable with .NET.
752 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
754 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
755 ReplyTo and MessageId (though it is session-less), and it expects
756 EndRecord at weird stage, inconsistent with [MC-NMF]...
757 Now .NET service accepts one mono client request.
759 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
761 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
762 Send and receive unsized message terminator at once.
763 Send EndRecord mutually. Got one .net client request working.
765 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
767 * BinaryMessageEncoder.cs : revert the previous dictionary change.
768 They are indeed used for non-in-band-dictionary messages.
770 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
772 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
773 split out binary frame manager class into separate file.
775 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
777 * TcpReplyChannel.cs : new reply channel implementation.
778 * TcpChannelListener.cs : use above for streamed reply channel.
779 * TcpDuplexSessionChannel.cs : more streaming mode support.
780 * TcpRequestChannel.cs : a couple of updates to get it working
781 with the reply channel above. Still some issues on .NET interop.
783 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
785 * RequestContext.cs : added internal derived class that implements
788 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
790 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
793 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
795 * PeerDuplexChannel.cs: add the registered node itself to peer list.
796 (The messaging must be done as TCP request/reply pattern, so it's
799 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
801 * TcpRequestChannel.cs : new channel file (TCP for request/reply
802 messaging pattern). The messaging part is not working yet.
803 * TcpChannelFactory.cs : support IRequestChannel.
804 * TcpDuplexSessionChannel.cs : add unsized message support.
806 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
808 * HttpRequestChannel.cs, RequestChannelBase.cs :
809 A couple of async members are now implemented in the base class.
810 Ditto for EndpointAddress and Via.
812 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
814 * PeerDuplexChannel.cs : now it implements some of node management
815 functionality and Send operation. The receiver part is not yet.
817 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
819 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
820 timeout to channel constructor. it does not make sense.
822 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
824 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
825 as common interface member, and use binary encoder (not text).
827 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
829 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
831 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
833 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
834 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
835 going to be unified to PeerDuplexChannel. And it is likely that
836 input and output functionalities are to be unified too.
838 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
840 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
841 may have to reuse it for peer transport.
842 * PeerChannelListener.cs : add binding member.
843 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
845 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
847 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
848 PeerChannelFactory.cs : close opened channels at OnClose() as
849 documented. Implement async methods.
850 * PeerChannelListener.cs : removed some NIE overrides.
852 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
854 * DuplexChannelBase.cs : some more async methods.
856 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
858 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
860 * TcpChannelListener.cs : accept multiple channels at a time.
862 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
864 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
865 session strings but output only those new ones in current message.
866 This fixes inconsistent body output in repetitive use of sender.
868 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
870 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
871 operation that does not involve session.
872 Preserve writer session as well as reader session.
873 * MessageHeaders.cs : take name and namespace into consideration
874 when creating a serializer.
876 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
878 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
879 Made required changes for repeated use of message exchanges.
880 Hold binary reader session. The channels use it incrementally.
881 Preambles are handled at Open, and EndRecords are handled at
882 Close, Add session shutdown hook here (not working yet though).
884 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
886 * ChannelListenerBase_1.cs : added cancellation hook here too.
887 HttpChannelListener.cs : use above.
888 Do not allow parallel channel creation (this listener does not
889 allow more than one AcceptChannel().
891 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
893 * ReplyChannelBase.cs, HttpReplyChannel.cs :
894 Add cancellation hook for async TryReceiveRequest.
896 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
898 * HttpChannelListener.cs, HttpListenerManager.cs :
899 slightly improved BuildChannelListener().
900 Implement OnAbort() and differentiate it from OnClose().
902 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
904 * TcpDuplexSessionChannel.cs : remove NIE stubs.
906 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
908 * DuplexChannelBase.cs : simple async delegate calls here too.
910 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
912 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
914 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
916 * HttpReplyChannel.cs : cosometic simplification.
918 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
920 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
921 infinite block in 2.0 profile.
923 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
925 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
926 more careful close to avoid NRE.
928 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
930 * HttpChannelListener.cs : do not Close() more than once (though
931 it is allowed to call it twice, we don't reject it; just ignore).
933 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
935 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
937 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
939 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
940 Temporarily disable HTTP Keep-Alive since it somehow results in
941 wrong reuse of connection (shown as NRE in HttpConnection).
942 Make sure to close RequestContext which was created from it.
943 * HttpRequestContext.cs : simplify.
945 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
947 * HttpChannelListener.cs, TcpChannelListener.cs,
948 ChannelListenerBase_1.cs : put common internal listener base
949 and let it handle those async stuff.
951 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
953 * ReplyChannelBase.cs : fix wrong null delegate check point.
955 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
957 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
958 now implemented as virtual in base class. Remove NIEs in http.
960 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
962 * HttpChannelListener.cs : hack async implementation.
964 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
966 * HttpListenerManager.cs : oops, extra line removal.
968 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
970 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
972 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
974 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
975 "ChannelManager" is confusing (there is ChannelManagerBase).
977 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
979 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
980 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
981 they should be split into separate listener->reply channel lines
982 (remove "if (HostingEnvironment.IsAspNet)".)
984 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
986 * CommunicationObject.cs : OnClosed() requires call to base method.
987 Close() could rather abort the channel, and Abort() does not
988 always invke OnAbort().
989 * ChannelBase.cs : add call to base as above.
991 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
993 * ClientAccessPolicy.cs: Removed
994 * CrossDomainAccessManager.cs: Removed
995 * CrossDomainPolicy.cs: Removed
996 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
997 since this is now done inside the BeginGetResponse call (outside
998 this assembly) for Moonlight (NET_2_1)
1000 2009-06-04 Alan McGovern <amcgovern@novell.com>
1002 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1003 instead of the sync apis. Prevents a possible deadlock condition in
1006 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1008 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1009 callbacks, so add hacky ones.
1011 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1013 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1014 true when socket input is not available.
1016 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1018 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1019 I cannot precisely identify when EndRecord should be consumed,
1020 so allow it at either at the end of ReadSizedMessage() or on
1021 consuming preamble (it's likely handling EndRecord of previous
1024 Now duplex IPeerResolverContract communication works between
1025 either of .NET/Mono client and .NET/Mono server.
1027 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1029 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1030 code. Handle preamble ack on ReadSizedMessage() only at server.
1031 Consume EndRecord from server, at client side. Though it is likely
1032 changed as it's blocking when mono is at server side.
1034 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1036 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1037 different protocol than existing code with related to preamble ack.
1038 So changed it to work fine with .NET client (finally).
1040 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1042 * MessageBufferImpl.cs : do not output Action twice.
1044 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1046 * MessageBufferImpl.cs : it did not copy headers.
1047 * Message.cs : remove 2_1 conditional implementation for buffered
1048 copy and hence remove bogus code.
1050 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1052 * MessageProperties.cs : copy argument is wrong.
1054 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1056 * PeerCustomResolverBindingElement.cs : some argument check.
1058 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1060 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1061 xml open, so close the writer as well as open elements.
1062 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1063 Do not output EndRecord and SizedMessage at a time.
1065 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1067 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1068 length of the SizedMessage in the output.
1070 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1072 * CommunicationObject.cs : use sane default timeout.
1073 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1074 * TcpDuplexSessionChannel.cs : ditto.
1076 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1078 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1079 only accepts buffered messages, so do as such for write buffers.
1080 Add RelatesTo header.
1082 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1084 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1085 rename from former to latter.
1087 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1089 * TcpDuplexSessionChannel.cs : reader does not always return full
1090 buffer (depending on the stream).
1092 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1094 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1096 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1098 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1101 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1103 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1105 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1107 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1109 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1111 * ChannelManagerBase.cs : fix wrong session channel detection.
1113 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1115 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1116 This encoder factory implements CreateSessionEncoder() and binary
1117 encoder does support session transmit, in different media type.
1118 * ChannelManagerBase.cs : added utility method to create appropriate
1120 * HttpChannelFactory.cs, HttpChannelListener.cs,
1121 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1122 PeerChannelFactory.cs, PeerChannelListener.cs,
1123 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1125 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1127 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1129 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1131 * DuplexSessionBase.cs : new file, for session implementation.
1132 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1133 DuplexSessionChannelBase.cs : changed sync/async implementation
1134 pattern. Now async methods call sync methods using delegates.
1136 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1138 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1139 a few minor API fixes.
1141 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1143 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1145 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1147 * TcpDuplexSessionChannel.cs : add To header.
1149 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1151 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1154 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1156 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1158 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1160 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1161 CommunicationException in each CreateFault().
1163 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1165 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1166 Open(). Some (but not all yet) continuous communication works now.
1167 Use ProtocolException. Remove dummy binary session string.
1169 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1171 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1172 sending/receiving SizedMessageRecord parts to manager class.
1173 Handle writer session, though it is likely broken at dictionary
1174 writer part (no string is written so far).
1175 * BinaryMessageEncoder.cs : add writer session and rename reader
1178 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1180 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1181 is mandatory in initiator preamble packet. Handle Fault reply in
1184 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1186 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1187 based communication under TcpBinaryFrameManager class.
1189 2009-05-13 Jb Evain <jbevain@novell.com>
1191 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1192 from a StringReader.
1194 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1196 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1197 actually eliminate DOM-based implementation too in 2.0.
1199 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1201 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1202 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1203 comments for magic numbers based on [MC-NMF].
1205 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1207 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1208 support for [MC-NBFSE] record in [MC-NMF], in this class.
1210 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1212 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1214 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1216 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1218 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1220 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1222 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1224 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1226 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1228 * BinaryMessageEncoder.cs : use quotas in binding element.
1229 Implement WriteMessage().
1231 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1233 * PeerCustomResolverBindingElement.cs : do initialize field.
1235 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1237 * PeerCustomResolverBindingElement.cs :
1238 implement full custom resolver.
1240 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1242 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1243 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1244 PeerChannelFactory.cs : ongoing p2p channel implementation.
1246 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1248 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1250 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1252 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1253 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1254 implement GetProperty<T>(). Return documented objects or null.
1256 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1258 * PeerChannelFactory.cs, PeerChannelListener.cs,
1259 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1260 PeerInputChannel.cs, PeerOutputChannel.cs :
1261 new; ongoing peer transport implementation.
1262 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1263 MsmqOutputChannel.cs, OutputChannelBase.cs,
1264 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1265 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1266 several internal changes (either required or for simplification)
1267 for ongoing peer transport implementation.
1269 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1271 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1273 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1275 * TcpTransportBindingElement.cs : check build-ability before
1276 actually building channels.
1277 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1278 conditions according to MSDN.
1280 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1282 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1283 handle headers in SL2. Slightly changed 3.0 code too.
1285 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1287 * HttpRequestChannel.cs : use cross domain access manager.
1289 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1291 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1292 message as BodyWriter.
1293 (in GetReaderAtBodyContents) just write body contents.
1294 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1296 Add some state check in GetReaderAtBodyContents().
1297 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1299 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1301 * Message.cs : do not forget to flush.
1302 * HttpRequestChannel.cs : give more exact error info.
1304 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1306 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1307 make buffered copy in ML2 really buffered.
1309 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1311 * Message.cs : if there is no header item to write, do not write
1312 SOAP header element.
1314 2009-01-22 Alan McGovern <amcgovern@novell.com>
1316 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1317 Rewrite to avoid usage of it.
1319 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1321 * ChannelParameterCollection.cs : implement, rather than NIE.
1323 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1325 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1326 internal users to know the type of the detail.
1328 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1330 * Message.c: Use private setter for state private variable to ease debugging.
1331 Modify ToString not to change the state, as it is called quite often by VS debugger
1333 2008-04-21 Roei Erez <roeie@mainsoft.com>
1335 * HttpChannleManager: Fix for multithreaded use.
1336 * HttpReplyChannel: Fix crash during sutdown.
1338 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1340 * HttpChannleManager: ensure trailing slash in uri.
1342 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1344 * added: HttpChannleManager,
1345 * HttpChannelListener: added use of HttpChannelManager
1347 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1349 * MessageEncodingBindingElement.cs: fixed ctor
1351 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1353 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1355 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1357 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1359 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1361 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1363 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1365 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1367 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1369 * BindingElementCollection.cs: fix API - .ctor's signature.
1371 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1373 * XmlSerializerBodyWriter.cs: Removed.
1375 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1377 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1379 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1381 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1382 * TcpChannelFactory.cs, TcpChannelListener.cs :
1383 unify factory and listener into TcpChannelInfo for use in
1384 TCP channel implementation. Do not store stream in the listener.
1385 Factory now uses BinaryMessageEncoder.
1386 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1387 holds TcpClient that the listener has accepted.
1389 tcp-transport-binding-element sample now communicates (though
1390 only when both sides are mono: there seems binary mismatch).
1392 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1394 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1395 clone connection pool settings too.
1396 * NamedPipetransportBindingElement.cs,
1397 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1398 being likely implemented though).
1400 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1402 * ConnectionOrientedTransportBindingElement.cs,
1403 TcpTransportBindingElement.cs : some API updates.
1404 Initialize default values.
1405 * TcpConnectionPoolSettings.cs : new file.
1407 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1409 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1410 added support for "factory" attribute.
1412 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1414 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1416 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1418 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1420 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1422 * HttpRequestChannel.cs : create WebRequest against To message header
1424 Consider HttpRequestMessageProperty.
1425 Do not output body when suppressed or the method is GET.
1427 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1429 * HttpChannelListener.cs : BindingContext may not have listenUri
1430 at its .ctor() step.
1432 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1434 * BindingContext.cs : RemainingBindingElements is not just a dummy
1435 collection but is actually user-controlled.
1437 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1439 * TcpChannelFactory.cs, TcpChannelListener.cs,
1440 HttpChannelFactory.cs, HttpChannelListener.cs,
1441 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1442 TextMessageEncodingBindingElement.cs,
1443 BinaryMessageEncodingBindingElement.cs,
1444 MtomMessageEncodingBindingElement.cs :
1445 message encoder should be retrieved only through public API.
1446 * BindingContext.cs : so my old guess was wrong.
1448 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1450 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1452 * HttpTransportBindingElement.cs : implemented copy constructor.
1454 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1456 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1457 header when AddressingVersion is None.
1459 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1461 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1464 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1466 * OneWayBindingElementImporter.cs
1467 CompositeDuplexBindingElementImporter.cs : new files.
1469 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1471 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1472 semantic change, its bool parameter must be false, not true.
1474 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1476 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1477 new files. Msmq transport listener Implementation.
1478 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1479 (wait for System.Messaging impl.)
1480 * HttpReplyChannel.cs : added comment
1482 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1484 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1485 new files. internal stuff for msmq channel.
1486 * BinaryMessageEncoder.cs : added another .ctor().
1487 * MsmqTransportBindingElement.cs :
1488 implemented [Can]BuildChannelFactory().
1490 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1492 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1493 initialize some fields.
1495 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1497 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1498 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1499 couple of msmq stubs.
1501 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1503 * SecureMessageGenerator.cs : SecurityContextToken support (though
1504 it is still regarded as invalid by WCF).
1506 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1508 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1509 make header.Contents.Add() more strict.
1510 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1512 Added some hack to allow ssl token external mode.
1513 Commented out such lines that always premised asymmtric key.
1515 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1517 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1519 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1521 * MessageSecurityBindingSupport.cs : support check to create
1522 authenticator is now done in both initiator/recipient sides.
1523 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1525 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1527 * MessageSecurityBindingSupport.cs : for now, comment out the code
1528 that makes authenticator creation optional.
1529 * SecurityRequestContext.cs : don't decrypt message when it is
1530 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1532 * SecurityChannelListener.cs : GetProperty<T>() now returns
1533 MessageSecurityBindingSupport when requested. It is used by
1534 EndpointDispatcher to check if it supports WS-Trust negotiation.
1535 * ChannelListenerBase.cs :
1536 removed extra TODO and field. Implemented GetProperty<T>().
1537 * Message.cs : In CreateMessage() for SOAP Fault, create
1538 SimpleMessage with IsFault = true.
1540 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1542 * SecurityRequestContext.cs : try to reply fault with the inner
1543 channel when an error occurred internally.
1544 * FaultConverter.cs : implemented based on OperationContext (at normal
1545 state it does not seem to create messages, so I implemented it this
1548 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1550 * TransportBindingElement.cs : implemented GetProperty<T>().
1551 * TransactionFlowBindingElement.cs : on building factory or listener,
1552 reject channel types that cannot build.
1553 * SecurityBindingElement.cs : added some TODO comments.
1554 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1555 delegate to base, not BindingContext.
1556 * SecurityRequestContext.cs : somewhat late decryption.
1558 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1560 * MessageSecurityBindingSupport.cs,
1561 AsymmetricSecurityBindingElement.cs,
1562 SymmetricSecurityBindingElement.cs :
1563 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1564 implemented ISecurityCapabilities on them. Now those binding
1565 elements support GetProperty<ISecurityCapabilities>().
1567 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1569 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1570 will work only for predefined parameter types.
1572 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1574 * MessageSecurityBindingSupport.cs :
1575 Set proper MessageDirection to the requirement after creation.
1576 split CreateTokenAuthenticator() as MessageDirection is different.
1577 Removed extra creation of requirement.
1579 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1581 * MessageSecurityBindingSupport.cs : token authenticator is not
1582 always created on channel-opening stage.
1583 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1584 Sslnego binding factory method.
1586 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1588 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1589 signature velification failure.
1591 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1593 * SecureMessageGenerator.cs : encrypt signature confirmations only
1594 when they are required.
1596 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1598 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1599 when [Signature Protection is true i.e. when we use
1600 SignBeforeEncryptAndEncryptSignature.
1602 With this change finally samplesvc.cs/samplecli.cs became
1605 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1607 * SecureMessageDecryptor.cs : signature verification was not done
1608 for endorsing supporting tokens.
1609 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1610 in the security header. Don't output empty ReferenceList.
1612 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1614 * SecureMessageGenerator.cs : signingToken was added before being
1615 initialized and thus caused NRE.
1617 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1619 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1620 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1621 don't need workaround for symmetric key restoration.
1623 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1625 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1626 SecureMessageGenerator.cs :
1627 Avoid extra reference search from the request's ReferenceList.
1628 create HMACSHA1 always with the key to compute hash (I'm not sure
1629 it is correct; it is rather to adjust all hash consistent.)
1631 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1633 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1634 actually endorsed the primary signature.
1635 * SecureMessageGenerator.cs : implemented endorsing of the primary
1636 signature. So, now supporting tokens are fully implemented.
1638 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1640 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1641 totally signing tokens.
1642 * SecureMessageGenerator.cs : Endorsing tokens should also be
1643 included in the message. They are just not signed.
1645 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1647 * SecureMessageGenerator.cs : support signing and encryption of
1648 supporting tokens. Some required refactory to do it.
1649 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1651 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1653 * SecureMessageDecryptor.cs : fix exception message.
1654 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1655 XmlNamespaceManager is not required for GetIdElement().
1657 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1659 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1660 moved decryption part from former file to latter file, to reuse
1661 SignedXml instance (though now I doubt how it actually was good)
1662 which in turn required to replace EncryptedData in
1663 WSSecurityMessageHeader with decrypted one.
1664 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1666 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1668 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1669 EncryptedData should contain KeyInfo as it is not obvious which key
1670 is used there. .net<->mono DerivedKeyToken introp is done.
1671 * SecureMessageDecryptor.cs : check derived key requirement.
1672 Reduce dom-dependent parts.
1674 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1676 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1677 the related DerivedKeyToken (if any).
1678 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1679 support. Some refactoring to distinguish deried-token-related
1681 * SecureMessageDecryptor.cs : removed its own support for derived
1682 key tokens. Now it fully works with DerivedKeySecurityToken.
1684 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1686 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1687 SecureMessageDecryptor.cs :
1688 Implemented increment token reading in o:Security, as
1689 DerivedKeyToken could reference to existing wrapped key.
1690 Removed WsscDerivedKeyToken and all relevant code.
1691 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1692 DerivedKeySecurityToken.
1694 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1696 * SecureMessageGenerator.cs : it was setting security tokens into
1697 incorrect SecurityMessageProperty.
1698 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1699 Now it uses SecurityRequestContext instead of just primary key.
1700 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1701 to symmetric reply decryption, which is the only trouble case.
1702 Do not create another SignedXml.
1703 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1705 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1707 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1708 the resolver works with in-progress token reading in o:Security.
1709 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1710 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1711 * SecureMessageGenerator.cs : cosmetic refactoring.
1713 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1715 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1716 instead of EncryptedKey.
1718 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1720 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1721 should not be always prepared at channel Open(). It also caused
1722 that extra token requirements.
1723 * SecureMessageGenerator.cs : use correct key clause for encryption.
1724 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1726 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1728 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1729 for supporting 'supporting tokens' .
1730 * SecureMessageGenerator.cs : Supporting token creation is done only
1731 at initiator (not sure if it is supposed that, but for now it is).
1732 Removed extraneous CollectSupportingTokens().
1733 * SecureMessageDecryptor.cs : implemented supporting token
1734 authentication (partly). "Signed" supporting tokens are expected
1737 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1739 * SecureMessageGenerator.cs :
1740 make SignBeforeEncryptAndEncryptSignature working.
1742 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1744 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1745 the key itself. ProtectionToken is WrappedKey.
1746 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1747 not EncryptedKeyIdentifierClause which is not for embedded key.
1748 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1750 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1752 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1753 to switch asymmetric and symmetric. Not used yet.
1754 * SecurityRequestChannel.cs : now it pass the request security
1755 property to reply receiver so that it could use the primary key
1756 used at request phase.
1757 * SecurityRequestContext.cs : now it pass the context itself to
1758 reply sender so that it could embed related MessageID.
1759 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1760 binding element. Add RelatesTo output and remove MessageID when
1761 replying to the sender. Added some hacks to get symmetric binding
1763 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1764 in SecurityTokenReference (it also involved existing encrypted key
1765 retrieval). In reply receiver, reuse the key that was used at
1766 request phase. It needs significant token resolution refactoring.
1768 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1770 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1771 * SecureMessageDecryptor.cs : store token and its authentication
1772 policies into the security property, and reuse it on reply.
1773 Some code refactoring; there is at most one o:Security to solve at
1774 one endpoint (depends on Actor). Some attempt to use correct
1775 token parameters (but for now I have only samples that use x509).
1776 * SecureMessageGenerator.cs : For replying message, use initiator's
1777 signing token as the encryption token. Simply reuse security
1778 property from the input message.
1780 I have some nasty workaround at decryptor for initiator that could
1781 not retrieve decryption key.
1783 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1785 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1786 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1787 several refactoring on token acquisition. Large part of
1788 MessageSecurityBindingSupport code is unified.
1790 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1792 * MessageProperties.cs : Security property should be one of the items.
1793 Actually many other properties should be similar as well.
1794 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1795 when copying a message, copy properties as well.
1796 * SecurityRequestContext.cs : on replying, pass input
1797 SecurityMessageProperty to the security generator.
1798 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1800 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1802 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1805 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1806 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
1807 use new WSSignedXml instead of SignedXml, and remove coexisting
1808 Id and wsu:Id. Now we can live only with wsu:Id and therefore
1809 - our reply messages could be consumed by .NET, and
1810 - .NET signature could be verified.
1812 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1814 * SecureMessageDecryptor.cs : The signing key must be passed as
1815 CheckSignature() argument, not SigningKey.
1817 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1819 * MessageImpl.cs : don't read attribute after ReadStartElement().
1821 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1823 * MessageSecurityBindingSupport.cs : some Release() refactoring.
1824 * SecureMessageGenerator.cs : use correct signing key clause for
1825 SecurityTokenReferenceKeyInfo to be serialized.
1826 * SecureMessageDecryptor.cs : now it can try to parse signature.
1828 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1830 Ongoing changes to support signature confirmation
1831 * SecureMessageGenerator.cs :
1832 Don't output ReplyTo onto reply message.
1833 Write SignatureConfirmation if needed.
1834 * SecureMessageDecryptor.cs :
1835 Some refactoring for header cunsumption. Added commented-out
1836 signature verification part (not working yet, on client side due
1837 to incorrect reply from service and insufficient clause reader).
1838 * WSSecurityMessageHeader.cs :
1839 Added SignatureConfirmation support.
1840 KeyInfoClause for o:SecurityTokenReference should be replaced with
1841 SecurityTokenReferenceKeyInfo.
1843 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1845 * SecureMessageGenerator.cs : support Timestamp signature.
1846 Removed unused code, and extra argument in CreateReference().
1847 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
1849 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
1851 * SecureMessageGenerator.cs :
1852 Several fixes to make asymmetric binding working:
1853 - Differentiate signing and encryption token in several areas.
1854 - Fixed signing keyinfo.
1856 Added initial SecurityMessageProperty handling, not sure if it is
1857 appropriate here though.
1858 * HttpRequestChannel.cs : (some debugging lines)
1860 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1862 Woohoo! Here is a very basic WS-Security compliant message which could
1863 be allowed by Indigo.
1864 * MessageHeader.cs : added Id support for writing.
1865 * Message.cs : added internal BodyId for signature reference.
1866 * MessageImpl.cs : write Body Id if required.
1867 * SecureMessageGenerator.cs : Before signing, the target elements must
1868 be given wsu:Id. Since I still use System.Security.dll, I need some
1869 trick for signing (I give both Id and wsu:Id, former to sign and
1870 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
1871 implementation later. Now singning mechanism works except for
1872 wsu:Timestamp (which is kind of mandatory).
1874 I can's still consume replies from Indigo but it's a big progress :)
1876 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
1878 * MessageHeaderInfo.cs : added internal Id.
1879 * MessageHeader.cs : read and write wsu:Id.
1880 * Message.cs : output wsu namespace if Id exists in any header.
1881 * HttpReplyChannel.cs : (some debugging lines.)
1882 * SecureMessageDecryptor.cs : (remove debugging lines.)
1883 * MessageImpl.cs : removed obsolete code.
1884 * WSSecurityMessageHeader.cs : output "o" prefix.
1885 * SecureMessageGenerator.cs : replaced XmlElement-based header
1886 signing with MessageHeader-based signing, to support Id correctly.
1888 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
1890 * SecureMessageGenerator.cs : some more refactoring and code comments.
1891 * MessageSecurityUtility.cs : made decryptor into an instance class,
1892 like I've done for SecureMessageGenerator.
1893 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
1894 dependent changes for above.
1896 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1898 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
1899 causing NRE due to the lack of token reference.
1900 No need to pass doc to SignedXml.ctor() anymore.
1901 Moved ReferenceList before the signature(s).
1903 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1905 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
1906 Moved signing key generation code to non-HMACSHA1 signing part.
1907 Don't try to sign wss:Security.
1908 Pass document itself to SignedXml.ctor().
1909 Use temporary DataObjects to avoid adding Ids (not sure what is the
1910 expected processing yet).
1911 * WSSecurityMessageHeader.cs : to support timestamp signing, add
1912 WriteTo() method in WsuTimestamp.
1914 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
1916 * SecureMessageGenerator.cs : wrong key was used for signing.
1917 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
1919 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1921 * SecureMessageGenerator.cs :
1922 Now ID generation process does not modify input message.
1923 Moved derived key generation part into (virtual) signing loop.
1924 MessagePartSpecification support for signing is done.
1926 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1928 * SecureMessageGenerator.cs : some reordering to handle signing and
1929 encryption with supporting tokens. Fixed XPath query bug for
1930 soap header contents (we want s:Header/*, not s:Header).
1932 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1934 * MessageSecurityBindingSupport.cs : more refactoring.
1935 Made it abstract and added Initiator- and Recipient- classes.
1936 Several members were moved to those derived types.
1937 * AsymmetricSecurityBindingElement.cs,
1938 SymmetricSecurityBindingElement.cs
1939 SecurityChannelFactory.cs, SecurityChannelListener.cs,
1940 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
1941 SecurityRequestContext.cs, SecureMessageGenerator.cs :
1942 All dependent changes by above. Removed ISecurityChannelSource
1943 which became useless.
1945 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1947 * SecureMessageGenerator.cs : encryption parts should exist too.
1948 * AsymmetricSecurityBindingElement.cs
1949 SymmetricSecurityBindingElement.cs,
1950 MessageSecurityBindingSupport.cs : some refactoring.
1951 Split MessageSecurityBindingSupport into security binding element
1952 specific parts and made MessageSecurityBindingSupport concrete.
1953 It is likely split again, next time based on initiator/recipient.
1955 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1957 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
1958 split encryptor part in the former file into latter file, and
1960 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
1961 SecurityRequestContext.cs : apply the change above.
1963 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1965 * MessageSecurityBindingSupport.cs :
1966 Fixed incorrect TrgGetValue() use.
1967 Added CollectRecipientSupportingTokens().
1969 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
1971 * MessageSecurityUtility.cs: acctually ReferenceList was inside
1972 EncryptedKey. So, when a key itself is used to encrypt data,
1973 ReferenceList is contained by itself.
1974 * MessageSecurityBindingSupport.cs :
1975 added CollectInitiatorSupportingTokens().
1977 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
1979 * MessageSecurityUtility.cs: it should support ReferenceList-less
1982 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
1984 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
1985 * MessageSecurityUtility.cs : there already was uuid.
1987 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
1989 * MessageSecurityUtility.cs : replaced EncryptedKey with
1990 WrappedKeySecurityToken, which seems to be in actual use in .net.
1991 * WSSecurityMessageHeader.cs : added internal Guid so that it
1992 could be shared between header items.
1994 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
1996 * HttpRequestContext.cs, TextMessageEncoder.cs :
1997 some null arg check.
1999 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2001 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2002 for SecurityTokenReference resolution.
2004 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2006 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2007 consider DerivedKeyTokens correctly.
2008 When creating LocalId, don't add '#' here.
2010 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2012 * MessageSecurityUtility.cs :
2013 handle key mapping for each wsse:Security.
2015 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2017 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2019 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2021 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2023 * MessageSecurityUtility.cs :
2024 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2025 suggests, and it is used to dereference decryption targets.
2026 Now it premises multiple wsse:Security elements to read.
2028 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2030 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2031 manually (and actually the namespace URI was wrong).
2033 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2035 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2037 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2039 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2041 * SecurityBindingElement.cs,
2042 SymmetricSecurityBindingElement.cs,
2043 AsymmetricSecurityBindingElement.cs :
2044 implemented SetKeyDerivation().
2046 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2048 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2051 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2053 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2056 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2058 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2059 thus move it in front of encryption/signing.
2061 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2063 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2064 check state by themselves (btw it's not really working).
2065 * HttpChannelListener.cs : If the url does not end with '/' add it
2066 so that it could be fed to HttpListener.
2068 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2070 * HttpChannelFactory.cs : check scheme on CreateChannel.
2071 * MessageHeader.cs : finish IsMessageVersionSupported().
2073 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2075 * FaultConverter.cs : new file, not used yet though.
2077 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2079 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2081 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2083 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2084 GET as well as HttpReplyChannel, configuration would be ready now.
2086 2006-10-18 Ankit Jain <jankit@novell.com>
2088 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2089 EnvelopeVersion.Soap12 and 'text/xml' for others.
2090 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2092 Strip '?' from the query string.
2094 2006-10-13 Ankit Jain <jankit@novell.com>
2096 * MessageVersion.cs (None): Set AddressingVersion.None
2098 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2100 * SvcHttpHandler.cs : added config-based endpoint addition code.
2101 Though due to some weird bug in mono-core it does not seem to work,
2102 so commented out for now.
2103 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2104 mex request message might just be wrong.
2105 Use expected MessageVersion by the channel.
2106 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2108 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2110 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2111 which differs depending on whether it is asymmetric or symmetric.
2112 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2113 simplify SecureMessage() and DecryptMessage() arguments (just
2114 take MessageSecurityBindingSupport instead of several parameters).
2115 * MessageSecurityUtility.cs :
2116 - simplify SecureMessage() and DecryptMessage() arguments (just
2117 take MessageSecurityBindingSupport instead of several parameters).
2118 - Take token inclusion mode into account. Don't include them when
2119 it is not expected. Also, change the token reference style.
2120 - add wsa:MessageID to the headers.
2121 - For hmac-sha1 signing (default for symmetric binding), use
2122 symmetric key created for encryption as well to create HMACSHA1.
2123 - add Id to wsu:Timestamp.
2124 - start to handle SecurityMessageProperty.
2125 * WSSecurityMessageHeader.cs :
2126 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2127 Changed date format.
2129 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2131 * CommunicationObject.cs : reject faulted state on Open()/Close().
2132 * MessageHeaders.cs : removed extra fields.
2134 2006-10-06 Ankit Jain <jankit@novell.com>
2136 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2138 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2140 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2141 added some FIXMEs and additional arg.
2143 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2145 * MessageSecurityUtility.cs : remove duplicate Action header.
2147 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2149 * MessageFault.cs : partly implemented CreateFault(Message, int).
2150 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2151 handle IsFault correctly in each implementation.
2153 2006-10-04 Ankit Jain <jankit@novell.com>
2155 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2157 2006-10-04 Ankit Jain <jankit@novell.com>
2159 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2160 in WebConnectionStream.
2162 2006-10-04 Ankit Jain <jankit@novell.com>
2164 * MessageHeaders.cs (To): Use GetHeader<string> till
2165 DataContractSerializer gets ISerializable support.
2166 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2168 2006-10-04 Ankit Jain <jankit@novell.com>
2170 * ServiceHostParser.cs (Parse):
2171 (Split): Add some error checks.
2173 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2175 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2176 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2177 * SslStreamSecurityUpgradeProvider.cs,
2178 SslStreamSecurityUpgradeAcceptor.cs :
2179 new files for Ssl upgrade provider implementation.
2180 * MessageSecurityUtility.cs :
2181 Create proper C14NTransform. Don't use enveloped signature
2182 transform but sign every significant bits. On securing messages
2183 use ChannelProtectionRequirements.
2184 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2186 * MessageEncoder.cs : fix API (missing constraint).
2187 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2188 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2189 * AsymmetricSecurityBindingElement.cs : default protection order is
2190 SignBeforeEncryptAndEncryptSignature.
2192 2006-09-29 Ankit Jain <jankit@novell.com>
2194 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2195 ServicHostParser and use that here.
2196 (PrivateBinPath): New.
2197 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2198 (RemovedCallback): Remove and close the SvcHttpHandler when its
2199 corresponding file (.svc) changes.
2200 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2202 * ServiceHostParser.cs : New.
2203 * CachingCompiler.cs : New. Code extracted from
2204 System.Web.Compilation.CachingCompiler
2205 * CompilationException.cs : New. From System.Web.Compilation
2206 * HtmlizedException.cs : New. Likewise.
2208 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2210 * MessageSecurityBindingSupport.cs : For client side, it is always
2211 InitiatorServiceModelSecurityTokenRequirement which should be
2212 created. Fixed wrong client encryption key acquisition.
2214 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2216 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2217 MessageSecurityBindingSupport.cs : made similar changes as factories
2218 to listener so that session channels and input channels would work.
2219 Added authenticator creation.
2221 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2223 * Binding.cs : added missing members.
2225 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2227 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2228 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2229 reduce code duplication between request and output channels.
2230 The common parts are now in MessageSecurityBindingSupport.
2231 Now reduced several arguments in SecureMessage() for client.
2233 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2235 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2237 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2239 * AsymmetricSecurityBindingElement.cs,
2240 SecurityChannelListener.cs,
2241 SecurityRequestContext.cs,
2242 SymmetricSecurityBindingElement.cs,
2243 SecurityRequestChannel.cs,
2244 SecurityOutputChannel.cs,
2245 SecurityChannelFactory.cs,
2246 MessageSecurityBindingSupport.cs : 1) Refactoring.
2247 IMessageSecurityBindingSupport now becomes a class and contains
2248 all the members which resided in ISecurityChannelSource.
2249 Now it takes more constructor params.
2250 Made dependent changes on all sources above.
2252 2) Added SecurityTokenAuthenticator creation in
2253 SecurityRequestChannel (SecurityOutputChannel should do the same).
2255 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2257 * SecurityRequestChannel.cs : ongoing improvements on conditional
2258 key creation. Actually there must be some part that creates an
2259 authenticator (WinFX does that).
2261 2006-09-27 Ankit Jain <jankit@novell.com>
2263 Add suport for handling .svc files.
2264 * SvcHttpHandlerFactory.cs: New.
2265 * SvcHttpHandler.cs: New.
2267 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2268 asp.net environment.
2269 (OnOpen): Do nothing in asp.net environment.
2270 (OnClose): Likewise.
2271 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2272 * HttpRequestContext.cs: .. here.
2274 * AspNetReplyChannel.cs: New.
2275 * AspNetRequestContext.cs: New.
2277 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2279 * MessageSecurityUtility.cs :
2280 Significantly rewritten decryption parts to respect ReferenceList
2281 to decrypt (so no workaround anymore).
2282 Now e:ReferenceList inside o:Security is treated as the referenced
2283 EncryptedType items are encrypted by 1) the derived key which is
2284 immediately in front of it, or 2) the default key (it is according
2285 to WS-SecureConversation section 9.1). Thus removed immediately
2286 previous hack to auto-fill wsu:Id attributes.
2288 On securing a message, generate correct Id and add DataReference
2289 to ReferenceList properly.
2291 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2293 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2296 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2298 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2299 Actually WSSecurityTokenSerializer should be able to consume it, but after
2300 spending a lot of time I still cannot successfully read it on WinFX.
2301 Skip ReferenceList for now.
2302 * MessageSecurityUtility.cs :
2303 Replaced some string literals with constants.
2304 Added some workaround for DerivedKeyToken retrieval.
2305 WinFX somehow sends incomplete ISO10126 padding which contains
2306 bigger number than the key size and is rejected by EncryptedXml,
2307 so added DecryptLax() which processes such ones in PaddingMode.None
2308 to workaround it (only for cross-connection between mono and winfx).
2309 Added some incomplete implicit wsu:Id processing.
2310 Don't try to replace SignedXml with EncryptedData. It is not added
2311 to the document tree.
2313 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2315 * MessageSecurityUtility.cs : support message signature encryption. Some
2318 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2320 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2322 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2324 * MessageSecurityUtility.cs : fix warnings.
2326 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2328 * MessageSecurityUtility.cs : actually there would be more than one
2329 EncryptedData. Decrypt all.
2331 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2333 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2334 Use ISO10126 padding mode (it is not required but in manner).
2336 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2338 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2339 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2340 that class to make it work fine with mono client).
2341 Removed buggy lines that reset decryption key to AES.
2342 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2343 * WSSecurityMessageHeader.cs :
2344 (SecurityTokenReferenceKeyInfo) support LoadXml.
2346 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2348 * TransactionMessageProperty.cs : new file.
2350 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2352 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2353 gmcs happened to report wrong code.
2355 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2357 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2358 .ctor() now requires ChannelProtectionRequirements which will be
2359 supplied via BindingParameterCollection.
2360 * SymmetricSecurityBindingElement.cs,
2361 AsymmetricSecurityBindingElement.cs : thus add
2362 ChannelProtectionRequirement parameter to factory/listener.
2363 * SecurityRequestChannel.cs : use recipient token requirement to
2364 create an encryption token. Thus differentiate the logic from
2365 signing (initiator) token.
2367 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2369 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2370 renamed former to latter.
2371 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2374 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2376 * MessageSecurityBindingSupport.cs : new internal types to commonize
2377 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2378 and thus make internal factory and listener reusable.
2379 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2380 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2381 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2382 SymmetricSecurityBindingElement, using the new types above.
2383 * SymmetricSecurityBindingElement.cs :
2384 Use SymmetricMessageSecurityBindingSupport.
2385 * AsymmetricSecurityBindingElement.cs :
2386 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2388 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2390 * ChannelFactoryBase.cs : more RC1 update.
2392 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2394 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2395 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2396 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2397 ChannelBase.cs : RC1 API updates.
2398 * MessageImpl.cs : implemented Properties.
2399 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2401 2006-09-18 Ankit Jain <jankit@novell.com>
2403 * MessageHeaders.cs (MessageId):
2404 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2406 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2408 * ChannelParameterCollection.cs : new file.
2409 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2410 new files for IOutputChannel implementation.
2411 * OneWayBindingElement.cs : hacky implementation.
2412 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2413 * MessageSecurityUtility.cs : now create identifier from the security
2414 token and the token parameters which is added as an argument.
2415 * SecurityRequestContext.cs,
2416 SecurityRequestChannel.cs : SecureMessage() argument changes.
2417 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2420 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2422 * HttpRequestChannel.cs : close the HttpWebRequest.
2424 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2426 * HttpRequestChannel.cs,
2427 HttpChannelFactory.cs : implement async request/reply.
2428 * HttpChannelFactory.cs :
2429 verify factory state when creating a channel.
2431 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2433 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2434 BinaryMessageEncoder.cs : added message version mismatch check.
2436 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2438 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2439 Making incomplete changes to handle different tokens for encryption
2441 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2442 split channel implementation classes out to the latter file.
2443 * MessageSecurityUtility.cs : seems like there is
2444 TimeStampValidityDuration property, so use it (incomplete; a server
2445 needs another love).
2447 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2449 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2450 SecurityRequestContext.cs : now that we have key identifier clause
2451 and working ResolveKeyIdentifierClause(), just create keys inside
2452 SecureMessage(). Add KeyInfo to the xmldsig.
2454 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2456 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2457 pass SecurityKeyIdentifierClause to SecureMessage().
2458 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2459 for IssuedToken binding element.
2460 * SymmetricSecurityChannelListener.cs : removed hack to just create
2461 X509 security token, and implemented correct token creation.
2462 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2463 wraps SecurityTokenReference element.
2464 * MessageSecurityUtility.cs : use the above.
2466 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2468 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2469 could not find a security header.
2470 * SymmetricSecurityChannelFactory.cs : now it also supports
2471 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2474 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2476 * SecurityRequestContext.cs : moved securing message part to
2477 MessageSecurityUtility.cs.
2478 * MessageSecurityUtility.cs : the change above.
2479 use DateTime.Now for timestamp basis. Don't append signature to
2480 the document. Instead it is added to the header. Capture body
2481 content instead of the body itself.
2482 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2483 be processed by upper layers.
2485 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2487 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2488 SymmetricSecurityChannelListener.cs,
2489 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2490 more refactoring. Request serialization became much more conformant
2491 and add required header items.
2492 Security Token retrieval is needed to send it in the request.
2493 Fixed wrong key encryption.
2495 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2497 * SecurityRequestContext.cs : the workaround was not functional.
2499 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2501 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2502 API, especially ReplaceData(), instead of native crypto stuff.
2503 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2504 MessageProtectionOrder.SignBeforeEncrypt).
2506 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2508 * SecurityRequestContext.cs : label should be combined of both
2509 the client's and the server's.
2511 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2513 * SecurityRequestContext.cs : enable key derivation (though for now
2514 GenerateDerivedKey() is unimplemented). Create meaningful,
2515 decrypted request message to be consumed by the upper layer.
2517 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2519 * SecurityRequestContext.cs : implement Close() and Reply().
2520 ongoing implementation of Reply(TimeSpan).
2521 * MessageSecurityUtility.cs : new file to collect utility methods.
2522 * SymmetricSecurityChannelFactory.cs : moved securing message code
2524 * SymmetricSecurityChannelListener.cs : tiny renaming.
2526 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2528 * SecurityRequestContext.cs : security header is also stored.
2530 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2533 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2535 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2538 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2540 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2541 so that it retrieves the security key in that manner.
2543 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2545 * Binding.cs : MessageVersion is null when there is no
2546 MessageEncodingBindingElement.
2547 * Message.cs : null arg check.
2549 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2551 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2553 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2555 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2556 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2557 LayeredRequestChannel.cs : some refactoring.
2558 * SymmetricSecurityChannelFactory.cs :
2559 ongoing secure message creation implementation.
2561 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2563 * SymmetricSecurityBindingElement.cs :
2564 pass specific ServiceCredentialsSecurityTokenManager type to
2565 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2566 * SymmetricSecurityChannelListener.cs :
2567 get service certificate. It's a temporary hack.
2568 Move RequestContext code to below.
2569 * SecurityRequestContext.cs : new file.
2570 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2571 it I have to finish decryption of the incoming message.
2573 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2575 * MessageImpl.cs : don't write attributes on the first body content
2576 element *on soap Body element*.
2577 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2578 ObjectDisposedException is appropriate.
2579 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2580 in OnWriteHeader*Contents*().
2582 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2584 * WSSecurityMessageHeader.cs : new file.
2585 * SymmetricSecurityChannelFactory.cs :
2586 moved WSSecurityHeader and related types to the above.
2587 * SymmetricSecurityChannelListener.cs :
2588 reject SOAP-env-less message.
2590 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2592 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2593 renamed former to latter.
2594 * SymmetricSecurityChannelFactory.cs :
2595 create requirements every time. It is also likely that I need
2596 another requirement instance to get service credentials here.
2598 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2600 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2601 similar to BuildChannelFactory() (set credentials, issuer binding
2603 * SecurityChannelListener.cs :
2604 more ongoing security support implementation.
2605 * SymmetricSecurityChannelFactory.cs :
2606 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2608 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2610 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2611 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2612 Implementation is underway.
2613 * LayeredReplyChannel.cs :
2614 like LayeredRequestChannel, use ChannelListenerBase to provide
2617 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2619 * MessageHeader.cs : added another implementation type that uses
2620 XmlElement, for buffering purpose.
2621 * MessageImpl.cs : Header item types are user-driven by
2622 MessageHeader.GetHeader<T>(int), so at storing phase just store
2623 nodes as XmlElement.
2624 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2627 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2629 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2630 BindingParameterCollection, not from binding element properties.
2632 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2634 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2635 renamed former to latter.
2637 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2639 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2640 work for SslSecurityTokenParameters.
2642 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2644 * SecurityBindingElement.cs :
2645 Added SetIssuerBindingContextIfRequired().
2646 * SecurityChannelFactory.cs :
2647 Changed .ctor() arg again, just to receive binding element.
2648 * SymmetricSecurityBindingElement.cs :
2649 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2650 SymmetricSecurityChannelFactory .ctor() arg changes.
2651 "ProtectionTokenParameters" is not passed now.
2653 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2655 * SymmetricSecurityBindingElement.cs : requirements should be
2656 filled at InitializeSecurityTokenParameters as long as possible.
2657 SymmetricSecurityChannelFactory<T> now does not receive
2658 requirements (it now creates one inside it) at .ctor().
2659 * SecurityChannelFactory.cs : remove requirement argument.
2661 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2663 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2665 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2667 * SymmetricSecurityBindingElement.cs :
2668 MessageSecurityVersion property is of type SecurityTokenVersion.
2669 * SecurityBindingElement.cs :
2670 Implemented CreateSecureConversationBindingElement().
2671 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2672 the argument IssuedSecurityTokenParameters itself.
2674 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2676 * SymmetricSecurityBindingElement.cs :
2677 CreateSecurityTokenManager() can be directly used now.
2678 Use CallInitializeSecurityTokenRequirement() to fill requirement
2681 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2683 * ChannelFactoryBase.cs : GetProperty() is virtual.
2685 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2687 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2688 create token manager, token parameters and token requirements,
2689 and fill some requirements.
2690 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2691 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2692 * BindingContext.cs : implemented RemainingBindingElements.
2693 kill "no remaining binding element" error in GetInnerProperty()
2694 * SecurityChannelFactory.cs : now it became
2695 SymmetricSecurityChannelFactory, thus soon to be renamed.
2696 Several ongoing actual security resolution is on.
2698 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2700 * CommunicationObject.cs :
2701 add GetCommunicationObjectType() and use it.
2702 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2703 use ThrowIfDisposedOrNotOpen().
2704 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2705 to CommunicationObject. Make it IDisposable.
2706 * LayeredRequestChannel.cs : use above.
2707 * SecurityChannelFactory.cs : removed state check as it is done at
2710 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2712 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2713 CanBuildChannelListener) directly dispatch to BindingContext.
2714 * SymmetricSecurityBindingElement.cs : require protection token
2715 parameters before building a channel or a listener.
2716 * ChannelFactoryBase.cs : raise an error when a channel is being
2717 created without opening the factory.
2718 * ChannelListenerBase_1.cs : ditto for the listener.
2719 * SecurityChannelFactory.cs : before sending a request, it must be
2722 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2724 * MessageBufferImpl.cs : initialize fields.
2725 workaround BufferSize just to return 0.
2726 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2727 which does not support multi time write.
2728 * Message.cs : implemented State.
2730 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2732 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2733 is consuming XmlReader.
2734 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2735 * MessageBuffer.cs : implemented CreateNavigator().
2736 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2738 I kinda know that MS heavily depends on binary XmlReader and may have
2739 XPathNavigator implementation based on the binary stuff, but at
2740 least for now we have almost no motivation to mimick it.
2742 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2744 * SecurityChannelFactory.cs : a bit more of security header code.
2746 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2748 * SymmetricSecurityBindingElement.cs :
2749 set default MessageProtectionOrder in every construction.
2751 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2753 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2754 changed to require ChannelFactoryBase to support default timeout.
2755 Made some methods non-virtual. Preparing code to add security
2756 headers (empty yet).
2757 * SecurityBindingElement.cs : implemented several factory methods
2758 that return SymmetricSecurityBindingElement.
2760 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2762 * IStreamUpgradeBindingElement.cs,
2763 StreamUpgradeBindingElement.cs : renamed from former to latter.
2765 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2767 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2769 2006-07-31 Ankit Jain <jankit@novell.com>
2771 * MessageHeaders.cs (From): Use Constants.WSA1
2772 (MessageId): Implement the same pattern as other properties (From etc).
2774 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2776 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2777 * SecurityBindingElement.cs : some cosmetic changes.
2779 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2781 * SecurityBindingElement.cs : LocalClientSettings and
2782 LocalServiceSettings returns an instance for each.
2783 * LocalClientSecuritySettings.cs : initialized fields.
2785 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2787 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2788 kinda implemented Clone() just with MemberwiseClone().
2790 2006-07-27 Ankit Jain <jankit@novell.com>
2792 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2793 * MessageHeader.cs (knownTypes): New. Known type array containing
2795 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2797 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2799 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2800 LayeredCommunicationObject.cs,
2801 SecurityChannelFactory.cs, SecurityChannelListener.cs :
2802 new files to support security channels, though right now they
2803 just pass inner channels through.
2804 * SymmetricSecurityBindingElement.cs : use above.
2806 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2808 * AsymmetricSecurityBindingElement.cs,
2809 SymmetricSecurityBindingElement.cs :
2810 Default SecurityTokenParameters is null.
2812 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2814 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
2816 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2818 * Message.cs : When EnvelopeVersion is None, don't write SOAP
2820 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
2821 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
2822 headers. When AddressingVersion is None, don't output addressing
2823 headers as well, except for Action which is still needed by
2826 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2828 * MessageHeaders.cs : changed specific properties to find it from
2829 headers as Action property does (local variables won't be set by
2830 setter). Cache serializers. Check null serializer arguments.
2831 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
2833 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
2835 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
2836 use XmlObjectSerializer (since it is not data contract type).
2838 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2840 * MessageImpl.cs : Improved ReadHeaders().
2841 For certain header items, use EndpointAddress.ReadFrom().
2843 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2845 * AsymmetricSecurityBindingElement.cs :
2846 it is not ISecurityCapabilities anymore.
2848 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
2850 * MessageVersion.cs : added None.
2852 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
2854 * Message.cs : GetReaderAtBodyContents() implementation using
2857 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
2859 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
2860 used MessageVersion.Default.
2862 2006-07-12 Duncan Mak <duncan@novell.com>
2864 * MessageBuffer.cs (MessageContentType): Return
2865 "application/soap+msbin1".
2867 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
2868 (SimpleMessage.OnCreateBufferedCopy):
2869 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
2870 MessageBuffer implementations.
2872 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
2873 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
2874 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
2876 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
2878 * MessageImpl.cs : Action should be added in request messages. Omit
2879 it only in reply message, thus moved to dispatcher logic.
2881 2006-07-12 Ankit Jain <jankit@novell.com>
2883 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
2884 bug in WebConnectionStream.
2885 * MessageHeaders.cs (MessageHeaders.From):
2886 (MessageHeaders.ReplyTo):
2887 (MessageHeaders.To): Add the corresponding MessageHeader on set.
2889 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
2891 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
2892 add SOAP Action to the response at any time.
2894 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
2896 * SymmetricSecurityBindingElement.cs,
2897 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
2898 Implemented .ctor() and some properties.
2900 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
2902 * TransactionFlowBindingElement.cs : new file.
2903 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
2905 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
2908 DefaultAction vanished. CreateFault() now takes bufferSize arg.
2909 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
2910 * AddressingVersion.cs : added None. Equals() and GetHashCode()
2911 vanished (there is anyways no way to instantiate this type).
2912 * MessageVersion.cs : added Soap11 and Soap12.
2913 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
2914 in June CTP. goodie.
2916 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2918 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
2919 removed some vanished CreateMessage() overloads.
2921 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2923 * CustomBinding.cs, HttpsTransportBindingElement.cs,
2924 HttpTransportBindingElement.cs :
2925 They are not ISecurityCapabilities anymore.
2926 Modified code to match June CTP behavior.
2928 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2930 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
2932 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2934 * EmptyFaultException.cs : removed unused code.
2935 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
2937 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2939 * LayeredChannelFactory.cs : removed obsolete class.
2940 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
2941 ChannelListenerBase.cs, HttpChannelListener.cs,
2942 HttpReplyChannel.cs, ChannelManagerBase.cs :
2943 all those changes were brought by ChannelManagerBase changes.
2945 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2947 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
2948 CommunicationObject.cs, HttpChannelListener.cs,
2949 ChannelFactoryBase.cs :
2950 CommunicationObject abstract changes brought this madness.
2952 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2954 * BindingContext.cs : listenUri address parameters could be null in
2957 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2959 * IRequestContext.cs :
2960 Now it became a class. File renaming will follow soon.
2961 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
2962 IDuplexChannel.cs, IDuplexSessionChannel.cs,
2963 IOutputChannel.cs, IOutputSessionChannel.cs,
2964 IRequestChannel.cs, IRequestSessionChannel.cs :
2965 They are not IDisposable anymore.
2966 For IReplyChannel, IRequestContext -> RequestContext.
2967 * IChannelListener.cs : removed Identity. Added GetProperty().
2968 * ChannelListenerBase.cs, ChannelListenerBase.cs,
2969 ReplyChannelBase.cs, HttpReplyChannel.cs :
2970 Several members disappeared, and dependent changes.
2971 * HttpTransportBindingElement.cs,
2972 HttpChannelListener.cs, :
2973 ChannelListenerBase.SharedChannelListener vanished.
2975 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
2977 * MessageEncodingBindingElement.cs
2978 MtomMessageEncodingBindingElement.cs,
2979 TextMessageEncodingBindingElement.cs,
2980 BinaryMessageEncodingBindingElement.cs :
2981 June CTP updates: AddressingVersion -> MessageVersion.
2982 * Binding.cs : June CTP. MessageVersion is added.
2983 * ChannelBase.cs, BindingContext.cs, IChannel.cs
2984 ChannelListenerBase_1.cs,
2985 ChannelListenerBase.cs, IChannelListener.cs,
2987 ChannelFactoryBase.cs, ChannelManagerBase.cs :
2988 June CTP. Several interface changes.
2989 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
2990 * IChannelManager.cs, LayeredChannelListener.cs,
2991 GenericWrapperChannelFactory.cs,
2992 GenericWrapperChannelListener.cs : They are not used anymore.
2994 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
2996 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
2997 sync fix with June CTP API updates.
2999 2006-07-03 Ankit Jain <jankit@novell.com>
3001 * MessageEncodingBindingElementConverter.cs:
3002 * StandardBindingConverter.cs:
3003 * TransportBindingElementConverter.cs:
3004 * TransactionFlowBindingElementConverter.cs:
3005 * ReliableSessionBindingElementConverter.cs:
3006 * SecurityBindingElementConverter.cs:
3007 Rename *Converter.cs to *Importer.cs
3009 * TransferMode.cs: Move to System.ServiceModel
3011 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3013 * CommunicationObject.cs : make sure to change State before
3014 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3016 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3018 * Message.cs : output WSAddressing xmlns only when Action is
3019 specified (To should be affected, but seems like it is ignored).
3021 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3023 * MessageImpl.cs : don't set Action when it is null.
3025 2006-06-12 Ankit Jain <jankit@novell.com>
3027 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3029 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3031 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3032 some updated API fixes.
3034 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3036 * EnvelopeVersion.cs : moved back to S.SM.
3038 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3040 * IBindingManualAddressing.cs : vanished in beta2.
3041 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3042 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3044 * SecurityBindingElement.cs :
3045 SecurityStandardsManager -> SecurityTokenSerializer.
3047 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3049 * XmlSerializerBodyWriter.cs : new file to handle
3050 TypedMessageConverter.ToMessage().
3052 2006-04-26 Ankit Jain <jankit@novell.com>
3054 * TransportBindingElementConverter.cs (BeforeImport): Remove
3055 NotImplementedException.
3056 (ImportContract): Likewise.
3057 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3059 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3061 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3062 being used was not reflecting that of Binding elements.
3064 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3066 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3067 just assume that it is in the message.
3069 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3071 * HttpReplyChannel.cs : actually HTTP header item might be null.
3073 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3075 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3078 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3080 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3082 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3084 * MessageFault.cs : Fixed SOAP12 reason output.
3086 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3088 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3089 MessageEncoder.ContentType explicitly contains encoding.
3090 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3091 if it is SOAP version dependent.
3093 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3095 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3097 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3099 * HttpChannelFactory.cs BindingContext.cs
3100 HttpChannelListener.cs HttpTransportBindingElement.cs :
3101 Now BindingContext holds MessageEncoder, and non-custom
3102 channel factory/listener should use it.
3103 * MtomMessageEncodingBindingElement.cs
3104 TextMessageEncodingBindingElement.cs
3105 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3106 -Listener() now sets internal BindingContext.MessageEncoder.
3107 Fixed some public API.
3109 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3111 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3112 for insufficient elements.
3113 * DispatchRuntime.cs : OperationDescription name is not action. So
3114 OperationSelector is created by name, not by action.
3115 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3117 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3119 * MessageFaultBodyWriter.cs
3120 XmlReaderBodyWriter.cs
3121 XmlObjectSerializerBodyWriter.cs : made internal.
3122 * SecurityBindingElement.cs
3123 AsymmetricSecurityBindingElement.cs
3124 SymmetricSecurityBindingElement.cs : API fixes.
3125 * TransportBindingElementConverter.cs : ditto.
3126 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3127 * WindowsStreamSecurityBindingElement.cs
3128 SslStreamSecurityBindingElement.cs
3129 TransportSecurityBindingElement.cs : new files.
3131 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3133 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3134 reading can be any xs:boolean value.
3136 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3138 * Message.cs MessageImpl.cs : more sorting out the role of each
3140 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3142 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3144 * Message.cs : don't write body contents if it is empty.
3145 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3146 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3147 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3148 * HttpRequestChannel.cs : close request stream before GetResponse().
3150 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3152 * TextMessageEncoderFactory.cs
3153 TextMessageEncoder.cs : encoder does not hold reference to the
3154 factory anymore. Use MessageVersion property in CreateMssage().
3155 * HttpChannelListener.cs : now it holds message encoder.
3156 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3157 * MessageImpl.cs : header is optional.
3158 * EnvelopeVersion.cs : namespace URI is missing.
3160 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3162 * CustomBinding.cs : removed Initialize().
3163 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3164 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3165 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3166 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3168 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3170 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3171 could be also added by Add() method and could be reset by Remove()).
3172 * MessageImpl.cs : implemented more. As noted above, Now we don't
3173 have to add Action header explicitly.
3174 * MessageHeader.cs : recovered Writer methods and ToString() from
3175 commented old version. Use prefixes for writing.
3176 Use WriteObjectContent() rather than WriteObject() (it needs
3177 DataContractSerializer fix btw).
3179 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3181 * MessageHeader.cs : added missing IsReferenceParameter.
3182 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3183 * MessageHeaders.cs : avoid NullRef when actors is null.
3184 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3185 (ForwardingMessage) reader consumer is being added (not done).
3186 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3187 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3188 * HttpRequestChannel.cs : this channel automatically call Open()
3189 when Request() is called. Set content length for request.
3190 Use MessageEncoder's ContentType to also handle charset.
3192 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3194 * MessageImpl.cs : make them internal.
3195 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3197 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3199 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3200 * HttpChannelListener.cs : removed commented line.
3201 * RequestChannelBase.cs : new base class for request channel classes.
3202 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3203 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3204 * Message.cs : default IsEmpty and IsFault false by default.
3205 * LayeredChannelListener.cs : removed Uri (no chance to set).
3206 * ChannelBase.cs : reimplemented timeout properties.
3207 * HttpRequestChannel.cs : now it is mostly based on
3208 RequestChannelBase. Some more attempt to implement Request().
3210 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3212 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3213 OnInitialize(). Added more BuildChannelListener() overloads.
3215 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3217 * Binding.cs : added some more missing members especially to support
3219 * HttpChannelListener.cs : Uri should not be null.
3220 * HttpTransportBindingElement.cs : implemented
3221 CanBuildChannelFactory() and CanBuildChannelListener().
3222 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3224 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3226 * Binding.cs : updated default namespace property value to Feb. CTP.
3228 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3230 * AddressHeader.cs : avoid null reference when value is null.
3231 * BindingContext.cs : check null ListenUri args.
3233 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3235 * MessageFault.cs : Fixed default action name. Null arg check.
3237 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3239 * BindingElement.cs : Dequeue elements in BindingContext directly.
3240 * BindingContext.cs : Added GetProperty<T>().
3241 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3242 Now we don't need these extra classes, so marked as deprecated.
3244 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3246 * Binding.cs : null arg check.
3247 * AddressingVersion.cs : fixed constants to pass the tests.
3248 * BindingElement.cs : tiny meessage fix.
3250 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3252 * MessageEncodingBindingElement.cs
3253 BinaryMessageEncodingBindingElement.cs
3254 TextMessageEncodingBindingElement.cs
3255 MtomMessageEncodingBindingElement.cs
3256 MessageEncodingBindingElementConverter.cs : several API fixes.
3257 * BindingElement.cs : now if we use generic wrapper it causes
3258 infinite loop, so for now replace it with most-possible-but-
3261 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3263 (back to normal "record-ChangeLogs" mode after the big API change mess)
3264 * HttpTransportBindingElement.cs : fixed minor API differences.
3266 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3268 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3269 SymmetricSecurityBindingElement.cs :
3270 Dependent fixes for System.IdentityModel reorgainzation.
3272 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3274 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3275 IProxyFormatter.cs WSHttpBindingBase.cs
3276 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3277 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3278 WSFederationBinding.cs ISessionChannel.cs
3279 CompositeDuplexBindingElement.cs MessageVersion.cs
3280 MessageHeader.cs IRequestSessionChannel.cs
3281 BindingElementCollection.cs IReplySessionChannel.cs
3282 MessageProperties.cs IDuplexClientChannel.cs
3283 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3284 TcpTransportBindingElement.cs EmptyFaultException.cs
3285 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3286 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3287 ConnectionOrientedTransportBindingElement.cs
3288 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3289 PeerResolverBindingElement.cs Message.cs
3290 HttpsTransportBindingElement.cs BindingElement.cs
3291 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3292 MessageFaultBodyWriter.cs IReplyChannel.cs
3293 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3294 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3295 IRequestContext.cs IInputSessionShutdown.cs
3296 SecurityBindingElement.cs PeerTransportBindingElement.cs
3297 IDuplexSession.cs IChannelInitializer.cs
3298 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3299 AddressingVersion.cs FaultException.cs
3300 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3301 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3302 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3303 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3304 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3305 BindingParameterCollection.cs IInstanceProvider.cs
3306 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3307 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3308 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3309 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3310 moved from System.ServiceModel due to the API changes.
3312 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3314 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3315 HttpChannelListener.cs HttpRequestChannel.cs
3316 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3317 PeerNode.cs ReplyChannelBase.cs :
3318 Feb. CTP API changes - chapter 1.
3320 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3322 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3323 * ReplyChannelBase.cs : now it is based on ChannelBase.
3324 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3325 and check null argument in .ctor().
3326 * HttpReplyChannel.cs : several changes.
3327 Non-async members are mostly implemented.
3328 * HttpChannelListener.cs : no need to receive
3329 IDefaultCommunicationTimeouts.
3330 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3331 to allocate buffer array and int.MaxValue causes OutOfMemory.
3333 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3335 * ClientFramingDecoderState.cs : added missing enum.
3336 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3338 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3340 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3342 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3343 AcceptChannel() has some code now but it needs more love.
3345 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3347 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3348 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3349 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3351 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3353 * HttpRequestChannel.cs : close the streams.
3355 HttpChannelListener.cs : renamed from former to latter.
3357 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3359 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3360 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3361 * HttpListenerFactory.cs : removed obsolete file.
3362 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3363 * ChannelListenerBase_1.cs : implemented virtual stuff.
3364 * CommunicationObject.cs : Open() should not call BeginOpen() and
3365 EndOpen(). Instead, invoke events individually.
3366 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3368 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3370 * HttpRequestChannel.cs : call Flush() after serializing message
3373 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3375 * HttpRequestChannel.cs : implemented pretty hacky Request().
3377 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3379 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3381 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3383 * ChannelFactoryBase.cs : removed some NotImplementedException for
3384 further internal implementation.
3386 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3388 * HttpRequestChannel.cs : new file. mostly not implemented.
3389 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3390 Partly implemented CreateChannel().
3392 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3394 * HttpChannelFactory.cs : (.ctor())
3395 Don't take ChannelBuildContext.
3397 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3399 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3400 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3401 PeerMessagePropagation.cs : updated to Nov. CTP.
3403 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3405 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3406 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3407 StreamSecurityUpgradeAcceptor.cs,
3408 StreamSecurityUpgradeInitiator.cs :
3409 Updated to Nov. CTP API.
3411 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3413 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3415 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3417 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3419 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3421 * ChannelBase.cs : tiny filename fix.
3422 * ChannelListenerBase.cs : added more .ctor()s.
3424 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3426 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3427 ListenerFactoryBase.cs ChannelListenerBase.cs :
3428 updated IListener related stuff to Nov. CTP.
3429 file renaming will come soon.
3431 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3433 * ListenerBase.cs, ChannelListenerBase.cs :
3434 moved from former to latter.
3435 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3436 moved from former to latter.
3438 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3440 * SessionFaultedException.cs : removed in Nov. CTP
3442 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3444 * CommunicationObject.cs : updated to Nov. CTP.
3445 * SessionFaultedException.cs : removed (in Nov. CTP)
3447 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3449 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3452 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3454 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3455 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3456 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3457 * MessageEncoder.cs : largely implemented.
3459 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3461 * IRequestReplyCorrelator.cs : new file.
3463 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3465 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3466 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3467 * MessageEncoder.cs : added misssing ToString().
3469 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3471 * ChannelBehaviorCollection.cs : moved to sys.sm.
3473 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3475 * HttpListenerFactory.cs, HttpListener.cs : new files.
3476 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3477 CommunicationObject.cs, ChannelFactoryBase.cs,
3478 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3480 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3481 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3483 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3485 * ListenerFactoryBase.cs : some implementation.
3487 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3489 * CommunicationObject.cs : more state fixes.
3491 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3493 * CommunicationObject.cs : some state machine fixes.
3495 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3497 * PeerNode.cs, ChannelManagerBase.cs :
3498 several API fixes detected by improved corcompare.
3500 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3502 * LayeredListenerFactory.cs : added missing generic class constraint.
3504 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3506 * ListenerFactoryBase.cs,
3507 ListenerBase.cs : class constraints were missing for generic args.
3509 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3511 * StreamUpgradeInitiator.cs : tiny API fix.
3513 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3515 * PeerMessagePropagationFilter.cs : tiny build fix.
3517 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3519 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3520 added Name. fixed StatusCode type.
3521 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3522 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3523 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3524 DirectionalAction.cs, HostedTransportConfiguration.cs,
3525 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3526 PeerMessagePropagationFilter.cs : added missing files.
3527 * Dummy.cs : removed. MSMQ stuff can be added later.
3529 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3531 * DeliveryStatus.cs, DeliveryFailure.cs,
3532 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3533 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3535 * Dummy.cs : removed above.
3537 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3539 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3541 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3543 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3544 MessageEncoder.cs, BufferManager.cs : new files.
3545 * Dummy.cs : removed above.
3547 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3549 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3550 * Dummy.cs : removed above.
3551 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3553 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3555 * HttpChannelFactory.cs : new file.
3557 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3559 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3560 moved to ../System.ServiceModel (correct location).
3561 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3562 new files for channels.
3563 * Dummy.cs : reflected above changes.
3564 * ChannelManagerBase.cs : added a bit of code and todos.
3566 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3568 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3569 added listener support files.
3570 * Dummy.cs : removed above.
3572 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3574 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3575 added request/reply channel interfaces.
3576 * Dummy.cs : removed above.
3577 * CommunicationObject.cs : FIXME comments.
3579 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3581 * CommunicationObject.cs : implemented some members.
3583 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3585 * CommunicationObject.cs : some signature fixes.