1 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
3 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
6 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
8 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
10 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
12 * HttpRequestContext.cs : removed HTTP status rewriting for
15 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
17 * HttpRequestChannel.cs : handle only 4xx errors as to not process
20 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
22 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
24 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
26 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
27 Patch by Matt Dargavel.
29 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
31 * HttpListenerManager.cs : use lock object which is subject to
32 change. Fix by Matt Dargavel.
34 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
36 * HttpListenerManager.cs : remove consumed HttpListenerContext from
37 the pending queue. Compare "wsdl" request in case insensitive
38 manner. Patch by Matt Dargavel.
40 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
42 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
43 supposed to provide detailed 400 error message.
45 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
47 * TransactionFlowBindingElement.cs: revamp the previous change to
48 not regress regarding service metadata.
50 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
52 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
53 GetProperty<T>() bug that fails to retrieve properties. (This may
54 be rewritten later if an ongoing change proposal is to take place.)
56 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
58 * ReliableSessionBindingElement.cs,
59 PrivacyNoticeBindingElement.cs,
60 RemoteEndpointMessageProperty.cs : added some missing types.
62 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
65 why does it filter out most of the headers? kill it.
67 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
69 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
70 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
71 to not raise "not found" error (see bug #573795).
73 2010-03-16 Jb Evain <jbevain@novell.com>
75 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
76 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
78 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
80 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
81 type, and use null password unless we find a chance to get password
82 in ASP.NET HttpContext.
84 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
86 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
87 HttpListenerManager.cs : ongoing authentication support. It returns
88 401 as expected, but somehow fails to retrieve user info.
90 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
92 * HttpListenerManager.cs : this change (along with HttpListener
93 implementation) somehow fixes basic auth. connection error...
95 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
97 * MessageHeaders.cs : add !NET_2_1.
99 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
101 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
102 typed UniqueId output.
104 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
106 * MessageHeader.cs : no need to treat EndpointAddress as a special
109 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
111 * MessageHeaders.cs : remove duplicate constant.
113 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
115 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
116 EndpointAddress as a special case. Instead, each MessageHeaders
117 property should convert it to appropriate serializable objects.
119 (Our DataContractSerializer fails to reject EndpointAddress as
120 serializable type, so it's rather a preparation step.)
122 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
124 * MessageHeader.cs, Message.cs : use dictionary string whenever
125 applicable. The binary output on #577139 is getting closer (no
126 idea if it is really about binary output though).
128 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
130 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
132 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
134 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
136 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
138 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
139 enable authentication schemes on monotouch.
141 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
143 * SvcHttpHandler.cs : a wait handle could be used for more than one
144 requests and hence it sometimes blocked one reply channel. Now
145 it creates a wait handle for each ASP.NET request so that such
146 multiple use should not occur. This should fix blocking on
147 concurrent requests (it indeed fixes as long as I can see).
149 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
151 * AspNetReplyChannel.cs : remove garbage output.
153 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
155 * SvcHttpHandler.cs : Use lock when it tries to create the service
158 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
160 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
163 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
165 * HttpListenerManager.cs : add another workaround for blocking
168 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
170 * HttpListenerManager.cs : small refactoring.
172 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
174 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
175 that somehow makes callback client to not cause infinite loop.
177 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
179 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
180 DuplexChannelBase.cs : Receive() should rather use TryReceive().
181 It should not be in reverse order.
183 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
185 * HttpReplyChannel.cs, HttpListenerManager.cs :
186 Implement async cancellation in the expected manner (though with
187 some hack). This mostly removed nunit blockers.
189 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
191 * CommunicationObject.cs : fix wrong status changes.
193 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
195 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
197 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
199 * AddressHeader.cs : implement remaining bits.
200 Eliminate dependency on NetDataContractSerializer.
202 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
204 * CommunicationObject.cs : in Fault(), do similar work as previous
207 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
209 * CommunicationObject.cs : when process state changes, lock the
210 object to make sure the state transition is valid.
211 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
213 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
215 * MessageHeaders.cs : implement SetAction().
217 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
219 * ChannelFactoryBase.cs : fix build.
221 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
223 * ChannelBase.cs : cosmetic API fix for SL3.
225 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
227 * ChannelFactoryBase.cs :
228 implement On{Begin/End}Close() on the generic type.
230 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
232 * HttpChannelFactory.cs, TcpChannelFactory.cs,
233 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
234 PeerChannelFactory.cs, HttpRequestChannel.cs:
235 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
236 type and made required changes.
238 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
240 * HttpCookieContainerBindingElement.cs : new.
241 * IHttpCookieContainer.cs : fix type name.
242 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
244 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
246 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
247 does not happen when communicating with .NET client but happens with
248 mono). Seealso FIXME comment.
249 * TcpDuplexSessionChannel.cs : do not try to close session when it
250 failed to read sized message. The connection is already dead.
254 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
256 * TcpDuplexSessionChannel.cs :
257 Write EndRecord only when the connection is available.
258 Remove hack - do let ChannelDispatcher close the channel.
259 * TcpBinaryFrameManager.cs :
260 The socket may be disconnected when trying to read a sized message,
261 so check some socket exceptions.
262 In case the client silently shuts down without EndRecord and
263 reconnects to the server with preamble while expecting a sized
264 message (which is so lame, but that's what .NET often does), refresh
265 preamble and continue.
267 This fixes some cases of bug #567949 but not all.
269 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
271 * BinaryMessageEncoder.cs : enable workaround buffering only when
272 the argument stream does *not* support seek. This fixes some
273 net.tcp connection problem.
275 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
277 * TcpBinaryFrameManager.cs : If preamble byte is not available from
278 the client stream, detect it to close the reply or input channel.
279 * TcpRequestChannel.cs : send preamble at each request time.
280 It differentiates communication behavior on such cases that involve
281 single open and multiple requests.
282 * TcpReplyChannel.cs : close the channel only when the channel is
283 oeprated to close i.e. do not close the socket every time.
284 Process preambles on each request (the same as request channel).
286 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
288 * TcpBinaryFrameManager.cs : unsized envelope record may have more
289 than one data block, so consume them accordingly. This should fix
290 large buffer consumption.
292 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
294 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
297 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
299 * HttpRequestContext.cs : for DestinationUnreachable message, this
300 channel returns 400 in .NET.
302 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
304 * BinaryMessageEncoder.cs : added workaround for strange stream
305 consumption error raised by HttpTransport + Binary encoder example.
306 * BinaryMessageEncodingBindingElement.cs:
307 only SOAP 1.2 is allowed for this encoder.
309 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
311 * XmlReaderBodyWriter.cs : don't try to write empty xml.
313 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
315 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
316 default WebHeaderCollection items are overwritten.
318 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
320 * HttpRequestChannel.cs : when HTTP response was error, do not try
321 to read message but just raise an error.
323 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
325 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
327 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
329 * HttpRequestChannel.cs : WebException.Response might be null.
331 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
333 * ReplyChannelBase.cs : added listener property.
334 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
335 been updated to prefer async by default, a while ago.
337 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
339 * HttpTransportBindingElement.cs : finished all GetProperty() values.
341 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
343 * HttpRequestChannel.cs : disabled carelessly added
344 "UseDefaultCredentials = false" line. It blocked basic auth.
346 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
348 * HttpRequestChannel.cs, HttpChannelFactory.cs,
349 HttpChannelListener.cs, HttpListenerManager.cs :
350 implemented http client authentication and some of corresponding
351 service code. Only client works so far.
353 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
355 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
356 added URI scheme check.
358 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
360 * TransportSecurityBindingElement.cs : fix 2.1 build.
362 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
364 * HttpsTransportBindingElement.cs :
365 RequireClientCertificate is false by default.
366 Remove extra #if NET_2_1.
367 * SecurityBindingElement.cs :
368 Implement some transport security factory methods.
369 * TransportSecurityBindingElement.cs :
370 It is not ISecurityCapabilities anymore.
372 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
375 SecurityBindingElement.cs
376 LocalClientSecuritySettings.cs
377 TransportSecurityBindingElement.cs
378 FaultConverter.cs : They are now part of SL3 API.
380 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
382 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
384 2009-11-05 Geoff Norton <gnorton@novell.com>
386 * HttpsTransportBindingElement.cs: Implement basic https transport
387 binding support for Moonlight and MonoTouch
389 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
391 * HttpListenerManager.cs : remove CWLs.
393 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
395 * SvcHttpHandler.cs : move back previous listener selector code in
396 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
397 and differentiate requests to deeper paths (such as /jsdebug), so
398 we need such refinement here.
400 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
402 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
405 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
407 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
408 HttpChannelListener.cs, HttpListenerManager.cs :
409 Similar refactoring on ASP.NET side to the previous one.
410 Added ASP.NET implementation of HttpListenerManager and use some
411 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
413 Rewrote AspNetReplyChannel to become almost the same as
414 HttpSimpleReplyChannel, to hopefully unify them later.
415 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
416 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
419 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
421 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
422 Refactoring on listener manager to correctly handle wsdl and help
423 requests for such case that they conflict in addressing. Now it
424 can correctly distinguish service calls, WSDL requests and help
425 requests when all of them point to "http://localhost/foo.svc"
426 (which is very common case that the user does not change Http*Url).
428 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
430 * ChannelListenerBase.cs : add Properties property to add arbitrary
431 properties handy (only inside this assembly).
433 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
435 * HttpReplyChannel.cs : fix warning.
437 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
439 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
441 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
443 * HttpReplyChannel.cs : make sure to release wait lock.
444 * HttpChannelListener.cs : session channels are not supported, so
445 remove relevant NIEs.
447 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
449 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
450 support contexts so we call the non-overloaded WaitOne method
451 (which defaults to false).
453 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
455 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
456 significant rewrite to cooperate wcf handler and asp.net handler
457 to not mix multiple WCF listener within the asp.net handler.
458 So far it mostly works when 1) there are no ChannelDispatchers
459 that have an identical listen Uri and 2) MaxConcurrentSessions is
460 1 (must be explicitly set).
462 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
464 * CommunicationObject.cs : give better state error description.
466 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
468 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
469 to base methods. This resulted in not a few changes everywhere.
471 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
473 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
475 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
477 * SvcHttpHandler.cs : use file path given by the factory to
478 construct BaseAddresses. Requests to "test.svc/jsdebug" should
479 not be handled as request to "jsdebug" file, it's rather an
480 "argument" to "test.svc".
482 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
484 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
485 rewrite to handle shutdown situation better. The listeners should
486 not close channels that it opened. Instead, just stop accepting
487 further requests. Removed blocking mutex on WaitForRequest().
488 Now xsp shuts down as expected.
490 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
492 * HttpReplyChannel.cs : lock list when releasing its content contexts.
493 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
496 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
498 * SvcHttpHandlerFactory.cs : remove todo.
499 * ReplyChannelBase.cs : add comment.
501 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
503 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
504 revert the change, to use internal asp.net state again.
505 * SvcHttpHandler.cs : add VirtualPathExtension.
507 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
509 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
510 asp.net response was not written correctly.
511 Fill HttpRequestMessageProperty to get handle WSDL requests
512 processed in ServiceMetadataExtension without NRE.
513 Remove wrong HttpListenerContext iteration at Abort and Close in
514 common base class and move it to non-asp derived channel.
516 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
518 * SvcHttpHandler.cs : remove unused code.
520 2009-09-30 Jb Evain <jbevain@novell.com>
522 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
523 to use any of the remoting features.
525 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
527 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
528 use AspNetCompatibilityEnabled.
529 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
531 * AspNetReplyChannel.cs : remove extra field.
533 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
535 * HttpReplyChannel.cs : remove extra field.
537 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
539 * AspNetRequestContext.cs : remove CWL.
541 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
543 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
544 only after AspNetRequestContext is closed. Do not close it
545 immediately after receiving the context. (HttpRuntime destructs it
546 and further uses then becomes impossible.)
548 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
550 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
551 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
552 Make sure that AspNetChannelListener is bound to correct
553 SvcHttpHandler, regardless of specific request URI. It is required
554 for both WSDL requests and RESTful binding requests.
556 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
558 * MessageProperties.cs : fix CopyProperties() behavior to not
559 clear existing items. Make all properties call this[name].
561 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
563 * HttpTransportBindingElement.cs : fix 2.1 build.
565 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
567 * TransportBindingElement.cs : another GetProperty fix, iterate
568 other binding elements.
570 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
572 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
573 some GetProperty() implementation.
575 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
577 * HttpListenerManager.cs : release HttpListener and avoid extra
578 close process more than once.
580 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
582 * HttpChannelListener.cs : do not iterate channel list to close
583 channels which in turn removes them from the list while iteration.
585 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
587 * HttpRequestChannel.cs : Fix message version member comparison.
588 Double-quote SOAPAction. Remove extra Exception.
589 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
590 * HttpRequestContext.cs : when addressing is None, remove action
593 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
595 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
596 path, to pick those endpoints that are added at custom factories.
598 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
600 * SvcHttpHandler.cs : apply configuration, and if there is still no
601 endpoint, then add default one.
603 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
605 * SvcHttpHandler.cs : another URL to make relative.
607 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
609 * SvcHttpHandlerFactory.cs : some GetHandler changes.
610 * SvcHttpHandler.cs : significant changes on receiver structure. Now
611 ProcessRequest() stores pending requests (this might be extraneous,
612 but maybe useful when it implements async handler). Also removed
613 reply_channel field as it may become to handle multiple requests.
614 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
615 * AspNetReplyChannel.cs : make it receive requests like
616 HttpReplyChannel (for HttpListener) to make them consistent.
618 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
620 * AspNetRequestContext.cs, HttpRequestContext.cs :
621 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
622 by splitting HttpListener-based context out from common code base.
624 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
626 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
627 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
630 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
632 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
633 loads types from system assemblies appropriately.
635 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
637 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
640 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
642 * HttpRequestMessageProperty.cs : fix default values.
644 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
646 * HttpChannelFactory.cs, HttpRequestChannel.cs,
647 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
648 Check ManualAddressing value and reject address-missing ones.
650 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
652 * HttpChannelFactory.cs : reject URI mismatch cases when required.
654 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
656 * PeerDuplexChannel.cs : When received Connect() from neighbor,
657 add the peer to its internal list.
658 Finally ChatApplication got working.
660 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
662 * PeerDuplexChannel.cs : since the channel factory is per instance,
663 do not reuse factory that is tied to different callback instance.
664 It resolved the issue that mono callback client didn't receive
665 messages from the client itself.
667 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
669 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
670 of the receiver, not the requestor. It resolved the issue that
671 .NET client didn't send further messages to mono server.
673 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
675 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
676 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
677 TcpReplyChannel.cs, TcpRequestChannel.cs,
678 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
679 rename EndRecord handling method to appropriate one.
680 Write EndRecord from recipient too.
682 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
684 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
685 Process PeerTo header to upgrade Message To header. Now mono
686 service accepts mono client (somehow not true for .NET client).
688 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
690 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
691 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
693 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
695 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
697 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
699 * TcpDuplexSessionChannel.cs : check channel state before processing
702 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
704 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
705 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
706 ongoing works, not working at all yet.
708 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
710 * TcpChannelListener.cs, TcpReplyChannel.cs :
711 cosmetic cleanup and corrections.
713 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
715 * TcpChannelFactory.cs : use expected Via uri.
716 Remove extra NIE stuff that are implemented in base.
718 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
720 * TcpDuplexSessionChannel.cs : remove extra code.
722 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
724 * PeerDuplexChannel.cs : ongoing implementation towards get callback
725 replies on peer connector clients (not working as duplex client
726 callback is not working yet).
728 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
730 * TcpDuplexSessionChannel.cs : in callback client channels,
731 OperationContext.IncomingMessageHeaders is null.
733 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
735 * MessageHeaders.cs : duplicate check was sloppy.
737 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
739 * Message.cs, MessageImpl.cs, BodyWriter.cs :
740 Implement BodyWriter.OnCreateBufferedCopy() and use it.
742 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
744 * ReplyChannelBase.cs : initialize field.
746 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
748 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
749 implement GetProperty<T>() and return its channel manager.
751 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
753 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
754 destination address in Connect() request. To repeat sending
755 request, use buffered copy. Set some peer-channel specific
756 header items. (todo: and consume them.)
758 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
760 * Message.cs : state is set only after WriteBodyContents().
762 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
764 * MessageHeaders.cs : eliminate wrong use of
765 ReadElementContentAsString() (it is not always simple string).
767 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
769 * MessageHeaders.cs : when the value is null, do not try to
770 deserialize EndpointAddress.
772 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
774 * MessageHeader.cs : add Value property. (Forgot dependent change.)
776 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
778 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
779 serialization and deserialization of values.
781 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
783 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
784 Now simply use connector contract.
786 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
788 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
790 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
792 * TcpChannelListener.cs : do not try to compare dead connection's
793 IPEndPoint (it raises an error).
795 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
797 * MessageHeaders.cs : allow null header value on each specific setter.
799 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
801 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
802 get local and remote address of connected counterpart to get
803 callback channel connected.
804 * PeerDuplexChannel.cs : remove FIXME wrt above.
806 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
808 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
810 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
812 * MessageHeader.cs : fill IsReferenceParameter.
814 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
816 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
817 implement remaining async methods and LocalAddress.
819 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
821 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
822 ServiceHost to process neighbor connection (not sure if this is
823 right way to go though ...).
825 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
827 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
828 connection part to use new internal IPeerConnectorContract for
831 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
833 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
834 PeerChannelListener.cs, HttpChannelListener.cs :
835 support ListenUri accordingly too so that it could be used when
836 it is different from LocalAddress.Uri.
838 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
840 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
841 TcpRequestChannel.cs : use Via uri to validate and connect.
843 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
845 * RequestChannelBase.cs, DuplexChannelBase.cs :
846 Return endpoint address Uri when no explicit Via uri is specified.
847 * ChannelFactoryBase.cs : Remove extra async close methods.
848 Add async open methods. Reject null EndpointAddress.
849 * PeerChannelFactory.cs : remove async open methods (now in base).
851 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
853 * PeerDuplexChannel.cs : set correct message endpoint (To header).
855 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
857 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
858 DuplexChannelBase.cs : set LocalAddress property at base.
860 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
862 * PeerDuplexChannel.cs : ongoing refactoring to work both as
863 listener and client. Now it creates a listening peer node, and
864 creates a set of TCP client channels for each peer in the mesh.
866 (EndpointAddress must be fixed to not filter out correct inputs).
868 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
870 * PeerChannelListener.cs : do not accept more than one channel
871 which results in lots of listening peer node. Only one is enough.
873 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
875 * DuplexChannelBase.cs : fix wrong loop implementation.
877 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
879 * TcpChannelListener.cs : to avoid creating two or more channels
880 for one remote endpoint, check existing remote endpoints and
881 ignore such connections (it must be handled in different thread
882 fired by ChannelDispatcher loop).
884 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
886 * TcpReplyChannel.cs : make sure to not try to receive request when
887 it is already closed.
889 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
891 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
892 some mannerless clients [*1] do not send EndRecord accordingly, but
893 such channels at listener side should not be kept open. So, close
894 disconnected channels when the listener needs to accept another
896 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
898 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
900 * TcpDuplexSessionChannel.cs :
901 Remove extra NIE overrides.
902 Implement OnAbort() apart from OnClose().
903 For duplex session channel, unlike reply channel, it must acquire
904 TCP connection before OnOpen(), otherwise ChannelDispatcher
905 releases the connection acceptance WaitHandle and the detected
906 live connection may be stolen by another channel acceptor.
908 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
910 * HttpRequestChannel.cs : implement OnAbort().
912 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
914 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
915 * DuplexChannelBase.cs : comment out some extra fields (so far).
916 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
918 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
920 * PeerCustomResolverBindingElement.cs : add some null checks.
922 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
924 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
925 Acquire TcpClient for each request/reply. Now it is fully
926 interoperable with .NET.
928 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
930 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
931 ReplyTo and MessageId (though it is session-less), and it expects
932 EndRecord at weird stage, inconsistent with [MC-NMF]...
933 Now .NET service accepts one mono client request.
935 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
937 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
938 Send and receive unsized message terminator at once.
939 Send EndRecord mutually. Got one .net client request working.
941 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
943 * BinaryMessageEncoder.cs : revert the previous dictionary change.
944 They are indeed used for non-in-band-dictionary messages.
946 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
948 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
949 split out binary frame manager class into separate file.
951 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
953 * TcpReplyChannel.cs : new reply channel implementation.
954 * TcpChannelListener.cs : use above for streamed reply channel.
955 * TcpDuplexSessionChannel.cs : more streaming mode support.
956 * TcpRequestChannel.cs : a couple of updates to get it working
957 with the reply channel above. Still some issues on .NET interop.
959 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
961 * RequestContext.cs : added internal derived class that implements
964 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
966 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
969 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
971 * PeerDuplexChannel.cs: add the registered node itself to peer list.
972 (The messaging must be done as TCP request/reply pattern, so it's
975 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
977 * TcpRequestChannel.cs : new channel file (TCP for request/reply
978 messaging pattern). The messaging part is not working yet.
979 * TcpChannelFactory.cs : support IRequestChannel.
980 * TcpDuplexSessionChannel.cs : add unsized message support.
982 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
984 * HttpRequestChannel.cs, RequestChannelBase.cs :
985 A couple of async members are now implemented in the base class.
986 Ditto for EndpointAddress and Via.
988 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
990 * PeerDuplexChannel.cs : now it implements some of node management
991 functionality and Send operation. The receiver part is not yet.
993 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
995 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
996 timeout to channel constructor. it does not make sense.
998 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1000 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1001 as common interface member, and use binary encoder (not text).
1003 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1005 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1007 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1009 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1010 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1011 going to be unified to PeerDuplexChannel. And it is likely that
1012 input and output functionalities are to be unified too.
1014 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1016 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1017 may have to reuse it for peer transport.
1018 * PeerChannelListener.cs : add binding member.
1019 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1021 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1023 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1024 PeerChannelFactory.cs : close opened channels at OnClose() as
1025 documented. Implement async methods.
1026 * PeerChannelListener.cs : removed some NIE overrides.
1028 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1030 * DuplexChannelBase.cs : some more async methods.
1032 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1034 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1036 * TcpChannelListener.cs : accept multiple channels at a time.
1038 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1040 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1041 session strings but output only those new ones in current message.
1042 This fixes inconsistent body output in repetitive use of sender.
1044 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1046 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1047 operation that does not involve session.
1048 Preserve writer session as well as reader session.
1049 * MessageHeaders.cs : take name and namespace into consideration
1050 when creating a serializer.
1052 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1054 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1055 Made required changes for repeated use of message exchanges.
1056 Hold binary reader session. The channels use it incrementally.
1057 Preambles are handled at Open, and EndRecords are handled at
1058 Close, Add session shutdown hook here (not working yet though).
1060 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1062 * ChannelListenerBase_1.cs : added cancellation hook here too.
1063 HttpChannelListener.cs : use above.
1064 Do not allow parallel channel creation (this listener does not
1065 allow more than one AcceptChannel().
1067 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1069 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1070 Add cancellation hook for async TryReceiveRequest.
1072 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1074 * HttpChannelListener.cs, HttpListenerManager.cs :
1075 slightly improved BuildChannelListener().
1076 Implement OnAbort() and differentiate it from OnClose().
1078 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1080 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1082 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1084 * DuplexChannelBase.cs : simple async delegate calls here too.
1086 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1088 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1090 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1092 * HttpReplyChannel.cs : cosometic simplification.
1094 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1096 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1097 infinite block in 2.0 profile.
1099 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1101 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1102 more careful close to avoid NRE.
1104 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1106 * HttpChannelListener.cs : do not Close() more than once (though
1107 it is allowed to call it twice, we don't reject it; just ignore).
1109 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1111 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1113 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1115 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1116 Temporarily disable HTTP Keep-Alive since it somehow results in
1117 wrong reuse of connection (shown as NRE in HttpConnection).
1118 Make sure to close RequestContext which was created from it.
1119 * HttpRequestContext.cs : simplify.
1121 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1123 * HttpChannelListener.cs, TcpChannelListener.cs,
1124 ChannelListenerBase_1.cs : put common internal listener base
1125 and let it handle those async stuff.
1127 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1129 * ReplyChannelBase.cs : fix wrong null delegate check point.
1131 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1133 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1134 now implemented as virtual in base class. Remove NIEs in http.
1136 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1138 * HttpChannelListener.cs : hack async implementation.
1140 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1142 * HttpListenerManager.cs : oops, extra line removal.
1144 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1146 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1148 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1150 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1151 "ChannelManager" is confusing (there is ChannelManagerBase).
1153 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1155 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1156 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1157 they should be split into separate listener->reply channel lines
1158 (remove "if (HostingEnvironment.IsAspNet)".)
1160 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1162 * CommunicationObject.cs : OnClosed() requires call to base method.
1163 Close() could rather abort the channel, and Abort() does not
1164 always invke OnAbort().
1165 * ChannelBase.cs : add call to base as above.
1167 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1169 * ClientAccessPolicy.cs: Removed
1170 * CrossDomainAccessManager.cs: Removed
1171 * CrossDomainPolicy.cs: Removed
1172 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1173 since this is now done inside the BeginGetResponse call (outside
1174 this assembly) for Moonlight (NET_2_1)
1176 2009-06-04 Alan McGovern <amcgovern@novell.com>
1178 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1179 instead of the sync apis. Prevents a possible deadlock condition in
1182 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1184 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1185 callbacks, so add hacky ones.
1187 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1189 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1190 true when socket input is not available.
1192 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1194 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1195 I cannot precisely identify when EndRecord should be consumed,
1196 so allow it at either at the end of ReadSizedMessage() or on
1197 consuming preamble (it's likely handling EndRecord of previous
1200 Now duplex IPeerResolverContract communication works between
1201 either of .NET/Mono client and .NET/Mono server.
1203 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1205 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1206 code. Handle preamble ack on ReadSizedMessage() only at server.
1207 Consume EndRecord from server, at client side. Though it is likely
1208 changed as it's blocking when mono is at server side.
1210 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1212 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1213 different protocol than existing code with related to preamble ack.
1214 So changed it to work fine with .NET client (finally).
1216 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1218 * MessageBufferImpl.cs : do not output Action twice.
1220 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1222 * MessageBufferImpl.cs : it did not copy headers.
1223 * Message.cs : remove 2_1 conditional implementation for buffered
1224 copy and hence remove bogus code.
1226 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1228 * MessageProperties.cs : copy argument is wrong.
1230 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1232 * PeerCustomResolverBindingElement.cs : some argument check.
1234 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1236 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1237 xml open, so close the writer as well as open elements.
1238 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1239 Do not output EndRecord and SizedMessage at a time.
1241 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1243 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1244 length of the SizedMessage in the output.
1246 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1248 * CommunicationObject.cs : use sane default timeout.
1249 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1250 * TcpDuplexSessionChannel.cs : ditto.
1252 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1254 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1255 only accepts buffered messages, so do as such for write buffers.
1256 Add RelatesTo header.
1258 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1260 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1261 rename from former to latter.
1263 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1265 * TcpDuplexSessionChannel.cs : reader does not always return full
1266 buffer (depending on the stream).
1268 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1270 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1272 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1274 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1277 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1279 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1281 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1283 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1285 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1287 * ChannelManagerBase.cs : fix wrong session channel detection.
1289 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1291 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1292 This encoder factory implements CreateSessionEncoder() and binary
1293 encoder does support session transmit, in different media type.
1294 * ChannelManagerBase.cs : added utility method to create appropriate
1296 * HttpChannelFactory.cs, HttpChannelListener.cs,
1297 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1298 PeerChannelFactory.cs, PeerChannelListener.cs,
1299 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1301 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1303 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1305 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1307 * DuplexSessionBase.cs : new file, for session implementation.
1308 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1309 DuplexSessionChannelBase.cs : changed sync/async implementation
1310 pattern. Now async methods call sync methods using delegates.
1312 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1314 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1315 a few minor API fixes.
1317 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1319 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1321 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1323 * TcpDuplexSessionChannel.cs : add To header.
1325 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1327 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1330 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1332 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1334 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1336 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1337 CommunicationException in each CreateFault().
1339 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1341 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1342 Open(). Some (but not all yet) continuous communication works now.
1343 Use ProtocolException. Remove dummy binary session string.
1345 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1347 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1348 sending/receiving SizedMessageRecord parts to manager class.
1349 Handle writer session, though it is likely broken at dictionary
1350 writer part (no string is written so far).
1351 * BinaryMessageEncoder.cs : add writer session and rename reader
1354 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1356 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1357 is mandatory in initiator preamble packet. Handle Fault reply in
1360 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1362 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1363 based communication under TcpBinaryFrameManager class.
1365 2009-05-13 Jb Evain <jbevain@novell.com>
1367 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1368 from a StringReader.
1370 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1372 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1373 actually eliminate DOM-based implementation too in 2.0.
1375 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1377 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1378 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1379 comments for magic numbers based on [MC-NMF].
1381 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1383 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1384 support for [MC-NBFSE] record in [MC-NMF], in this class.
1386 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1388 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1390 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1392 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1394 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1396 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1398 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1400 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1402 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1404 * BinaryMessageEncoder.cs : use quotas in binding element.
1405 Implement WriteMessage().
1407 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1409 * PeerCustomResolverBindingElement.cs : do initialize field.
1411 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1413 * PeerCustomResolverBindingElement.cs :
1414 implement full custom resolver.
1416 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1418 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1419 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1420 PeerChannelFactory.cs : ongoing p2p channel implementation.
1422 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1424 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1426 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1428 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1429 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1430 implement GetProperty<T>(). Return documented objects or null.
1432 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1434 * PeerChannelFactory.cs, PeerChannelListener.cs,
1435 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1436 PeerInputChannel.cs, PeerOutputChannel.cs :
1437 new; ongoing peer transport implementation.
1438 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1439 MsmqOutputChannel.cs, OutputChannelBase.cs,
1440 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1441 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1442 several internal changes (either required or for simplification)
1443 for ongoing peer transport implementation.
1445 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1447 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1449 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1451 * TcpTransportBindingElement.cs : check build-ability before
1452 actually building channels.
1453 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1454 conditions according to MSDN.
1456 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1458 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1459 handle headers in SL2. Slightly changed 3.0 code too.
1461 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1463 * HttpRequestChannel.cs : use cross domain access manager.
1465 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1467 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1468 message as BodyWriter.
1469 (in GetReaderAtBodyContents) just write body contents.
1470 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1472 Add some state check in GetReaderAtBodyContents().
1473 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1475 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1477 * Message.cs : do not forget to flush.
1478 * HttpRequestChannel.cs : give more exact error info.
1480 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1482 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1483 make buffered copy in ML2 really buffered.
1485 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1487 * Message.cs : if there is no header item to write, do not write
1488 SOAP header element.
1490 2009-01-22 Alan McGovern <amcgovern@novell.com>
1492 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1493 Rewrite to avoid usage of it.
1495 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1497 * ChannelParameterCollection.cs : implement, rather than NIE.
1499 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1501 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1502 internal users to know the type of the detail.
1504 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1506 * Message.c: Use private setter for state private variable to ease debugging.
1507 Modify ToString not to change the state, as it is called quite often by VS debugger
1509 2008-04-21 Roei Erez <roeie@mainsoft.com>
1511 * HttpChannleManager: Fix for multithreaded use.
1512 * HttpReplyChannel: Fix crash during sutdown.
1514 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1516 * HttpChannleManager: ensure trailing slash in uri.
1518 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1520 * added: HttpChannleManager,
1521 * HttpChannelListener: added use of HttpChannelManager
1523 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1525 * MessageEncodingBindingElement.cs: fixed ctor
1527 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1529 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1531 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1533 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1535 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1537 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1539 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1541 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1543 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1545 * BindingElementCollection.cs: fix API - .ctor's signature.
1547 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1549 * XmlSerializerBodyWriter.cs: Removed.
1551 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1553 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1555 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1557 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1558 * TcpChannelFactory.cs, TcpChannelListener.cs :
1559 unify factory and listener into TcpChannelInfo for use in
1560 TCP channel implementation. Do not store stream in the listener.
1561 Factory now uses BinaryMessageEncoder.
1562 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1563 holds TcpClient that the listener has accepted.
1565 tcp-transport-binding-element sample now communicates (though
1566 only when both sides are mono: there seems binary mismatch).
1568 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1570 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1571 clone connection pool settings too.
1572 * NamedPipetransportBindingElement.cs,
1573 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1574 being likely implemented though).
1576 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1578 * ConnectionOrientedTransportBindingElement.cs,
1579 TcpTransportBindingElement.cs : some API updates.
1580 Initialize default values.
1581 * TcpConnectionPoolSettings.cs : new file.
1583 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1585 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1586 added support for "factory" attribute.
1588 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1590 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1592 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1594 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1596 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1598 * HttpRequestChannel.cs : create WebRequest against To message header
1600 Consider HttpRequestMessageProperty.
1601 Do not output body when suppressed or the method is GET.
1603 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1605 * HttpChannelListener.cs : BindingContext may not have listenUri
1606 at its .ctor() step.
1608 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1610 * BindingContext.cs : RemainingBindingElements is not just a dummy
1611 collection but is actually user-controlled.
1613 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1615 * TcpChannelFactory.cs, TcpChannelListener.cs,
1616 HttpChannelFactory.cs, HttpChannelListener.cs,
1617 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1618 TextMessageEncodingBindingElement.cs,
1619 BinaryMessageEncodingBindingElement.cs,
1620 MtomMessageEncodingBindingElement.cs :
1621 message encoder should be retrieved only through public API.
1622 * BindingContext.cs : so my old guess was wrong.
1624 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1626 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1628 * HttpTransportBindingElement.cs : implemented copy constructor.
1630 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1632 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1633 header when AddressingVersion is None.
1635 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1637 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1640 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1642 * OneWayBindingElementImporter.cs
1643 CompositeDuplexBindingElementImporter.cs : new files.
1645 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1647 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1648 semantic change, its bool parameter must be false, not true.
1650 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1652 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1653 new files. Msmq transport listener Implementation.
1654 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1655 (wait for System.Messaging impl.)
1656 * HttpReplyChannel.cs : added comment
1658 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1660 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1661 new files. internal stuff for msmq channel.
1662 * BinaryMessageEncoder.cs : added another .ctor().
1663 * MsmqTransportBindingElement.cs :
1664 implemented [Can]BuildChannelFactory().
1666 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1668 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1669 initialize some fields.
1671 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1673 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1674 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1675 couple of msmq stubs.
1677 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1679 * SecureMessageGenerator.cs : SecurityContextToken support (though
1680 it is still regarded as invalid by WCF).
1682 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1684 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1685 make header.Contents.Add() more strict.
1686 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1688 Added some hack to allow ssl token external mode.
1689 Commented out such lines that always premised asymmtric key.
1691 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1693 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1695 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1697 * MessageSecurityBindingSupport.cs : support check to create
1698 authenticator is now done in both initiator/recipient sides.
1699 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1701 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1703 * MessageSecurityBindingSupport.cs : for now, comment out the code
1704 that makes authenticator creation optional.
1705 * SecurityRequestContext.cs : don't decrypt message when it is
1706 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1708 * SecurityChannelListener.cs : GetProperty<T>() now returns
1709 MessageSecurityBindingSupport when requested. It is used by
1710 EndpointDispatcher to check if it supports WS-Trust negotiation.
1711 * ChannelListenerBase.cs :
1712 removed extra TODO and field. Implemented GetProperty<T>().
1713 * Message.cs : In CreateMessage() for SOAP Fault, create
1714 SimpleMessage with IsFault = true.
1716 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1718 * SecurityRequestContext.cs : try to reply fault with the inner
1719 channel when an error occurred internally.
1720 * FaultConverter.cs : implemented based on OperationContext (at normal
1721 state it does not seem to create messages, so I implemented it this
1724 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1726 * TransportBindingElement.cs : implemented GetProperty<T>().
1727 * TransactionFlowBindingElement.cs : on building factory or listener,
1728 reject channel types that cannot build.
1729 * SecurityBindingElement.cs : added some TODO comments.
1730 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1731 delegate to base, not BindingContext.
1732 * SecurityRequestContext.cs : somewhat late decryption.
1734 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1736 * MessageSecurityBindingSupport.cs,
1737 AsymmetricSecurityBindingElement.cs,
1738 SymmetricSecurityBindingElement.cs :
1739 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1740 implemented ISecurityCapabilities on them. Now those binding
1741 elements support GetProperty<ISecurityCapabilities>().
1743 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1745 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1746 will work only for predefined parameter types.
1748 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1750 * MessageSecurityBindingSupport.cs :
1751 Set proper MessageDirection to the requirement after creation.
1752 split CreateTokenAuthenticator() as MessageDirection is different.
1753 Removed extra creation of requirement.
1755 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1757 * MessageSecurityBindingSupport.cs : token authenticator is not
1758 always created on channel-opening stage.
1759 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1760 Sslnego binding factory method.
1762 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1764 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1765 signature velification failure.
1767 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1769 * SecureMessageGenerator.cs : encrypt signature confirmations only
1770 when they are required.
1772 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1774 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1775 when [Signature Protection is true i.e. when we use
1776 SignBeforeEncryptAndEncryptSignature.
1778 With this change finally samplesvc.cs/samplecli.cs became
1781 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1783 * SecureMessageDecryptor.cs : signature verification was not done
1784 for endorsing supporting tokens.
1785 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1786 in the security header. Don't output empty ReferenceList.
1788 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1790 * SecureMessageGenerator.cs : signingToken was added before being
1791 initialized and thus caused NRE.
1793 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1795 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1796 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1797 don't need workaround for symmetric key restoration.
1799 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1801 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1802 SecureMessageGenerator.cs :
1803 Avoid extra reference search from the request's ReferenceList.
1804 create HMACSHA1 always with the key to compute hash (I'm not sure
1805 it is correct; it is rather to adjust all hash consistent.)
1807 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1809 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1810 actually endorsed the primary signature.
1811 * SecureMessageGenerator.cs : implemented endorsing of the primary
1812 signature. So, now supporting tokens are fully implemented.
1814 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1816 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1817 totally signing tokens.
1818 * SecureMessageGenerator.cs : Endorsing tokens should also be
1819 included in the message. They are just not signed.
1821 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1823 * SecureMessageGenerator.cs : support signing and encryption of
1824 supporting tokens. Some required refactory to do it.
1825 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1827 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1829 * SecureMessageDecryptor.cs : fix exception message.
1830 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1831 XmlNamespaceManager is not required for GetIdElement().
1833 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1835 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1836 moved decryption part from former file to latter file, to reuse
1837 SignedXml instance (though now I doubt how it actually was good)
1838 which in turn required to replace EncryptedData in
1839 WSSecurityMessageHeader with decrypted one.
1840 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1842 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1844 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1845 EncryptedData should contain KeyInfo as it is not obvious which key
1846 is used there. .net<->mono DerivedKeyToken introp is done.
1847 * SecureMessageDecryptor.cs : check derived key requirement.
1848 Reduce dom-dependent parts.
1850 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1852 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1853 the related DerivedKeyToken (if any).
1854 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1855 support. Some refactoring to distinguish deried-token-related
1857 * SecureMessageDecryptor.cs : removed its own support for derived
1858 key tokens. Now it fully works with DerivedKeySecurityToken.
1860 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1862 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1863 SecureMessageDecryptor.cs :
1864 Implemented increment token reading in o:Security, as
1865 DerivedKeyToken could reference to existing wrapped key.
1866 Removed WsscDerivedKeyToken and all relevant code.
1867 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1868 DerivedKeySecurityToken.
1870 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1872 * SecureMessageGenerator.cs : it was setting security tokens into
1873 incorrect SecurityMessageProperty.
1874 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1875 Now it uses SecurityRequestContext instead of just primary key.
1876 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1877 to symmetric reply decryption, which is the only trouble case.
1878 Do not create another SignedXml.
1879 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1881 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1883 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1884 the resolver works with in-progress token reading in o:Security.
1885 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1886 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1887 * SecureMessageGenerator.cs : cosmetic refactoring.
1889 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1891 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1892 instead of EncryptedKey.
1894 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1896 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1897 should not be always prepared at channel Open(). It also caused
1898 that extra token requirements.
1899 * SecureMessageGenerator.cs : use correct key clause for encryption.
1900 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1902 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1904 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1905 for supporting 'supporting tokens' .
1906 * SecureMessageGenerator.cs : Supporting token creation is done only
1907 at initiator (not sure if it is supposed that, but for now it is).
1908 Removed extraneous CollectSupportingTokens().
1909 * SecureMessageDecryptor.cs : implemented supporting token
1910 authentication (partly). "Signed" supporting tokens are expected
1913 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1915 * SecureMessageGenerator.cs :
1916 make SignBeforeEncryptAndEncryptSignature working.
1918 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1920 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1921 the key itself. ProtectionToken is WrappedKey.
1922 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1923 not EncryptedKeyIdentifierClause which is not for embedded key.
1924 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1926 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1928 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1929 to switch asymmetric and symmetric. Not used yet.
1930 * SecurityRequestChannel.cs : now it pass the request security
1931 property to reply receiver so that it could use the primary key
1932 used at request phase.
1933 * SecurityRequestContext.cs : now it pass the context itself to
1934 reply sender so that it could embed related MessageID.
1935 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1936 binding element. Add RelatesTo output and remove MessageID when
1937 replying to the sender. Added some hacks to get symmetric binding
1939 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1940 in SecurityTokenReference (it also involved existing encrypted key
1941 retrieval). In reply receiver, reuse the key that was used at
1942 request phase. It needs significant token resolution refactoring.
1944 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1946 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1947 * SecureMessageDecryptor.cs : store token and its authentication
1948 policies into the security property, and reuse it on reply.
1949 Some code refactoring; there is at most one o:Security to solve at
1950 one endpoint (depends on Actor). Some attempt to use correct
1951 token parameters (but for now I have only samples that use x509).
1952 * SecureMessageGenerator.cs : For replying message, use initiator's
1953 signing token as the encryption token. Simply reuse security
1954 property from the input message.
1956 I have some nasty workaround at decryptor for initiator that could
1957 not retrieve decryption key.
1959 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1961 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
1962 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
1963 several refactoring on token acquisition. Large part of
1964 MessageSecurityBindingSupport code is unified.
1966 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1968 * MessageProperties.cs : Security property should be one of the items.
1969 Actually many other properties should be similar as well.
1970 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
1971 when copying a message, copy properties as well.
1972 * SecurityRequestContext.cs : on replying, pass input
1973 SecurityMessageProperty to the security generator.
1974 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
1976 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
1978 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1981 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
1982 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
1983 use new WSSignedXml instead of SignedXml, and remove coexisting
1984 Id and wsu:Id. Now we can live only with wsu:Id and therefore
1985 - our reply messages could be consumed by .NET, and
1986 - .NET signature could be verified.
1988 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
1990 * SecureMessageDecryptor.cs : The signing key must be passed as
1991 CheckSignature() argument, not SigningKey.
1993 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1995 * MessageImpl.cs : don't read attribute after ReadStartElement().
1997 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
1999 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2000 * SecureMessageGenerator.cs : use correct signing key clause for
2001 SecurityTokenReferenceKeyInfo to be serialized.
2002 * SecureMessageDecryptor.cs : now it can try to parse signature.
2004 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2006 Ongoing changes to support signature confirmation
2007 * SecureMessageGenerator.cs :
2008 Don't output ReplyTo onto reply message.
2009 Write SignatureConfirmation if needed.
2010 * SecureMessageDecryptor.cs :
2011 Some refactoring for header cunsumption. Added commented-out
2012 signature verification part (not working yet, on client side due
2013 to incorrect reply from service and insufficient clause reader).
2014 * WSSecurityMessageHeader.cs :
2015 Added SignatureConfirmation support.
2016 KeyInfoClause for o:SecurityTokenReference should be replaced with
2017 SecurityTokenReferenceKeyInfo.
2019 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2021 * SecureMessageGenerator.cs : support Timestamp signature.
2022 Removed unused code, and extra argument in CreateReference().
2023 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2025 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2027 * SecureMessageGenerator.cs :
2028 Several fixes to make asymmetric binding working:
2029 - Differentiate signing and encryption token in several areas.
2030 - Fixed signing keyinfo.
2032 Added initial SecurityMessageProperty handling, not sure if it is
2033 appropriate here though.
2034 * HttpRequestChannel.cs : (some debugging lines)
2036 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2038 Woohoo! Here is a very basic WS-Security compliant message which could
2039 be allowed by Indigo.
2040 * MessageHeader.cs : added Id support for writing.
2041 * Message.cs : added internal BodyId for signature reference.
2042 * MessageImpl.cs : write Body Id if required.
2043 * SecureMessageGenerator.cs : Before signing, the target elements must
2044 be given wsu:Id. Since I still use System.Security.dll, I need some
2045 trick for signing (I give both Id and wsu:Id, former to sign and
2046 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2047 implementation later. Now singning mechanism works except for
2048 wsu:Timestamp (which is kind of mandatory).
2050 I can's still consume replies from Indigo but it's a big progress :)
2052 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2054 * MessageHeaderInfo.cs : added internal Id.
2055 * MessageHeader.cs : read and write wsu:Id.
2056 * Message.cs : output wsu namespace if Id exists in any header.
2057 * HttpReplyChannel.cs : (some debugging lines.)
2058 * SecureMessageDecryptor.cs : (remove debugging lines.)
2059 * MessageImpl.cs : removed obsolete code.
2060 * WSSecurityMessageHeader.cs : output "o" prefix.
2061 * SecureMessageGenerator.cs : replaced XmlElement-based header
2062 signing with MessageHeader-based signing, to support Id correctly.
2064 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2066 * SecureMessageGenerator.cs : some more refactoring and code comments.
2067 * MessageSecurityUtility.cs : made decryptor into an instance class,
2068 like I've done for SecureMessageGenerator.
2069 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2070 dependent changes for above.
2072 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2074 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2075 causing NRE due to the lack of token reference.
2076 No need to pass doc to SignedXml.ctor() anymore.
2077 Moved ReferenceList before the signature(s).
2079 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2081 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2082 Moved signing key generation code to non-HMACSHA1 signing part.
2083 Don't try to sign wss:Security.
2084 Pass document itself to SignedXml.ctor().
2085 Use temporary DataObjects to avoid adding Ids (not sure what is the
2086 expected processing yet).
2087 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2088 WriteTo() method in WsuTimestamp.
2090 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2092 * SecureMessageGenerator.cs : wrong key was used for signing.
2093 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2095 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2097 * SecureMessageGenerator.cs :
2098 Now ID generation process does not modify input message.
2099 Moved derived key generation part into (virtual) signing loop.
2100 MessagePartSpecification support for signing is done.
2102 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2104 * SecureMessageGenerator.cs : some reordering to handle signing and
2105 encryption with supporting tokens. Fixed XPath query bug for
2106 soap header contents (we want s:Header/*, not s:Header).
2108 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2110 * MessageSecurityBindingSupport.cs : more refactoring.
2111 Made it abstract and added Initiator- and Recipient- classes.
2112 Several members were moved to those derived types.
2113 * AsymmetricSecurityBindingElement.cs,
2114 SymmetricSecurityBindingElement.cs
2115 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2116 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2117 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2118 All dependent changes by above. Removed ISecurityChannelSource
2119 which became useless.
2121 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2123 * SecureMessageGenerator.cs : encryption parts should exist too.
2124 * AsymmetricSecurityBindingElement.cs
2125 SymmetricSecurityBindingElement.cs,
2126 MessageSecurityBindingSupport.cs : some refactoring.
2127 Split MessageSecurityBindingSupport into security binding element
2128 specific parts and made MessageSecurityBindingSupport concrete.
2129 It is likely split again, next time based on initiator/recipient.
2131 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2133 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2134 split encryptor part in the former file into latter file, and
2136 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2137 SecurityRequestContext.cs : apply the change above.
2139 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2141 * MessageSecurityBindingSupport.cs :
2142 Fixed incorrect TrgGetValue() use.
2143 Added CollectRecipientSupportingTokens().
2145 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2147 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2148 EncryptedKey. So, when a key itself is used to encrypt data,
2149 ReferenceList is contained by itself.
2150 * MessageSecurityBindingSupport.cs :
2151 added CollectInitiatorSupportingTokens().
2153 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2155 * MessageSecurityUtility.cs: it should support ReferenceList-less
2158 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2160 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2161 * MessageSecurityUtility.cs : there already was uuid.
2163 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2165 * MessageSecurityUtility.cs : replaced EncryptedKey with
2166 WrappedKeySecurityToken, which seems to be in actual use in .net.
2167 * WSSecurityMessageHeader.cs : added internal Guid so that it
2168 could be shared between header items.
2170 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2172 * HttpRequestContext.cs, TextMessageEncoder.cs :
2173 some null arg check.
2175 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2177 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2178 for SecurityTokenReference resolution.
2180 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2182 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2183 consider DerivedKeyTokens correctly.
2184 When creating LocalId, don't add '#' here.
2186 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2188 * MessageSecurityUtility.cs :
2189 handle key mapping for each wsse:Security.
2191 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2193 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2195 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2197 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2199 * MessageSecurityUtility.cs :
2200 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2201 suggests, and it is used to dereference decryption targets.
2202 Now it premises multiple wsse:Security elements to read.
2204 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2206 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2207 manually (and actually the namespace URI was wrong).
2209 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2211 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2213 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2215 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2217 * SecurityBindingElement.cs,
2218 SymmetricSecurityBindingElement.cs,
2219 AsymmetricSecurityBindingElement.cs :
2220 implemented SetKeyDerivation().
2222 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2224 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2227 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2229 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2232 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2234 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2235 thus move it in front of encryption/signing.
2237 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2239 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2240 check state by themselves (btw it's not really working).
2241 * HttpChannelListener.cs : If the url does not end with '/' add it
2242 so that it could be fed to HttpListener.
2244 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2246 * HttpChannelFactory.cs : check scheme on CreateChannel.
2247 * MessageHeader.cs : finish IsMessageVersionSupported().
2249 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2251 * FaultConverter.cs : new file, not used yet though.
2253 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2255 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2257 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2259 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2260 GET as well as HttpReplyChannel, configuration would be ready now.
2262 2006-10-18 Ankit Jain <jankit@novell.com>
2264 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2265 EnvelopeVersion.Soap12 and 'text/xml' for others.
2266 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2268 Strip '?' from the query string.
2270 2006-10-13 Ankit Jain <jankit@novell.com>
2272 * MessageVersion.cs (None): Set AddressingVersion.None
2274 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2276 * SvcHttpHandler.cs : added config-based endpoint addition code.
2277 Though due to some weird bug in mono-core it does not seem to work,
2278 so commented out for now.
2279 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2280 mex request message might just be wrong.
2281 Use expected MessageVersion by the channel.
2282 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2284 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2286 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2287 which differs depending on whether it is asymmetric or symmetric.
2288 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2289 simplify SecureMessage() and DecryptMessage() arguments (just
2290 take MessageSecurityBindingSupport instead of several parameters).
2291 * MessageSecurityUtility.cs :
2292 - simplify SecureMessage() and DecryptMessage() arguments (just
2293 take MessageSecurityBindingSupport instead of several parameters).
2294 - Take token inclusion mode into account. Don't include them when
2295 it is not expected. Also, change the token reference style.
2296 - add wsa:MessageID to the headers.
2297 - For hmac-sha1 signing (default for symmetric binding), use
2298 symmetric key created for encryption as well to create HMACSHA1.
2299 - add Id to wsu:Timestamp.
2300 - start to handle SecurityMessageProperty.
2301 * WSSecurityMessageHeader.cs :
2302 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2303 Changed date format.
2305 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2307 * CommunicationObject.cs : reject faulted state on Open()/Close().
2308 * MessageHeaders.cs : removed extra fields.
2310 2006-10-06 Ankit Jain <jankit@novell.com>
2312 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2314 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2316 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2317 added some FIXMEs and additional arg.
2319 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2321 * MessageSecurityUtility.cs : remove duplicate Action header.
2323 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2325 * MessageFault.cs : partly implemented CreateFault(Message, int).
2326 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2327 handle IsFault correctly in each implementation.
2329 2006-10-04 Ankit Jain <jankit@novell.com>
2331 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2333 2006-10-04 Ankit Jain <jankit@novell.com>
2335 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2336 in WebConnectionStream.
2338 2006-10-04 Ankit Jain <jankit@novell.com>
2340 * MessageHeaders.cs (To): Use GetHeader<string> till
2341 DataContractSerializer gets ISerializable support.
2342 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2344 2006-10-04 Ankit Jain <jankit@novell.com>
2346 * ServiceHostParser.cs (Parse):
2347 (Split): Add some error checks.
2349 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2351 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2352 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2353 * SslStreamSecurityUpgradeProvider.cs,
2354 SslStreamSecurityUpgradeAcceptor.cs :
2355 new files for Ssl upgrade provider implementation.
2356 * MessageSecurityUtility.cs :
2357 Create proper C14NTransform. Don't use enveloped signature
2358 transform but sign every significant bits. On securing messages
2359 use ChannelProtectionRequirements.
2360 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2362 * MessageEncoder.cs : fix API (missing constraint).
2363 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2364 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2365 * AsymmetricSecurityBindingElement.cs : default protection order is
2366 SignBeforeEncryptAndEncryptSignature.
2368 2006-09-29 Ankit Jain <jankit@novell.com>
2370 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2371 ServicHostParser and use that here.
2372 (PrivateBinPath): New.
2373 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2374 (RemovedCallback): Remove and close the SvcHttpHandler when its
2375 corresponding file (.svc) changes.
2376 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2378 * ServiceHostParser.cs : New.
2379 * CachingCompiler.cs : New. Code extracted from
2380 System.Web.Compilation.CachingCompiler
2381 * CompilationException.cs : New. From System.Web.Compilation
2382 * HtmlizedException.cs : New. Likewise.
2384 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2386 * MessageSecurityBindingSupport.cs : For client side, it is always
2387 InitiatorServiceModelSecurityTokenRequirement which should be
2388 created. Fixed wrong client encryption key acquisition.
2390 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2392 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2393 MessageSecurityBindingSupport.cs : made similar changes as factories
2394 to listener so that session channels and input channels would work.
2395 Added authenticator creation.
2397 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2399 * Binding.cs : added missing members.
2401 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2403 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2404 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2405 reduce code duplication between request and output channels.
2406 The common parts are now in MessageSecurityBindingSupport.
2407 Now reduced several arguments in SecureMessage() for client.
2409 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2411 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2413 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2415 * AsymmetricSecurityBindingElement.cs,
2416 SecurityChannelListener.cs,
2417 SecurityRequestContext.cs,
2418 SymmetricSecurityBindingElement.cs,
2419 SecurityRequestChannel.cs,
2420 SecurityOutputChannel.cs,
2421 SecurityChannelFactory.cs,
2422 MessageSecurityBindingSupport.cs : 1) Refactoring.
2423 IMessageSecurityBindingSupport now becomes a class and contains
2424 all the members which resided in ISecurityChannelSource.
2425 Now it takes more constructor params.
2426 Made dependent changes on all sources above.
2428 2) Added SecurityTokenAuthenticator creation in
2429 SecurityRequestChannel (SecurityOutputChannel should do the same).
2431 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2433 * SecurityRequestChannel.cs : ongoing improvements on conditional
2434 key creation. Actually there must be some part that creates an
2435 authenticator (WinFX does that).
2437 2006-09-27 Ankit Jain <jankit@novell.com>
2439 Add suport for handling .svc files.
2440 * SvcHttpHandlerFactory.cs: New.
2441 * SvcHttpHandler.cs: New.
2443 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2444 asp.net environment.
2445 (OnOpen): Do nothing in asp.net environment.
2446 (OnClose): Likewise.
2447 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2448 * HttpRequestContext.cs: .. here.
2450 * AspNetReplyChannel.cs: New.
2451 * AspNetRequestContext.cs: New.
2453 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2455 * MessageSecurityUtility.cs :
2456 Significantly rewritten decryption parts to respect ReferenceList
2457 to decrypt (so no workaround anymore).
2458 Now e:ReferenceList inside o:Security is treated as the referenced
2459 EncryptedType items are encrypted by 1) the derived key which is
2460 immediately in front of it, or 2) the default key (it is according
2461 to WS-SecureConversation section 9.1). Thus removed immediately
2462 previous hack to auto-fill wsu:Id attributes.
2464 On securing a message, generate correct Id and add DataReference
2465 to ReferenceList properly.
2467 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2469 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2472 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2474 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2475 Actually WSSecurityTokenSerializer should be able to consume it, but after
2476 spending a lot of time I still cannot successfully read it on WinFX.
2477 Skip ReferenceList for now.
2478 * MessageSecurityUtility.cs :
2479 Replaced some string literals with constants.
2480 Added some workaround for DerivedKeyToken retrieval.
2481 WinFX somehow sends incomplete ISO10126 padding which contains
2482 bigger number than the key size and is rejected by EncryptedXml,
2483 so added DecryptLax() which processes such ones in PaddingMode.None
2484 to workaround it (only for cross-connection between mono and winfx).
2485 Added some incomplete implicit wsu:Id processing.
2486 Don't try to replace SignedXml with EncryptedData. It is not added
2487 to the document tree.
2489 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2491 * MessageSecurityUtility.cs : support message signature encryption. Some
2494 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2496 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2498 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2500 * MessageSecurityUtility.cs : fix warnings.
2502 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2504 * MessageSecurityUtility.cs : actually there would be more than one
2505 EncryptedData. Decrypt all.
2507 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2509 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2510 Use ISO10126 padding mode (it is not required but in manner).
2512 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2514 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2515 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2516 that class to make it work fine with mono client).
2517 Removed buggy lines that reset decryption key to AES.
2518 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2519 * WSSecurityMessageHeader.cs :
2520 (SecurityTokenReferenceKeyInfo) support LoadXml.
2522 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2524 * TransactionMessageProperty.cs : new file.
2526 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2528 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2529 gmcs happened to report wrong code.
2531 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2533 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2534 .ctor() now requires ChannelProtectionRequirements which will be
2535 supplied via BindingParameterCollection.
2536 * SymmetricSecurityBindingElement.cs,
2537 AsymmetricSecurityBindingElement.cs : thus add
2538 ChannelProtectionRequirement parameter to factory/listener.
2539 * SecurityRequestChannel.cs : use recipient token requirement to
2540 create an encryption token. Thus differentiate the logic from
2541 signing (initiator) token.
2543 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2545 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2546 renamed former to latter.
2547 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2550 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2552 * MessageSecurityBindingSupport.cs : new internal types to commonize
2553 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2554 and thus make internal factory and listener reusable.
2555 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2556 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2557 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2558 SymmetricSecurityBindingElement, using the new types above.
2559 * SymmetricSecurityBindingElement.cs :
2560 Use SymmetricMessageSecurityBindingSupport.
2561 * AsymmetricSecurityBindingElement.cs :
2562 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2564 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2566 * ChannelFactoryBase.cs : more RC1 update.
2568 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2570 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2571 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2572 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2573 ChannelBase.cs : RC1 API updates.
2574 * MessageImpl.cs : implemented Properties.
2575 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2577 2006-09-18 Ankit Jain <jankit@novell.com>
2579 * MessageHeaders.cs (MessageId):
2580 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2582 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2584 * ChannelParameterCollection.cs : new file.
2585 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2586 new files for IOutputChannel implementation.
2587 * OneWayBindingElement.cs : hacky implementation.
2588 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2589 * MessageSecurityUtility.cs : now create identifier from the security
2590 token and the token parameters which is added as an argument.
2591 * SecurityRequestContext.cs,
2592 SecurityRequestChannel.cs : SecureMessage() argument changes.
2593 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2596 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2598 * HttpRequestChannel.cs : close the HttpWebRequest.
2600 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2602 * HttpRequestChannel.cs,
2603 HttpChannelFactory.cs : implement async request/reply.
2604 * HttpChannelFactory.cs :
2605 verify factory state when creating a channel.
2607 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2609 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2610 BinaryMessageEncoder.cs : added message version mismatch check.
2612 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2614 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2615 Making incomplete changes to handle different tokens for encryption
2617 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2618 split channel implementation classes out to the latter file.
2619 * MessageSecurityUtility.cs : seems like there is
2620 TimeStampValidityDuration property, so use it (incomplete; a server
2621 needs another love).
2623 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2625 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2626 SecurityRequestContext.cs : now that we have key identifier clause
2627 and working ResolveKeyIdentifierClause(), just create keys inside
2628 SecureMessage(). Add KeyInfo to the xmldsig.
2630 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2632 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2633 pass SecurityKeyIdentifierClause to SecureMessage().
2634 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2635 for IssuedToken binding element.
2636 * SymmetricSecurityChannelListener.cs : removed hack to just create
2637 X509 security token, and implemented correct token creation.
2638 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2639 wraps SecurityTokenReference element.
2640 * MessageSecurityUtility.cs : use the above.
2642 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2644 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2645 could not find a security header.
2646 * SymmetricSecurityChannelFactory.cs : now it also supports
2647 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2650 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2652 * SecurityRequestContext.cs : moved securing message part to
2653 MessageSecurityUtility.cs.
2654 * MessageSecurityUtility.cs : the change above.
2655 use DateTime.Now for timestamp basis. Don't append signature to
2656 the document. Instead it is added to the header. Capture body
2657 content instead of the body itself.
2658 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2659 be processed by upper layers.
2661 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2663 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2664 SymmetricSecurityChannelListener.cs,
2665 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2666 more refactoring. Request serialization became much more conformant
2667 and add required header items.
2668 Security Token retrieval is needed to send it in the request.
2669 Fixed wrong key encryption.
2671 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2673 * SecurityRequestContext.cs : the workaround was not functional.
2675 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2677 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2678 API, especially ReplaceData(), instead of native crypto stuff.
2679 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2680 MessageProtectionOrder.SignBeforeEncrypt).
2682 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2684 * SecurityRequestContext.cs : label should be combined of both
2685 the client's and the server's.
2687 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2689 * SecurityRequestContext.cs : enable key derivation (though for now
2690 GenerateDerivedKey() is unimplemented). Create meaningful,
2691 decrypted request message to be consumed by the upper layer.
2693 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2695 * SecurityRequestContext.cs : implement Close() and Reply().
2696 ongoing implementation of Reply(TimeSpan).
2697 * MessageSecurityUtility.cs : new file to collect utility methods.
2698 * SymmetricSecurityChannelFactory.cs : moved securing message code
2700 * SymmetricSecurityChannelListener.cs : tiny renaming.
2702 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2704 * SecurityRequestContext.cs : security header is also stored.
2706 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2709 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2711 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2714 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2716 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2717 so that it retrieves the security key in that manner.
2719 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2721 * Binding.cs : MessageVersion is null when there is no
2722 MessageEncodingBindingElement.
2723 * Message.cs : null arg check.
2725 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2727 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2729 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2731 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2732 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2733 LayeredRequestChannel.cs : some refactoring.
2734 * SymmetricSecurityChannelFactory.cs :
2735 ongoing secure message creation implementation.
2737 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2739 * SymmetricSecurityBindingElement.cs :
2740 pass specific ServiceCredentialsSecurityTokenManager type to
2741 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2742 * SymmetricSecurityChannelListener.cs :
2743 get service certificate. It's a temporary hack.
2744 Move RequestContext code to below.
2745 * SecurityRequestContext.cs : new file.
2746 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2747 it I have to finish decryption of the incoming message.
2749 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2751 * MessageImpl.cs : don't write attributes on the first body content
2752 element *on soap Body element*.
2753 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2754 ObjectDisposedException is appropriate.
2755 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2756 in OnWriteHeader*Contents*().
2758 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2760 * WSSecurityMessageHeader.cs : new file.
2761 * SymmetricSecurityChannelFactory.cs :
2762 moved WSSecurityHeader and related types to the above.
2763 * SymmetricSecurityChannelListener.cs :
2764 reject SOAP-env-less message.
2766 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2768 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2769 renamed former to latter.
2770 * SymmetricSecurityChannelFactory.cs :
2771 create requirements every time. It is also likely that I need
2772 another requirement instance to get service credentials here.
2774 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2776 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2777 similar to BuildChannelFactory() (set credentials, issuer binding
2779 * SecurityChannelListener.cs :
2780 more ongoing security support implementation.
2781 * SymmetricSecurityChannelFactory.cs :
2782 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2784 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2786 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2787 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2788 Implementation is underway.
2789 * LayeredReplyChannel.cs :
2790 like LayeredRequestChannel, use ChannelListenerBase to provide
2793 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2795 * MessageHeader.cs : added another implementation type that uses
2796 XmlElement, for buffering purpose.
2797 * MessageImpl.cs : Header item types are user-driven by
2798 MessageHeader.GetHeader<T>(int), so at storing phase just store
2799 nodes as XmlElement.
2800 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2803 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2805 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2806 BindingParameterCollection, not from binding element properties.
2808 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2810 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2811 renamed former to latter.
2813 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2815 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2816 work for SslSecurityTokenParameters.
2818 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2820 * SecurityBindingElement.cs :
2821 Added SetIssuerBindingContextIfRequired().
2822 * SecurityChannelFactory.cs :
2823 Changed .ctor() arg again, just to receive binding element.
2824 * SymmetricSecurityBindingElement.cs :
2825 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2826 SymmetricSecurityChannelFactory .ctor() arg changes.
2827 "ProtectionTokenParameters" is not passed now.
2829 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2831 * SymmetricSecurityBindingElement.cs : requirements should be
2832 filled at InitializeSecurityTokenParameters as long as possible.
2833 SymmetricSecurityChannelFactory<T> now does not receive
2834 requirements (it now creates one inside it) at .ctor().
2835 * SecurityChannelFactory.cs : remove requirement argument.
2837 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2839 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2841 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2843 * SymmetricSecurityBindingElement.cs :
2844 MessageSecurityVersion property is of type SecurityTokenVersion.
2845 * SecurityBindingElement.cs :
2846 Implemented CreateSecureConversationBindingElement().
2847 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2848 the argument IssuedSecurityTokenParameters itself.
2850 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2852 * SymmetricSecurityBindingElement.cs :
2853 CreateSecurityTokenManager() can be directly used now.
2854 Use CallInitializeSecurityTokenRequirement() to fill requirement
2857 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2859 * ChannelFactoryBase.cs : GetProperty() is virtual.
2861 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2863 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2864 create token manager, token parameters and token requirements,
2865 and fill some requirements.
2866 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2867 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2868 * BindingContext.cs : implemented RemainingBindingElements.
2869 kill "no remaining binding element" error in GetInnerProperty()
2870 * SecurityChannelFactory.cs : now it became
2871 SymmetricSecurityChannelFactory, thus soon to be renamed.
2872 Several ongoing actual security resolution is on.
2874 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2876 * CommunicationObject.cs :
2877 add GetCommunicationObjectType() and use it.
2878 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2879 use ThrowIfDisposedOrNotOpen().
2880 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2881 to CommunicationObject. Make it IDisposable.
2882 * LayeredRequestChannel.cs : use above.
2883 * SecurityChannelFactory.cs : removed state check as it is done at
2886 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2888 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2889 CanBuildChannelListener) directly dispatch to BindingContext.
2890 * SymmetricSecurityBindingElement.cs : require protection token
2891 parameters before building a channel or a listener.
2892 * ChannelFactoryBase.cs : raise an error when a channel is being
2893 created without opening the factory.
2894 * ChannelListenerBase_1.cs : ditto for the listener.
2895 * SecurityChannelFactory.cs : before sending a request, it must be
2898 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2900 * MessageBufferImpl.cs : initialize fields.
2901 workaround BufferSize just to return 0.
2902 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2903 which does not support multi time write.
2904 * Message.cs : implemented State.
2906 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2908 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2909 is consuming XmlReader.
2910 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2911 * MessageBuffer.cs : implemented CreateNavigator().
2912 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2914 I kinda know that MS heavily depends on binary XmlReader and may have
2915 XPathNavigator implementation based on the binary stuff, but at
2916 least for now we have almost no motivation to mimick it.
2918 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2920 * SecurityChannelFactory.cs : a bit more of security header code.
2922 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2924 * SymmetricSecurityBindingElement.cs :
2925 set default MessageProtectionOrder in every construction.
2927 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2929 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2930 changed to require ChannelFactoryBase to support default timeout.
2931 Made some methods non-virtual. Preparing code to add security
2932 headers (empty yet).
2933 * SecurityBindingElement.cs : implemented several factory methods
2934 that return SymmetricSecurityBindingElement.
2936 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2938 * IStreamUpgradeBindingElement.cs,
2939 StreamUpgradeBindingElement.cs : renamed from former to latter.
2941 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2943 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2945 2006-07-31 Ankit Jain <jankit@novell.com>
2947 * MessageHeaders.cs (From): Use Constants.WSA1
2948 (MessageId): Implement the same pattern as other properties (From etc).
2950 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2952 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
2953 * SecurityBindingElement.cs : some cosmetic changes.
2955 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2957 * SecurityBindingElement.cs : LocalClientSettings and
2958 LocalServiceSettings returns an instance for each.
2959 * LocalClientSecuritySettings.cs : initialized fields.
2961 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
2963 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
2964 kinda implemented Clone() just with MemberwiseClone().
2966 2006-07-27 Ankit Jain <jankit@novell.com>
2968 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
2969 * MessageHeader.cs (knownTypes): New. Known type array containing
2971 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2973 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2975 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
2976 LayeredCommunicationObject.cs,
2977 SecurityChannelFactory.cs, SecurityChannelListener.cs :
2978 new files to support security channels, though right now they
2979 just pass inner channels through.
2980 * SymmetricSecurityBindingElement.cs : use above.
2982 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
2984 * AsymmetricSecurityBindingElement.cs,
2985 SymmetricSecurityBindingElement.cs :
2986 Default SecurityTokenParameters is null.
2988 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2990 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
2992 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
2994 * Message.cs : When EnvelopeVersion is None, don't write SOAP
2996 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
2997 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
2998 headers. When AddressingVersion is None, don't output addressing
2999 headers as well, except for Action which is still needed by
3002 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3004 * MessageHeaders.cs : changed specific properties to find it from
3005 headers as Action property does (local variables won't be set by
3006 setter). Cache serializers. Check null serializer arguments.
3007 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3009 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3011 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3012 use XmlObjectSerializer (since it is not data contract type).
3014 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3016 * MessageImpl.cs : Improved ReadHeaders().
3017 For certain header items, use EndpointAddress.ReadFrom().
3019 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3021 * AsymmetricSecurityBindingElement.cs :
3022 it is not ISecurityCapabilities anymore.
3024 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3026 * MessageVersion.cs : added None.
3028 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3030 * Message.cs : GetReaderAtBodyContents() implementation using
3033 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3035 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3036 used MessageVersion.Default.
3038 2006-07-12 Duncan Mak <duncan@novell.com>
3040 * MessageBuffer.cs (MessageContentType): Return
3041 "application/soap+msbin1".
3043 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3044 (SimpleMessage.OnCreateBufferedCopy):
3045 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3046 MessageBuffer implementations.
3048 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3049 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3050 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3052 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3054 * MessageImpl.cs : Action should be added in request messages. Omit
3055 it only in reply message, thus moved to dispatcher logic.
3057 2006-07-12 Ankit Jain <jankit@novell.com>
3059 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3060 bug in WebConnectionStream.
3061 * MessageHeaders.cs (MessageHeaders.From):
3062 (MessageHeaders.ReplyTo):
3063 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3065 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3067 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3068 add SOAP Action to the response at any time.
3070 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3072 * SymmetricSecurityBindingElement.cs,
3073 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3074 Implemented .ctor() and some properties.
3076 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3078 * TransactionFlowBindingElement.cs : new file.
3079 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3081 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3084 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3085 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3086 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3087 vanished (there is anyways no way to instantiate this type).
3088 * MessageVersion.cs : added Soap11 and Soap12.
3089 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3090 in June CTP. goodie.
3092 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3094 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3095 removed some vanished CreateMessage() overloads.
3097 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3099 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3100 HttpTransportBindingElement.cs :
3101 They are not ISecurityCapabilities anymore.
3102 Modified code to match June CTP behavior.
3104 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3106 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3108 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3110 * EmptyFaultException.cs : removed unused code.
3111 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3113 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3115 * LayeredChannelFactory.cs : removed obsolete class.
3116 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3117 ChannelListenerBase.cs, HttpChannelListener.cs,
3118 HttpReplyChannel.cs, ChannelManagerBase.cs :
3119 all those changes were brought by ChannelManagerBase changes.
3121 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3123 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3124 CommunicationObject.cs, HttpChannelListener.cs,
3125 ChannelFactoryBase.cs :
3126 CommunicationObject abstract changes brought this madness.
3128 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3130 * BindingContext.cs : listenUri address parameters could be null in
3133 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3135 * IRequestContext.cs :
3136 Now it became a class. File renaming will follow soon.
3137 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3138 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3139 IOutputChannel.cs, IOutputSessionChannel.cs,
3140 IRequestChannel.cs, IRequestSessionChannel.cs :
3141 They are not IDisposable anymore.
3142 For IReplyChannel, IRequestContext -> RequestContext.
3143 * IChannelListener.cs : removed Identity. Added GetProperty().
3144 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3145 ReplyChannelBase.cs, HttpReplyChannel.cs :
3146 Several members disappeared, and dependent changes.
3147 * HttpTransportBindingElement.cs,
3148 HttpChannelListener.cs, :
3149 ChannelListenerBase.SharedChannelListener vanished.
3151 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3153 * MessageEncodingBindingElement.cs
3154 MtomMessageEncodingBindingElement.cs,
3155 TextMessageEncodingBindingElement.cs,
3156 BinaryMessageEncodingBindingElement.cs :
3157 June CTP updates: AddressingVersion -> MessageVersion.
3158 * Binding.cs : June CTP. MessageVersion is added.
3159 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3160 ChannelListenerBase_1.cs,
3161 ChannelListenerBase.cs, IChannelListener.cs,
3163 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3164 June CTP. Several interface changes.
3165 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3166 * IChannelManager.cs, LayeredChannelListener.cs,
3167 GenericWrapperChannelFactory.cs,
3168 GenericWrapperChannelListener.cs : They are not used anymore.
3170 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3172 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3173 sync fix with June CTP API updates.
3175 2006-07-03 Ankit Jain <jankit@novell.com>
3177 * MessageEncodingBindingElementConverter.cs:
3178 * StandardBindingConverter.cs:
3179 * TransportBindingElementConverter.cs:
3180 * TransactionFlowBindingElementConverter.cs:
3181 * ReliableSessionBindingElementConverter.cs:
3182 * SecurityBindingElementConverter.cs:
3183 Rename *Converter.cs to *Importer.cs
3185 * TransferMode.cs: Move to System.ServiceModel
3187 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3189 * CommunicationObject.cs : make sure to change State before
3190 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3192 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3194 * Message.cs : output WSAddressing xmlns only when Action is
3195 specified (To should be affected, but seems like it is ignored).
3197 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3199 * MessageImpl.cs : don't set Action when it is null.
3201 2006-06-12 Ankit Jain <jankit@novell.com>
3203 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3205 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3207 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3208 some updated API fixes.
3210 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3212 * EnvelopeVersion.cs : moved back to S.SM.
3214 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3216 * IBindingManualAddressing.cs : vanished in beta2.
3217 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3218 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3220 * SecurityBindingElement.cs :
3221 SecurityStandardsManager -> SecurityTokenSerializer.
3223 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3225 * XmlSerializerBodyWriter.cs : new file to handle
3226 TypedMessageConverter.ToMessage().
3228 2006-04-26 Ankit Jain <jankit@novell.com>
3230 * TransportBindingElementConverter.cs (BeforeImport): Remove
3231 NotImplementedException.
3232 (ImportContract): Likewise.
3233 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3235 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3237 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3238 being used was not reflecting that of Binding elements.
3240 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3242 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3243 just assume that it is in the message.
3245 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3247 * HttpReplyChannel.cs : actually HTTP header item might be null.
3249 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3251 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3254 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3256 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3258 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3260 * MessageFault.cs : Fixed SOAP12 reason output.
3262 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3264 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3265 MessageEncoder.ContentType explicitly contains encoding.
3266 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3267 if it is SOAP version dependent.
3269 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3271 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3273 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3275 * HttpChannelFactory.cs BindingContext.cs
3276 HttpChannelListener.cs HttpTransportBindingElement.cs :
3277 Now BindingContext holds MessageEncoder, and non-custom
3278 channel factory/listener should use it.
3279 * MtomMessageEncodingBindingElement.cs
3280 TextMessageEncodingBindingElement.cs
3281 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3282 -Listener() now sets internal BindingContext.MessageEncoder.
3283 Fixed some public API.
3285 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3287 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3288 for insufficient elements.
3289 * DispatchRuntime.cs : OperationDescription name is not action. So
3290 OperationSelector is created by name, not by action.
3291 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3293 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3295 * MessageFaultBodyWriter.cs
3296 XmlReaderBodyWriter.cs
3297 XmlObjectSerializerBodyWriter.cs : made internal.
3298 * SecurityBindingElement.cs
3299 AsymmetricSecurityBindingElement.cs
3300 SymmetricSecurityBindingElement.cs : API fixes.
3301 * TransportBindingElementConverter.cs : ditto.
3302 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3303 * WindowsStreamSecurityBindingElement.cs
3304 SslStreamSecurityBindingElement.cs
3305 TransportSecurityBindingElement.cs : new files.
3307 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3309 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3310 reading can be any xs:boolean value.
3312 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3314 * Message.cs MessageImpl.cs : more sorting out the role of each
3316 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3318 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3320 * Message.cs : don't write body contents if it is empty.
3321 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3322 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3323 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3324 * HttpRequestChannel.cs : close request stream before GetResponse().
3326 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3328 * TextMessageEncoderFactory.cs
3329 TextMessageEncoder.cs : encoder does not hold reference to the
3330 factory anymore. Use MessageVersion property in CreateMssage().
3331 * HttpChannelListener.cs : now it holds message encoder.
3332 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3333 * MessageImpl.cs : header is optional.
3334 * EnvelopeVersion.cs : namespace URI is missing.
3336 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3338 * CustomBinding.cs : removed Initialize().
3339 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3340 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3341 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3342 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3344 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3346 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3347 could be also added by Add() method and could be reset by Remove()).
3348 * MessageImpl.cs : implemented more. As noted above, Now we don't
3349 have to add Action header explicitly.
3350 * MessageHeader.cs : recovered Writer methods and ToString() from
3351 commented old version. Use prefixes for writing.
3352 Use WriteObjectContent() rather than WriteObject() (it needs
3353 DataContractSerializer fix btw).
3355 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3357 * MessageHeader.cs : added missing IsReferenceParameter.
3358 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3359 * MessageHeaders.cs : avoid NullRef when actors is null.
3360 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3361 (ForwardingMessage) reader consumer is being added (not done).
3362 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3363 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3364 * HttpRequestChannel.cs : this channel automatically call Open()
3365 when Request() is called. Set content length for request.
3366 Use MessageEncoder's ContentType to also handle charset.
3368 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3370 * MessageImpl.cs : make them internal.
3371 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3373 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3375 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3376 * HttpChannelListener.cs : removed commented line.
3377 * RequestChannelBase.cs : new base class for request channel classes.
3378 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3379 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3380 * Message.cs : default IsEmpty and IsFault false by default.
3381 * LayeredChannelListener.cs : removed Uri (no chance to set).
3382 * ChannelBase.cs : reimplemented timeout properties.
3383 * HttpRequestChannel.cs : now it is mostly based on
3384 RequestChannelBase. Some more attempt to implement Request().
3386 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3388 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3389 OnInitialize(). Added more BuildChannelListener() overloads.
3391 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3393 * Binding.cs : added some more missing members especially to support
3395 * HttpChannelListener.cs : Uri should not be null.
3396 * HttpTransportBindingElement.cs : implemented
3397 CanBuildChannelFactory() and CanBuildChannelListener().
3398 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3400 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3402 * Binding.cs : updated default namespace property value to Feb. CTP.
3404 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3406 * AddressHeader.cs : avoid null reference when value is null.
3407 * BindingContext.cs : check null ListenUri args.
3409 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3411 * MessageFault.cs : Fixed default action name. Null arg check.
3413 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3415 * BindingElement.cs : Dequeue elements in BindingContext directly.
3416 * BindingContext.cs : Added GetProperty<T>().
3417 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3418 Now we don't need these extra classes, so marked as deprecated.
3420 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3422 * Binding.cs : null arg check.
3423 * AddressingVersion.cs : fixed constants to pass the tests.
3424 * BindingElement.cs : tiny meessage fix.
3426 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3428 * MessageEncodingBindingElement.cs
3429 BinaryMessageEncodingBindingElement.cs
3430 TextMessageEncodingBindingElement.cs
3431 MtomMessageEncodingBindingElement.cs
3432 MessageEncodingBindingElementConverter.cs : several API fixes.
3433 * BindingElement.cs : now if we use generic wrapper it causes
3434 infinite loop, so for now replace it with most-possible-but-
3437 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3439 (back to normal "record-ChangeLogs" mode after the big API change mess)
3440 * HttpTransportBindingElement.cs : fixed minor API differences.
3442 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3444 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3445 SymmetricSecurityBindingElement.cs :
3446 Dependent fixes for System.IdentityModel reorgainzation.
3448 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3450 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3451 IProxyFormatter.cs WSHttpBindingBase.cs
3452 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3453 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3454 WSFederationBinding.cs ISessionChannel.cs
3455 CompositeDuplexBindingElement.cs MessageVersion.cs
3456 MessageHeader.cs IRequestSessionChannel.cs
3457 BindingElementCollection.cs IReplySessionChannel.cs
3458 MessageProperties.cs IDuplexClientChannel.cs
3459 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3460 TcpTransportBindingElement.cs EmptyFaultException.cs
3461 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3462 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3463 ConnectionOrientedTransportBindingElement.cs
3464 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3465 PeerResolverBindingElement.cs Message.cs
3466 HttpsTransportBindingElement.cs BindingElement.cs
3467 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3468 MessageFaultBodyWriter.cs IReplyChannel.cs
3469 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3470 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3471 IRequestContext.cs IInputSessionShutdown.cs
3472 SecurityBindingElement.cs PeerTransportBindingElement.cs
3473 IDuplexSession.cs IChannelInitializer.cs
3474 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3475 AddressingVersion.cs FaultException.cs
3476 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3477 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3478 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3479 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3480 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3481 BindingParameterCollection.cs IInstanceProvider.cs
3482 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3483 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3484 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3485 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3486 moved from System.ServiceModel due to the API changes.
3488 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3490 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3491 HttpChannelListener.cs HttpRequestChannel.cs
3492 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3493 PeerNode.cs ReplyChannelBase.cs :
3494 Feb. CTP API changes - chapter 1.
3496 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3498 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3499 * ReplyChannelBase.cs : now it is based on ChannelBase.
3500 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3501 and check null argument in .ctor().
3502 * HttpReplyChannel.cs : several changes.
3503 Non-async members are mostly implemented.
3504 * HttpChannelListener.cs : no need to receive
3505 IDefaultCommunicationTimeouts.
3506 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3507 to allocate buffer array and int.MaxValue causes OutOfMemory.
3509 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3511 * ClientFramingDecoderState.cs : added missing enum.
3512 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3514 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3516 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3518 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3519 AcceptChannel() has some code now but it needs more love.
3521 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3523 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3524 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3525 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3527 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3529 * HttpRequestChannel.cs : close the streams.
3531 HttpChannelListener.cs : renamed from former to latter.
3533 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3535 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3536 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3537 * HttpListenerFactory.cs : removed obsolete file.
3538 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3539 * ChannelListenerBase_1.cs : implemented virtual stuff.
3540 * CommunicationObject.cs : Open() should not call BeginOpen() and
3541 EndOpen(). Instead, invoke events individually.
3542 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3544 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3546 * HttpRequestChannel.cs : call Flush() after serializing message
3549 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3551 * HttpRequestChannel.cs : implemented pretty hacky Request().
3553 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3555 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3557 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3559 * ChannelFactoryBase.cs : removed some NotImplementedException for
3560 further internal implementation.
3562 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3564 * HttpRequestChannel.cs : new file. mostly not implemented.
3565 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3566 Partly implemented CreateChannel().
3568 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3570 * HttpChannelFactory.cs : (.ctor())
3571 Don't take ChannelBuildContext.
3573 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3575 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3576 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3577 PeerMessagePropagation.cs : updated to Nov. CTP.
3579 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3581 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3582 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3583 StreamSecurityUpgradeAcceptor.cs,
3584 StreamSecurityUpgradeInitiator.cs :
3585 Updated to Nov. CTP API.
3587 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3589 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3591 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3593 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3595 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3597 * ChannelBase.cs : tiny filename fix.
3598 * ChannelListenerBase.cs : added more .ctor()s.
3600 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3602 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3603 ListenerFactoryBase.cs ChannelListenerBase.cs :
3604 updated IListener related stuff to Nov. CTP.
3605 file renaming will come soon.
3607 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3609 * ListenerBase.cs, ChannelListenerBase.cs :
3610 moved from former to latter.
3611 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3612 moved from former to latter.
3614 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3616 * SessionFaultedException.cs : removed in Nov. CTP
3618 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3620 * CommunicationObject.cs : updated to Nov. CTP.
3621 * SessionFaultedException.cs : removed (in Nov. CTP)
3623 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3625 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3628 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3630 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3631 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3632 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3633 * MessageEncoder.cs : largely implemented.
3635 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3637 * IRequestReplyCorrelator.cs : new file.
3639 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3641 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3642 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3643 * MessageEncoder.cs : added misssing ToString().
3645 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3647 * ChannelBehaviorCollection.cs : moved to sys.sm.
3649 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3651 * HttpListenerFactory.cs, HttpListener.cs : new files.
3652 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3653 CommunicationObject.cs, ChannelFactoryBase.cs,
3654 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3656 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3657 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3659 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3661 * ListenerFactoryBase.cs : some implementation.
3663 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3665 * CommunicationObject.cs : more state fixes.
3667 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3669 * CommunicationObject.cs : some state machine fixes.
3671 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3673 * PeerNode.cs, ChannelManagerBase.cs :
3674 several API fixes detected by improved corcompare.
3676 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3678 * LayeredListenerFactory.cs : added missing generic class constraint.
3680 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3682 * ListenerFactoryBase.cs,
3683 ListenerBase.cs : class constraints were missing for generic args.
3685 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3687 * StreamUpgradeInitiator.cs : tiny API fix.
3689 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3691 * PeerMessagePropagationFilter.cs : tiny build fix.
3693 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3695 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3696 added Name. fixed StatusCode type.
3697 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3698 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3699 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3700 DirectionalAction.cs, HostedTransportConfiguration.cs,
3701 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3702 PeerMessagePropagationFilter.cs : added missing files.
3703 * Dummy.cs : removed. MSMQ stuff can be added later.
3705 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3707 * DeliveryStatus.cs, DeliveryFailure.cs,
3708 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3709 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3711 * Dummy.cs : removed above.
3713 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3715 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3717 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3719 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3720 MessageEncoder.cs, BufferManager.cs : new files.
3721 * Dummy.cs : removed above.
3723 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3725 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3726 * Dummy.cs : removed above.
3727 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3729 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3731 * HttpChannelFactory.cs : new file.
3733 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3735 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3736 moved to ../System.ServiceModel (correct location).
3737 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3738 new files for channels.
3739 * Dummy.cs : reflected above changes.
3740 * ChannelManagerBase.cs : added a bit of code and todos.
3742 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3744 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3745 added listener support files.
3746 * Dummy.cs : removed above.
3748 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3750 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3751 added request/reply channel interfaces.
3752 * Dummy.cs : removed above.
3753 * CommunicationObject.cs : FIXME comments.
3755 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3757 * CommunicationObject.cs : implemented some members.
3759 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3761 * CommunicationObject.cs : some signature fixes.