1 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
3 * HttpListenerManager.cs : fixed the issue that mex_info is never
4 retrieved from the latest channel listener (which could be other
5 listener than the one which was set mex info).
7 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
9 * HttpChannelListener.cs, HttpListenerManager.cs :
10 actually it should be ChannelDispatcher-to-HttpChannelListener,
11 to identify which dispatcher to send reqs.
13 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
15 * HttpReplyChannel.cs : remove old Http Keep-Alive workaround.
17 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
19 * HttpTransportBindingElement.cs,
20 HttpChannelListener.cs,
21 HttpListenerManager.cs : add host-to-http-listener mapping so that
22 they can be managed per host.
24 2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
26 * BindingContext.cs : require a TransportBindingElement when
27 building a channel listener.
29 2010-04-19 Atsushi Enomoto <atsushi@ximian.com>
31 * HttpReplyChannel.cs : use local var to hold wait handle to avoid
32 possible NRE on field. Based on the patch by Matt Dargavel.
34 2010-04-07 Miguel de Icaza <miguel@novell.com>
36 * BufferManager.cs: Implement the BufferManager.
38 2010-04-07 Atsushi Enomoto <atsushi@ximian.com>
40 * WSSecurityMessageHeader.cs : add FIXME comment.
42 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
44 * HttpRequestChannel.cs : add commented note.
46 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
48 * HttpReplyChannel.cs : fill To header only if it does not exist.
50 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
52 * SecureMessageGenerator.cs : set ReplyTo and To, do not add.
54 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
56 * MessageHeaders.cs : use matching addressing version.
57 Remove header item if the same ones already exist.
59 2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
61 * HttpRequestChannel.cs: don't create the wait handle unless it is
64 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
66 * HttpRequestChannel.cs : use correct max buffer size.
68 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
70 * MessageFault.cs : check null serializer and detail.
71 Make sure to consume s12:Reason EndElement.
73 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
75 * MessageFault.cs : when created from XmlReader, it should not
76 deserialize fault details immediately. This class itself should
77 not do that. Strongly typed FaultContractInfo may want to use the
78 reader (GetReaderAtDetailContents()) for its own deserialization.
80 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
82 * ConnectionOrientedTransportBindingElement.cs,
83 TcpTransportBindingElement.cs : implement GetProperty<T>().
85 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
87 * HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
88 implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
89 properties type from HTTP.
91 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
93 * FaultConverter.cs : use addressing version from the message.
95 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
97 * FaultConverter.cs : check envelope version, not addressing version.
99 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
101 * FaultConverter.cs : implemented TryCreateException().
103 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
105 * MessageFault.cs : cosmetic method name clarification.
107 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
109 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
110 fix BodyWriter buffering that dropped in-scope namespaces and thus
111 caused problem on resolving QNames.
113 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
115 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
116 with certain Exception types.
118 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
120 * Message.cs : fix explanation on CreateMessage() overloads.
122 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
124 * MessageFault.cs : Write Subcode element correctly and fix wrong
125 Code/Value/Subcode element relationship. Give better error message.
127 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
129 * HttpRequestChannel.cs : ok, no need for conditional code path.
131 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
133 * AddressingVersion.cs : add fault action namespace.
135 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
137 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
140 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
142 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
144 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
146 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
149 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
151 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
153 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
155 * HttpRequestContext.cs : removed HTTP status rewriting for
158 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
160 * HttpRequestChannel.cs : handle only 4xx errors as to not process
163 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
165 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
167 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
169 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
170 Patch by Matt Dargavel.
172 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
174 * HttpListenerManager.cs : use lock object which is subject to
175 change. Fix by Matt Dargavel.
177 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
179 * HttpListenerManager.cs : remove consumed HttpListenerContext from
180 the pending queue. Compare "wsdl" request in case insensitive
181 manner. Patch by Matt Dargavel.
183 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
185 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
186 supposed to provide detailed 400 error message.
188 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
190 * TransactionFlowBindingElement.cs: revamp the previous change to
191 not regress regarding service metadata.
193 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
195 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
196 GetProperty<T>() bug that fails to retrieve properties. (This may
197 be rewritten later if an ongoing change proposal is to take place.)
199 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
201 * ReliableSessionBindingElement.cs,
202 PrivacyNoticeBindingElement.cs,
203 RemoteEndpointMessageProperty.cs : added some missing types.
205 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
207 * MessageHeaders.cs :
208 why does it filter out most of the headers? kill it.
210 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
212 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
213 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
214 to not raise "not found" error (see bug #573795).
216 2010-03-16 Jb Evain <jbevain@novell.com>
218 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
219 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
221 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
223 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
224 type, and use null password unless we find a chance to get password
225 in ASP.NET HttpContext.
227 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
229 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
230 HttpListenerManager.cs : ongoing authentication support. It returns
231 401 as expected, but somehow fails to retrieve user info.
233 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
235 * HttpListenerManager.cs : this change (along with HttpListener
236 implementation) somehow fixes basic auth. connection error...
238 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
240 * MessageHeaders.cs : add !NET_2_1.
242 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
244 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
245 typed UniqueId output.
247 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
249 * MessageHeader.cs : no need to treat EndpointAddress as a special
252 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
254 * MessageHeaders.cs : remove duplicate constant.
256 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
258 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
259 EndpointAddress as a special case. Instead, each MessageHeaders
260 property should convert it to appropriate serializable objects.
262 (Our DataContractSerializer fails to reject EndpointAddress as
263 serializable type, so it's rather a preparation step.)
265 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
267 * MessageHeader.cs, Message.cs : use dictionary string whenever
268 applicable. The binary output on #577139 is getting closer (no
269 idea if it is really about binary output though).
271 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
273 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
275 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
277 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
279 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
281 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
282 enable authentication schemes on monotouch.
284 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
286 * SvcHttpHandler.cs : a wait handle could be used for more than one
287 requests and hence it sometimes blocked one reply channel. Now
288 it creates a wait handle for each ASP.NET request so that such
289 multiple use should not occur. This should fix blocking on
290 concurrent requests (it indeed fixes as long as I can see).
292 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
294 * AspNetReplyChannel.cs : remove garbage output.
296 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
298 * SvcHttpHandler.cs : Use lock when it tries to create the service
301 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
303 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
306 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
308 * HttpListenerManager.cs : add another workaround for blocking
311 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
313 * HttpListenerManager.cs : small refactoring.
315 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
317 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
318 that somehow makes callback client to not cause infinite loop.
320 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
322 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
323 DuplexChannelBase.cs : Receive() should rather use TryReceive().
324 It should not be in reverse order.
326 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
328 * HttpReplyChannel.cs, HttpListenerManager.cs :
329 Implement async cancellation in the expected manner (though with
330 some hack). This mostly removed nunit blockers.
332 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
334 * CommunicationObject.cs : fix wrong status changes.
336 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
338 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
340 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
342 * AddressHeader.cs : implement remaining bits.
343 Eliminate dependency on NetDataContractSerializer.
345 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
347 * CommunicationObject.cs : in Fault(), do similar work as previous
350 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
352 * CommunicationObject.cs : when process state changes, lock the
353 object to make sure the state transition is valid.
354 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
356 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
358 * MessageHeaders.cs : implement SetAction().
360 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
362 * ChannelFactoryBase.cs : fix build.
364 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
366 * ChannelBase.cs : cosmetic API fix for SL3.
368 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
370 * ChannelFactoryBase.cs :
371 implement On{Begin/End}Close() on the generic type.
373 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
375 * HttpChannelFactory.cs, TcpChannelFactory.cs,
376 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
377 PeerChannelFactory.cs, HttpRequestChannel.cs:
378 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
379 type and made required changes.
381 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
383 * HttpCookieContainerBindingElement.cs : new.
384 * IHttpCookieContainer.cs : fix type name.
385 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
387 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
389 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
390 does not happen when communicating with .NET client but happens with
391 mono). Seealso FIXME comment.
392 * TcpDuplexSessionChannel.cs : do not try to close session when it
393 failed to read sized message. The connection is already dead.
397 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
399 * TcpDuplexSessionChannel.cs :
400 Write EndRecord only when the connection is available.
401 Remove hack - do let ChannelDispatcher close the channel.
402 * TcpBinaryFrameManager.cs :
403 The socket may be disconnected when trying to read a sized message,
404 so check some socket exceptions.
405 In case the client silently shuts down without EndRecord and
406 reconnects to the server with preamble while expecting a sized
407 message (which is so lame, but that's what .NET often does), refresh
408 preamble and continue.
410 This fixes some cases of bug #567949 but not all.
412 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
414 * BinaryMessageEncoder.cs : enable workaround buffering only when
415 the argument stream does *not* support seek. This fixes some
416 net.tcp connection problem.
418 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
420 * TcpBinaryFrameManager.cs : If preamble byte is not available from
421 the client stream, detect it to close the reply or input channel.
422 * TcpRequestChannel.cs : send preamble at each request time.
423 It differentiates communication behavior on such cases that involve
424 single open and multiple requests.
425 * TcpReplyChannel.cs : close the channel only when the channel is
426 oeprated to close i.e. do not close the socket every time.
427 Process preambles on each request (the same as request channel).
429 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
431 * TcpBinaryFrameManager.cs : unsized envelope record may have more
432 than one data block, so consume them accordingly. This should fix
433 large buffer consumption.
435 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
437 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
440 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
442 * HttpRequestContext.cs : for DestinationUnreachable message, this
443 channel returns 400 in .NET.
445 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
447 * BinaryMessageEncoder.cs : added workaround for strange stream
448 consumption error raised by HttpTransport + Binary encoder example.
449 * BinaryMessageEncodingBindingElement.cs:
450 only SOAP 1.2 is allowed for this encoder.
452 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
454 * XmlReaderBodyWriter.cs : don't try to write empty xml.
456 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
458 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
459 default WebHeaderCollection items are overwritten.
461 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
463 * HttpRequestChannel.cs : when HTTP response was error, do not try
464 to read message but just raise an error.
466 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
468 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
470 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
472 * HttpRequestChannel.cs : WebException.Response might be null.
474 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
476 * ReplyChannelBase.cs : added listener property.
477 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
478 been updated to prefer async by default, a while ago.
480 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
482 * HttpTransportBindingElement.cs : finished all GetProperty() values.
484 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
486 * HttpRequestChannel.cs : disabled carelessly added
487 "UseDefaultCredentials = false" line. It blocked basic auth.
489 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
491 * HttpRequestChannel.cs, HttpChannelFactory.cs,
492 HttpChannelListener.cs, HttpListenerManager.cs :
493 implemented http client authentication and some of corresponding
494 service code. Only client works so far.
496 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
498 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
499 added URI scheme check.
501 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
503 * TransportSecurityBindingElement.cs : fix 2.1 build.
505 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
507 * HttpsTransportBindingElement.cs :
508 RequireClientCertificate is false by default.
509 Remove extra #if NET_2_1.
510 * SecurityBindingElement.cs :
511 Implement some transport security factory methods.
512 * TransportSecurityBindingElement.cs :
513 It is not ISecurityCapabilities anymore.
515 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
518 SecurityBindingElement.cs
519 LocalClientSecuritySettings.cs
520 TransportSecurityBindingElement.cs
521 FaultConverter.cs : They are now part of SL3 API.
523 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
525 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
527 2009-11-05 Geoff Norton <gnorton@novell.com>
529 * HttpsTransportBindingElement.cs: Implement basic https transport
530 binding support for Moonlight and MonoTouch
532 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
534 * HttpListenerManager.cs : remove CWLs.
536 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
538 * SvcHttpHandler.cs : move back previous listener selector code in
539 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
540 and differentiate requests to deeper paths (such as /jsdebug), so
541 we need such refinement here.
543 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
545 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
548 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
550 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
551 HttpChannelListener.cs, HttpListenerManager.cs :
552 Similar refactoring on ASP.NET side to the previous one.
553 Added ASP.NET implementation of HttpListenerManager and use some
554 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
556 Rewrote AspNetReplyChannel to become almost the same as
557 HttpSimpleReplyChannel, to hopefully unify them later.
558 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
559 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
562 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
564 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
565 Refactoring on listener manager to correctly handle wsdl and help
566 requests for such case that they conflict in addressing. Now it
567 can correctly distinguish service calls, WSDL requests and help
568 requests when all of them point to "http://localhost/foo.svc"
569 (which is very common case that the user does not change Http*Url).
571 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
573 * ChannelListenerBase.cs : add Properties property to add arbitrary
574 properties handy (only inside this assembly).
576 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
578 * HttpReplyChannel.cs : fix warning.
580 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
582 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
584 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
586 * HttpReplyChannel.cs : make sure to release wait lock.
587 * HttpChannelListener.cs : session channels are not supported, so
588 remove relevant NIEs.
590 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
592 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
593 support contexts so we call the non-overloaded WaitOne method
594 (which defaults to false).
596 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
598 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
599 significant rewrite to cooperate wcf handler and asp.net handler
600 to not mix multiple WCF listener within the asp.net handler.
601 So far it mostly works when 1) there are no ChannelDispatchers
602 that have an identical listen Uri and 2) MaxConcurrentSessions is
603 1 (must be explicitly set).
605 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
607 * CommunicationObject.cs : give better state error description.
609 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
611 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
612 to base methods. This resulted in not a few changes everywhere.
614 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
616 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
618 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
620 * SvcHttpHandler.cs : use file path given by the factory to
621 construct BaseAddresses. Requests to "test.svc/jsdebug" should
622 not be handled as request to "jsdebug" file, it's rather an
623 "argument" to "test.svc".
625 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
627 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
628 rewrite to handle shutdown situation better. The listeners should
629 not close channels that it opened. Instead, just stop accepting
630 further requests. Removed blocking mutex on WaitForRequest().
631 Now xsp shuts down as expected.
633 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
635 * HttpReplyChannel.cs : lock list when releasing its content contexts.
636 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
639 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
641 * SvcHttpHandlerFactory.cs : remove todo.
642 * ReplyChannelBase.cs : add comment.
644 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
646 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
647 revert the change, to use internal asp.net state again.
648 * SvcHttpHandler.cs : add VirtualPathExtension.
650 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
652 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
653 asp.net response was not written correctly.
654 Fill HttpRequestMessageProperty to get handle WSDL requests
655 processed in ServiceMetadataExtension without NRE.
656 Remove wrong HttpListenerContext iteration at Abort and Close in
657 common base class and move it to non-asp derived channel.
659 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
661 * SvcHttpHandler.cs : remove unused code.
663 2009-09-30 Jb Evain <jbevain@novell.com>
665 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
666 to use any of the remoting features.
668 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
670 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
671 use AspNetCompatibilityEnabled.
672 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
674 * AspNetReplyChannel.cs : remove extra field.
676 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
678 * HttpReplyChannel.cs : remove extra field.
680 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
682 * AspNetRequestContext.cs : remove CWL.
684 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
686 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
687 only after AspNetRequestContext is closed. Do not close it
688 immediately after receiving the context. (HttpRuntime destructs it
689 and further uses then becomes impossible.)
691 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
693 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
694 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
695 Make sure that AspNetChannelListener is bound to correct
696 SvcHttpHandler, regardless of specific request URI. It is required
697 for both WSDL requests and RESTful binding requests.
699 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
701 * MessageProperties.cs : fix CopyProperties() behavior to not
702 clear existing items. Make all properties call this[name].
704 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
706 * HttpTransportBindingElement.cs : fix 2.1 build.
708 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
710 * TransportBindingElement.cs : another GetProperty fix, iterate
711 other binding elements.
713 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
715 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
716 some GetProperty() implementation.
718 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
720 * HttpListenerManager.cs : release HttpListener and avoid extra
721 close process more than once.
723 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
725 * HttpChannelListener.cs : do not iterate channel list to close
726 channels which in turn removes them from the list while iteration.
728 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
730 * HttpRequestChannel.cs : Fix message version member comparison.
731 Double-quote SOAPAction. Remove extra Exception.
732 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
733 * HttpRequestContext.cs : when addressing is None, remove action
736 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
738 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
739 path, to pick those endpoints that are added at custom factories.
741 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
743 * SvcHttpHandler.cs : apply configuration, and if there is still no
744 endpoint, then add default one.
746 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
748 * SvcHttpHandler.cs : another URL to make relative.
750 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
752 * SvcHttpHandlerFactory.cs : some GetHandler changes.
753 * SvcHttpHandler.cs : significant changes on receiver structure. Now
754 ProcessRequest() stores pending requests (this might be extraneous,
755 but maybe useful when it implements async handler). Also removed
756 reply_channel field as it may become to handle multiple requests.
757 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
758 * AspNetReplyChannel.cs : make it receive requests like
759 HttpReplyChannel (for HttpListener) to make them consistent.
761 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
763 * AspNetRequestContext.cs, HttpRequestContext.cs :
764 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
765 by splitting HttpListener-based context out from common code base.
767 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
769 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
770 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
773 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
775 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
776 loads types from system assemblies appropriately.
778 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
780 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
783 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
785 * HttpRequestMessageProperty.cs : fix default values.
787 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
789 * HttpChannelFactory.cs, HttpRequestChannel.cs,
790 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
791 Check ManualAddressing value and reject address-missing ones.
793 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
795 * HttpChannelFactory.cs : reject URI mismatch cases when required.
797 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
799 * PeerDuplexChannel.cs : When received Connect() from neighbor,
800 add the peer to its internal list.
801 Finally ChatApplication got working.
803 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
805 * PeerDuplexChannel.cs : since the channel factory is per instance,
806 do not reuse factory that is tied to different callback instance.
807 It resolved the issue that mono callback client didn't receive
808 messages from the client itself.
810 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
812 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
813 of the receiver, not the requestor. It resolved the issue that
814 .NET client didn't send further messages to mono server.
816 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
818 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
819 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
820 TcpReplyChannel.cs, TcpRequestChannel.cs,
821 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
822 rename EndRecord handling method to appropriate one.
823 Write EndRecord from recipient too.
825 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
827 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
828 Process PeerTo header to upgrade Message To header. Now mono
829 service accepts mono client (somehow not true for .NET client).
831 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
833 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
834 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
836 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
838 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
840 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
842 * TcpDuplexSessionChannel.cs : check channel state before processing
845 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
847 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
848 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
849 ongoing works, not working at all yet.
851 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
853 * TcpChannelListener.cs, TcpReplyChannel.cs :
854 cosmetic cleanup and corrections.
856 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
858 * TcpChannelFactory.cs : use expected Via uri.
859 Remove extra NIE stuff that are implemented in base.
861 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
863 * TcpDuplexSessionChannel.cs : remove extra code.
865 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
867 * PeerDuplexChannel.cs : ongoing implementation towards get callback
868 replies on peer connector clients (not working as duplex client
869 callback is not working yet).
871 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
873 * TcpDuplexSessionChannel.cs : in callback client channels,
874 OperationContext.IncomingMessageHeaders is null.
876 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
878 * MessageHeaders.cs : duplicate check was sloppy.
880 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
882 * Message.cs, MessageImpl.cs, BodyWriter.cs :
883 Implement BodyWriter.OnCreateBufferedCopy() and use it.
885 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
887 * ReplyChannelBase.cs : initialize field.
889 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
891 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
892 implement GetProperty<T>() and return its channel manager.
894 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
896 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
897 destination address in Connect() request. To repeat sending
898 request, use buffered copy. Set some peer-channel specific
899 header items. (todo: and consume them.)
901 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
903 * Message.cs : state is set only after WriteBodyContents().
905 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
907 * MessageHeaders.cs : eliminate wrong use of
908 ReadElementContentAsString() (it is not always simple string).
910 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
912 * MessageHeaders.cs : when the value is null, do not try to
913 deserialize EndpointAddress.
915 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
917 * MessageHeader.cs : add Value property. (Forgot dependent change.)
919 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
921 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
922 serialization and deserialization of values.
924 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
926 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
927 Now simply use connector contract.
929 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
931 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
933 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
935 * TcpChannelListener.cs : do not try to compare dead connection's
936 IPEndPoint (it raises an error).
938 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
940 * MessageHeaders.cs : allow null header value on each specific setter.
942 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
944 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
945 get local and remote address of connected counterpart to get
946 callback channel connected.
947 * PeerDuplexChannel.cs : remove FIXME wrt above.
949 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
951 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
953 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
955 * MessageHeader.cs : fill IsReferenceParameter.
957 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
959 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
960 implement remaining async methods and LocalAddress.
962 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
964 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
965 ServiceHost to process neighbor connection (not sure if this is
966 right way to go though ...).
968 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
970 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
971 connection part to use new internal IPeerConnectorContract for
974 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
976 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
977 PeerChannelListener.cs, HttpChannelListener.cs :
978 support ListenUri accordingly too so that it could be used when
979 it is different from LocalAddress.Uri.
981 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
983 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
984 TcpRequestChannel.cs : use Via uri to validate and connect.
986 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
988 * RequestChannelBase.cs, DuplexChannelBase.cs :
989 Return endpoint address Uri when no explicit Via uri is specified.
990 * ChannelFactoryBase.cs : Remove extra async close methods.
991 Add async open methods. Reject null EndpointAddress.
992 * PeerChannelFactory.cs : remove async open methods (now in base).
994 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
996 * PeerDuplexChannel.cs : set correct message endpoint (To header).
998 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1000 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1001 DuplexChannelBase.cs : set LocalAddress property at base.
1003 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1005 * PeerDuplexChannel.cs : ongoing refactoring to work both as
1006 listener and client. Now it creates a listening peer node, and
1007 creates a set of TCP client channels for each peer in the mesh.
1009 (EndpointAddress must be fixed to not filter out correct inputs).
1011 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1013 * PeerChannelListener.cs : do not accept more than one channel
1014 which results in lots of listening peer node. Only one is enough.
1016 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1018 * DuplexChannelBase.cs : fix wrong loop implementation.
1020 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1022 * TcpChannelListener.cs : to avoid creating two or more channels
1023 for one remote endpoint, check existing remote endpoints and
1024 ignore such connections (it must be handled in different thread
1025 fired by ChannelDispatcher loop).
1027 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1029 * TcpReplyChannel.cs : make sure to not try to receive request when
1030 it is already closed.
1032 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1034 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1035 some mannerless clients [*1] do not send EndRecord accordingly, but
1036 such channels at listener side should not be kept open. So, close
1037 disconnected channels when the listener needs to accept another
1039 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
1041 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1043 * TcpDuplexSessionChannel.cs :
1044 Remove extra NIE overrides.
1045 Implement OnAbort() apart from OnClose().
1046 For duplex session channel, unlike reply channel, it must acquire
1047 TCP connection before OnOpen(), otherwise ChannelDispatcher
1048 releases the connection acceptance WaitHandle and the detected
1049 live connection may be stolen by another channel acceptor.
1051 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1053 * HttpRequestChannel.cs : implement OnAbort().
1055 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1057 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
1058 * DuplexChannelBase.cs : comment out some extra fields (so far).
1059 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
1061 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1063 * PeerCustomResolverBindingElement.cs : add some null checks.
1065 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1067 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
1068 Acquire TcpClient for each request/reply. Now it is fully
1069 interoperable with .NET.
1071 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1073 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
1074 ReplyTo and MessageId (though it is session-less), and it expects
1075 EndRecord at weird stage, inconsistent with [MC-NMF]...
1076 Now .NET service accepts one mono client request.
1078 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1080 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
1081 Send and receive unsized message terminator at once.
1082 Send EndRecord mutually. Got one .net client request working.
1084 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1086 * BinaryMessageEncoder.cs : revert the previous dictionary change.
1087 They are indeed used for non-in-band-dictionary messages.
1089 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1091 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1092 split out binary frame manager class into separate file.
1094 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1096 * TcpReplyChannel.cs : new reply channel implementation.
1097 * TcpChannelListener.cs : use above for streamed reply channel.
1098 * TcpDuplexSessionChannel.cs : more streaming mode support.
1099 * TcpRequestChannel.cs : a couple of updates to get it working
1100 with the reply channel above. Still some issues on .NET interop.
1102 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1104 * RequestContext.cs : added internal derived class that implements
1107 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1109 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1112 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1114 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1115 (The messaging must be done as TCP request/reply pattern, so it's
1118 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1120 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1121 messaging pattern). The messaging part is not working yet.
1122 * TcpChannelFactory.cs : support IRequestChannel.
1123 * TcpDuplexSessionChannel.cs : add unsized message support.
1125 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1127 * HttpRequestChannel.cs, RequestChannelBase.cs :
1128 A couple of async members are now implemented in the base class.
1129 Ditto for EndpointAddress and Via.
1131 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1133 * PeerDuplexChannel.cs : now it implements some of node management
1134 functionality and Send operation. The receiver part is not yet.
1136 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1138 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1139 timeout to channel constructor. it does not make sense.
1141 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1143 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1144 as common interface member, and use binary encoder (not text).
1146 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1148 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1150 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1152 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1153 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1154 going to be unified to PeerDuplexChannel. And it is likely that
1155 input and output functionalities are to be unified too.
1157 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1159 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1160 may have to reuse it for peer transport.
1161 * PeerChannelListener.cs : add binding member.
1162 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1164 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1166 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1167 PeerChannelFactory.cs : close opened channels at OnClose() as
1168 documented. Implement async methods.
1169 * PeerChannelListener.cs : removed some NIE overrides.
1171 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1173 * DuplexChannelBase.cs : some more async methods.
1175 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1177 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1179 * TcpChannelListener.cs : accept multiple channels at a time.
1181 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1183 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1184 session strings but output only those new ones in current message.
1185 This fixes inconsistent body output in repetitive use of sender.
1187 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1189 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1190 operation that does not involve session.
1191 Preserve writer session as well as reader session.
1192 * MessageHeaders.cs : take name and namespace into consideration
1193 when creating a serializer.
1195 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1197 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1198 Made required changes for repeated use of message exchanges.
1199 Hold binary reader session. The channels use it incrementally.
1200 Preambles are handled at Open, and EndRecords are handled at
1201 Close, Add session shutdown hook here (not working yet though).
1203 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1205 * ChannelListenerBase_1.cs : added cancellation hook here too.
1206 HttpChannelListener.cs : use above.
1207 Do not allow parallel channel creation (this listener does not
1208 allow more than one AcceptChannel().
1210 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1212 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1213 Add cancellation hook for async TryReceiveRequest.
1215 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1217 * HttpChannelListener.cs, HttpListenerManager.cs :
1218 slightly improved BuildChannelListener().
1219 Implement OnAbort() and differentiate it from OnClose().
1221 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1223 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1225 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1227 * DuplexChannelBase.cs : simple async delegate calls here too.
1229 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1231 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1233 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1235 * HttpReplyChannel.cs : cosometic simplification.
1237 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1239 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1240 infinite block in 2.0 profile.
1242 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1244 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1245 more careful close to avoid NRE.
1247 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1249 * HttpChannelListener.cs : do not Close() more than once (though
1250 it is allowed to call it twice, we don't reject it; just ignore).
1252 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1254 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1256 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1258 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1259 Temporarily disable HTTP Keep-Alive since it somehow results in
1260 wrong reuse of connection (shown as NRE in HttpConnection).
1261 Make sure to close RequestContext which was created from it.
1262 * HttpRequestContext.cs : simplify.
1264 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1266 * HttpChannelListener.cs, TcpChannelListener.cs,
1267 ChannelListenerBase_1.cs : put common internal listener base
1268 and let it handle those async stuff.
1270 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1272 * ReplyChannelBase.cs : fix wrong null delegate check point.
1274 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1276 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1277 now implemented as virtual in base class. Remove NIEs in http.
1279 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1281 * HttpChannelListener.cs : hack async implementation.
1283 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1285 * HttpListenerManager.cs : oops, extra line removal.
1287 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1289 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1291 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1293 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1294 "ChannelManager" is confusing (there is ChannelManagerBase).
1296 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1298 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1299 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1300 they should be split into separate listener->reply channel lines
1301 (remove "if (HostingEnvironment.IsAspNet)".)
1303 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1305 * CommunicationObject.cs : OnClosed() requires call to base method.
1306 Close() could rather abort the channel, and Abort() does not
1307 always invke OnAbort().
1308 * ChannelBase.cs : add call to base as above.
1310 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1312 * ClientAccessPolicy.cs: Removed
1313 * CrossDomainAccessManager.cs: Removed
1314 * CrossDomainPolicy.cs: Removed
1315 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1316 since this is now done inside the BeginGetResponse call (outside
1317 this assembly) for Moonlight (NET_2_1)
1319 2009-06-04 Alan McGovern <amcgovern@novell.com>
1321 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1322 instead of the sync apis. Prevents a possible deadlock condition in
1325 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1327 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1328 callbacks, so add hacky ones.
1330 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1332 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1333 true when socket input is not available.
1335 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1337 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1338 I cannot precisely identify when EndRecord should be consumed,
1339 so allow it at either at the end of ReadSizedMessage() or on
1340 consuming preamble (it's likely handling EndRecord of previous
1343 Now duplex IPeerResolverContract communication works between
1344 either of .NET/Mono client and .NET/Mono server.
1346 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1348 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1349 code. Handle preamble ack on ReadSizedMessage() only at server.
1350 Consume EndRecord from server, at client side. Though it is likely
1351 changed as it's blocking when mono is at server side.
1353 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1355 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1356 different protocol than existing code with related to preamble ack.
1357 So changed it to work fine with .NET client (finally).
1359 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1361 * MessageBufferImpl.cs : do not output Action twice.
1363 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1365 * MessageBufferImpl.cs : it did not copy headers.
1366 * Message.cs : remove 2_1 conditional implementation for buffered
1367 copy and hence remove bogus code.
1369 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1371 * MessageProperties.cs : copy argument is wrong.
1373 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1375 * PeerCustomResolverBindingElement.cs : some argument check.
1377 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1379 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1380 xml open, so close the writer as well as open elements.
1381 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1382 Do not output EndRecord and SizedMessage at a time.
1384 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1386 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1387 length of the SizedMessage in the output.
1389 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1391 * CommunicationObject.cs : use sane default timeout.
1392 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1393 * TcpDuplexSessionChannel.cs : ditto.
1395 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1397 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1398 only accepts buffered messages, so do as such for write buffers.
1399 Add RelatesTo header.
1401 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1403 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1404 rename from former to latter.
1406 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1408 * TcpDuplexSessionChannel.cs : reader does not always return full
1409 buffer (depending on the stream).
1411 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1413 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1415 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1417 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1420 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1422 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1424 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1426 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1428 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1430 * ChannelManagerBase.cs : fix wrong session channel detection.
1432 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1434 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1435 This encoder factory implements CreateSessionEncoder() and binary
1436 encoder does support session transmit, in different media type.
1437 * ChannelManagerBase.cs : added utility method to create appropriate
1439 * HttpChannelFactory.cs, HttpChannelListener.cs,
1440 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1441 PeerChannelFactory.cs, PeerChannelListener.cs,
1442 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1444 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1446 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1448 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1450 * DuplexSessionBase.cs : new file, for session implementation.
1451 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1452 DuplexSessionChannelBase.cs : changed sync/async implementation
1453 pattern. Now async methods call sync methods using delegates.
1455 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1457 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1458 a few minor API fixes.
1460 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1462 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1464 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1466 * TcpDuplexSessionChannel.cs : add To header.
1468 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1470 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1473 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1475 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1477 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1479 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1480 CommunicationException in each CreateFault().
1482 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1484 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1485 Open(). Some (but not all yet) continuous communication works now.
1486 Use ProtocolException. Remove dummy binary session string.
1488 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1490 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1491 sending/receiving SizedMessageRecord parts to manager class.
1492 Handle writer session, though it is likely broken at dictionary
1493 writer part (no string is written so far).
1494 * BinaryMessageEncoder.cs : add writer session and rename reader
1497 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1499 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1500 is mandatory in initiator preamble packet. Handle Fault reply in
1503 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1505 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1506 based communication under TcpBinaryFrameManager class.
1508 2009-05-13 Jb Evain <jbevain@novell.com>
1510 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1511 from a StringReader.
1513 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1515 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1516 actually eliminate DOM-based implementation too in 2.0.
1518 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1520 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1521 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1522 comments for magic numbers based on [MC-NMF].
1524 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1526 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1527 support for [MC-NBFSE] record in [MC-NMF], in this class.
1529 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1531 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1533 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1535 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1537 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1539 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1541 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1543 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1545 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1547 * BinaryMessageEncoder.cs : use quotas in binding element.
1548 Implement WriteMessage().
1550 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1552 * PeerCustomResolverBindingElement.cs : do initialize field.
1554 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1556 * PeerCustomResolverBindingElement.cs :
1557 implement full custom resolver.
1559 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1561 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1562 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1563 PeerChannelFactory.cs : ongoing p2p channel implementation.
1565 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1567 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1569 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1571 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1572 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1573 implement GetProperty<T>(). Return documented objects or null.
1575 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1577 * PeerChannelFactory.cs, PeerChannelListener.cs,
1578 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1579 PeerInputChannel.cs, PeerOutputChannel.cs :
1580 new; ongoing peer transport implementation.
1581 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1582 MsmqOutputChannel.cs, OutputChannelBase.cs,
1583 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1584 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1585 several internal changes (either required or for simplification)
1586 for ongoing peer transport implementation.
1588 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1590 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1592 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1594 * TcpTransportBindingElement.cs : check build-ability before
1595 actually building channels.
1596 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1597 conditions according to MSDN.
1599 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1601 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1602 handle headers in SL2. Slightly changed 3.0 code too.
1604 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1606 * HttpRequestChannel.cs : use cross domain access manager.
1608 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1610 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1611 message as BodyWriter.
1612 (in GetReaderAtBodyContents) just write body contents.
1613 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1615 Add some state check in GetReaderAtBodyContents().
1616 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1618 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1620 * Message.cs : do not forget to flush.
1621 * HttpRequestChannel.cs : give more exact error info.
1623 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1625 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1626 make buffered copy in ML2 really buffered.
1628 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1630 * Message.cs : if there is no header item to write, do not write
1631 SOAP header element.
1633 2009-01-22 Alan McGovern <amcgovern@novell.com>
1635 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1636 Rewrite to avoid usage of it.
1638 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1640 * ChannelParameterCollection.cs : implement, rather than NIE.
1642 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1644 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1645 internal users to know the type of the detail.
1647 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1649 * Message.c: Use private setter for state private variable to ease debugging.
1650 Modify ToString not to change the state, as it is called quite often by VS debugger
1652 2008-04-21 Roei Erez <roeie@mainsoft.com>
1654 * HttpChannleManager: Fix for multithreaded use.
1655 * HttpReplyChannel: Fix crash during sutdown.
1657 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1659 * HttpChannleManager: ensure trailing slash in uri.
1661 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1663 * added: HttpChannleManager,
1664 * HttpChannelListener: added use of HttpChannelManager
1666 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1668 * MessageEncodingBindingElement.cs: fixed ctor
1670 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1672 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1674 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1676 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1678 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1680 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1682 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1684 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1686 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1688 * BindingElementCollection.cs: fix API - .ctor's signature.
1690 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1692 * XmlSerializerBodyWriter.cs: Removed.
1694 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1696 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1698 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1700 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1701 * TcpChannelFactory.cs, TcpChannelListener.cs :
1702 unify factory and listener into TcpChannelInfo for use in
1703 TCP channel implementation. Do not store stream in the listener.
1704 Factory now uses BinaryMessageEncoder.
1705 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1706 holds TcpClient that the listener has accepted.
1708 tcp-transport-binding-element sample now communicates (though
1709 only when both sides are mono: there seems binary mismatch).
1711 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1713 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1714 clone connection pool settings too.
1715 * NamedPipetransportBindingElement.cs,
1716 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1717 being likely implemented though).
1719 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1721 * ConnectionOrientedTransportBindingElement.cs,
1722 TcpTransportBindingElement.cs : some API updates.
1723 Initialize default values.
1724 * TcpConnectionPoolSettings.cs : new file.
1726 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1728 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1729 added support for "factory" attribute.
1731 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1733 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1735 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1737 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1739 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1741 * HttpRequestChannel.cs : create WebRequest against To message header
1743 Consider HttpRequestMessageProperty.
1744 Do not output body when suppressed or the method is GET.
1746 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1748 * HttpChannelListener.cs : BindingContext may not have listenUri
1749 at its .ctor() step.
1751 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1753 * BindingContext.cs : RemainingBindingElements is not just a dummy
1754 collection but is actually user-controlled.
1756 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1758 * TcpChannelFactory.cs, TcpChannelListener.cs,
1759 HttpChannelFactory.cs, HttpChannelListener.cs,
1760 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1761 TextMessageEncodingBindingElement.cs,
1762 BinaryMessageEncodingBindingElement.cs,
1763 MtomMessageEncodingBindingElement.cs :
1764 message encoder should be retrieved only through public API.
1765 * BindingContext.cs : so my old guess was wrong.
1767 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1769 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1771 * HttpTransportBindingElement.cs : implemented copy constructor.
1773 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1775 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1776 header when AddressingVersion is None.
1778 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1780 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1783 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1785 * OneWayBindingElementImporter.cs
1786 CompositeDuplexBindingElementImporter.cs : new files.
1788 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1790 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1791 semantic change, its bool parameter must be false, not true.
1793 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1795 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1796 new files. Msmq transport listener Implementation.
1797 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1798 (wait for System.Messaging impl.)
1799 * HttpReplyChannel.cs : added comment
1801 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1803 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1804 new files. internal stuff for msmq channel.
1805 * BinaryMessageEncoder.cs : added another .ctor().
1806 * MsmqTransportBindingElement.cs :
1807 implemented [Can]BuildChannelFactory().
1809 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1811 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1812 initialize some fields.
1814 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1816 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1817 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1818 couple of msmq stubs.
1820 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1822 * SecureMessageGenerator.cs : SecurityContextToken support (though
1823 it is still regarded as invalid by WCF).
1825 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1827 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1828 make header.Contents.Add() more strict.
1829 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1831 Added some hack to allow ssl token external mode.
1832 Commented out such lines that always premised asymmtric key.
1834 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1836 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1838 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1840 * MessageSecurityBindingSupport.cs : support check to create
1841 authenticator is now done in both initiator/recipient sides.
1842 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1844 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1846 * MessageSecurityBindingSupport.cs : for now, comment out the code
1847 that makes authenticator creation optional.
1848 * SecurityRequestContext.cs : don't decrypt message when it is
1849 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1851 * SecurityChannelListener.cs : GetProperty<T>() now returns
1852 MessageSecurityBindingSupport when requested. It is used by
1853 EndpointDispatcher to check if it supports WS-Trust negotiation.
1854 * ChannelListenerBase.cs :
1855 removed extra TODO and field. Implemented GetProperty<T>().
1856 * Message.cs : In CreateMessage() for SOAP Fault, create
1857 SimpleMessage with IsFault = true.
1859 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1861 * SecurityRequestContext.cs : try to reply fault with the inner
1862 channel when an error occurred internally.
1863 * FaultConverter.cs : implemented based on OperationContext (at normal
1864 state it does not seem to create messages, so I implemented it this
1867 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1869 * TransportBindingElement.cs : implemented GetProperty<T>().
1870 * TransactionFlowBindingElement.cs : on building factory or listener,
1871 reject channel types that cannot build.
1872 * SecurityBindingElement.cs : added some TODO comments.
1873 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1874 delegate to base, not BindingContext.
1875 * SecurityRequestContext.cs : somewhat late decryption.
1877 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1879 * MessageSecurityBindingSupport.cs,
1880 AsymmetricSecurityBindingElement.cs,
1881 SymmetricSecurityBindingElement.cs :
1882 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1883 implemented ISecurityCapabilities on them. Now those binding
1884 elements support GetProperty<ISecurityCapabilities>().
1886 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1888 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1889 will work only for predefined parameter types.
1891 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1893 * MessageSecurityBindingSupport.cs :
1894 Set proper MessageDirection to the requirement after creation.
1895 split CreateTokenAuthenticator() as MessageDirection is different.
1896 Removed extra creation of requirement.
1898 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1900 * MessageSecurityBindingSupport.cs : token authenticator is not
1901 always created on channel-opening stage.
1902 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1903 Sslnego binding factory method.
1905 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1907 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1908 signature velification failure.
1910 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1912 * SecureMessageGenerator.cs : encrypt signature confirmations only
1913 when they are required.
1915 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1917 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1918 when [Signature Protection is true i.e. when we use
1919 SignBeforeEncryptAndEncryptSignature.
1921 With this change finally samplesvc.cs/samplecli.cs became
1924 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1926 * SecureMessageDecryptor.cs : signature verification was not done
1927 for endorsing supporting tokens.
1928 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1929 in the security header. Don't output empty ReferenceList.
1931 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1933 * SecureMessageGenerator.cs : signingToken was added before being
1934 initialized and thus caused NRE.
1936 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1938 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1939 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1940 don't need workaround for symmetric key restoration.
1942 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1944 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1945 SecureMessageGenerator.cs :
1946 Avoid extra reference search from the request's ReferenceList.
1947 create HMACSHA1 always with the key to compute hash (I'm not sure
1948 it is correct; it is rather to adjust all hash consistent.)
1950 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1952 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1953 actually endorsed the primary signature.
1954 * SecureMessageGenerator.cs : implemented endorsing of the primary
1955 signature. So, now supporting tokens are fully implemented.
1957 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1959 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1960 totally signing tokens.
1961 * SecureMessageGenerator.cs : Endorsing tokens should also be
1962 included in the message. They are just not signed.
1964 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1966 * SecureMessageGenerator.cs : support signing and encryption of
1967 supporting tokens. Some required refactory to do it.
1968 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1970 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1972 * SecureMessageDecryptor.cs : fix exception message.
1973 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1974 XmlNamespaceManager is not required for GetIdElement().
1976 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1978 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1979 moved decryption part from former file to latter file, to reuse
1980 SignedXml instance (though now I doubt how it actually was good)
1981 which in turn required to replace EncryptedData in
1982 WSSecurityMessageHeader with decrypted one.
1983 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1985 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1987 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1988 EncryptedData should contain KeyInfo as it is not obvious which key
1989 is used there. .net<->mono DerivedKeyToken introp is done.
1990 * SecureMessageDecryptor.cs : check derived key requirement.
1991 Reduce dom-dependent parts.
1993 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1995 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1996 the related DerivedKeyToken (if any).
1997 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1998 support. Some refactoring to distinguish deried-token-related
2000 * SecureMessageDecryptor.cs : removed its own support for derived
2001 key tokens. Now it fully works with DerivedKeySecurityToken.
2003 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2005 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2006 SecureMessageDecryptor.cs :
2007 Implemented increment token reading in o:Security, as
2008 DerivedKeyToken could reference to existing wrapped key.
2009 Removed WsscDerivedKeyToken and all relevant code.
2010 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
2011 DerivedKeySecurityToken.
2013 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
2015 * SecureMessageGenerator.cs : it was setting security tokens into
2016 incorrect SecurityMessageProperty.
2017 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
2018 Now it uses SecurityRequestContext instead of just primary key.
2019 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
2020 to symmetric reply decryption, which is the only trouble case.
2021 Do not create another SignedXml.
2022 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
2024 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
2026 * SecureMessageDecryptor.cs : Now it uses union token resolver and
2027 the resolver works with in-progress token reading in o:Security.
2028 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
2029 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
2030 * SecureMessageGenerator.cs : cosmetic refactoring.
2032 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
2034 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
2035 instead of EncryptedKey.
2037 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
2039 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
2040 should not be always prepared at channel Open(). It also caused
2041 that extra token requirements.
2042 * SecureMessageGenerator.cs : use correct key clause for encryption.
2043 * SecureMessageDecryptor.cs : reduce extra key acquisition.
2045 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2047 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
2048 for supporting 'supporting tokens' .
2049 * SecureMessageGenerator.cs : Supporting token creation is done only
2050 at initiator (not sure if it is supposed that, but for now it is).
2051 Removed extraneous CollectSupportingTokens().
2052 * SecureMessageDecryptor.cs : implemented supporting token
2053 authentication (partly). "Signed" supporting tokens are expected
2056 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2058 * SecureMessageGenerator.cs :
2059 make SignBeforeEncryptAndEncryptSignature working.
2061 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2063 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
2064 the key itself. ProtectionToken is WrappedKey.
2065 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
2066 not EncryptedKeyIdentifierClause which is not for embedded key.
2067 * MessageProperties.cs : Fixed copy direction in CopyProperties().
2069 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
2071 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
2072 to switch asymmetric and symmetric. Not used yet.
2073 * SecurityRequestChannel.cs : now it pass the request security
2074 property to reply receiver so that it could use the primary key
2075 used at request phase.
2076 * SecurityRequestContext.cs : now it pass the context itself to
2077 reply sender so that it could embed related MessageID.
2078 * SecureMessageGenerator.cs : ongoing changes to support symmetric
2079 binding element. Add RelatesTo output and remove MessageID when
2080 replying to the sender. Added some hacks to get symmetric binding
2082 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
2083 in SecurityTokenReference (it also involved existing encrypted key
2084 retrieval). In reply receiver, reuse the key that was used at
2085 request phase. It needs significant token resolution refactoring.
2087 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2089 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2090 * SecureMessageDecryptor.cs : store token and its authentication
2091 policies into the security property, and reuse it on reply.
2092 Some code refactoring; there is at most one o:Security to solve at
2093 one endpoint (depends on Actor). Some attempt to use correct
2094 token parameters (but for now I have only samples that use x509).
2095 * SecureMessageGenerator.cs : For replying message, use initiator's
2096 signing token as the encryption token. Simply reuse security
2097 property from the input message.
2099 I have some nasty workaround at decryptor for initiator that could
2100 not retrieve decryption key.
2102 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2104 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2105 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2106 several refactoring on token acquisition. Large part of
2107 MessageSecurityBindingSupport code is unified.
2109 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2111 * MessageProperties.cs : Security property should be one of the items.
2112 Actually many other properties should be similar as well.
2113 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2114 when copying a message, copy properties as well.
2115 * SecurityRequestContext.cs : on replying, pass input
2116 SecurityMessageProperty to the security generator.
2117 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2119 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2121 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2124 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2125 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2126 use new WSSignedXml instead of SignedXml, and remove coexisting
2127 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2128 - our reply messages could be consumed by .NET, and
2129 - .NET signature could be verified.
2131 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2133 * SecureMessageDecryptor.cs : The signing key must be passed as
2134 CheckSignature() argument, not SigningKey.
2136 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2138 * MessageImpl.cs : don't read attribute after ReadStartElement().
2140 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2142 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2143 * SecureMessageGenerator.cs : use correct signing key clause for
2144 SecurityTokenReferenceKeyInfo to be serialized.
2145 * SecureMessageDecryptor.cs : now it can try to parse signature.
2147 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2149 Ongoing changes to support signature confirmation
2150 * SecureMessageGenerator.cs :
2151 Don't output ReplyTo onto reply message.
2152 Write SignatureConfirmation if needed.
2153 * SecureMessageDecryptor.cs :
2154 Some refactoring for header cunsumption. Added commented-out
2155 signature verification part (not working yet, on client side due
2156 to incorrect reply from service and insufficient clause reader).
2157 * WSSecurityMessageHeader.cs :
2158 Added SignatureConfirmation support.
2159 KeyInfoClause for o:SecurityTokenReference should be replaced with
2160 SecurityTokenReferenceKeyInfo.
2162 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2164 * SecureMessageGenerator.cs : support Timestamp signature.
2165 Removed unused code, and extra argument in CreateReference().
2166 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2168 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2170 * SecureMessageGenerator.cs :
2171 Several fixes to make asymmetric binding working:
2172 - Differentiate signing and encryption token in several areas.
2173 - Fixed signing keyinfo.
2175 Added initial SecurityMessageProperty handling, not sure if it is
2176 appropriate here though.
2177 * HttpRequestChannel.cs : (some debugging lines)
2179 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2181 Woohoo! Here is a very basic WS-Security compliant message which could
2182 be allowed by Indigo.
2183 * MessageHeader.cs : added Id support for writing.
2184 * Message.cs : added internal BodyId for signature reference.
2185 * MessageImpl.cs : write Body Id if required.
2186 * SecureMessageGenerator.cs : Before signing, the target elements must
2187 be given wsu:Id. Since I still use System.Security.dll, I need some
2188 trick for signing (I give both Id and wsu:Id, former to sign and
2189 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2190 implementation later. Now singning mechanism works except for
2191 wsu:Timestamp (which is kind of mandatory).
2193 I can's still consume replies from Indigo but it's a big progress :)
2195 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2197 * MessageHeaderInfo.cs : added internal Id.
2198 * MessageHeader.cs : read and write wsu:Id.
2199 * Message.cs : output wsu namespace if Id exists in any header.
2200 * HttpReplyChannel.cs : (some debugging lines.)
2201 * SecureMessageDecryptor.cs : (remove debugging lines.)
2202 * MessageImpl.cs : removed obsolete code.
2203 * WSSecurityMessageHeader.cs : output "o" prefix.
2204 * SecureMessageGenerator.cs : replaced XmlElement-based header
2205 signing with MessageHeader-based signing, to support Id correctly.
2207 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2209 * SecureMessageGenerator.cs : some more refactoring and code comments.
2210 * MessageSecurityUtility.cs : made decryptor into an instance class,
2211 like I've done for SecureMessageGenerator.
2212 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2213 dependent changes for above.
2215 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2217 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2218 causing NRE due to the lack of token reference.
2219 No need to pass doc to SignedXml.ctor() anymore.
2220 Moved ReferenceList before the signature(s).
2222 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2224 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2225 Moved signing key generation code to non-HMACSHA1 signing part.
2226 Don't try to sign wss:Security.
2227 Pass document itself to SignedXml.ctor().
2228 Use temporary DataObjects to avoid adding Ids (not sure what is the
2229 expected processing yet).
2230 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2231 WriteTo() method in WsuTimestamp.
2233 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2235 * SecureMessageGenerator.cs : wrong key was used for signing.
2236 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2238 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2240 * SecureMessageGenerator.cs :
2241 Now ID generation process does not modify input message.
2242 Moved derived key generation part into (virtual) signing loop.
2243 MessagePartSpecification support for signing is done.
2245 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2247 * SecureMessageGenerator.cs : some reordering to handle signing and
2248 encryption with supporting tokens. Fixed XPath query bug for
2249 soap header contents (we want s:Header/*, not s:Header).
2251 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2253 * MessageSecurityBindingSupport.cs : more refactoring.
2254 Made it abstract and added Initiator- and Recipient- classes.
2255 Several members were moved to those derived types.
2256 * AsymmetricSecurityBindingElement.cs,
2257 SymmetricSecurityBindingElement.cs
2258 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2259 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2260 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2261 All dependent changes by above. Removed ISecurityChannelSource
2262 which became useless.
2264 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2266 * SecureMessageGenerator.cs : encryption parts should exist too.
2267 * AsymmetricSecurityBindingElement.cs
2268 SymmetricSecurityBindingElement.cs,
2269 MessageSecurityBindingSupport.cs : some refactoring.
2270 Split MessageSecurityBindingSupport into security binding element
2271 specific parts and made MessageSecurityBindingSupport concrete.
2272 It is likely split again, next time based on initiator/recipient.
2274 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2276 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2277 split encryptor part in the former file into latter file, and
2279 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2280 SecurityRequestContext.cs : apply the change above.
2282 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2284 * MessageSecurityBindingSupport.cs :
2285 Fixed incorrect TrgGetValue() use.
2286 Added CollectRecipientSupportingTokens().
2288 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2290 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2291 EncryptedKey. So, when a key itself is used to encrypt data,
2292 ReferenceList is contained by itself.
2293 * MessageSecurityBindingSupport.cs :
2294 added CollectInitiatorSupportingTokens().
2296 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2298 * MessageSecurityUtility.cs: it should support ReferenceList-less
2301 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2303 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2304 * MessageSecurityUtility.cs : there already was uuid.
2306 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2308 * MessageSecurityUtility.cs : replaced EncryptedKey with
2309 WrappedKeySecurityToken, which seems to be in actual use in .net.
2310 * WSSecurityMessageHeader.cs : added internal Guid so that it
2311 could be shared between header items.
2313 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2315 * HttpRequestContext.cs, TextMessageEncoder.cs :
2316 some null arg check.
2318 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2320 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2321 for SecurityTokenReference resolution.
2323 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2325 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2326 consider DerivedKeyTokens correctly.
2327 When creating LocalId, don't add '#' here.
2329 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2331 * MessageSecurityUtility.cs :
2332 handle key mapping for each wsse:Security.
2334 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2336 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2338 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2340 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2342 * MessageSecurityUtility.cs :
2343 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2344 suggests, and it is used to dereference decryption targets.
2345 Now it premises multiple wsse:Security elements to read.
2347 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2349 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2350 manually (and actually the namespace URI was wrong).
2352 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2354 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2356 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2358 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2360 * SecurityBindingElement.cs,
2361 SymmetricSecurityBindingElement.cs,
2362 AsymmetricSecurityBindingElement.cs :
2363 implemented SetKeyDerivation().
2365 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2367 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2370 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2372 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2375 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2377 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2378 thus move it in front of encryption/signing.
2380 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2382 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2383 check state by themselves (btw it's not really working).
2384 * HttpChannelListener.cs : If the url does not end with '/' add it
2385 so that it could be fed to HttpListener.
2387 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2389 * HttpChannelFactory.cs : check scheme on CreateChannel.
2390 * MessageHeader.cs : finish IsMessageVersionSupported().
2392 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2394 * FaultConverter.cs : new file, not used yet though.
2396 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2398 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2400 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2402 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2403 GET as well as HttpReplyChannel, configuration would be ready now.
2405 2006-10-18 Ankit Jain <jankit@novell.com>
2407 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2408 EnvelopeVersion.Soap12 and 'text/xml' for others.
2409 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2411 Strip '?' from the query string.
2413 2006-10-13 Ankit Jain <jankit@novell.com>
2415 * MessageVersion.cs (None): Set AddressingVersion.None
2417 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2419 * SvcHttpHandler.cs : added config-based endpoint addition code.
2420 Though due to some weird bug in mono-core it does not seem to work,
2421 so commented out for now.
2422 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2423 mex request message might just be wrong.
2424 Use expected MessageVersion by the channel.
2425 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2427 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2429 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2430 which differs depending on whether it is asymmetric or symmetric.
2431 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2432 simplify SecureMessage() and DecryptMessage() arguments (just
2433 take MessageSecurityBindingSupport instead of several parameters).
2434 * MessageSecurityUtility.cs :
2435 - simplify SecureMessage() and DecryptMessage() arguments (just
2436 take MessageSecurityBindingSupport instead of several parameters).
2437 - Take token inclusion mode into account. Don't include them when
2438 it is not expected. Also, change the token reference style.
2439 - add wsa:MessageID to the headers.
2440 - For hmac-sha1 signing (default for symmetric binding), use
2441 symmetric key created for encryption as well to create HMACSHA1.
2442 - add Id to wsu:Timestamp.
2443 - start to handle SecurityMessageProperty.
2444 * WSSecurityMessageHeader.cs :
2445 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2446 Changed date format.
2448 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2450 * CommunicationObject.cs : reject faulted state on Open()/Close().
2451 * MessageHeaders.cs : removed extra fields.
2453 2006-10-06 Ankit Jain <jankit@novell.com>
2455 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2457 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2459 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2460 added some FIXMEs and additional arg.
2462 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2464 * MessageSecurityUtility.cs : remove duplicate Action header.
2466 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2468 * MessageFault.cs : partly implemented CreateFault(Message, int).
2469 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2470 handle IsFault correctly in each implementation.
2472 2006-10-04 Ankit Jain <jankit@novell.com>
2474 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2476 2006-10-04 Ankit Jain <jankit@novell.com>
2478 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2479 in WebConnectionStream.
2481 2006-10-04 Ankit Jain <jankit@novell.com>
2483 * MessageHeaders.cs (To): Use GetHeader<string> till
2484 DataContractSerializer gets ISerializable support.
2485 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2487 2006-10-04 Ankit Jain <jankit@novell.com>
2489 * ServiceHostParser.cs (Parse):
2490 (Split): Add some error checks.
2492 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2494 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2495 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2496 * SslStreamSecurityUpgradeProvider.cs,
2497 SslStreamSecurityUpgradeAcceptor.cs :
2498 new files for Ssl upgrade provider implementation.
2499 * MessageSecurityUtility.cs :
2500 Create proper C14NTransform. Don't use enveloped signature
2501 transform but sign every significant bits. On securing messages
2502 use ChannelProtectionRequirements.
2503 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2505 * MessageEncoder.cs : fix API (missing constraint).
2506 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2507 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2508 * AsymmetricSecurityBindingElement.cs : default protection order is
2509 SignBeforeEncryptAndEncryptSignature.
2511 2006-09-29 Ankit Jain <jankit@novell.com>
2513 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2514 ServicHostParser and use that here.
2515 (PrivateBinPath): New.
2516 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2517 (RemovedCallback): Remove and close the SvcHttpHandler when its
2518 corresponding file (.svc) changes.
2519 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2521 * ServiceHostParser.cs : New.
2522 * CachingCompiler.cs : New. Code extracted from
2523 System.Web.Compilation.CachingCompiler
2524 * CompilationException.cs : New. From System.Web.Compilation
2525 * HtmlizedException.cs : New. Likewise.
2527 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2529 * MessageSecurityBindingSupport.cs : For client side, it is always
2530 InitiatorServiceModelSecurityTokenRequirement which should be
2531 created. Fixed wrong client encryption key acquisition.
2533 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2535 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2536 MessageSecurityBindingSupport.cs : made similar changes as factories
2537 to listener so that session channels and input channels would work.
2538 Added authenticator creation.
2540 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2542 * Binding.cs : added missing members.
2544 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2546 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2547 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2548 reduce code duplication between request and output channels.
2549 The common parts are now in MessageSecurityBindingSupport.
2550 Now reduced several arguments in SecureMessage() for client.
2552 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2554 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2556 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2558 * AsymmetricSecurityBindingElement.cs,
2559 SecurityChannelListener.cs,
2560 SecurityRequestContext.cs,
2561 SymmetricSecurityBindingElement.cs,
2562 SecurityRequestChannel.cs,
2563 SecurityOutputChannel.cs,
2564 SecurityChannelFactory.cs,
2565 MessageSecurityBindingSupport.cs : 1) Refactoring.
2566 IMessageSecurityBindingSupport now becomes a class and contains
2567 all the members which resided in ISecurityChannelSource.
2568 Now it takes more constructor params.
2569 Made dependent changes on all sources above.
2571 2) Added SecurityTokenAuthenticator creation in
2572 SecurityRequestChannel (SecurityOutputChannel should do the same).
2574 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2576 * SecurityRequestChannel.cs : ongoing improvements on conditional
2577 key creation. Actually there must be some part that creates an
2578 authenticator (WinFX does that).
2580 2006-09-27 Ankit Jain <jankit@novell.com>
2582 Add suport for handling .svc files.
2583 * SvcHttpHandlerFactory.cs: New.
2584 * SvcHttpHandler.cs: New.
2586 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2587 asp.net environment.
2588 (OnOpen): Do nothing in asp.net environment.
2589 (OnClose): Likewise.
2590 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2591 * HttpRequestContext.cs: .. here.
2593 * AspNetReplyChannel.cs: New.
2594 * AspNetRequestContext.cs: New.
2596 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2598 * MessageSecurityUtility.cs :
2599 Significantly rewritten decryption parts to respect ReferenceList
2600 to decrypt (so no workaround anymore).
2601 Now e:ReferenceList inside o:Security is treated as the referenced
2602 EncryptedType items are encrypted by 1) the derived key which is
2603 immediately in front of it, or 2) the default key (it is according
2604 to WS-SecureConversation section 9.1). Thus removed immediately
2605 previous hack to auto-fill wsu:Id attributes.
2607 On securing a message, generate correct Id and add DataReference
2608 to ReferenceList properly.
2610 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2612 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2615 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2617 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2618 Actually WSSecurityTokenSerializer should be able to consume it, but after
2619 spending a lot of time I still cannot successfully read it on WinFX.
2620 Skip ReferenceList for now.
2621 * MessageSecurityUtility.cs :
2622 Replaced some string literals with constants.
2623 Added some workaround for DerivedKeyToken retrieval.
2624 WinFX somehow sends incomplete ISO10126 padding which contains
2625 bigger number than the key size and is rejected by EncryptedXml,
2626 so added DecryptLax() which processes such ones in PaddingMode.None
2627 to workaround it (only for cross-connection between mono and winfx).
2628 Added some incomplete implicit wsu:Id processing.
2629 Don't try to replace SignedXml with EncryptedData. It is not added
2630 to the document tree.
2632 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2634 * MessageSecurityUtility.cs : support message signature encryption. Some
2637 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2639 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2641 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2643 * MessageSecurityUtility.cs : fix warnings.
2645 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2647 * MessageSecurityUtility.cs : actually there would be more than one
2648 EncryptedData. Decrypt all.
2650 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2652 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2653 Use ISO10126 padding mode (it is not required but in manner).
2655 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2657 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2658 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2659 that class to make it work fine with mono client).
2660 Removed buggy lines that reset decryption key to AES.
2661 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2662 * WSSecurityMessageHeader.cs :
2663 (SecurityTokenReferenceKeyInfo) support LoadXml.
2665 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2667 * TransactionMessageProperty.cs : new file.
2669 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2671 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2672 gmcs happened to report wrong code.
2674 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2676 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2677 .ctor() now requires ChannelProtectionRequirements which will be
2678 supplied via BindingParameterCollection.
2679 * SymmetricSecurityBindingElement.cs,
2680 AsymmetricSecurityBindingElement.cs : thus add
2681 ChannelProtectionRequirement parameter to factory/listener.
2682 * SecurityRequestChannel.cs : use recipient token requirement to
2683 create an encryption token. Thus differentiate the logic from
2684 signing (initiator) token.
2686 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2688 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2689 renamed former to latter.
2690 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2693 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2695 * MessageSecurityBindingSupport.cs : new internal types to commonize
2696 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2697 and thus make internal factory and listener reusable.
2698 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2699 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2700 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2701 SymmetricSecurityBindingElement, using the new types above.
2702 * SymmetricSecurityBindingElement.cs :
2703 Use SymmetricMessageSecurityBindingSupport.
2704 * AsymmetricSecurityBindingElement.cs :
2705 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2707 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2709 * ChannelFactoryBase.cs : more RC1 update.
2711 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2713 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2714 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2715 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2716 ChannelBase.cs : RC1 API updates.
2717 * MessageImpl.cs : implemented Properties.
2718 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2720 2006-09-18 Ankit Jain <jankit@novell.com>
2722 * MessageHeaders.cs (MessageId):
2723 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2725 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2727 * ChannelParameterCollection.cs : new file.
2728 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2729 new files for IOutputChannel implementation.
2730 * OneWayBindingElement.cs : hacky implementation.
2731 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2732 * MessageSecurityUtility.cs : now create identifier from the security
2733 token and the token parameters which is added as an argument.
2734 * SecurityRequestContext.cs,
2735 SecurityRequestChannel.cs : SecureMessage() argument changes.
2736 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2739 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2741 * HttpRequestChannel.cs : close the HttpWebRequest.
2743 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2745 * HttpRequestChannel.cs,
2746 HttpChannelFactory.cs : implement async request/reply.
2747 * HttpChannelFactory.cs :
2748 verify factory state when creating a channel.
2750 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2752 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2753 BinaryMessageEncoder.cs : added message version mismatch check.
2755 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2757 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2758 Making incomplete changes to handle different tokens for encryption
2760 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2761 split channel implementation classes out to the latter file.
2762 * MessageSecurityUtility.cs : seems like there is
2763 TimeStampValidityDuration property, so use it (incomplete; a server
2764 needs another love).
2766 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2768 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2769 SecurityRequestContext.cs : now that we have key identifier clause
2770 and working ResolveKeyIdentifierClause(), just create keys inside
2771 SecureMessage(). Add KeyInfo to the xmldsig.
2773 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2775 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2776 pass SecurityKeyIdentifierClause to SecureMessage().
2777 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2778 for IssuedToken binding element.
2779 * SymmetricSecurityChannelListener.cs : removed hack to just create
2780 X509 security token, and implemented correct token creation.
2781 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2782 wraps SecurityTokenReference element.
2783 * MessageSecurityUtility.cs : use the above.
2785 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2787 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2788 could not find a security header.
2789 * SymmetricSecurityChannelFactory.cs : now it also supports
2790 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2793 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2795 * SecurityRequestContext.cs : moved securing message part to
2796 MessageSecurityUtility.cs.
2797 * MessageSecurityUtility.cs : the change above.
2798 use DateTime.Now for timestamp basis. Don't append signature to
2799 the document. Instead it is added to the header. Capture body
2800 content instead of the body itself.
2801 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2802 be processed by upper layers.
2804 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2806 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2807 SymmetricSecurityChannelListener.cs,
2808 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2809 more refactoring. Request serialization became much more conformant
2810 and add required header items.
2811 Security Token retrieval is needed to send it in the request.
2812 Fixed wrong key encryption.
2814 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2816 * SecurityRequestContext.cs : the workaround was not functional.
2818 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2820 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2821 API, especially ReplaceData(), instead of native crypto stuff.
2822 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2823 MessageProtectionOrder.SignBeforeEncrypt).
2825 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2827 * SecurityRequestContext.cs : label should be combined of both
2828 the client's and the server's.
2830 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2832 * SecurityRequestContext.cs : enable key derivation (though for now
2833 GenerateDerivedKey() is unimplemented). Create meaningful,
2834 decrypted request message to be consumed by the upper layer.
2836 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2838 * SecurityRequestContext.cs : implement Close() and Reply().
2839 ongoing implementation of Reply(TimeSpan).
2840 * MessageSecurityUtility.cs : new file to collect utility methods.
2841 * SymmetricSecurityChannelFactory.cs : moved securing message code
2843 * SymmetricSecurityChannelListener.cs : tiny renaming.
2845 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2847 * SecurityRequestContext.cs : security header is also stored.
2849 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2852 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2854 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2857 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2859 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2860 so that it retrieves the security key in that manner.
2862 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2864 * Binding.cs : MessageVersion is null when there is no
2865 MessageEncodingBindingElement.
2866 * Message.cs : null arg check.
2868 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2870 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2872 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2874 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2875 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2876 LayeredRequestChannel.cs : some refactoring.
2877 * SymmetricSecurityChannelFactory.cs :
2878 ongoing secure message creation implementation.
2880 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2882 * SymmetricSecurityBindingElement.cs :
2883 pass specific ServiceCredentialsSecurityTokenManager type to
2884 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2885 * SymmetricSecurityChannelListener.cs :
2886 get service certificate. It's a temporary hack.
2887 Move RequestContext code to below.
2888 * SecurityRequestContext.cs : new file.
2889 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2890 it I have to finish decryption of the incoming message.
2892 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2894 * MessageImpl.cs : don't write attributes on the first body content
2895 element *on soap Body element*.
2896 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2897 ObjectDisposedException is appropriate.
2898 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2899 in OnWriteHeader*Contents*().
2901 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2903 * WSSecurityMessageHeader.cs : new file.
2904 * SymmetricSecurityChannelFactory.cs :
2905 moved WSSecurityHeader and related types to the above.
2906 * SymmetricSecurityChannelListener.cs :
2907 reject SOAP-env-less message.
2909 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2911 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2912 renamed former to latter.
2913 * SymmetricSecurityChannelFactory.cs :
2914 create requirements every time. It is also likely that I need
2915 another requirement instance to get service credentials here.
2917 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2919 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2920 similar to BuildChannelFactory() (set credentials, issuer binding
2922 * SecurityChannelListener.cs :
2923 more ongoing security support implementation.
2924 * SymmetricSecurityChannelFactory.cs :
2925 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2927 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2929 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2930 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2931 Implementation is underway.
2932 * LayeredReplyChannel.cs :
2933 like LayeredRequestChannel, use ChannelListenerBase to provide
2936 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2938 * MessageHeader.cs : added another implementation type that uses
2939 XmlElement, for buffering purpose.
2940 * MessageImpl.cs : Header item types are user-driven by
2941 MessageHeader.GetHeader<T>(int), so at storing phase just store
2942 nodes as XmlElement.
2943 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2946 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2948 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2949 BindingParameterCollection, not from binding element properties.
2951 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2953 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2954 renamed former to latter.
2956 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2958 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2959 work for SslSecurityTokenParameters.
2961 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2963 * SecurityBindingElement.cs :
2964 Added SetIssuerBindingContextIfRequired().
2965 * SecurityChannelFactory.cs :
2966 Changed .ctor() arg again, just to receive binding element.
2967 * SymmetricSecurityBindingElement.cs :
2968 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2969 SymmetricSecurityChannelFactory .ctor() arg changes.
2970 "ProtectionTokenParameters" is not passed now.
2972 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2974 * SymmetricSecurityBindingElement.cs : requirements should be
2975 filled at InitializeSecurityTokenParameters as long as possible.
2976 SymmetricSecurityChannelFactory<T> now does not receive
2977 requirements (it now creates one inside it) at .ctor().
2978 * SecurityChannelFactory.cs : remove requirement argument.
2980 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2982 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2984 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2986 * SymmetricSecurityBindingElement.cs :
2987 MessageSecurityVersion property is of type SecurityTokenVersion.
2988 * SecurityBindingElement.cs :
2989 Implemented CreateSecureConversationBindingElement().
2990 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2991 the argument IssuedSecurityTokenParameters itself.
2993 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2995 * SymmetricSecurityBindingElement.cs :
2996 CreateSecurityTokenManager() can be directly used now.
2997 Use CallInitializeSecurityTokenRequirement() to fill requirement
3000 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
3002 * ChannelFactoryBase.cs : GetProperty() is virtual.
3004 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
3006 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
3007 create token manager, token parameters and token requirements,
3008 and fill some requirements.
3009 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
3010 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
3011 * BindingContext.cs : implemented RemainingBindingElements.
3012 kill "no remaining binding element" error in GetInnerProperty()
3013 * SecurityChannelFactory.cs : now it became
3014 SymmetricSecurityChannelFactory, thus soon to be renamed.
3015 Several ongoing actual security resolution is on.
3017 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
3019 * CommunicationObject.cs :
3020 add GetCommunicationObjectType() and use it.
3021 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
3022 use ThrowIfDisposedOrNotOpen().
3023 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
3024 to CommunicationObject. Make it IDisposable.
3025 * LayeredRequestChannel.cs : use above.
3026 * SecurityChannelFactory.cs : removed state check as it is done at
3029 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
3031 * SecurityBindingElement.cs : (CanBuildChannelFactory and
3032 CanBuildChannelListener) directly dispatch to BindingContext.
3033 * SymmetricSecurityBindingElement.cs : require protection token
3034 parameters before building a channel or a listener.
3035 * ChannelFactoryBase.cs : raise an error when a channel is being
3036 created without opening the factory.
3037 * ChannelListenerBase_1.cs : ditto for the listener.
3038 * SecurityChannelFactory.cs : before sending a request, it must be
3041 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3043 * MessageBufferImpl.cs : initialize fields.
3044 workaround BufferSize just to return 0.
3045 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
3046 which does not support multi time write.
3047 * Message.cs : implemented State.
3049 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3051 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
3052 is consuming XmlReader.
3053 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
3054 * MessageBuffer.cs : implemented CreateNavigator().
3055 * MessageBufferImpl.cs : added XPathMessageBuffer class.
3057 I kinda know that MS heavily depends on binary XmlReader and may have
3058 XPathNavigator implementation based on the binary stuff, but at
3059 least for now we have almost no motivation to mimick it.
3061 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3063 * SecurityChannelFactory.cs : a bit more of security header code.
3065 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
3067 * SymmetricSecurityBindingElement.cs :
3068 set default MessageProtectionOrder in every construction.
3070 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
3072 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
3073 changed to require ChannelFactoryBase to support default timeout.
3074 Made some methods non-virtual. Preparing code to add security
3075 headers (empty yet).
3076 * SecurityBindingElement.cs : implemented several factory methods
3077 that return SymmetricSecurityBindingElement.
3079 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3081 * IStreamUpgradeBindingElement.cs,
3082 StreamUpgradeBindingElement.cs : renamed from former to latter.
3084 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3086 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
3088 2006-07-31 Ankit Jain <jankit@novell.com>
3090 * MessageHeaders.cs (From): Use Constants.WSA1
3091 (MessageId): Implement the same pattern as other properties (From etc).
3093 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3095 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3096 * SecurityBindingElement.cs : some cosmetic changes.
3098 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3100 * SecurityBindingElement.cs : LocalClientSettings and
3101 LocalServiceSettings returns an instance for each.
3102 * LocalClientSecuritySettings.cs : initialized fields.
3104 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3106 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3107 kinda implemented Clone() just with MemberwiseClone().
3109 2006-07-27 Ankit Jain <jankit@novell.com>
3111 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3112 * MessageHeader.cs (knownTypes): New. Known type array containing
3114 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3116 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3118 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3119 LayeredCommunicationObject.cs,
3120 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3121 new files to support security channels, though right now they
3122 just pass inner channels through.
3123 * SymmetricSecurityBindingElement.cs : use above.
3125 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3127 * AsymmetricSecurityBindingElement.cs,
3128 SymmetricSecurityBindingElement.cs :
3129 Default SecurityTokenParameters is null.
3131 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3133 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3135 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3137 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3139 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3140 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3141 headers. When AddressingVersion is None, don't output addressing
3142 headers as well, except for Action which is still needed by
3145 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3147 * MessageHeaders.cs : changed specific properties to find it from
3148 headers as Action property does (local variables won't be set by
3149 setter). Cache serializers. Check null serializer arguments.
3150 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3152 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3154 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3155 use XmlObjectSerializer (since it is not data contract type).
3157 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3159 * MessageImpl.cs : Improved ReadHeaders().
3160 For certain header items, use EndpointAddress.ReadFrom().
3162 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3164 * AsymmetricSecurityBindingElement.cs :
3165 it is not ISecurityCapabilities anymore.
3167 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3169 * MessageVersion.cs : added None.
3171 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3173 * Message.cs : GetReaderAtBodyContents() implementation using
3176 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3178 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3179 used MessageVersion.Default.
3181 2006-07-12 Duncan Mak <duncan@novell.com>
3183 * MessageBuffer.cs (MessageContentType): Return
3184 "application/soap+msbin1".
3186 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3187 (SimpleMessage.OnCreateBufferedCopy):
3188 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3189 MessageBuffer implementations.
3191 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3192 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3193 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3195 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3197 * MessageImpl.cs : Action should be added in request messages. Omit
3198 it only in reply message, thus moved to dispatcher logic.
3200 2006-07-12 Ankit Jain <jankit@novell.com>
3202 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3203 bug in WebConnectionStream.
3204 * MessageHeaders.cs (MessageHeaders.From):
3205 (MessageHeaders.ReplyTo):
3206 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3208 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3210 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3211 add SOAP Action to the response at any time.
3213 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3215 * SymmetricSecurityBindingElement.cs,
3216 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3217 Implemented .ctor() and some properties.
3219 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3221 * TransactionFlowBindingElement.cs : new file.
3222 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3224 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3227 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3228 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3229 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3230 vanished (there is anyways no way to instantiate this type).
3231 * MessageVersion.cs : added Soap11 and Soap12.
3232 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3233 in June CTP. goodie.
3235 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3237 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3238 removed some vanished CreateMessage() overloads.
3240 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3242 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3243 HttpTransportBindingElement.cs :
3244 They are not ISecurityCapabilities anymore.
3245 Modified code to match June CTP behavior.
3247 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3249 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3251 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3253 * EmptyFaultException.cs : removed unused code.
3254 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3256 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3258 * LayeredChannelFactory.cs : removed obsolete class.
3259 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3260 ChannelListenerBase.cs, HttpChannelListener.cs,
3261 HttpReplyChannel.cs, ChannelManagerBase.cs :
3262 all those changes were brought by ChannelManagerBase changes.
3264 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3266 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3267 CommunicationObject.cs, HttpChannelListener.cs,
3268 ChannelFactoryBase.cs :
3269 CommunicationObject abstract changes brought this madness.
3271 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3273 * BindingContext.cs : listenUri address parameters could be null in
3276 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3278 * IRequestContext.cs :
3279 Now it became a class. File renaming will follow soon.
3280 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3281 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3282 IOutputChannel.cs, IOutputSessionChannel.cs,
3283 IRequestChannel.cs, IRequestSessionChannel.cs :
3284 They are not IDisposable anymore.
3285 For IReplyChannel, IRequestContext -> RequestContext.
3286 * IChannelListener.cs : removed Identity. Added GetProperty().
3287 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3288 ReplyChannelBase.cs, HttpReplyChannel.cs :
3289 Several members disappeared, and dependent changes.
3290 * HttpTransportBindingElement.cs,
3291 HttpChannelListener.cs, :
3292 ChannelListenerBase.SharedChannelListener vanished.
3294 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3296 * MessageEncodingBindingElement.cs
3297 MtomMessageEncodingBindingElement.cs,
3298 TextMessageEncodingBindingElement.cs,
3299 BinaryMessageEncodingBindingElement.cs :
3300 June CTP updates: AddressingVersion -> MessageVersion.
3301 * Binding.cs : June CTP. MessageVersion is added.
3302 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3303 ChannelListenerBase_1.cs,
3304 ChannelListenerBase.cs, IChannelListener.cs,
3306 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3307 June CTP. Several interface changes.
3308 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3309 * IChannelManager.cs, LayeredChannelListener.cs,
3310 GenericWrapperChannelFactory.cs,
3311 GenericWrapperChannelListener.cs : They are not used anymore.
3313 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3315 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3316 sync fix with June CTP API updates.
3318 2006-07-03 Ankit Jain <jankit@novell.com>
3320 * MessageEncodingBindingElementConverter.cs:
3321 * StandardBindingConverter.cs:
3322 * TransportBindingElementConverter.cs:
3323 * TransactionFlowBindingElementConverter.cs:
3324 * ReliableSessionBindingElementConverter.cs:
3325 * SecurityBindingElementConverter.cs:
3326 Rename *Converter.cs to *Importer.cs
3328 * TransferMode.cs: Move to System.ServiceModel
3330 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3332 * CommunicationObject.cs : make sure to change State before
3333 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3335 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3337 * Message.cs : output WSAddressing xmlns only when Action is
3338 specified (To should be affected, but seems like it is ignored).
3340 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3342 * MessageImpl.cs : don't set Action when it is null.
3344 2006-06-12 Ankit Jain <jankit@novell.com>
3346 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3348 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3350 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3351 some updated API fixes.
3353 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3355 * EnvelopeVersion.cs : moved back to S.SM.
3357 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3359 * IBindingManualAddressing.cs : vanished in beta2.
3360 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3361 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3363 * SecurityBindingElement.cs :
3364 SecurityStandardsManager -> SecurityTokenSerializer.
3366 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3368 * XmlSerializerBodyWriter.cs : new file to handle
3369 TypedMessageConverter.ToMessage().
3371 2006-04-26 Ankit Jain <jankit@novell.com>
3373 * TransportBindingElementConverter.cs (BeforeImport): Remove
3374 NotImplementedException.
3375 (ImportContract): Likewise.
3376 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3378 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3380 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3381 being used was not reflecting that of Binding elements.
3383 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3385 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3386 just assume that it is in the message.
3388 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3390 * HttpReplyChannel.cs : actually HTTP header item might be null.
3392 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3394 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3397 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3399 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3401 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3403 * MessageFault.cs : Fixed SOAP12 reason output.
3405 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3407 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3408 MessageEncoder.ContentType explicitly contains encoding.
3409 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3410 if it is SOAP version dependent.
3412 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3414 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3416 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3418 * HttpChannelFactory.cs BindingContext.cs
3419 HttpChannelListener.cs HttpTransportBindingElement.cs :
3420 Now BindingContext holds MessageEncoder, and non-custom
3421 channel factory/listener should use it.
3422 * MtomMessageEncodingBindingElement.cs
3423 TextMessageEncodingBindingElement.cs
3424 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3425 -Listener() now sets internal BindingContext.MessageEncoder.
3426 Fixed some public API.
3428 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3430 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3431 for insufficient elements.
3432 * DispatchRuntime.cs : OperationDescription name is not action. So
3433 OperationSelector is created by name, not by action.
3434 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3436 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3438 * MessageFaultBodyWriter.cs
3439 XmlReaderBodyWriter.cs
3440 XmlObjectSerializerBodyWriter.cs : made internal.
3441 * SecurityBindingElement.cs
3442 AsymmetricSecurityBindingElement.cs
3443 SymmetricSecurityBindingElement.cs : API fixes.
3444 * TransportBindingElementConverter.cs : ditto.
3445 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3446 * WindowsStreamSecurityBindingElement.cs
3447 SslStreamSecurityBindingElement.cs
3448 TransportSecurityBindingElement.cs : new files.
3450 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3452 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3453 reading can be any xs:boolean value.
3455 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3457 * Message.cs MessageImpl.cs : more sorting out the role of each
3459 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3461 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3463 * Message.cs : don't write body contents if it is empty.
3464 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3465 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3466 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3467 * HttpRequestChannel.cs : close request stream before GetResponse().
3469 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3471 * TextMessageEncoderFactory.cs
3472 TextMessageEncoder.cs : encoder does not hold reference to the
3473 factory anymore. Use MessageVersion property in CreateMssage().
3474 * HttpChannelListener.cs : now it holds message encoder.
3475 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3476 * MessageImpl.cs : header is optional.
3477 * EnvelopeVersion.cs : namespace URI is missing.
3479 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3481 * CustomBinding.cs : removed Initialize().
3482 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3483 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3484 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3485 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3487 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3489 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3490 could be also added by Add() method and could be reset by Remove()).
3491 * MessageImpl.cs : implemented more. As noted above, Now we don't
3492 have to add Action header explicitly.
3493 * MessageHeader.cs : recovered Writer methods and ToString() from
3494 commented old version. Use prefixes for writing.
3495 Use WriteObjectContent() rather than WriteObject() (it needs
3496 DataContractSerializer fix btw).
3498 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3500 * MessageHeader.cs : added missing IsReferenceParameter.
3501 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3502 * MessageHeaders.cs : avoid NullRef when actors is null.
3503 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3504 (ForwardingMessage) reader consumer is being added (not done).
3505 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3506 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3507 * HttpRequestChannel.cs : this channel automatically call Open()
3508 when Request() is called. Set content length for request.
3509 Use MessageEncoder's ContentType to also handle charset.
3511 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3513 * MessageImpl.cs : make them internal.
3514 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3516 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3518 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3519 * HttpChannelListener.cs : removed commented line.
3520 * RequestChannelBase.cs : new base class for request channel classes.
3521 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3522 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3523 * Message.cs : default IsEmpty and IsFault false by default.
3524 * LayeredChannelListener.cs : removed Uri (no chance to set).
3525 * ChannelBase.cs : reimplemented timeout properties.
3526 * HttpRequestChannel.cs : now it is mostly based on
3527 RequestChannelBase. Some more attempt to implement Request().
3529 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3531 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3532 OnInitialize(). Added more BuildChannelListener() overloads.
3534 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3536 * Binding.cs : added some more missing members especially to support
3538 * HttpChannelListener.cs : Uri should not be null.
3539 * HttpTransportBindingElement.cs : implemented
3540 CanBuildChannelFactory() and CanBuildChannelListener().
3541 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3543 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3545 * Binding.cs : updated default namespace property value to Feb. CTP.
3547 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3549 * AddressHeader.cs : avoid null reference when value is null.
3550 * BindingContext.cs : check null ListenUri args.
3552 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3554 * MessageFault.cs : Fixed default action name. Null arg check.
3556 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3558 * BindingElement.cs : Dequeue elements in BindingContext directly.
3559 * BindingContext.cs : Added GetProperty<T>().
3560 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3561 Now we don't need these extra classes, so marked as deprecated.
3563 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3565 * Binding.cs : null arg check.
3566 * AddressingVersion.cs : fixed constants to pass the tests.
3567 * BindingElement.cs : tiny meessage fix.
3569 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3571 * MessageEncodingBindingElement.cs
3572 BinaryMessageEncodingBindingElement.cs
3573 TextMessageEncodingBindingElement.cs
3574 MtomMessageEncodingBindingElement.cs
3575 MessageEncodingBindingElementConverter.cs : several API fixes.
3576 * BindingElement.cs : now if we use generic wrapper it causes
3577 infinite loop, so for now replace it with most-possible-but-
3580 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3582 (back to normal "record-ChangeLogs" mode after the big API change mess)
3583 * HttpTransportBindingElement.cs : fixed minor API differences.
3585 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3587 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3588 SymmetricSecurityBindingElement.cs :
3589 Dependent fixes for System.IdentityModel reorgainzation.
3591 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3593 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3594 IProxyFormatter.cs WSHttpBindingBase.cs
3595 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3596 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3597 WSFederationBinding.cs ISessionChannel.cs
3598 CompositeDuplexBindingElement.cs MessageVersion.cs
3599 MessageHeader.cs IRequestSessionChannel.cs
3600 BindingElementCollection.cs IReplySessionChannel.cs
3601 MessageProperties.cs IDuplexClientChannel.cs
3602 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3603 TcpTransportBindingElement.cs EmptyFaultException.cs
3604 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3605 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3606 ConnectionOrientedTransportBindingElement.cs
3607 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3608 PeerResolverBindingElement.cs Message.cs
3609 HttpsTransportBindingElement.cs BindingElement.cs
3610 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3611 MessageFaultBodyWriter.cs IReplyChannel.cs
3612 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3613 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3614 IRequestContext.cs IInputSessionShutdown.cs
3615 SecurityBindingElement.cs PeerTransportBindingElement.cs
3616 IDuplexSession.cs IChannelInitializer.cs
3617 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3618 AddressingVersion.cs FaultException.cs
3619 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3620 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3621 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3622 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3623 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3624 BindingParameterCollection.cs IInstanceProvider.cs
3625 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3626 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3627 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3628 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3629 moved from System.ServiceModel due to the API changes.
3631 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3633 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3634 HttpChannelListener.cs HttpRequestChannel.cs
3635 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3636 PeerNode.cs ReplyChannelBase.cs :
3637 Feb. CTP API changes - chapter 1.
3639 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3641 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3642 * ReplyChannelBase.cs : now it is based on ChannelBase.
3643 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3644 and check null argument in .ctor().
3645 * HttpReplyChannel.cs : several changes.
3646 Non-async members are mostly implemented.
3647 * HttpChannelListener.cs : no need to receive
3648 IDefaultCommunicationTimeouts.
3649 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3650 to allocate buffer array and int.MaxValue causes OutOfMemory.
3652 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3654 * ClientFramingDecoderState.cs : added missing enum.
3655 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3657 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3659 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3661 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3662 AcceptChannel() has some code now but it needs more love.
3664 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3666 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3667 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3668 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3670 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3672 * HttpRequestChannel.cs : close the streams.
3674 HttpChannelListener.cs : renamed from former to latter.
3676 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3678 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3679 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3680 * HttpListenerFactory.cs : removed obsolete file.
3681 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3682 * ChannelListenerBase_1.cs : implemented virtual stuff.
3683 * CommunicationObject.cs : Open() should not call BeginOpen() and
3684 EndOpen(). Instead, invoke events individually.
3685 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3687 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3689 * HttpRequestChannel.cs : call Flush() after serializing message
3692 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3694 * HttpRequestChannel.cs : implemented pretty hacky Request().
3696 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3698 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3700 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3702 * ChannelFactoryBase.cs : removed some NotImplementedException for
3703 further internal implementation.
3705 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3707 * HttpRequestChannel.cs : new file. mostly not implemented.
3708 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3709 Partly implemented CreateChannel().
3711 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3713 * HttpChannelFactory.cs : (.ctor())
3714 Don't take ChannelBuildContext.
3716 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3718 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3719 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3720 PeerMessagePropagation.cs : updated to Nov. CTP.
3722 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3724 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3725 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3726 StreamSecurityUpgradeAcceptor.cs,
3727 StreamSecurityUpgradeInitiator.cs :
3728 Updated to Nov. CTP API.
3730 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3732 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3734 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3736 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3738 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3740 * ChannelBase.cs : tiny filename fix.
3741 * ChannelListenerBase.cs : added more .ctor()s.
3743 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3745 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3746 ListenerFactoryBase.cs ChannelListenerBase.cs :
3747 updated IListener related stuff to Nov. CTP.
3748 file renaming will come soon.
3750 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3752 * ListenerBase.cs, ChannelListenerBase.cs :
3753 moved from former to latter.
3754 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3755 moved from former to latter.
3757 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3759 * SessionFaultedException.cs : removed in Nov. CTP
3761 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3763 * CommunicationObject.cs : updated to Nov. CTP.
3764 * SessionFaultedException.cs : removed (in Nov. CTP)
3766 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3768 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3771 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3773 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3774 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3775 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3776 * MessageEncoder.cs : largely implemented.
3778 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3780 * IRequestReplyCorrelator.cs : new file.
3782 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3784 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3785 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3786 * MessageEncoder.cs : added misssing ToString().
3788 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3790 * ChannelBehaviorCollection.cs : moved to sys.sm.
3792 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3794 * HttpListenerFactory.cs, HttpListener.cs : new files.
3795 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3796 CommunicationObject.cs, ChannelFactoryBase.cs,
3797 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3799 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3800 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3802 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3804 * ListenerFactoryBase.cs : some implementation.
3806 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3808 * CommunicationObject.cs : more state fixes.
3810 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3812 * CommunicationObject.cs : some state machine fixes.
3814 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3816 * PeerNode.cs, ChannelManagerBase.cs :
3817 several API fixes detected by improved corcompare.
3819 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3821 * LayeredListenerFactory.cs : added missing generic class constraint.
3823 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3825 * ListenerFactoryBase.cs,
3826 ListenerBase.cs : class constraints were missing for generic args.
3828 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3830 * StreamUpgradeInitiator.cs : tiny API fix.
3832 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3834 * PeerMessagePropagationFilter.cs : tiny build fix.
3836 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3838 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3839 added Name. fixed StatusCode type.
3840 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3841 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3842 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3843 DirectionalAction.cs, HostedTransportConfiguration.cs,
3844 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3845 PeerMessagePropagationFilter.cs : added missing files.
3846 * Dummy.cs : removed. MSMQ stuff can be added later.
3848 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3850 * DeliveryStatus.cs, DeliveryFailure.cs,
3851 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3852 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3854 * Dummy.cs : removed above.
3856 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3858 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3860 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3862 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3863 MessageEncoder.cs, BufferManager.cs : new files.
3864 * Dummy.cs : removed above.
3866 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3868 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3869 * Dummy.cs : removed above.
3870 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3872 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3874 * HttpChannelFactory.cs : new file.
3876 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3878 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3879 moved to ../System.ServiceModel (correct location).
3880 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3881 new files for channels.
3882 * Dummy.cs : reflected above changes.
3883 * ChannelManagerBase.cs : added a bit of code and todos.
3885 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3887 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3888 added listener support files.
3889 * Dummy.cs : removed above.
3891 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3893 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3894 added request/reply channel interfaces.
3895 * Dummy.cs : removed above.
3896 * CommunicationObject.cs : FIXME comments.
3898 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3900 * CommunicationObject.cs : implemented some members.
3902 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3904 * CommunicationObject.cs : some signature fixes.