1 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
3 * FaultConverter.cs : check envelope version, not addressing version.
5 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
7 * FaultConverter.cs : implemented TryCreateException().
9 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
11 * MessageFault.cs : cosmetic method name clarification.
13 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
15 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
16 fix BodyWriter buffering that dropped in-scope namespaces and thus
17 caused problem on resolving QNames.
19 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
21 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
22 with certain Exception types.
24 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
26 * Message.cs : fix explanation on CreateMessage() overloads.
28 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
30 * MessageFault.cs : Write Subcode element correctly and fix wrong
31 Code/Value/Subcode element relationship. Give better error message.
33 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
35 * HttpRequestChannel.cs : ok, no need for conditional code path.
37 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
39 * AddressingVersion.cs : add fault action namespace.
41 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
43 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
46 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
48 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
50 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
52 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
55 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
57 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
59 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
61 * HttpRequestContext.cs : removed HTTP status rewriting for
64 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
66 * HttpRequestChannel.cs : handle only 4xx errors as to not process
69 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
71 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
73 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
75 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
76 Patch by Matt Dargavel.
78 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
80 * HttpListenerManager.cs : use lock object which is subject to
81 change. Fix by Matt Dargavel.
83 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
85 * HttpListenerManager.cs : remove consumed HttpListenerContext from
86 the pending queue. Compare "wsdl" request in case insensitive
87 manner. Patch by Matt Dargavel.
89 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
91 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
92 supposed to provide detailed 400 error message.
94 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
96 * TransactionFlowBindingElement.cs: revamp the previous change to
97 not regress regarding service metadata.
99 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
101 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
102 GetProperty<T>() bug that fails to retrieve properties. (This may
103 be rewritten later if an ongoing change proposal is to take place.)
105 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
107 * ReliableSessionBindingElement.cs,
108 PrivacyNoticeBindingElement.cs,
109 RemoteEndpointMessageProperty.cs : added some missing types.
111 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
113 * MessageHeaders.cs :
114 why does it filter out most of the headers? kill it.
116 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
118 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
119 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
120 to not raise "not found" error (see bug #573795).
122 2010-03-16 Jb Evain <jbevain@novell.com>
124 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
125 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
127 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
129 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
130 type, and use null password unless we find a chance to get password
131 in ASP.NET HttpContext.
133 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
135 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
136 HttpListenerManager.cs : ongoing authentication support. It returns
137 401 as expected, but somehow fails to retrieve user info.
139 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
141 * HttpListenerManager.cs : this change (along with HttpListener
142 implementation) somehow fixes basic auth. connection error...
144 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
146 * MessageHeaders.cs : add !NET_2_1.
148 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
150 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
151 typed UniqueId output.
153 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
155 * MessageHeader.cs : no need to treat EndpointAddress as a special
158 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
160 * MessageHeaders.cs : remove duplicate constant.
162 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
164 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
165 EndpointAddress as a special case. Instead, each MessageHeaders
166 property should convert it to appropriate serializable objects.
168 (Our DataContractSerializer fails to reject EndpointAddress as
169 serializable type, so it's rather a preparation step.)
171 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
173 * MessageHeader.cs, Message.cs : use dictionary string whenever
174 applicable. The binary output on #577139 is getting closer (no
175 idea if it is really about binary output though).
177 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
179 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
181 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
183 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
185 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
187 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
188 enable authentication schemes on monotouch.
190 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
192 * SvcHttpHandler.cs : a wait handle could be used for more than one
193 requests and hence it sometimes blocked one reply channel. Now
194 it creates a wait handle for each ASP.NET request so that such
195 multiple use should not occur. This should fix blocking on
196 concurrent requests (it indeed fixes as long as I can see).
198 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
200 * AspNetReplyChannel.cs : remove garbage output.
202 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
204 * SvcHttpHandler.cs : Use lock when it tries to create the service
207 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
209 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
212 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
214 * HttpListenerManager.cs : add another workaround for blocking
217 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
219 * HttpListenerManager.cs : small refactoring.
221 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
223 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
224 that somehow makes callback client to not cause infinite loop.
226 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
228 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
229 DuplexChannelBase.cs : Receive() should rather use TryReceive().
230 It should not be in reverse order.
232 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
234 * HttpReplyChannel.cs, HttpListenerManager.cs :
235 Implement async cancellation in the expected manner (though with
236 some hack). This mostly removed nunit blockers.
238 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
240 * CommunicationObject.cs : fix wrong status changes.
242 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
244 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
246 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
248 * AddressHeader.cs : implement remaining bits.
249 Eliminate dependency on NetDataContractSerializer.
251 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
253 * CommunicationObject.cs : in Fault(), do similar work as previous
256 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
258 * CommunicationObject.cs : when process state changes, lock the
259 object to make sure the state transition is valid.
260 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
262 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
264 * MessageHeaders.cs : implement SetAction().
266 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
268 * ChannelFactoryBase.cs : fix build.
270 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
272 * ChannelBase.cs : cosmetic API fix for SL3.
274 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
276 * ChannelFactoryBase.cs :
277 implement On{Begin/End}Close() on the generic type.
279 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
281 * HttpChannelFactory.cs, TcpChannelFactory.cs,
282 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
283 PeerChannelFactory.cs, HttpRequestChannel.cs:
284 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
285 type and made required changes.
287 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
289 * HttpCookieContainerBindingElement.cs : new.
290 * IHttpCookieContainer.cs : fix type name.
291 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
293 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
295 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
296 does not happen when communicating with .NET client but happens with
297 mono). Seealso FIXME comment.
298 * TcpDuplexSessionChannel.cs : do not try to close session when it
299 failed to read sized message. The connection is already dead.
303 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
305 * TcpDuplexSessionChannel.cs :
306 Write EndRecord only when the connection is available.
307 Remove hack - do let ChannelDispatcher close the channel.
308 * TcpBinaryFrameManager.cs :
309 The socket may be disconnected when trying to read a sized message,
310 so check some socket exceptions.
311 In case the client silently shuts down without EndRecord and
312 reconnects to the server with preamble while expecting a sized
313 message (which is so lame, but that's what .NET often does), refresh
314 preamble and continue.
316 This fixes some cases of bug #567949 but not all.
318 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
320 * BinaryMessageEncoder.cs : enable workaround buffering only when
321 the argument stream does *not* support seek. This fixes some
322 net.tcp connection problem.
324 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
326 * TcpBinaryFrameManager.cs : If preamble byte is not available from
327 the client stream, detect it to close the reply or input channel.
328 * TcpRequestChannel.cs : send preamble at each request time.
329 It differentiates communication behavior on such cases that involve
330 single open and multiple requests.
331 * TcpReplyChannel.cs : close the channel only when the channel is
332 oeprated to close i.e. do not close the socket every time.
333 Process preambles on each request (the same as request channel).
335 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
337 * TcpBinaryFrameManager.cs : unsized envelope record may have more
338 than one data block, so consume them accordingly. This should fix
339 large buffer consumption.
341 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
343 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
346 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
348 * HttpRequestContext.cs : for DestinationUnreachable message, this
349 channel returns 400 in .NET.
351 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
353 * BinaryMessageEncoder.cs : added workaround for strange stream
354 consumption error raised by HttpTransport + Binary encoder example.
355 * BinaryMessageEncodingBindingElement.cs:
356 only SOAP 1.2 is allowed for this encoder.
358 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
360 * XmlReaderBodyWriter.cs : don't try to write empty xml.
362 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
364 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
365 default WebHeaderCollection items are overwritten.
367 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
369 * HttpRequestChannel.cs : when HTTP response was error, do not try
370 to read message but just raise an error.
372 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
374 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
376 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
378 * HttpRequestChannel.cs : WebException.Response might be null.
380 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
382 * ReplyChannelBase.cs : added listener property.
383 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
384 been updated to prefer async by default, a while ago.
386 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
388 * HttpTransportBindingElement.cs : finished all GetProperty() values.
390 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
392 * HttpRequestChannel.cs : disabled carelessly added
393 "UseDefaultCredentials = false" line. It blocked basic auth.
395 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
397 * HttpRequestChannel.cs, HttpChannelFactory.cs,
398 HttpChannelListener.cs, HttpListenerManager.cs :
399 implemented http client authentication and some of corresponding
400 service code. Only client works so far.
402 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
404 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
405 added URI scheme check.
407 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
409 * TransportSecurityBindingElement.cs : fix 2.1 build.
411 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
413 * HttpsTransportBindingElement.cs :
414 RequireClientCertificate is false by default.
415 Remove extra #if NET_2_1.
416 * SecurityBindingElement.cs :
417 Implement some transport security factory methods.
418 * TransportSecurityBindingElement.cs :
419 It is not ISecurityCapabilities anymore.
421 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
424 SecurityBindingElement.cs
425 LocalClientSecuritySettings.cs
426 TransportSecurityBindingElement.cs
427 FaultConverter.cs : They are now part of SL3 API.
429 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
431 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
433 2009-11-05 Geoff Norton <gnorton@novell.com>
435 * HttpsTransportBindingElement.cs: Implement basic https transport
436 binding support for Moonlight and MonoTouch
438 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
440 * HttpListenerManager.cs : remove CWLs.
442 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
444 * SvcHttpHandler.cs : move back previous listener selector code in
445 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
446 and differentiate requests to deeper paths (such as /jsdebug), so
447 we need such refinement here.
449 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
451 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
454 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
456 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
457 HttpChannelListener.cs, HttpListenerManager.cs :
458 Similar refactoring on ASP.NET side to the previous one.
459 Added ASP.NET implementation of HttpListenerManager and use some
460 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
462 Rewrote AspNetReplyChannel to become almost the same as
463 HttpSimpleReplyChannel, to hopefully unify them later.
464 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
465 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
468 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
470 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
471 Refactoring on listener manager to correctly handle wsdl and help
472 requests for such case that they conflict in addressing. Now it
473 can correctly distinguish service calls, WSDL requests and help
474 requests when all of them point to "http://localhost/foo.svc"
475 (which is very common case that the user does not change Http*Url).
477 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
479 * ChannelListenerBase.cs : add Properties property to add arbitrary
480 properties handy (only inside this assembly).
482 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
484 * HttpReplyChannel.cs : fix warning.
486 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
488 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
490 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
492 * HttpReplyChannel.cs : make sure to release wait lock.
493 * HttpChannelListener.cs : session channels are not supported, so
494 remove relevant NIEs.
496 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
498 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
499 support contexts so we call the non-overloaded WaitOne method
500 (which defaults to false).
502 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
504 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
505 significant rewrite to cooperate wcf handler and asp.net handler
506 to not mix multiple WCF listener within the asp.net handler.
507 So far it mostly works when 1) there are no ChannelDispatchers
508 that have an identical listen Uri and 2) MaxConcurrentSessions is
509 1 (must be explicitly set).
511 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
513 * CommunicationObject.cs : give better state error description.
515 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
517 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
518 to base methods. This resulted in not a few changes everywhere.
520 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
522 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
524 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
526 * SvcHttpHandler.cs : use file path given by the factory to
527 construct BaseAddresses. Requests to "test.svc/jsdebug" should
528 not be handled as request to "jsdebug" file, it's rather an
529 "argument" to "test.svc".
531 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
533 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
534 rewrite to handle shutdown situation better. The listeners should
535 not close channels that it opened. Instead, just stop accepting
536 further requests. Removed blocking mutex on WaitForRequest().
537 Now xsp shuts down as expected.
539 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
541 * HttpReplyChannel.cs : lock list when releasing its content contexts.
542 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
545 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
547 * SvcHttpHandlerFactory.cs : remove todo.
548 * ReplyChannelBase.cs : add comment.
550 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
552 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
553 revert the change, to use internal asp.net state again.
554 * SvcHttpHandler.cs : add VirtualPathExtension.
556 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
558 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
559 asp.net response was not written correctly.
560 Fill HttpRequestMessageProperty to get handle WSDL requests
561 processed in ServiceMetadataExtension without NRE.
562 Remove wrong HttpListenerContext iteration at Abort and Close in
563 common base class and move it to non-asp derived channel.
565 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
567 * SvcHttpHandler.cs : remove unused code.
569 2009-09-30 Jb Evain <jbevain@novell.com>
571 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
572 to use any of the remoting features.
574 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
576 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
577 use AspNetCompatibilityEnabled.
578 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
580 * AspNetReplyChannel.cs : remove extra field.
582 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
584 * HttpReplyChannel.cs : remove extra field.
586 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
588 * AspNetRequestContext.cs : remove CWL.
590 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
592 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
593 only after AspNetRequestContext is closed. Do not close it
594 immediately after receiving the context. (HttpRuntime destructs it
595 and further uses then becomes impossible.)
597 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
599 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
600 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
601 Make sure that AspNetChannelListener is bound to correct
602 SvcHttpHandler, regardless of specific request URI. It is required
603 for both WSDL requests and RESTful binding requests.
605 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
607 * MessageProperties.cs : fix CopyProperties() behavior to not
608 clear existing items. Make all properties call this[name].
610 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
612 * HttpTransportBindingElement.cs : fix 2.1 build.
614 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
616 * TransportBindingElement.cs : another GetProperty fix, iterate
617 other binding elements.
619 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
621 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
622 some GetProperty() implementation.
624 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
626 * HttpListenerManager.cs : release HttpListener and avoid extra
627 close process more than once.
629 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
631 * HttpChannelListener.cs : do not iterate channel list to close
632 channels which in turn removes them from the list while iteration.
634 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
636 * HttpRequestChannel.cs : Fix message version member comparison.
637 Double-quote SOAPAction. Remove extra Exception.
638 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
639 * HttpRequestContext.cs : when addressing is None, remove action
642 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
644 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
645 path, to pick those endpoints that are added at custom factories.
647 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
649 * SvcHttpHandler.cs : apply configuration, and if there is still no
650 endpoint, then add default one.
652 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
654 * SvcHttpHandler.cs : another URL to make relative.
656 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
658 * SvcHttpHandlerFactory.cs : some GetHandler changes.
659 * SvcHttpHandler.cs : significant changes on receiver structure. Now
660 ProcessRequest() stores pending requests (this might be extraneous,
661 but maybe useful when it implements async handler). Also removed
662 reply_channel field as it may become to handle multiple requests.
663 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
664 * AspNetReplyChannel.cs : make it receive requests like
665 HttpReplyChannel (for HttpListener) to make them consistent.
667 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
669 * AspNetRequestContext.cs, HttpRequestContext.cs :
670 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
671 by splitting HttpListener-based context out from common code base.
673 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
675 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
676 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
679 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
681 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
682 loads types from system assemblies appropriately.
684 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
686 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
689 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
691 * HttpRequestMessageProperty.cs : fix default values.
693 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
695 * HttpChannelFactory.cs, HttpRequestChannel.cs,
696 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
697 Check ManualAddressing value and reject address-missing ones.
699 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
701 * HttpChannelFactory.cs : reject URI mismatch cases when required.
703 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
705 * PeerDuplexChannel.cs : When received Connect() from neighbor,
706 add the peer to its internal list.
707 Finally ChatApplication got working.
709 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
711 * PeerDuplexChannel.cs : since the channel factory is per instance,
712 do not reuse factory that is tied to different callback instance.
713 It resolved the issue that mono callback client didn't receive
714 messages from the client itself.
716 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
718 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
719 of the receiver, not the requestor. It resolved the issue that
720 .NET client didn't send further messages to mono server.
722 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
724 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
725 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
726 TcpReplyChannel.cs, TcpRequestChannel.cs,
727 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
728 rename EndRecord handling method to appropriate one.
729 Write EndRecord from recipient too.
731 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
733 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
734 Process PeerTo header to upgrade Message To header. Now mono
735 service accepts mono client (somehow not true for .NET client).
737 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
739 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
740 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
742 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
744 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
746 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
748 * TcpDuplexSessionChannel.cs : check channel state before processing
751 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
753 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
754 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
755 ongoing works, not working at all yet.
757 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
759 * TcpChannelListener.cs, TcpReplyChannel.cs :
760 cosmetic cleanup and corrections.
762 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
764 * TcpChannelFactory.cs : use expected Via uri.
765 Remove extra NIE stuff that are implemented in base.
767 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
769 * TcpDuplexSessionChannel.cs : remove extra code.
771 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
773 * PeerDuplexChannel.cs : ongoing implementation towards get callback
774 replies on peer connector clients (not working as duplex client
775 callback is not working yet).
777 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
779 * TcpDuplexSessionChannel.cs : in callback client channels,
780 OperationContext.IncomingMessageHeaders is null.
782 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
784 * MessageHeaders.cs : duplicate check was sloppy.
786 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
788 * Message.cs, MessageImpl.cs, BodyWriter.cs :
789 Implement BodyWriter.OnCreateBufferedCopy() and use it.
791 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
793 * ReplyChannelBase.cs : initialize field.
795 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
797 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
798 implement GetProperty<T>() and return its channel manager.
800 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
802 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
803 destination address in Connect() request. To repeat sending
804 request, use buffered copy. Set some peer-channel specific
805 header items. (todo: and consume them.)
807 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
809 * Message.cs : state is set only after WriteBodyContents().
811 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
813 * MessageHeaders.cs : eliminate wrong use of
814 ReadElementContentAsString() (it is not always simple string).
816 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
818 * MessageHeaders.cs : when the value is null, do not try to
819 deserialize EndpointAddress.
821 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
823 * MessageHeader.cs : add Value property. (Forgot dependent change.)
825 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
827 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
828 serialization and deserialization of values.
830 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
832 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
833 Now simply use connector contract.
835 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
837 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
839 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
841 * TcpChannelListener.cs : do not try to compare dead connection's
842 IPEndPoint (it raises an error).
844 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
846 * MessageHeaders.cs : allow null header value on each specific setter.
848 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
850 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
851 get local and remote address of connected counterpart to get
852 callback channel connected.
853 * PeerDuplexChannel.cs : remove FIXME wrt above.
855 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
857 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
859 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
861 * MessageHeader.cs : fill IsReferenceParameter.
863 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
865 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
866 implement remaining async methods and LocalAddress.
868 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
870 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
871 ServiceHost to process neighbor connection (not sure if this is
872 right way to go though ...).
874 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
876 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
877 connection part to use new internal IPeerConnectorContract for
880 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
882 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
883 PeerChannelListener.cs, HttpChannelListener.cs :
884 support ListenUri accordingly too so that it could be used when
885 it is different from LocalAddress.Uri.
887 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
889 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
890 TcpRequestChannel.cs : use Via uri to validate and connect.
892 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
894 * RequestChannelBase.cs, DuplexChannelBase.cs :
895 Return endpoint address Uri when no explicit Via uri is specified.
896 * ChannelFactoryBase.cs : Remove extra async close methods.
897 Add async open methods. Reject null EndpointAddress.
898 * PeerChannelFactory.cs : remove async open methods (now in base).
900 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
902 * PeerDuplexChannel.cs : set correct message endpoint (To header).
904 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
906 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
907 DuplexChannelBase.cs : set LocalAddress property at base.
909 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
911 * PeerDuplexChannel.cs : ongoing refactoring to work both as
912 listener and client. Now it creates a listening peer node, and
913 creates a set of TCP client channels for each peer in the mesh.
915 (EndpointAddress must be fixed to not filter out correct inputs).
917 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
919 * PeerChannelListener.cs : do not accept more than one channel
920 which results in lots of listening peer node. Only one is enough.
922 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
924 * DuplexChannelBase.cs : fix wrong loop implementation.
926 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
928 * TcpChannelListener.cs : to avoid creating two or more channels
929 for one remote endpoint, check existing remote endpoints and
930 ignore such connections (it must be handled in different thread
931 fired by ChannelDispatcher loop).
933 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
935 * TcpReplyChannel.cs : make sure to not try to receive request when
936 it is already closed.
938 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
940 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
941 some mannerless clients [*1] do not send EndRecord accordingly, but
942 such channels at listener side should not be kept open. So, close
943 disconnected channels when the listener needs to accept another
945 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
947 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
949 * TcpDuplexSessionChannel.cs :
950 Remove extra NIE overrides.
951 Implement OnAbort() apart from OnClose().
952 For duplex session channel, unlike reply channel, it must acquire
953 TCP connection before OnOpen(), otherwise ChannelDispatcher
954 releases the connection acceptance WaitHandle and the detected
955 live connection may be stolen by another channel acceptor.
957 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
959 * HttpRequestChannel.cs : implement OnAbort().
961 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
963 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
964 * DuplexChannelBase.cs : comment out some extra fields (so far).
965 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
967 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
969 * PeerCustomResolverBindingElement.cs : add some null checks.
971 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
973 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
974 Acquire TcpClient for each request/reply. Now it is fully
975 interoperable with .NET.
977 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
979 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
980 ReplyTo and MessageId (though it is session-less), and it expects
981 EndRecord at weird stage, inconsistent with [MC-NMF]...
982 Now .NET service accepts one mono client request.
984 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
986 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
987 Send and receive unsized message terminator at once.
988 Send EndRecord mutually. Got one .net client request working.
990 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
992 * BinaryMessageEncoder.cs : revert the previous dictionary change.
993 They are indeed used for non-in-band-dictionary messages.
995 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
997 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
998 split out binary frame manager class into separate file.
1000 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1002 * TcpReplyChannel.cs : new reply channel implementation.
1003 * TcpChannelListener.cs : use above for streamed reply channel.
1004 * TcpDuplexSessionChannel.cs : more streaming mode support.
1005 * TcpRequestChannel.cs : a couple of updates to get it working
1006 with the reply channel above. Still some issues on .NET interop.
1008 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1010 * RequestContext.cs : added internal derived class that implements
1013 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1015 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1018 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1020 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1021 (The messaging must be done as TCP request/reply pattern, so it's
1024 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1026 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1027 messaging pattern). The messaging part is not working yet.
1028 * TcpChannelFactory.cs : support IRequestChannel.
1029 * TcpDuplexSessionChannel.cs : add unsized message support.
1031 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1033 * HttpRequestChannel.cs, RequestChannelBase.cs :
1034 A couple of async members are now implemented in the base class.
1035 Ditto for EndpointAddress and Via.
1037 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1039 * PeerDuplexChannel.cs : now it implements some of node management
1040 functionality and Send operation. The receiver part is not yet.
1042 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1044 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1045 timeout to channel constructor. it does not make sense.
1047 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1049 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1050 as common interface member, and use binary encoder (not text).
1052 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1054 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1056 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1058 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1059 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1060 going to be unified to PeerDuplexChannel. And it is likely that
1061 input and output functionalities are to be unified too.
1063 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1065 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1066 may have to reuse it for peer transport.
1067 * PeerChannelListener.cs : add binding member.
1068 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1070 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1072 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1073 PeerChannelFactory.cs : close opened channels at OnClose() as
1074 documented. Implement async methods.
1075 * PeerChannelListener.cs : removed some NIE overrides.
1077 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1079 * DuplexChannelBase.cs : some more async methods.
1081 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1083 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1085 * TcpChannelListener.cs : accept multiple channels at a time.
1087 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1089 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1090 session strings but output only those new ones in current message.
1091 This fixes inconsistent body output in repetitive use of sender.
1093 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1095 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1096 operation that does not involve session.
1097 Preserve writer session as well as reader session.
1098 * MessageHeaders.cs : take name and namespace into consideration
1099 when creating a serializer.
1101 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1103 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1104 Made required changes for repeated use of message exchanges.
1105 Hold binary reader session. The channels use it incrementally.
1106 Preambles are handled at Open, and EndRecords are handled at
1107 Close, Add session shutdown hook here (not working yet though).
1109 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1111 * ChannelListenerBase_1.cs : added cancellation hook here too.
1112 HttpChannelListener.cs : use above.
1113 Do not allow parallel channel creation (this listener does not
1114 allow more than one AcceptChannel().
1116 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1118 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1119 Add cancellation hook for async TryReceiveRequest.
1121 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1123 * HttpChannelListener.cs, HttpListenerManager.cs :
1124 slightly improved BuildChannelListener().
1125 Implement OnAbort() and differentiate it from OnClose().
1127 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1129 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1131 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1133 * DuplexChannelBase.cs : simple async delegate calls here too.
1135 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1137 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1139 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1141 * HttpReplyChannel.cs : cosometic simplification.
1143 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1145 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1146 infinite block in 2.0 profile.
1148 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1150 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1151 more careful close to avoid NRE.
1153 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1155 * HttpChannelListener.cs : do not Close() more than once (though
1156 it is allowed to call it twice, we don't reject it; just ignore).
1158 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1160 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1162 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1164 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1165 Temporarily disable HTTP Keep-Alive since it somehow results in
1166 wrong reuse of connection (shown as NRE in HttpConnection).
1167 Make sure to close RequestContext which was created from it.
1168 * HttpRequestContext.cs : simplify.
1170 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1172 * HttpChannelListener.cs, TcpChannelListener.cs,
1173 ChannelListenerBase_1.cs : put common internal listener base
1174 and let it handle those async stuff.
1176 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1178 * ReplyChannelBase.cs : fix wrong null delegate check point.
1180 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1182 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1183 now implemented as virtual in base class. Remove NIEs in http.
1185 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1187 * HttpChannelListener.cs : hack async implementation.
1189 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1191 * HttpListenerManager.cs : oops, extra line removal.
1193 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1195 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1197 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1199 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1200 "ChannelManager" is confusing (there is ChannelManagerBase).
1202 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1204 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1205 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1206 they should be split into separate listener->reply channel lines
1207 (remove "if (HostingEnvironment.IsAspNet)".)
1209 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1211 * CommunicationObject.cs : OnClosed() requires call to base method.
1212 Close() could rather abort the channel, and Abort() does not
1213 always invke OnAbort().
1214 * ChannelBase.cs : add call to base as above.
1216 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1218 * ClientAccessPolicy.cs: Removed
1219 * CrossDomainAccessManager.cs: Removed
1220 * CrossDomainPolicy.cs: Removed
1221 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1222 since this is now done inside the BeginGetResponse call (outside
1223 this assembly) for Moonlight (NET_2_1)
1225 2009-06-04 Alan McGovern <amcgovern@novell.com>
1227 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1228 instead of the sync apis. Prevents a possible deadlock condition in
1231 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1233 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1234 callbacks, so add hacky ones.
1236 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1238 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1239 true when socket input is not available.
1241 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1243 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1244 I cannot precisely identify when EndRecord should be consumed,
1245 so allow it at either at the end of ReadSizedMessage() or on
1246 consuming preamble (it's likely handling EndRecord of previous
1249 Now duplex IPeerResolverContract communication works between
1250 either of .NET/Mono client and .NET/Mono server.
1252 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1254 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1255 code. Handle preamble ack on ReadSizedMessage() only at server.
1256 Consume EndRecord from server, at client side. Though it is likely
1257 changed as it's blocking when mono is at server side.
1259 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1261 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1262 different protocol than existing code with related to preamble ack.
1263 So changed it to work fine with .NET client (finally).
1265 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1267 * MessageBufferImpl.cs : do not output Action twice.
1269 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1271 * MessageBufferImpl.cs : it did not copy headers.
1272 * Message.cs : remove 2_1 conditional implementation for buffered
1273 copy and hence remove bogus code.
1275 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1277 * MessageProperties.cs : copy argument is wrong.
1279 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1281 * PeerCustomResolverBindingElement.cs : some argument check.
1283 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1285 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1286 xml open, so close the writer as well as open elements.
1287 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1288 Do not output EndRecord and SizedMessage at a time.
1290 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1292 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1293 length of the SizedMessage in the output.
1295 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1297 * CommunicationObject.cs : use sane default timeout.
1298 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1299 * TcpDuplexSessionChannel.cs : ditto.
1301 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1303 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1304 only accepts buffered messages, so do as such for write buffers.
1305 Add RelatesTo header.
1307 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1309 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1310 rename from former to latter.
1312 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1314 * TcpDuplexSessionChannel.cs : reader does not always return full
1315 buffer (depending on the stream).
1317 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1319 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1321 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1323 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1326 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1328 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1330 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1332 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1334 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1336 * ChannelManagerBase.cs : fix wrong session channel detection.
1338 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1340 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1341 This encoder factory implements CreateSessionEncoder() and binary
1342 encoder does support session transmit, in different media type.
1343 * ChannelManagerBase.cs : added utility method to create appropriate
1345 * HttpChannelFactory.cs, HttpChannelListener.cs,
1346 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1347 PeerChannelFactory.cs, PeerChannelListener.cs,
1348 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1350 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1352 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1354 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1356 * DuplexSessionBase.cs : new file, for session implementation.
1357 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1358 DuplexSessionChannelBase.cs : changed sync/async implementation
1359 pattern. Now async methods call sync methods using delegates.
1361 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1363 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1364 a few minor API fixes.
1366 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1368 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1370 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1372 * TcpDuplexSessionChannel.cs : add To header.
1374 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1376 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1379 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1381 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1383 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1385 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1386 CommunicationException in each CreateFault().
1388 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1390 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1391 Open(). Some (but not all yet) continuous communication works now.
1392 Use ProtocolException. Remove dummy binary session string.
1394 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1396 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1397 sending/receiving SizedMessageRecord parts to manager class.
1398 Handle writer session, though it is likely broken at dictionary
1399 writer part (no string is written so far).
1400 * BinaryMessageEncoder.cs : add writer session and rename reader
1403 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1405 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1406 is mandatory in initiator preamble packet. Handle Fault reply in
1409 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1411 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1412 based communication under TcpBinaryFrameManager class.
1414 2009-05-13 Jb Evain <jbevain@novell.com>
1416 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1417 from a StringReader.
1419 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1421 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1422 actually eliminate DOM-based implementation too in 2.0.
1424 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1426 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1427 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1428 comments for magic numbers based on [MC-NMF].
1430 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1432 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1433 support for [MC-NBFSE] record in [MC-NMF], in this class.
1435 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1437 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1439 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1441 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1443 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1445 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1447 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1449 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1451 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1453 * BinaryMessageEncoder.cs : use quotas in binding element.
1454 Implement WriteMessage().
1456 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1458 * PeerCustomResolverBindingElement.cs : do initialize field.
1460 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1462 * PeerCustomResolverBindingElement.cs :
1463 implement full custom resolver.
1465 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1467 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1468 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1469 PeerChannelFactory.cs : ongoing p2p channel implementation.
1471 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1473 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1475 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1477 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1478 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1479 implement GetProperty<T>(). Return documented objects or null.
1481 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1483 * PeerChannelFactory.cs, PeerChannelListener.cs,
1484 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1485 PeerInputChannel.cs, PeerOutputChannel.cs :
1486 new; ongoing peer transport implementation.
1487 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1488 MsmqOutputChannel.cs, OutputChannelBase.cs,
1489 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1490 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1491 several internal changes (either required or for simplification)
1492 for ongoing peer transport implementation.
1494 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1496 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1498 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1500 * TcpTransportBindingElement.cs : check build-ability before
1501 actually building channels.
1502 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1503 conditions according to MSDN.
1505 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1507 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1508 handle headers in SL2. Slightly changed 3.0 code too.
1510 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1512 * HttpRequestChannel.cs : use cross domain access manager.
1514 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1516 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1517 message as BodyWriter.
1518 (in GetReaderAtBodyContents) just write body contents.
1519 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1521 Add some state check in GetReaderAtBodyContents().
1522 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1524 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1526 * Message.cs : do not forget to flush.
1527 * HttpRequestChannel.cs : give more exact error info.
1529 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1531 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1532 make buffered copy in ML2 really buffered.
1534 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1536 * Message.cs : if there is no header item to write, do not write
1537 SOAP header element.
1539 2009-01-22 Alan McGovern <amcgovern@novell.com>
1541 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1542 Rewrite to avoid usage of it.
1544 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1546 * ChannelParameterCollection.cs : implement, rather than NIE.
1548 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1550 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1551 internal users to know the type of the detail.
1553 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1555 * Message.c: Use private setter for state private variable to ease debugging.
1556 Modify ToString not to change the state, as it is called quite often by VS debugger
1558 2008-04-21 Roei Erez <roeie@mainsoft.com>
1560 * HttpChannleManager: Fix for multithreaded use.
1561 * HttpReplyChannel: Fix crash during sutdown.
1563 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1565 * HttpChannleManager: ensure trailing slash in uri.
1567 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1569 * added: HttpChannleManager,
1570 * HttpChannelListener: added use of HttpChannelManager
1572 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1574 * MessageEncodingBindingElement.cs: fixed ctor
1576 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1578 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1580 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1582 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1584 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1586 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1588 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1590 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1592 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1594 * BindingElementCollection.cs: fix API - .ctor's signature.
1596 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1598 * XmlSerializerBodyWriter.cs: Removed.
1600 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1602 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1604 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1606 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1607 * TcpChannelFactory.cs, TcpChannelListener.cs :
1608 unify factory and listener into TcpChannelInfo for use in
1609 TCP channel implementation. Do not store stream in the listener.
1610 Factory now uses BinaryMessageEncoder.
1611 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1612 holds TcpClient that the listener has accepted.
1614 tcp-transport-binding-element sample now communicates (though
1615 only when both sides are mono: there seems binary mismatch).
1617 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1619 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1620 clone connection pool settings too.
1621 * NamedPipetransportBindingElement.cs,
1622 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1623 being likely implemented though).
1625 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1627 * ConnectionOrientedTransportBindingElement.cs,
1628 TcpTransportBindingElement.cs : some API updates.
1629 Initialize default values.
1630 * TcpConnectionPoolSettings.cs : new file.
1632 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1634 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1635 added support for "factory" attribute.
1637 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1639 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1641 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1643 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1645 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1647 * HttpRequestChannel.cs : create WebRequest against To message header
1649 Consider HttpRequestMessageProperty.
1650 Do not output body when suppressed or the method is GET.
1652 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1654 * HttpChannelListener.cs : BindingContext may not have listenUri
1655 at its .ctor() step.
1657 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1659 * BindingContext.cs : RemainingBindingElements is not just a dummy
1660 collection but is actually user-controlled.
1662 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1664 * TcpChannelFactory.cs, TcpChannelListener.cs,
1665 HttpChannelFactory.cs, HttpChannelListener.cs,
1666 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1667 TextMessageEncodingBindingElement.cs,
1668 BinaryMessageEncodingBindingElement.cs,
1669 MtomMessageEncodingBindingElement.cs :
1670 message encoder should be retrieved only through public API.
1671 * BindingContext.cs : so my old guess was wrong.
1673 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1675 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1677 * HttpTransportBindingElement.cs : implemented copy constructor.
1679 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1681 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1682 header when AddressingVersion is None.
1684 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1686 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1689 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1691 * OneWayBindingElementImporter.cs
1692 CompositeDuplexBindingElementImporter.cs : new files.
1694 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1696 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1697 semantic change, its bool parameter must be false, not true.
1699 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1701 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1702 new files. Msmq transport listener Implementation.
1703 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1704 (wait for System.Messaging impl.)
1705 * HttpReplyChannel.cs : added comment
1707 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1709 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1710 new files. internal stuff for msmq channel.
1711 * BinaryMessageEncoder.cs : added another .ctor().
1712 * MsmqTransportBindingElement.cs :
1713 implemented [Can]BuildChannelFactory().
1715 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1717 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1718 initialize some fields.
1720 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1722 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1723 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1724 couple of msmq stubs.
1726 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1728 * SecureMessageGenerator.cs : SecurityContextToken support (though
1729 it is still regarded as invalid by WCF).
1731 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1733 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1734 make header.Contents.Add() more strict.
1735 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1737 Added some hack to allow ssl token external mode.
1738 Commented out such lines that always premised asymmtric key.
1740 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1742 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1744 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1746 * MessageSecurityBindingSupport.cs : support check to create
1747 authenticator is now done in both initiator/recipient sides.
1748 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1750 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1752 * MessageSecurityBindingSupport.cs : for now, comment out the code
1753 that makes authenticator creation optional.
1754 * SecurityRequestContext.cs : don't decrypt message when it is
1755 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1757 * SecurityChannelListener.cs : GetProperty<T>() now returns
1758 MessageSecurityBindingSupport when requested. It is used by
1759 EndpointDispatcher to check if it supports WS-Trust negotiation.
1760 * ChannelListenerBase.cs :
1761 removed extra TODO and field. Implemented GetProperty<T>().
1762 * Message.cs : In CreateMessage() for SOAP Fault, create
1763 SimpleMessage with IsFault = true.
1765 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1767 * SecurityRequestContext.cs : try to reply fault with the inner
1768 channel when an error occurred internally.
1769 * FaultConverter.cs : implemented based on OperationContext (at normal
1770 state it does not seem to create messages, so I implemented it this
1773 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1775 * TransportBindingElement.cs : implemented GetProperty<T>().
1776 * TransactionFlowBindingElement.cs : on building factory or listener,
1777 reject channel types that cannot build.
1778 * SecurityBindingElement.cs : added some TODO comments.
1779 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1780 delegate to base, not BindingContext.
1781 * SecurityRequestContext.cs : somewhat late decryption.
1783 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1785 * MessageSecurityBindingSupport.cs,
1786 AsymmetricSecurityBindingElement.cs,
1787 SymmetricSecurityBindingElement.cs :
1788 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1789 implemented ISecurityCapabilities on them. Now those binding
1790 elements support GetProperty<ISecurityCapabilities>().
1792 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1794 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1795 will work only for predefined parameter types.
1797 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1799 * MessageSecurityBindingSupport.cs :
1800 Set proper MessageDirection to the requirement after creation.
1801 split CreateTokenAuthenticator() as MessageDirection is different.
1802 Removed extra creation of requirement.
1804 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1806 * MessageSecurityBindingSupport.cs : token authenticator is not
1807 always created on channel-opening stage.
1808 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1809 Sslnego binding factory method.
1811 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1813 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1814 signature velification failure.
1816 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1818 * SecureMessageGenerator.cs : encrypt signature confirmations only
1819 when they are required.
1821 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1823 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1824 when [Signature Protection is true i.e. when we use
1825 SignBeforeEncryptAndEncryptSignature.
1827 With this change finally samplesvc.cs/samplecli.cs became
1830 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1832 * SecureMessageDecryptor.cs : signature verification was not done
1833 for endorsing supporting tokens.
1834 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1835 in the security header. Don't output empty ReferenceList.
1837 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1839 * SecureMessageGenerator.cs : signingToken was added before being
1840 initialized and thus caused NRE.
1842 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1844 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1845 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1846 don't need workaround for symmetric key restoration.
1848 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1850 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1851 SecureMessageGenerator.cs :
1852 Avoid extra reference search from the request's ReferenceList.
1853 create HMACSHA1 always with the key to compute hash (I'm not sure
1854 it is correct; it is rather to adjust all hash consistent.)
1856 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1858 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1859 actually endorsed the primary signature.
1860 * SecureMessageGenerator.cs : implemented endorsing of the primary
1861 signature. So, now supporting tokens are fully implemented.
1863 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1865 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1866 totally signing tokens.
1867 * SecureMessageGenerator.cs : Endorsing tokens should also be
1868 included in the message. They are just not signed.
1870 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1872 * SecureMessageGenerator.cs : support signing and encryption of
1873 supporting tokens. Some required refactory to do it.
1874 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1876 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1878 * SecureMessageDecryptor.cs : fix exception message.
1879 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1880 XmlNamespaceManager is not required for GetIdElement().
1882 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1884 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1885 moved decryption part from former file to latter file, to reuse
1886 SignedXml instance (though now I doubt how it actually was good)
1887 which in turn required to replace EncryptedData in
1888 WSSecurityMessageHeader with decrypted one.
1889 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1891 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1893 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1894 EncryptedData should contain KeyInfo as it is not obvious which key
1895 is used there. .net<->mono DerivedKeyToken introp is done.
1896 * SecureMessageDecryptor.cs : check derived key requirement.
1897 Reduce dom-dependent parts.
1899 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1901 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1902 the related DerivedKeyToken (if any).
1903 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1904 support. Some refactoring to distinguish deried-token-related
1906 * SecureMessageDecryptor.cs : removed its own support for derived
1907 key tokens. Now it fully works with DerivedKeySecurityToken.
1909 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1911 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1912 SecureMessageDecryptor.cs :
1913 Implemented increment token reading in o:Security, as
1914 DerivedKeyToken could reference to existing wrapped key.
1915 Removed WsscDerivedKeyToken and all relevant code.
1916 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1917 DerivedKeySecurityToken.
1919 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1921 * SecureMessageGenerator.cs : it was setting security tokens into
1922 incorrect SecurityMessageProperty.
1923 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1924 Now it uses SecurityRequestContext instead of just primary key.
1925 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1926 to symmetric reply decryption, which is the only trouble case.
1927 Do not create another SignedXml.
1928 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1930 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1932 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1933 the resolver works with in-progress token reading in o:Security.
1934 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1935 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1936 * SecureMessageGenerator.cs : cosmetic refactoring.
1938 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1940 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1941 instead of EncryptedKey.
1943 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1945 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1946 should not be always prepared at channel Open(). It also caused
1947 that extra token requirements.
1948 * SecureMessageGenerator.cs : use correct key clause for encryption.
1949 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1951 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1953 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1954 for supporting 'supporting tokens' .
1955 * SecureMessageGenerator.cs : Supporting token creation is done only
1956 at initiator (not sure if it is supposed that, but for now it is).
1957 Removed extraneous CollectSupportingTokens().
1958 * SecureMessageDecryptor.cs : implemented supporting token
1959 authentication (partly). "Signed" supporting tokens are expected
1962 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1964 * SecureMessageGenerator.cs :
1965 make SignBeforeEncryptAndEncryptSignature working.
1967 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1969 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1970 the key itself. ProtectionToken is WrappedKey.
1971 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1972 not EncryptedKeyIdentifierClause which is not for embedded key.
1973 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1975 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1977 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1978 to switch asymmetric and symmetric. Not used yet.
1979 * SecurityRequestChannel.cs : now it pass the request security
1980 property to reply receiver so that it could use the primary key
1981 used at request phase.
1982 * SecurityRequestContext.cs : now it pass the context itself to
1983 reply sender so that it could embed related MessageID.
1984 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1985 binding element. Add RelatesTo output and remove MessageID when
1986 replying to the sender. Added some hacks to get symmetric binding
1988 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1989 in SecurityTokenReference (it also involved existing encrypted key
1990 retrieval). In reply receiver, reuse the key that was used at
1991 request phase. It needs significant token resolution refactoring.
1993 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1995 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
1996 * SecureMessageDecryptor.cs : store token and its authentication
1997 policies into the security property, and reuse it on reply.
1998 Some code refactoring; there is at most one o:Security to solve at
1999 one endpoint (depends on Actor). Some attempt to use correct
2000 token parameters (but for now I have only samples that use x509).
2001 * SecureMessageGenerator.cs : For replying message, use initiator's
2002 signing token as the encryption token. Simply reuse security
2003 property from the input message.
2005 I have some nasty workaround at decryptor for initiator that could
2006 not retrieve decryption key.
2008 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2010 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2011 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2012 several refactoring on token acquisition. Large part of
2013 MessageSecurityBindingSupport code is unified.
2015 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2017 * MessageProperties.cs : Security property should be one of the items.
2018 Actually many other properties should be similar as well.
2019 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2020 when copying a message, copy properties as well.
2021 * SecurityRequestContext.cs : on replying, pass input
2022 SecurityMessageProperty to the security generator.
2023 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2025 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2027 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2030 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2031 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2032 use new WSSignedXml instead of SignedXml, and remove coexisting
2033 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2034 - our reply messages could be consumed by .NET, and
2035 - .NET signature could be verified.
2037 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2039 * SecureMessageDecryptor.cs : The signing key must be passed as
2040 CheckSignature() argument, not SigningKey.
2042 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2044 * MessageImpl.cs : don't read attribute after ReadStartElement().
2046 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2048 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2049 * SecureMessageGenerator.cs : use correct signing key clause for
2050 SecurityTokenReferenceKeyInfo to be serialized.
2051 * SecureMessageDecryptor.cs : now it can try to parse signature.
2053 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2055 Ongoing changes to support signature confirmation
2056 * SecureMessageGenerator.cs :
2057 Don't output ReplyTo onto reply message.
2058 Write SignatureConfirmation if needed.
2059 * SecureMessageDecryptor.cs :
2060 Some refactoring for header cunsumption. Added commented-out
2061 signature verification part (not working yet, on client side due
2062 to incorrect reply from service and insufficient clause reader).
2063 * WSSecurityMessageHeader.cs :
2064 Added SignatureConfirmation support.
2065 KeyInfoClause for o:SecurityTokenReference should be replaced with
2066 SecurityTokenReferenceKeyInfo.
2068 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2070 * SecureMessageGenerator.cs : support Timestamp signature.
2071 Removed unused code, and extra argument in CreateReference().
2072 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2074 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2076 * SecureMessageGenerator.cs :
2077 Several fixes to make asymmetric binding working:
2078 - Differentiate signing and encryption token in several areas.
2079 - Fixed signing keyinfo.
2081 Added initial SecurityMessageProperty handling, not sure if it is
2082 appropriate here though.
2083 * HttpRequestChannel.cs : (some debugging lines)
2085 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2087 Woohoo! Here is a very basic WS-Security compliant message which could
2088 be allowed by Indigo.
2089 * MessageHeader.cs : added Id support for writing.
2090 * Message.cs : added internal BodyId for signature reference.
2091 * MessageImpl.cs : write Body Id if required.
2092 * SecureMessageGenerator.cs : Before signing, the target elements must
2093 be given wsu:Id. Since I still use System.Security.dll, I need some
2094 trick for signing (I give both Id and wsu:Id, former to sign and
2095 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2096 implementation later. Now singning mechanism works except for
2097 wsu:Timestamp (which is kind of mandatory).
2099 I can's still consume replies from Indigo but it's a big progress :)
2101 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2103 * MessageHeaderInfo.cs : added internal Id.
2104 * MessageHeader.cs : read and write wsu:Id.
2105 * Message.cs : output wsu namespace if Id exists in any header.
2106 * HttpReplyChannel.cs : (some debugging lines.)
2107 * SecureMessageDecryptor.cs : (remove debugging lines.)
2108 * MessageImpl.cs : removed obsolete code.
2109 * WSSecurityMessageHeader.cs : output "o" prefix.
2110 * SecureMessageGenerator.cs : replaced XmlElement-based header
2111 signing with MessageHeader-based signing, to support Id correctly.
2113 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2115 * SecureMessageGenerator.cs : some more refactoring and code comments.
2116 * MessageSecurityUtility.cs : made decryptor into an instance class,
2117 like I've done for SecureMessageGenerator.
2118 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2119 dependent changes for above.
2121 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2123 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2124 causing NRE due to the lack of token reference.
2125 No need to pass doc to SignedXml.ctor() anymore.
2126 Moved ReferenceList before the signature(s).
2128 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2130 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2131 Moved signing key generation code to non-HMACSHA1 signing part.
2132 Don't try to sign wss:Security.
2133 Pass document itself to SignedXml.ctor().
2134 Use temporary DataObjects to avoid adding Ids (not sure what is the
2135 expected processing yet).
2136 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2137 WriteTo() method in WsuTimestamp.
2139 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2141 * SecureMessageGenerator.cs : wrong key was used for signing.
2142 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2144 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2146 * SecureMessageGenerator.cs :
2147 Now ID generation process does not modify input message.
2148 Moved derived key generation part into (virtual) signing loop.
2149 MessagePartSpecification support for signing is done.
2151 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2153 * SecureMessageGenerator.cs : some reordering to handle signing and
2154 encryption with supporting tokens. Fixed XPath query bug for
2155 soap header contents (we want s:Header/*, not s:Header).
2157 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2159 * MessageSecurityBindingSupport.cs : more refactoring.
2160 Made it abstract and added Initiator- and Recipient- classes.
2161 Several members were moved to those derived types.
2162 * AsymmetricSecurityBindingElement.cs,
2163 SymmetricSecurityBindingElement.cs
2164 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2165 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2166 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2167 All dependent changes by above. Removed ISecurityChannelSource
2168 which became useless.
2170 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2172 * SecureMessageGenerator.cs : encryption parts should exist too.
2173 * AsymmetricSecurityBindingElement.cs
2174 SymmetricSecurityBindingElement.cs,
2175 MessageSecurityBindingSupport.cs : some refactoring.
2176 Split MessageSecurityBindingSupport into security binding element
2177 specific parts and made MessageSecurityBindingSupport concrete.
2178 It is likely split again, next time based on initiator/recipient.
2180 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2182 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2183 split encryptor part in the former file into latter file, and
2185 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2186 SecurityRequestContext.cs : apply the change above.
2188 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2190 * MessageSecurityBindingSupport.cs :
2191 Fixed incorrect TrgGetValue() use.
2192 Added CollectRecipientSupportingTokens().
2194 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2196 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2197 EncryptedKey. So, when a key itself is used to encrypt data,
2198 ReferenceList is contained by itself.
2199 * MessageSecurityBindingSupport.cs :
2200 added CollectInitiatorSupportingTokens().
2202 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2204 * MessageSecurityUtility.cs: it should support ReferenceList-less
2207 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2209 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2210 * MessageSecurityUtility.cs : there already was uuid.
2212 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2214 * MessageSecurityUtility.cs : replaced EncryptedKey with
2215 WrappedKeySecurityToken, which seems to be in actual use in .net.
2216 * WSSecurityMessageHeader.cs : added internal Guid so that it
2217 could be shared between header items.
2219 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2221 * HttpRequestContext.cs, TextMessageEncoder.cs :
2222 some null arg check.
2224 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2226 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2227 for SecurityTokenReference resolution.
2229 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2231 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2232 consider DerivedKeyTokens correctly.
2233 When creating LocalId, don't add '#' here.
2235 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2237 * MessageSecurityUtility.cs :
2238 handle key mapping for each wsse:Security.
2240 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2242 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2244 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2246 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2248 * MessageSecurityUtility.cs :
2249 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2250 suggests, and it is used to dereference decryption targets.
2251 Now it premises multiple wsse:Security elements to read.
2253 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2255 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2256 manually (and actually the namespace URI was wrong).
2258 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2260 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2262 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2264 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2266 * SecurityBindingElement.cs,
2267 SymmetricSecurityBindingElement.cs,
2268 AsymmetricSecurityBindingElement.cs :
2269 implemented SetKeyDerivation().
2271 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2273 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2276 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2278 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2281 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2283 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2284 thus move it in front of encryption/signing.
2286 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2288 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2289 check state by themselves (btw it's not really working).
2290 * HttpChannelListener.cs : If the url does not end with '/' add it
2291 so that it could be fed to HttpListener.
2293 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2295 * HttpChannelFactory.cs : check scheme on CreateChannel.
2296 * MessageHeader.cs : finish IsMessageVersionSupported().
2298 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2300 * FaultConverter.cs : new file, not used yet though.
2302 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2304 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2306 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2308 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2309 GET as well as HttpReplyChannel, configuration would be ready now.
2311 2006-10-18 Ankit Jain <jankit@novell.com>
2313 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2314 EnvelopeVersion.Soap12 and 'text/xml' for others.
2315 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2317 Strip '?' from the query string.
2319 2006-10-13 Ankit Jain <jankit@novell.com>
2321 * MessageVersion.cs (None): Set AddressingVersion.None
2323 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2325 * SvcHttpHandler.cs : added config-based endpoint addition code.
2326 Though due to some weird bug in mono-core it does not seem to work,
2327 so commented out for now.
2328 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2329 mex request message might just be wrong.
2330 Use expected MessageVersion by the channel.
2331 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2333 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2335 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2336 which differs depending on whether it is asymmetric or symmetric.
2337 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2338 simplify SecureMessage() and DecryptMessage() arguments (just
2339 take MessageSecurityBindingSupport instead of several parameters).
2340 * MessageSecurityUtility.cs :
2341 - simplify SecureMessage() and DecryptMessage() arguments (just
2342 take MessageSecurityBindingSupport instead of several parameters).
2343 - Take token inclusion mode into account. Don't include them when
2344 it is not expected. Also, change the token reference style.
2345 - add wsa:MessageID to the headers.
2346 - For hmac-sha1 signing (default for symmetric binding), use
2347 symmetric key created for encryption as well to create HMACSHA1.
2348 - add Id to wsu:Timestamp.
2349 - start to handle SecurityMessageProperty.
2350 * WSSecurityMessageHeader.cs :
2351 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2352 Changed date format.
2354 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2356 * CommunicationObject.cs : reject faulted state on Open()/Close().
2357 * MessageHeaders.cs : removed extra fields.
2359 2006-10-06 Ankit Jain <jankit@novell.com>
2361 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2363 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2365 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2366 added some FIXMEs and additional arg.
2368 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2370 * MessageSecurityUtility.cs : remove duplicate Action header.
2372 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2374 * MessageFault.cs : partly implemented CreateFault(Message, int).
2375 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2376 handle IsFault correctly in each implementation.
2378 2006-10-04 Ankit Jain <jankit@novell.com>
2380 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2382 2006-10-04 Ankit Jain <jankit@novell.com>
2384 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2385 in WebConnectionStream.
2387 2006-10-04 Ankit Jain <jankit@novell.com>
2389 * MessageHeaders.cs (To): Use GetHeader<string> till
2390 DataContractSerializer gets ISerializable support.
2391 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2393 2006-10-04 Ankit Jain <jankit@novell.com>
2395 * ServiceHostParser.cs (Parse):
2396 (Split): Add some error checks.
2398 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2400 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2401 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2402 * SslStreamSecurityUpgradeProvider.cs,
2403 SslStreamSecurityUpgradeAcceptor.cs :
2404 new files for Ssl upgrade provider implementation.
2405 * MessageSecurityUtility.cs :
2406 Create proper C14NTransform. Don't use enveloped signature
2407 transform but sign every significant bits. On securing messages
2408 use ChannelProtectionRequirements.
2409 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2411 * MessageEncoder.cs : fix API (missing constraint).
2412 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2413 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2414 * AsymmetricSecurityBindingElement.cs : default protection order is
2415 SignBeforeEncryptAndEncryptSignature.
2417 2006-09-29 Ankit Jain <jankit@novell.com>
2419 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2420 ServicHostParser and use that here.
2421 (PrivateBinPath): New.
2422 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2423 (RemovedCallback): Remove and close the SvcHttpHandler when its
2424 corresponding file (.svc) changes.
2425 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2427 * ServiceHostParser.cs : New.
2428 * CachingCompiler.cs : New. Code extracted from
2429 System.Web.Compilation.CachingCompiler
2430 * CompilationException.cs : New. From System.Web.Compilation
2431 * HtmlizedException.cs : New. Likewise.
2433 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2435 * MessageSecurityBindingSupport.cs : For client side, it is always
2436 InitiatorServiceModelSecurityTokenRequirement which should be
2437 created. Fixed wrong client encryption key acquisition.
2439 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2441 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2442 MessageSecurityBindingSupport.cs : made similar changes as factories
2443 to listener so that session channels and input channels would work.
2444 Added authenticator creation.
2446 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2448 * Binding.cs : added missing members.
2450 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2452 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2453 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2454 reduce code duplication between request and output channels.
2455 The common parts are now in MessageSecurityBindingSupport.
2456 Now reduced several arguments in SecureMessage() for client.
2458 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2460 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2462 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2464 * AsymmetricSecurityBindingElement.cs,
2465 SecurityChannelListener.cs,
2466 SecurityRequestContext.cs,
2467 SymmetricSecurityBindingElement.cs,
2468 SecurityRequestChannel.cs,
2469 SecurityOutputChannel.cs,
2470 SecurityChannelFactory.cs,
2471 MessageSecurityBindingSupport.cs : 1) Refactoring.
2472 IMessageSecurityBindingSupport now becomes a class and contains
2473 all the members which resided in ISecurityChannelSource.
2474 Now it takes more constructor params.
2475 Made dependent changes on all sources above.
2477 2) Added SecurityTokenAuthenticator creation in
2478 SecurityRequestChannel (SecurityOutputChannel should do the same).
2480 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2482 * SecurityRequestChannel.cs : ongoing improvements on conditional
2483 key creation. Actually there must be some part that creates an
2484 authenticator (WinFX does that).
2486 2006-09-27 Ankit Jain <jankit@novell.com>
2488 Add suport for handling .svc files.
2489 * SvcHttpHandlerFactory.cs: New.
2490 * SvcHttpHandler.cs: New.
2492 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2493 asp.net environment.
2494 (OnOpen): Do nothing in asp.net environment.
2495 (OnClose): Likewise.
2496 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2497 * HttpRequestContext.cs: .. here.
2499 * AspNetReplyChannel.cs: New.
2500 * AspNetRequestContext.cs: New.
2502 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2504 * MessageSecurityUtility.cs :
2505 Significantly rewritten decryption parts to respect ReferenceList
2506 to decrypt (so no workaround anymore).
2507 Now e:ReferenceList inside o:Security is treated as the referenced
2508 EncryptedType items are encrypted by 1) the derived key which is
2509 immediately in front of it, or 2) the default key (it is according
2510 to WS-SecureConversation section 9.1). Thus removed immediately
2511 previous hack to auto-fill wsu:Id attributes.
2513 On securing a message, generate correct Id and add DataReference
2514 to ReferenceList properly.
2516 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2518 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2521 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2523 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2524 Actually WSSecurityTokenSerializer should be able to consume it, but after
2525 spending a lot of time I still cannot successfully read it on WinFX.
2526 Skip ReferenceList for now.
2527 * MessageSecurityUtility.cs :
2528 Replaced some string literals with constants.
2529 Added some workaround for DerivedKeyToken retrieval.
2530 WinFX somehow sends incomplete ISO10126 padding which contains
2531 bigger number than the key size and is rejected by EncryptedXml,
2532 so added DecryptLax() which processes such ones in PaddingMode.None
2533 to workaround it (only for cross-connection between mono and winfx).
2534 Added some incomplete implicit wsu:Id processing.
2535 Don't try to replace SignedXml with EncryptedData. It is not added
2536 to the document tree.
2538 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2540 * MessageSecurityUtility.cs : support message signature encryption. Some
2543 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2545 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2547 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2549 * MessageSecurityUtility.cs : fix warnings.
2551 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2553 * MessageSecurityUtility.cs : actually there would be more than one
2554 EncryptedData. Decrypt all.
2556 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2558 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2559 Use ISO10126 padding mode (it is not required but in manner).
2561 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2563 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2564 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2565 that class to make it work fine with mono client).
2566 Removed buggy lines that reset decryption key to AES.
2567 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2568 * WSSecurityMessageHeader.cs :
2569 (SecurityTokenReferenceKeyInfo) support LoadXml.
2571 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2573 * TransactionMessageProperty.cs : new file.
2575 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2577 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2578 gmcs happened to report wrong code.
2580 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2582 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2583 .ctor() now requires ChannelProtectionRequirements which will be
2584 supplied via BindingParameterCollection.
2585 * SymmetricSecurityBindingElement.cs,
2586 AsymmetricSecurityBindingElement.cs : thus add
2587 ChannelProtectionRequirement parameter to factory/listener.
2588 * SecurityRequestChannel.cs : use recipient token requirement to
2589 create an encryption token. Thus differentiate the logic from
2590 signing (initiator) token.
2592 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2594 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2595 renamed former to latter.
2596 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2599 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2601 * MessageSecurityBindingSupport.cs : new internal types to commonize
2602 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2603 and thus make internal factory and listener reusable.
2604 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2605 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2606 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2607 SymmetricSecurityBindingElement, using the new types above.
2608 * SymmetricSecurityBindingElement.cs :
2609 Use SymmetricMessageSecurityBindingSupport.
2610 * AsymmetricSecurityBindingElement.cs :
2611 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2613 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2615 * ChannelFactoryBase.cs : more RC1 update.
2617 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2619 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2620 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2621 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2622 ChannelBase.cs : RC1 API updates.
2623 * MessageImpl.cs : implemented Properties.
2624 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2626 2006-09-18 Ankit Jain <jankit@novell.com>
2628 * MessageHeaders.cs (MessageId):
2629 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2631 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2633 * ChannelParameterCollection.cs : new file.
2634 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2635 new files for IOutputChannel implementation.
2636 * OneWayBindingElement.cs : hacky implementation.
2637 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2638 * MessageSecurityUtility.cs : now create identifier from the security
2639 token and the token parameters which is added as an argument.
2640 * SecurityRequestContext.cs,
2641 SecurityRequestChannel.cs : SecureMessage() argument changes.
2642 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2645 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2647 * HttpRequestChannel.cs : close the HttpWebRequest.
2649 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2651 * HttpRequestChannel.cs,
2652 HttpChannelFactory.cs : implement async request/reply.
2653 * HttpChannelFactory.cs :
2654 verify factory state when creating a channel.
2656 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2658 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2659 BinaryMessageEncoder.cs : added message version mismatch check.
2661 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2663 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2664 Making incomplete changes to handle different tokens for encryption
2666 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2667 split channel implementation classes out to the latter file.
2668 * MessageSecurityUtility.cs : seems like there is
2669 TimeStampValidityDuration property, so use it (incomplete; a server
2670 needs another love).
2672 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2674 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2675 SecurityRequestContext.cs : now that we have key identifier clause
2676 and working ResolveKeyIdentifierClause(), just create keys inside
2677 SecureMessage(). Add KeyInfo to the xmldsig.
2679 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2681 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2682 pass SecurityKeyIdentifierClause to SecureMessage().
2683 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2684 for IssuedToken binding element.
2685 * SymmetricSecurityChannelListener.cs : removed hack to just create
2686 X509 security token, and implemented correct token creation.
2687 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2688 wraps SecurityTokenReference element.
2689 * MessageSecurityUtility.cs : use the above.
2691 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2693 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2694 could not find a security header.
2695 * SymmetricSecurityChannelFactory.cs : now it also supports
2696 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2699 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2701 * SecurityRequestContext.cs : moved securing message part to
2702 MessageSecurityUtility.cs.
2703 * MessageSecurityUtility.cs : the change above.
2704 use DateTime.Now for timestamp basis. Don't append signature to
2705 the document. Instead it is added to the header. Capture body
2706 content instead of the body itself.
2707 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2708 be processed by upper layers.
2710 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2712 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2713 SymmetricSecurityChannelListener.cs,
2714 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2715 more refactoring. Request serialization became much more conformant
2716 and add required header items.
2717 Security Token retrieval is needed to send it in the request.
2718 Fixed wrong key encryption.
2720 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2722 * SecurityRequestContext.cs : the workaround was not functional.
2724 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2726 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2727 API, especially ReplaceData(), instead of native crypto stuff.
2728 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2729 MessageProtectionOrder.SignBeforeEncrypt).
2731 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2733 * SecurityRequestContext.cs : label should be combined of both
2734 the client's and the server's.
2736 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2738 * SecurityRequestContext.cs : enable key derivation (though for now
2739 GenerateDerivedKey() is unimplemented). Create meaningful,
2740 decrypted request message to be consumed by the upper layer.
2742 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2744 * SecurityRequestContext.cs : implement Close() and Reply().
2745 ongoing implementation of Reply(TimeSpan).
2746 * MessageSecurityUtility.cs : new file to collect utility methods.
2747 * SymmetricSecurityChannelFactory.cs : moved securing message code
2749 * SymmetricSecurityChannelListener.cs : tiny renaming.
2751 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2753 * SecurityRequestContext.cs : security header is also stored.
2755 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2758 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2760 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2763 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2765 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2766 so that it retrieves the security key in that manner.
2768 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2770 * Binding.cs : MessageVersion is null when there is no
2771 MessageEncodingBindingElement.
2772 * Message.cs : null arg check.
2774 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2776 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2778 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2780 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2781 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2782 LayeredRequestChannel.cs : some refactoring.
2783 * SymmetricSecurityChannelFactory.cs :
2784 ongoing secure message creation implementation.
2786 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2788 * SymmetricSecurityBindingElement.cs :
2789 pass specific ServiceCredentialsSecurityTokenManager type to
2790 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2791 * SymmetricSecurityChannelListener.cs :
2792 get service certificate. It's a temporary hack.
2793 Move RequestContext code to below.
2794 * SecurityRequestContext.cs : new file.
2795 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2796 it I have to finish decryption of the incoming message.
2798 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2800 * MessageImpl.cs : don't write attributes on the first body content
2801 element *on soap Body element*.
2802 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2803 ObjectDisposedException is appropriate.
2804 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2805 in OnWriteHeader*Contents*().
2807 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2809 * WSSecurityMessageHeader.cs : new file.
2810 * SymmetricSecurityChannelFactory.cs :
2811 moved WSSecurityHeader and related types to the above.
2812 * SymmetricSecurityChannelListener.cs :
2813 reject SOAP-env-less message.
2815 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2817 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2818 renamed former to latter.
2819 * SymmetricSecurityChannelFactory.cs :
2820 create requirements every time. It is also likely that I need
2821 another requirement instance to get service credentials here.
2823 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2825 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2826 similar to BuildChannelFactory() (set credentials, issuer binding
2828 * SecurityChannelListener.cs :
2829 more ongoing security support implementation.
2830 * SymmetricSecurityChannelFactory.cs :
2831 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2833 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2835 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2836 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2837 Implementation is underway.
2838 * LayeredReplyChannel.cs :
2839 like LayeredRequestChannel, use ChannelListenerBase to provide
2842 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2844 * MessageHeader.cs : added another implementation type that uses
2845 XmlElement, for buffering purpose.
2846 * MessageImpl.cs : Header item types are user-driven by
2847 MessageHeader.GetHeader<T>(int), so at storing phase just store
2848 nodes as XmlElement.
2849 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2852 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2854 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2855 BindingParameterCollection, not from binding element properties.
2857 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2859 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2860 renamed former to latter.
2862 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2864 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2865 work for SslSecurityTokenParameters.
2867 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2869 * SecurityBindingElement.cs :
2870 Added SetIssuerBindingContextIfRequired().
2871 * SecurityChannelFactory.cs :
2872 Changed .ctor() arg again, just to receive binding element.
2873 * SymmetricSecurityBindingElement.cs :
2874 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2875 SymmetricSecurityChannelFactory .ctor() arg changes.
2876 "ProtectionTokenParameters" is not passed now.
2878 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2880 * SymmetricSecurityBindingElement.cs : requirements should be
2881 filled at InitializeSecurityTokenParameters as long as possible.
2882 SymmetricSecurityChannelFactory<T> now does not receive
2883 requirements (it now creates one inside it) at .ctor().
2884 * SecurityChannelFactory.cs : remove requirement argument.
2886 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2888 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2890 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2892 * SymmetricSecurityBindingElement.cs :
2893 MessageSecurityVersion property is of type SecurityTokenVersion.
2894 * SecurityBindingElement.cs :
2895 Implemented CreateSecureConversationBindingElement().
2896 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2897 the argument IssuedSecurityTokenParameters itself.
2899 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2901 * SymmetricSecurityBindingElement.cs :
2902 CreateSecurityTokenManager() can be directly used now.
2903 Use CallInitializeSecurityTokenRequirement() to fill requirement
2906 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2908 * ChannelFactoryBase.cs : GetProperty() is virtual.
2910 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2912 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2913 create token manager, token parameters and token requirements,
2914 and fill some requirements.
2915 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2916 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2917 * BindingContext.cs : implemented RemainingBindingElements.
2918 kill "no remaining binding element" error in GetInnerProperty()
2919 * SecurityChannelFactory.cs : now it became
2920 SymmetricSecurityChannelFactory, thus soon to be renamed.
2921 Several ongoing actual security resolution is on.
2923 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2925 * CommunicationObject.cs :
2926 add GetCommunicationObjectType() and use it.
2927 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2928 use ThrowIfDisposedOrNotOpen().
2929 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2930 to CommunicationObject. Make it IDisposable.
2931 * LayeredRequestChannel.cs : use above.
2932 * SecurityChannelFactory.cs : removed state check as it is done at
2935 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2937 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2938 CanBuildChannelListener) directly dispatch to BindingContext.
2939 * SymmetricSecurityBindingElement.cs : require protection token
2940 parameters before building a channel or a listener.
2941 * ChannelFactoryBase.cs : raise an error when a channel is being
2942 created without opening the factory.
2943 * ChannelListenerBase_1.cs : ditto for the listener.
2944 * SecurityChannelFactory.cs : before sending a request, it must be
2947 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2949 * MessageBufferImpl.cs : initialize fields.
2950 workaround BufferSize just to return 0.
2951 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2952 which does not support multi time write.
2953 * Message.cs : implemented State.
2955 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2957 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2958 is consuming XmlReader.
2959 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2960 * MessageBuffer.cs : implemented CreateNavigator().
2961 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2963 I kinda know that MS heavily depends on binary XmlReader and may have
2964 XPathNavigator implementation based on the binary stuff, but at
2965 least for now we have almost no motivation to mimick it.
2967 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2969 * SecurityChannelFactory.cs : a bit more of security header code.
2971 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2973 * SymmetricSecurityBindingElement.cs :
2974 set default MessageProtectionOrder in every construction.
2976 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2978 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2979 changed to require ChannelFactoryBase to support default timeout.
2980 Made some methods non-virtual. Preparing code to add security
2981 headers (empty yet).
2982 * SecurityBindingElement.cs : implemented several factory methods
2983 that return SymmetricSecurityBindingElement.
2985 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2987 * IStreamUpgradeBindingElement.cs,
2988 StreamUpgradeBindingElement.cs : renamed from former to latter.
2990 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2992 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2994 2006-07-31 Ankit Jain <jankit@novell.com>
2996 * MessageHeaders.cs (From): Use Constants.WSA1
2997 (MessageId): Implement the same pattern as other properties (From etc).
2999 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3001 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3002 * SecurityBindingElement.cs : some cosmetic changes.
3004 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3006 * SecurityBindingElement.cs : LocalClientSettings and
3007 LocalServiceSettings returns an instance for each.
3008 * LocalClientSecuritySettings.cs : initialized fields.
3010 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3012 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3013 kinda implemented Clone() just with MemberwiseClone().
3015 2006-07-27 Ankit Jain <jankit@novell.com>
3017 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3018 * MessageHeader.cs (knownTypes): New. Known type array containing
3020 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3022 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3024 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3025 LayeredCommunicationObject.cs,
3026 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3027 new files to support security channels, though right now they
3028 just pass inner channels through.
3029 * SymmetricSecurityBindingElement.cs : use above.
3031 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3033 * AsymmetricSecurityBindingElement.cs,
3034 SymmetricSecurityBindingElement.cs :
3035 Default SecurityTokenParameters is null.
3037 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3039 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3041 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3043 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3045 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3046 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3047 headers. When AddressingVersion is None, don't output addressing
3048 headers as well, except for Action which is still needed by
3051 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3053 * MessageHeaders.cs : changed specific properties to find it from
3054 headers as Action property does (local variables won't be set by
3055 setter). Cache serializers. Check null serializer arguments.
3056 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3058 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3060 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3061 use XmlObjectSerializer (since it is not data contract type).
3063 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3065 * MessageImpl.cs : Improved ReadHeaders().
3066 For certain header items, use EndpointAddress.ReadFrom().
3068 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3070 * AsymmetricSecurityBindingElement.cs :
3071 it is not ISecurityCapabilities anymore.
3073 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3075 * MessageVersion.cs : added None.
3077 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3079 * Message.cs : GetReaderAtBodyContents() implementation using
3082 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3084 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3085 used MessageVersion.Default.
3087 2006-07-12 Duncan Mak <duncan@novell.com>
3089 * MessageBuffer.cs (MessageContentType): Return
3090 "application/soap+msbin1".
3092 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3093 (SimpleMessage.OnCreateBufferedCopy):
3094 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3095 MessageBuffer implementations.
3097 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3098 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3099 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3101 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3103 * MessageImpl.cs : Action should be added in request messages. Omit
3104 it only in reply message, thus moved to dispatcher logic.
3106 2006-07-12 Ankit Jain <jankit@novell.com>
3108 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3109 bug in WebConnectionStream.
3110 * MessageHeaders.cs (MessageHeaders.From):
3111 (MessageHeaders.ReplyTo):
3112 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3114 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3116 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3117 add SOAP Action to the response at any time.
3119 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3121 * SymmetricSecurityBindingElement.cs,
3122 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3123 Implemented .ctor() and some properties.
3125 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3127 * TransactionFlowBindingElement.cs : new file.
3128 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3130 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3133 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3134 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3135 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3136 vanished (there is anyways no way to instantiate this type).
3137 * MessageVersion.cs : added Soap11 and Soap12.
3138 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3139 in June CTP. goodie.
3141 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3143 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3144 removed some vanished CreateMessage() overloads.
3146 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3148 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3149 HttpTransportBindingElement.cs :
3150 They are not ISecurityCapabilities anymore.
3151 Modified code to match June CTP behavior.
3153 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3155 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3157 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3159 * EmptyFaultException.cs : removed unused code.
3160 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3162 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3164 * LayeredChannelFactory.cs : removed obsolete class.
3165 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3166 ChannelListenerBase.cs, HttpChannelListener.cs,
3167 HttpReplyChannel.cs, ChannelManagerBase.cs :
3168 all those changes were brought by ChannelManagerBase changes.
3170 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3172 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3173 CommunicationObject.cs, HttpChannelListener.cs,
3174 ChannelFactoryBase.cs :
3175 CommunicationObject abstract changes brought this madness.
3177 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3179 * BindingContext.cs : listenUri address parameters could be null in
3182 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3184 * IRequestContext.cs :
3185 Now it became a class. File renaming will follow soon.
3186 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3187 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3188 IOutputChannel.cs, IOutputSessionChannel.cs,
3189 IRequestChannel.cs, IRequestSessionChannel.cs :
3190 They are not IDisposable anymore.
3191 For IReplyChannel, IRequestContext -> RequestContext.
3192 * IChannelListener.cs : removed Identity. Added GetProperty().
3193 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3194 ReplyChannelBase.cs, HttpReplyChannel.cs :
3195 Several members disappeared, and dependent changes.
3196 * HttpTransportBindingElement.cs,
3197 HttpChannelListener.cs, :
3198 ChannelListenerBase.SharedChannelListener vanished.
3200 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3202 * MessageEncodingBindingElement.cs
3203 MtomMessageEncodingBindingElement.cs,
3204 TextMessageEncodingBindingElement.cs,
3205 BinaryMessageEncodingBindingElement.cs :
3206 June CTP updates: AddressingVersion -> MessageVersion.
3207 * Binding.cs : June CTP. MessageVersion is added.
3208 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3209 ChannelListenerBase_1.cs,
3210 ChannelListenerBase.cs, IChannelListener.cs,
3212 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3213 June CTP. Several interface changes.
3214 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3215 * IChannelManager.cs, LayeredChannelListener.cs,
3216 GenericWrapperChannelFactory.cs,
3217 GenericWrapperChannelListener.cs : They are not used anymore.
3219 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3221 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3222 sync fix with June CTP API updates.
3224 2006-07-03 Ankit Jain <jankit@novell.com>
3226 * MessageEncodingBindingElementConverter.cs:
3227 * StandardBindingConverter.cs:
3228 * TransportBindingElementConverter.cs:
3229 * TransactionFlowBindingElementConverter.cs:
3230 * ReliableSessionBindingElementConverter.cs:
3231 * SecurityBindingElementConverter.cs:
3232 Rename *Converter.cs to *Importer.cs
3234 * TransferMode.cs: Move to System.ServiceModel
3236 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3238 * CommunicationObject.cs : make sure to change State before
3239 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3241 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3243 * Message.cs : output WSAddressing xmlns only when Action is
3244 specified (To should be affected, but seems like it is ignored).
3246 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3248 * MessageImpl.cs : don't set Action when it is null.
3250 2006-06-12 Ankit Jain <jankit@novell.com>
3252 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3254 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3256 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3257 some updated API fixes.
3259 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3261 * EnvelopeVersion.cs : moved back to S.SM.
3263 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3265 * IBindingManualAddressing.cs : vanished in beta2.
3266 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3267 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3269 * SecurityBindingElement.cs :
3270 SecurityStandardsManager -> SecurityTokenSerializer.
3272 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3274 * XmlSerializerBodyWriter.cs : new file to handle
3275 TypedMessageConverter.ToMessage().
3277 2006-04-26 Ankit Jain <jankit@novell.com>
3279 * TransportBindingElementConverter.cs (BeforeImport): Remove
3280 NotImplementedException.
3281 (ImportContract): Likewise.
3282 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3284 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3286 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3287 being used was not reflecting that of Binding elements.
3289 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3291 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3292 just assume that it is in the message.
3294 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3296 * HttpReplyChannel.cs : actually HTTP header item might be null.
3298 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3300 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3303 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3305 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3307 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3309 * MessageFault.cs : Fixed SOAP12 reason output.
3311 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3313 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3314 MessageEncoder.ContentType explicitly contains encoding.
3315 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3316 if it is SOAP version dependent.
3318 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3320 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3322 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3324 * HttpChannelFactory.cs BindingContext.cs
3325 HttpChannelListener.cs HttpTransportBindingElement.cs :
3326 Now BindingContext holds MessageEncoder, and non-custom
3327 channel factory/listener should use it.
3328 * MtomMessageEncodingBindingElement.cs
3329 TextMessageEncodingBindingElement.cs
3330 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3331 -Listener() now sets internal BindingContext.MessageEncoder.
3332 Fixed some public API.
3334 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3336 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3337 for insufficient elements.
3338 * DispatchRuntime.cs : OperationDescription name is not action. So
3339 OperationSelector is created by name, not by action.
3340 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3342 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3344 * MessageFaultBodyWriter.cs
3345 XmlReaderBodyWriter.cs
3346 XmlObjectSerializerBodyWriter.cs : made internal.
3347 * SecurityBindingElement.cs
3348 AsymmetricSecurityBindingElement.cs
3349 SymmetricSecurityBindingElement.cs : API fixes.
3350 * TransportBindingElementConverter.cs : ditto.
3351 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3352 * WindowsStreamSecurityBindingElement.cs
3353 SslStreamSecurityBindingElement.cs
3354 TransportSecurityBindingElement.cs : new files.
3356 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3358 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3359 reading can be any xs:boolean value.
3361 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3363 * Message.cs MessageImpl.cs : more sorting out the role of each
3365 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3367 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3369 * Message.cs : don't write body contents if it is empty.
3370 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3371 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3372 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3373 * HttpRequestChannel.cs : close request stream before GetResponse().
3375 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3377 * TextMessageEncoderFactory.cs
3378 TextMessageEncoder.cs : encoder does not hold reference to the
3379 factory anymore. Use MessageVersion property in CreateMssage().
3380 * HttpChannelListener.cs : now it holds message encoder.
3381 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3382 * MessageImpl.cs : header is optional.
3383 * EnvelopeVersion.cs : namespace URI is missing.
3385 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3387 * CustomBinding.cs : removed Initialize().
3388 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3389 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3390 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3391 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3393 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3395 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3396 could be also added by Add() method and could be reset by Remove()).
3397 * MessageImpl.cs : implemented more. As noted above, Now we don't
3398 have to add Action header explicitly.
3399 * MessageHeader.cs : recovered Writer methods and ToString() from
3400 commented old version. Use prefixes for writing.
3401 Use WriteObjectContent() rather than WriteObject() (it needs
3402 DataContractSerializer fix btw).
3404 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3406 * MessageHeader.cs : added missing IsReferenceParameter.
3407 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3408 * MessageHeaders.cs : avoid NullRef when actors is null.
3409 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3410 (ForwardingMessage) reader consumer is being added (not done).
3411 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3412 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3413 * HttpRequestChannel.cs : this channel automatically call Open()
3414 when Request() is called. Set content length for request.
3415 Use MessageEncoder's ContentType to also handle charset.
3417 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3419 * MessageImpl.cs : make them internal.
3420 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3422 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3424 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3425 * HttpChannelListener.cs : removed commented line.
3426 * RequestChannelBase.cs : new base class for request channel classes.
3427 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3428 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3429 * Message.cs : default IsEmpty and IsFault false by default.
3430 * LayeredChannelListener.cs : removed Uri (no chance to set).
3431 * ChannelBase.cs : reimplemented timeout properties.
3432 * HttpRequestChannel.cs : now it is mostly based on
3433 RequestChannelBase. Some more attempt to implement Request().
3435 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3437 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3438 OnInitialize(). Added more BuildChannelListener() overloads.
3440 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3442 * Binding.cs : added some more missing members especially to support
3444 * HttpChannelListener.cs : Uri should not be null.
3445 * HttpTransportBindingElement.cs : implemented
3446 CanBuildChannelFactory() and CanBuildChannelListener().
3447 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3449 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3451 * Binding.cs : updated default namespace property value to Feb. CTP.
3453 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3455 * AddressHeader.cs : avoid null reference when value is null.
3456 * BindingContext.cs : check null ListenUri args.
3458 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3460 * MessageFault.cs : Fixed default action name. Null arg check.
3462 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3464 * BindingElement.cs : Dequeue elements in BindingContext directly.
3465 * BindingContext.cs : Added GetProperty<T>().
3466 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3467 Now we don't need these extra classes, so marked as deprecated.
3469 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3471 * Binding.cs : null arg check.
3472 * AddressingVersion.cs : fixed constants to pass the tests.
3473 * BindingElement.cs : tiny meessage fix.
3475 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3477 * MessageEncodingBindingElement.cs
3478 BinaryMessageEncodingBindingElement.cs
3479 TextMessageEncodingBindingElement.cs
3480 MtomMessageEncodingBindingElement.cs
3481 MessageEncodingBindingElementConverter.cs : several API fixes.
3482 * BindingElement.cs : now if we use generic wrapper it causes
3483 infinite loop, so for now replace it with most-possible-but-
3486 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3488 (back to normal "record-ChangeLogs" mode after the big API change mess)
3489 * HttpTransportBindingElement.cs : fixed minor API differences.
3491 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3493 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3494 SymmetricSecurityBindingElement.cs :
3495 Dependent fixes for System.IdentityModel reorgainzation.
3497 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3499 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3500 IProxyFormatter.cs WSHttpBindingBase.cs
3501 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3502 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3503 WSFederationBinding.cs ISessionChannel.cs
3504 CompositeDuplexBindingElement.cs MessageVersion.cs
3505 MessageHeader.cs IRequestSessionChannel.cs
3506 BindingElementCollection.cs IReplySessionChannel.cs
3507 MessageProperties.cs IDuplexClientChannel.cs
3508 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3509 TcpTransportBindingElement.cs EmptyFaultException.cs
3510 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3511 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3512 ConnectionOrientedTransportBindingElement.cs
3513 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3514 PeerResolverBindingElement.cs Message.cs
3515 HttpsTransportBindingElement.cs BindingElement.cs
3516 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3517 MessageFaultBodyWriter.cs IReplyChannel.cs
3518 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3519 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3520 IRequestContext.cs IInputSessionShutdown.cs
3521 SecurityBindingElement.cs PeerTransportBindingElement.cs
3522 IDuplexSession.cs IChannelInitializer.cs
3523 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3524 AddressingVersion.cs FaultException.cs
3525 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3526 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3527 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3528 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3529 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3530 BindingParameterCollection.cs IInstanceProvider.cs
3531 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3532 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3533 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3534 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3535 moved from System.ServiceModel due to the API changes.
3537 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3539 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3540 HttpChannelListener.cs HttpRequestChannel.cs
3541 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3542 PeerNode.cs ReplyChannelBase.cs :
3543 Feb. CTP API changes - chapter 1.
3545 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3547 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3548 * ReplyChannelBase.cs : now it is based on ChannelBase.
3549 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3550 and check null argument in .ctor().
3551 * HttpReplyChannel.cs : several changes.
3552 Non-async members are mostly implemented.
3553 * HttpChannelListener.cs : no need to receive
3554 IDefaultCommunicationTimeouts.
3555 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3556 to allocate buffer array and int.MaxValue causes OutOfMemory.
3558 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3560 * ClientFramingDecoderState.cs : added missing enum.
3561 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3563 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3565 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3567 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3568 AcceptChannel() has some code now but it needs more love.
3570 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3572 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3573 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3574 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3576 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3578 * HttpRequestChannel.cs : close the streams.
3580 HttpChannelListener.cs : renamed from former to latter.
3582 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3584 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3585 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3586 * HttpListenerFactory.cs : removed obsolete file.
3587 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3588 * ChannelListenerBase_1.cs : implemented virtual stuff.
3589 * CommunicationObject.cs : Open() should not call BeginOpen() and
3590 EndOpen(). Instead, invoke events individually.
3591 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3593 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3595 * HttpRequestChannel.cs : call Flush() after serializing message
3598 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3600 * HttpRequestChannel.cs : implemented pretty hacky Request().
3602 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3604 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3606 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3608 * ChannelFactoryBase.cs : removed some NotImplementedException for
3609 further internal implementation.
3611 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3613 * HttpRequestChannel.cs : new file. mostly not implemented.
3614 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3615 Partly implemented CreateChannel().
3617 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3619 * HttpChannelFactory.cs : (.ctor())
3620 Don't take ChannelBuildContext.
3622 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3624 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3625 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3626 PeerMessagePropagation.cs : updated to Nov. CTP.
3628 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3630 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3631 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3632 StreamSecurityUpgradeAcceptor.cs,
3633 StreamSecurityUpgradeInitiator.cs :
3634 Updated to Nov. CTP API.
3636 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3638 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3640 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3642 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3644 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3646 * ChannelBase.cs : tiny filename fix.
3647 * ChannelListenerBase.cs : added more .ctor()s.
3649 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3651 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3652 ListenerFactoryBase.cs ChannelListenerBase.cs :
3653 updated IListener related stuff to Nov. CTP.
3654 file renaming will come soon.
3656 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3658 * ListenerBase.cs, ChannelListenerBase.cs :
3659 moved from former to latter.
3660 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3661 moved from former to latter.
3663 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3665 * SessionFaultedException.cs : removed in Nov. CTP
3667 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3669 * CommunicationObject.cs : updated to Nov. CTP.
3670 * SessionFaultedException.cs : removed (in Nov. CTP)
3672 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3674 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3677 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3679 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3680 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3681 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3682 * MessageEncoder.cs : largely implemented.
3684 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3686 * IRequestReplyCorrelator.cs : new file.
3688 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3690 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3691 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3692 * MessageEncoder.cs : added misssing ToString().
3694 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3696 * ChannelBehaviorCollection.cs : moved to sys.sm.
3698 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3700 * HttpListenerFactory.cs, HttpListener.cs : new files.
3701 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3702 CommunicationObject.cs, ChannelFactoryBase.cs,
3703 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3705 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3706 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3708 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3710 * ListenerFactoryBase.cs : some implementation.
3712 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3714 * CommunicationObject.cs : more state fixes.
3716 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3718 * CommunicationObject.cs : some state machine fixes.
3720 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3722 * PeerNode.cs, ChannelManagerBase.cs :
3723 several API fixes detected by improved corcompare.
3725 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3727 * LayeredListenerFactory.cs : added missing generic class constraint.
3729 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3731 * ListenerFactoryBase.cs,
3732 ListenerBase.cs : class constraints were missing for generic args.
3734 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3736 * StreamUpgradeInitiator.cs : tiny API fix.
3738 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3740 * PeerMessagePropagationFilter.cs : tiny build fix.
3742 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3744 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3745 added Name. fixed StatusCode type.
3746 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3747 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3748 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3749 DirectionalAction.cs, HostedTransportConfiguration.cs,
3750 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3751 PeerMessagePropagationFilter.cs : added missing files.
3752 * Dummy.cs : removed. MSMQ stuff can be added later.
3754 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3756 * DeliveryStatus.cs, DeliveryFailure.cs,
3757 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3758 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3760 * Dummy.cs : removed above.
3762 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3764 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3766 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3768 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3769 MessageEncoder.cs, BufferManager.cs : new files.
3770 * Dummy.cs : removed above.
3772 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3774 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3775 * Dummy.cs : removed above.
3776 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3778 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3780 * HttpChannelFactory.cs : new file.
3782 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3784 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3785 moved to ../System.ServiceModel (correct location).
3786 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3787 new files for channels.
3788 * Dummy.cs : reflected above changes.
3789 * ChannelManagerBase.cs : added a bit of code and todos.
3791 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3793 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3794 added listener support files.
3795 * Dummy.cs : removed above.
3797 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3799 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3800 added request/reply channel interfaces.
3801 * Dummy.cs : removed above.
3802 * CommunicationObject.cs : FIXME comments.
3804 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3806 * CommunicationObject.cs : implemented some members.
3808 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3810 * CommunicationObject.cs : some signature fixes.