1 2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
3 * SecurityChannelFactory.cs
4 SecurityChannelListener.cs
5 SecurityRequestContext.cs
6 SecurityOutputChannel.cs
7 SecurityReplyChannel.cs
8 SecurityRequestChannel.cs
9 SecureMessageGenerator.cs
10 SecureMessageDecryptor.cs
13 WSSecurityMessageHeader.cs :
14 moved to System.ServiceModel.Channels.Security.
16 2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
18 * SecurityReplyChannel.cs : split from SecurityChannelListener.cs.
19 * AsymmetricSecurityBindingElement.cs
20 WSSecurityMessageHeader.cs
21 SecureMessageDecryptor.cs
22 SecureMessageGenerator.cs
23 SecurityChannelListener.cs
24 SecurityRequestContext.cs
26 SecurityRequestChannel.cs
27 SymmetricSecurityBindingElement.cs
28 SecurityOutputChannel.cs
29 SecurityChannelFactory.cs
31 SecurityBindingElement.cs : change namespace to move to internal
34 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
36 * SecurityRequestContext.cs : remove extraneous buffering.
38 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
40 * SecureMessageDecryptor.cs : avoid duplicate copy of headers into
41 the decrypted message.
43 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
45 * Message.cs, MessageBufferImpl.cs, MessageImpl.cs: preserve and
46 output attributes prefixes, to copy Body/@wsu:Id to successfully
49 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
51 * MessageFault.cs : MessageFault from Message could have empty
52 detail. Have it return HasDetail as expected.
54 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
56 * SecurityRequestChannel.cs : do not try to decrypt faults, they
59 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
61 * MessageHeader.cs : to clone raw xml completely, avoid using
62 ReadOuterXml() and text reader but use XmlNodeReader instaed.
63 * Message.cs : avoid extraneous xmlns:u attribute.
65 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
67 * MessageHeader.cs, MessageHeaderInfo.cs: add internal Prefix
68 property and copy them from source to destination.
70 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
72 * MessageImpl.cs : When XmlReaderMessage was writing its contents,
73 it was dropping body attributes, including wsu:Id for WS-Security.
75 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
77 * SecureMessageGenerator.cs : MessageBuffer was missing copy of
78 Body wsu:Id attribute.
79 * HttpRequestChannel.cs : remove comment for resolved issue.
81 2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
83 * HttpListenerManager.cs : move another old code.
85 2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
87 * HttpRequestChannel.cs : remove extra code.
89 2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
91 * XmlReaderBodyWriter.cs, MessageFault.cs: warning cleanups.
93 2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
95 * ChannelFactoryBase.cs : null via uri parameter is not allowed.
97 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
99 * HttpTransportbindingElement.cs : remove "Standalone".
101 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
103 * SvcHttpHandler.cs : removed old code and #if blocks.
105 2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
107 * SvcHttpHandler.cs : add required code for new ASP.NET HTTP stack.
108 Support for new and old stack (both) are temporarily enabled.
109 * HttpTransportBindingElement.cs : switch to new ASP.NET stack.
111 2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
113 * SvcHttpHandlerFactory.cs : remove unused code.
114 * SvcHttpHandler.cs : ditto. Add some code for what new asp.net
115 support will look like.
117 2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
119 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs : remove BodyId.
120 XML attributes on s:Body are handled appropriately, not limited to
121 wsu:Id. Added several required overrides to Message and
122 MessageBuffer implementation classes.
123 * SecureMessageGenerator.cs : so, don't use BodyId. Treat it as a
124 specific case but still fallback.
126 2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
128 * HttpTransportBindingElement.cs :
129 Use new HTTP channel listener implementation.
131 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
133 * HttpListenerManager.cs : cosmetic code formatting fix.
135 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
137 * HttpListenerManager.cs :
138 No need to get messed around MetadataPublishingInfo anymore.
140 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
142 * HttpListenerManager.cs : remove extra different code paths for
143 channel dispatchers with or without mex endpoints.
145 2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
147 * HttpListenerManager.cs : simplify FilterHttpContext().
149 2010-06-22 Atsushi Enomoto <atsushi@ximian.com>
151 * HttpListenerManager.cs : add some comments.
153 2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
155 * HttpReplyChannel.cs : use MessageVersion.None for GET messages.
156 * HttpChannelListener.cs : remove extra field.
157 * HttpListenerManager.cs : check HelpUrl existence (avoid NRE).
158 * HttpRequestContext.cs : reduce internal field.
160 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
162 * MtomMessageEncodingBindingElement.cs: it's base is abstract, use
163 context.GetInnerProperty<T>().
165 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
167 * Binding.cs : enable simpler MessageVersion code (issued got fixed).
168 * MtomMessageEncodingBindingElement.cs, TransportBindingElement.cs,
169 TextMessageEncodingBindingElement.cs : return MessageVersion in
172 2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
174 * Binding.cs : add commented-out code for MessageVersion replacement.
175 * TransactionFlowBindingElement.cs : implement (almost dummy).
177 2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
179 * TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
180 fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
181 (but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)
183 2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
185 * TcpBinaryFrameManager.cs : lock read and write respectively.
186 Finally fixed bug #567672 ('IsOneWay=false' case).
188 2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
190 * DirectionalAction.cs : remove old code from winfx beta.
192 2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
194 * TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
195 here. If the contract is not one-way (IsOneWay = false) and there is
196 a callback, the callback message sent to the client should *not* be
197 assigned RelatesTo header here. Just do it in the request-reply
198 context. Do it in OperationInvokerHandler.
200 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
202 * SvcHttpHandler.cs : remove Sleep() hack. The host is now ensured
203 to wait for channels opened.
205 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
207 * SvcHttpHandler.cs : remove unused field. Some code cleanup.
209 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
211 * HttpReplyChannel.cs : use manual reset.
212 * AspNetReplyChannel.cs : make it equivalent to the above.
214 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
216 * HttpChannelListener.cs : do not accept more than one channel at a
217 time. Remove extra fields. Add CancelAsync() implementation.
219 2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
221 * HttpListenerManager.cs : add a workaround for Func<>.BeginInvoke()
222 problem that blocked ASP.NET channels working.
224 2010-05-19 Andreia Gaita <avidigal@novell.com>
226 * HttpRequestChannel.cs: if the response has no body, create an
227 empty message and return that.
228 Note: the ws-mc protocol defines that the service returns an
229 200 response with an empty body on first connection, this
230 adds support for that (fixes part of #599667)
232 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
234 * DuplexChannelBase.cs
236 TcpChannelListener.cs
237 ChannelListenerBase_1.cs
238 PeerChannelListener.cs
239 HttpChannelListener.cs
240 NamedPipeChannelListener.cs:
241 do the same for channel listener,reply channels and
244 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
246 * ChannelFactoryBase.cs, RequestChannelBase.cs : support
247 MessageVersion in GetProperty<T>() for many transport channels.
249 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
251 * HttpChannelFactory.cs
253 ChannelFactoryBase.cs
254 NamedPipeChannelFactory.cs
255 PeerChannelFactory.cs
256 RequestChannelBase.cs : commonize MessageEncoder.
257 (Commented out GetPrpoerty<T>() for MessageVersion as it is
260 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
262 * MessageHeaders.cs : do not pass empty string array; it almost
263 always results in header-not-found error.
265 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
267 * MessageHeader.cs : do not try to lookup prefix for empty ns.
269 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
271 * MessageImpl.cs : do not use maxBufferSize for initialSize argument
272 for MessageHeaders. Fix OutOfMemoryException for certain usage.
274 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
276 * BindingContext.cs : actually clone is needed everywhere else too.
277 * CustomBinding.cs : remove extra field.
279 2010-05-14 Andreia Gaita <avidigal@novell.com>
281 * BindingContext.cs: Copy elements from the original binding only when
282 creating it, never when cloning it. This way, CanBuildInnerChannel can
283 work recursively as it should.
285 2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
287 * CustomBinding.cs : return clone collection.
288 * BindingContext.cs :
289 Simply use RemainingBindingElements in builder methods.
290 Clone() should be deep copying (as documented).
291 * BinaryMessageEncodingBindingElement.cs
292 MtomMessageEncodingBindingElement.cs
293 TextMessageEncodingBindingElement.cs
294 HttpCookieContainerBindingElement.cs :
295 do not add itself to RemainingBindingElements.
296 * HttpChannelFactory.cs
297 HttpChannelListener.cs
299 TcpChannelListener.cs
300 MsmqChannelFactory.cs
301 MsmqChannelListener.cs
302 NamedPipeChannelFactory.cs
303 NamedPipeChannelListener.cs
304 PeerChannelFactory.cs
305 PeerChannelListener.cs : do not iterate RemainingBindingElements.
306 Instead, iterate all binding elements in the CustomBinding.
308 2010-05-12 Atsushi Enomoto <atsushi@ximian.com>
310 * HttpRequestChannel.cs : implement On[Begin|End][Close|Open] methods.
312 2010-04-30 Atsushi Enomoto <atsushi@ximian.com>
314 * HttpListenerManager.cs : use manual reset here to not cause
315 possible inconsistent locking.
317 2010-04-28 Atsushi Enomoto <atsushi@ximian.com>
319 * HttpChannelListener.cs, HttpListenerManager.cs :
320 Fix NRE issue in olive/samples/wcf/web-http-binding/samplesvc3.exe.
322 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
324 * HttpListenerManager.cs : fixed the issue that mex_info is never
325 retrieved from the latest channel listener (which could be other
326 listener than the one which was set mex info).
328 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
330 * HttpChannelListener.cs, HttpListenerManager.cs :
331 actually it should be ChannelDispatcher-to-HttpChannelListener,
332 to identify which dispatcher to send reqs.
334 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
336 * HttpReplyChannel.cs : remove old Http Keep-Alive workaround.
338 2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
340 * HttpTransportBindingElement.cs,
341 HttpChannelListener.cs,
342 HttpListenerManager.cs : add host-to-http-listener mapping so that
343 they can be managed per host.
345 2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
347 * BindingContext.cs : require a TransportBindingElement when
348 building a channel listener.
350 2010-04-19 Atsushi Enomoto <atsushi@ximian.com>
352 * HttpReplyChannel.cs : use local var to hold wait handle to avoid
353 possible NRE on field. Based on the patch by Matt Dargavel.
355 2010-04-07 Miguel de Icaza <miguel@novell.com>
357 * BufferManager.cs: Implement the BufferManager.
359 2010-04-07 Atsushi Enomoto <atsushi@ximian.com>
361 * WSSecurityMessageHeader.cs : add FIXME comment.
363 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
365 * HttpRequestChannel.cs : add commented note.
367 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
369 * HttpReplyChannel.cs : fill To header only if it does not exist.
371 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
373 * SecureMessageGenerator.cs : set ReplyTo and To, do not add.
375 2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
377 * MessageHeaders.cs : use matching addressing version.
378 Remove header item if the same ones already exist.
380 2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
382 * HttpRequestChannel.cs: don't create the wait handle unless it is
385 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
387 * HttpRequestChannel.cs : use correct max buffer size.
389 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
391 * MessageFault.cs : check null serializer and detail.
392 Make sure to consume s12:Reason EndElement.
394 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
396 * MessageFault.cs : when created from XmlReader, it should not
397 deserialize fault details immediately. This class itself should
398 not do that. Strongly typed FaultContractInfo may want to use the
399 reader (GetReaderAtDetailContents()) for its own deserialization.
401 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
403 * ConnectionOrientedTransportBindingElement.cs,
404 TcpTransportBindingElement.cs : implement GetProperty<T>().
406 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
408 * HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
409 implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
410 properties type from HTTP.
412 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
414 * FaultConverter.cs : use addressing version from the message.
416 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
418 * FaultConverter.cs : check envelope version, not addressing version.
420 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
422 * FaultConverter.cs : implemented TryCreateException().
424 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
426 * MessageFault.cs : cosmetic method name clarification.
428 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
430 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
431 fix BodyWriter buffering that dropped in-scope namespaces and thus
432 caused problem on resolving QNames.
434 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
436 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
437 with certain Exception types.
439 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
441 * Message.cs : fix explanation on CreateMessage() overloads.
443 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
445 * MessageFault.cs : Write Subcode element correctly and fix wrong
446 Code/Value/Subcode element relationship. Give better error message.
448 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
450 * HttpRequestChannel.cs : ok, no need for conditional code path.
452 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
454 * AddressingVersion.cs : add fault action namespace.
456 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
458 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
461 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
463 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
465 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
467 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
470 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
472 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
474 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
476 * HttpRequestContext.cs : removed HTTP status rewriting for
479 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
481 * HttpRequestChannel.cs : handle only 4xx errors as to not process
484 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
486 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
488 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
490 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
491 Patch by Matt Dargavel.
493 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
495 * HttpListenerManager.cs : use lock object which is subject to
496 change. Fix by Matt Dargavel.
498 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
500 * HttpListenerManager.cs : remove consumed HttpListenerContext from
501 the pending queue. Compare "wsdl" request in case insensitive
502 manner. Patch by Matt Dargavel.
504 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
506 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
507 supposed to provide detailed 400 error message.
509 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
511 * TransactionFlowBindingElement.cs: revamp the previous change to
512 not regress regarding service metadata.
514 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
516 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
517 GetProperty<T>() bug that fails to retrieve properties. (This may
518 be rewritten later if an ongoing change proposal is to take place.)
520 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
522 * ReliableSessionBindingElement.cs,
523 PrivacyNoticeBindingElement.cs,
524 RemoteEndpointMessageProperty.cs : added some missing types.
526 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
528 * MessageHeaders.cs :
529 why does it filter out most of the headers? kill it.
531 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
533 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
534 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
535 to not raise "not found" error (see bug #573795).
537 2010-03-16 Jb Evain <jbevain@novell.com>
539 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
540 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
542 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
544 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
545 type, and use null password unless we find a chance to get password
546 in ASP.NET HttpContext.
548 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
550 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
551 HttpListenerManager.cs : ongoing authentication support. It returns
552 401 as expected, but somehow fails to retrieve user info.
554 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
556 * HttpListenerManager.cs : this change (along with HttpListener
557 implementation) somehow fixes basic auth. connection error...
559 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
561 * MessageHeaders.cs : add !NET_2_1.
563 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
565 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
566 typed UniqueId output.
568 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
570 * MessageHeader.cs : no need to treat EndpointAddress as a special
573 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
575 * MessageHeaders.cs : remove duplicate constant.
577 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
579 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
580 EndpointAddress as a special case. Instead, each MessageHeaders
581 property should convert it to appropriate serializable objects.
583 (Our DataContractSerializer fails to reject EndpointAddress as
584 serializable type, so it's rather a preparation step.)
586 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
588 * MessageHeader.cs, Message.cs : use dictionary string whenever
589 applicable. The binary output on #577139 is getting closer (no
590 idea if it is really about binary output though).
592 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
594 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
596 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
598 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
600 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
602 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
603 enable authentication schemes on monotouch.
605 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
607 * SvcHttpHandler.cs : a wait handle could be used for more than one
608 requests and hence it sometimes blocked one reply channel. Now
609 it creates a wait handle for each ASP.NET request so that such
610 multiple use should not occur. This should fix blocking on
611 concurrent requests (it indeed fixes as long as I can see).
613 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
615 * AspNetReplyChannel.cs : remove garbage output.
617 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
619 * SvcHttpHandler.cs : Use lock when it tries to create the service
622 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
624 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
627 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
629 * HttpListenerManager.cs : add another workaround for blocking
632 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
634 * HttpListenerManager.cs : small refactoring.
636 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
638 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
639 that somehow makes callback client to not cause infinite loop.
641 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
643 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
644 DuplexChannelBase.cs : Receive() should rather use TryReceive().
645 It should not be in reverse order.
647 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
649 * HttpReplyChannel.cs, HttpListenerManager.cs :
650 Implement async cancellation in the expected manner (though with
651 some hack). This mostly removed nunit blockers.
653 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
655 * CommunicationObject.cs : fix wrong status changes.
657 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
659 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
661 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
663 * AddressHeader.cs : implement remaining bits.
664 Eliminate dependency on NetDataContractSerializer.
666 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
668 * CommunicationObject.cs : in Fault(), do similar work as previous
671 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
673 * CommunicationObject.cs : when process state changes, lock the
674 object to make sure the state transition is valid.
675 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
677 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
679 * MessageHeaders.cs : implement SetAction().
681 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
683 * ChannelFactoryBase.cs : fix build.
685 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
687 * ChannelBase.cs : cosmetic API fix for SL3.
689 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
691 * ChannelFactoryBase.cs :
692 implement On{Begin/End}Close() on the generic type.
694 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
696 * HttpChannelFactory.cs, TcpChannelFactory.cs,
697 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
698 PeerChannelFactory.cs, HttpRequestChannel.cs:
699 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
700 type and made required changes.
702 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
704 * HttpCookieContainerBindingElement.cs : new.
705 * IHttpCookieContainer.cs : fix type name.
706 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
708 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
710 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
711 does not happen when communicating with .NET client but happens with
712 mono). Seealso FIXME comment.
713 * TcpDuplexSessionChannel.cs : do not try to close session when it
714 failed to read sized message. The connection is already dead.
718 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
720 * TcpDuplexSessionChannel.cs :
721 Write EndRecord only when the connection is available.
722 Remove hack - do let ChannelDispatcher close the channel.
723 * TcpBinaryFrameManager.cs :
724 The socket may be disconnected when trying to read a sized message,
725 so check some socket exceptions.
726 In case the client silently shuts down without EndRecord and
727 reconnects to the server with preamble while expecting a sized
728 message (which is so lame, but that's what .NET often does), refresh
729 preamble and continue.
731 This fixes some cases of bug #567949 but not all.
733 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
735 * BinaryMessageEncoder.cs : enable workaround buffering only when
736 the argument stream does *not* support seek. This fixes some
737 net.tcp connection problem.
739 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
741 * TcpBinaryFrameManager.cs : If preamble byte is not available from
742 the client stream, detect it to close the reply or input channel.
743 * TcpRequestChannel.cs : send preamble at each request time.
744 It differentiates communication behavior on such cases that involve
745 single open and multiple requests.
746 * TcpReplyChannel.cs : close the channel only when the channel is
747 oeprated to close i.e. do not close the socket every time.
748 Process preambles on each request (the same as request channel).
750 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
752 * TcpBinaryFrameManager.cs : unsized envelope record may have more
753 than one data block, so consume them accordingly. This should fix
754 large buffer consumption.
756 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
758 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
761 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
763 * HttpRequestContext.cs : for DestinationUnreachable message, this
764 channel returns 400 in .NET.
766 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
768 * BinaryMessageEncoder.cs : added workaround for strange stream
769 consumption error raised by HttpTransport + Binary encoder example.
770 * BinaryMessageEncodingBindingElement.cs:
771 only SOAP 1.2 is allowed for this encoder.
773 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
775 * XmlReaderBodyWriter.cs : don't try to write empty xml.
777 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
779 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
780 default WebHeaderCollection items are overwritten.
782 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
784 * HttpRequestChannel.cs : when HTTP response was error, do not try
785 to read message but just raise an error.
787 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
789 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
791 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
793 * HttpRequestChannel.cs : WebException.Response might be null.
795 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
797 * ReplyChannelBase.cs : added listener property.
798 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
799 been updated to prefer async by default, a while ago.
801 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
803 * HttpTransportBindingElement.cs : finished all GetProperty() values.
805 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
807 * HttpRequestChannel.cs : disabled carelessly added
808 "UseDefaultCredentials = false" line. It blocked basic auth.
810 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
812 * HttpRequestChannel.cs, HttpChannelFactory.cs,
813 HttpChannelListener.cs, HttpListenerManager.cs :
814 implemented http client authentication and some of corresponding
815 service code. Only client works so far.
817 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
819 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
820 added URI scheme check.
822 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
824 * TransportSecurityBindingElement.cs : fix 2.1 build.
826 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
828 * HttpsTransportBindingElement.cs :
829 RequireClientCertificate is false by default.
830 Remove extra #if NET_2_1.
831 * SecurityBindingElement.cs :
832 Implement some transport security factory methods.
833 * TransportSecurityBindingElement.cs :
834 It is not ISecurityCapabilities anymore.
836 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
839 SecurityBindingElement.cs
840 LocalClientSecuritySettings.cs
841 TransportSecurityBindingElement.cs
842 FaultConverter.cs : They are now part of SL3 API.
844 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
846 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
848 2009-11-05 Geoff Norton <gnorton@novell.com>
850 * HttpsTransportBindingElement.cs: Implement basic https transport
851 binding support for Moonlight and MonoTouch
853 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
855 * HttpListenerManager.cs : remove CWLs.
857 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
859 * SvcHttpHandler.cs : move back previous listener selector code in
860 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
861 and differentiate requests to deeper paths (such as /jsdebug), so
862 we need such refinement here.
864 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
866 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
869 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
871 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
872 HttpChannelListener.cs, HttpListenerManager.cs :
873 Similar refactoring on ASP.NET side to the previous one.
874 Added ASP.NET implementation of HttpListenerManager and use some
875 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
877 Rewrote AspNetReplyChannel to become almost the same as
878 HttpSimpleReplyChannel, to hopefully unify them later.
879 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
880 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
883 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
885 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
886 Refactoring on listener manager to correctly handle wsdl and help
887 requests for such case that they conflict in addressing. Now it
888 can correctly distinguish service calls, WSDL requests and help
889 requests when all of them point to "http://localhost/foo.svc"
890 (which is very common case that the user does not change Http*Url).
892 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
894 * ChannelListenerBase.cs : add Properties property to add arbitrary
895 properties handy (only inside this assembly).
897 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
899 * HttpReplyChannel.cs : fix warning.
901 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
903 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
905 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
907 * HttpReplyChannel.cs : make sure to release wait lock.
908 * HttpChannelListener.cs : session channels are not supported, so
909 remove relevant NIEs.
911 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
913 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
914 support contexts so we call the non-overloaded WaitOne method
915 (which defaults to false).
917 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
919 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
920 significant rewrite to cooperate wcf handler and asp.net handler
921 to not mix multiple WCF listener within the asp.net handler.
922 So far it mostly works when 1) there are no ChannelDispatchers
923 that have an identical listen Uri and 2) MaxConcurrentSessions is
924 1 (must be explicitly set).
926 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
928 * CommunicationObject.cs : give better state error description.
930 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
932 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
933 to base methods. This resulted in not a few changes everywhere.
935 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
937 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
939 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
941 * SvcHttpHandler.cs : use file path given by the factory to
942 construct BaseAddresses. Requests to "test.svc/jsdebug" should
943 not be handled as request to "jsdebug" file, it's rather an
944 "argument" to "test.svc".
946 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
948 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
949 rewrite to handle shutdown situation better. The listeners should
950 not close channels that it opened. Instead, just stop accepting
951 further requests. Removed blocking mutex on WaitForRequest().
952 Now xsp shuts down as expected.
954 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
956 * HttpReplyChannel.cs : lock list when releasing its content contexts.
957 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
960 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
962 * SvcHttpHandlerFactory.cs : remove todo.
963 * ReplyChannelBase.cs : add comment.
965 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
967 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
968 revert the change, to use internal asp.net state again.
969 * SvcHttpHandler.cs : add VirtualPathExtension.
971 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
973 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
974 asp.net response was not written correctly.
975 Fill HttpRequestMessageProperty to get handle WSDL requests
976 processed in ServiceMetadataExtension without NRE.
977 Remove wrong HttpListenerContext iteration at Abort and Close in
978 common base class and move it to non-asp derived channel.
980 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
982 * SvcHttpHandler.cs : remove unused code.
984 2009-09-30 Jb Evain <jbevain@novell.com>
986 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
987 to use any of the remoting features.
989 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
991 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
992 use AspNetCompatibilityEnabled.
993 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
995 * AspNetReplyChannel.cs : remove extra field.
997 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
999 * HttpReplyChannel.cs : remove extra field.
1001 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
1003 * AspNetRequestContext.cs : remove CWL.
1005 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
1007 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
1008 only after AspNetRequestContext is closed. Do not close it
1009 immediately after receiving the context. (HttpRuntime destructs it
1010 and further uses then becomes impossible.)
1012 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
1014 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
1015 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
1016 Make sure that AspNetChannelListener is bound to correct
1017 SvcHttpHandler, regardless of specific request URI. It is required
1018 for both WSDL requests and RESTful binding requests.
1020 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1022 * MessageProperties.cs : fix CopyProperties() behavior to not
1023 clear existing items. Make all properties call this[name].
1025 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1027 * HttpTransportBindingElement.cs : fix 2.1 build.
1029 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1031 * TransportBindingElement.cs : another GetProperty fix, iterate
1032 other binding elements.
1034 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1036 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
1037 some GetProperty() implementation.
1039 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
1041 * HttpListenerManager.cs : release HttpListener and avoid extra
1042 close process more than once.
1044 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
1046 * HttpChannelListener.cs : do not iterate channel list to close
1047 channels which in turn removes them from the list while iteration.
1049 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
1051 * HttpRequestChannel.cs : Fix message version member comparison.
1052 Double-quote SOAPAction. Remove extra Exception.
1053 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
1054 * HttpRequestContext.cs : when addressing is None, remove action
1057 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
1059 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
1060 path, to pick those endpoints that are added at custom factories.
1062 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1064 * SvcHttpHandler.cs : apply configuration, and if there is still no
1065 endpoint, then add default one.
1067 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1069 * SvcHttpHandler.cs : another URL to make relative.
1071 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1073 * SvcHttpHandlerFactory.cs : some GetHandler changes.
1074 * SvcHttpHandler.cs : significant changes on receiver structure. Now
1075 ProcessRequest() stores pending requests (this might be extraneous,
1076 but maybe useful when it implements async handler). Also removed
1077 reply_channel field as it may become to handle multiple requests.
1078 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
1079 * AspNetReplyChannel.cs : make it receive requests like
1080 HttpReplyChannel (for HttpListener) to make them consistent.
1082 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1084 * AspNetRequestContext.cs, HttpRequestContext.cs :
1085 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
1086 by splitting HttpListener-based context out from common code base.
1088 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
1090 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
1091 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
1094 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1096 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
1097 loads types from system assemblies appropriately.
1099 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1101 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
1102 for XmlReader input.
1104 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
1106 * HttpRequestMessageProperty.cs : fix default values.
1108 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
1110 * HttpChannelFactory.cs, HttpRequestChannel.cs,
1111 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
1112 Check ManualAddressing value and reject address-missing ones.
1114 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
1116 * HttpChannelFactory.cs : reject URI mismatch cases when required.
1118 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1120 * PeerDuplexChannel.cs : When received Connect() from neighbor,
1121 add the peer to its internal list.
1122 Finally ChatApplication got working.
1124 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1126 * PeerDuplexChannel.cs : since the channel factory is per instance,
1127 do not reuse factory that is tied to different callback instance.
1128 It resolved the issue that mono callback client didn't receive
1129 messages from the client itself.
1131 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1133 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
1134 of the receiver, not the requestor. It resolved the issue that
1135 .NET client didn't send further messages to mono server.
1137 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
1139 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
1140 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
1141 TcpReplyChannel.cs, TcpRequestChannel.cs,
1142 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
1143 rename EndRecord handling method to appropriate one.
1144 Write EndRecord from recipient too.
1146 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1148 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
1149 Process PeerTo header to upgrade Message To header. Now mono
1150 service accepts mono client (somehow not true for .NET client).
1152 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1154 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
1155 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
1157 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1159 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
1161 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
1163 * TcpDuplexSessionChannel.cs : check channel state before processing
1166 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1168 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
1169 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
1170 ongoing works, not working at all yet.
1172 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1174 * TcpChannelListener.cs, TcpReplyChannel.cs :
1175 cosmetic cleanup and corrections.
1177 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1179 * TcpChannelFactory.cs : use expected Via uri.
1180 Remove extra NIE stuff that are implemented in base.
1182 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1184 * TcpDuplexSessionChannel.cs : remove extra code.
1186 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1188 * PeerDuplexChannel.cs : ongoing implementation towards get callback
1189 replies on peer connector clients (not working as duplex client
1190 callback is not working yet).
1192 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1194 * TcpDuplexSessionChannel.cs : in callback client channels,
1195 OperationContext.IncomingMessageHeaders is null.
1197 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
1199 * MessageHeaders.cs : duplicate check was sloppy.
1201 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
1203 * Message.cs, MessageImpl.cs, BodyWriter.cs :
1204 Implement BodyWriter.OnCreateBufferedCopy() and use it.
1206 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
1208 * ReplyChannelBase.cs : initialize field.
1210 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1212 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
1213 implement GetProperty<T>() and return its channel manager.
1215 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1217 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
1218 destination address in Connect() request. To repeat sending
1219 request, use buffered copy. Set some peer-channel specific
1220 header items. (todo: and consume them.)
1222 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1224 * Message.cs : state is set only after WriteBodyContents().
1226 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1228 * MessageHeaders.cs : eliminate wrong use of
1229 ReadElementContentAsString() (it is not always simple string).
1231 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1233 * MessageHeaders.cs : when the value is null, do not try to
1234 deserialize EndpointAddress.
1236 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1238 * MessageHeader.cs : add Value property. (Forgot dependent change.)
1240 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
1242 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
1243 serialization and deserialization of values.
1245 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1247 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
1248 Now simply use connector contract.
1250 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1252 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
1254 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1256 * TcpChannelListener.cs : do not try to compare dead connection's
1257 IPEndPoint (it raises an error).
1259 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1261 * MessageHeaders.cs : allow null header value on each specific setter.
1263 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
1265 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
1266 get local and remote address of connected counterpart to get
1267 callback channel connected.
1268 * PeerDuplexChannel.cs : remove FIXME wrt above.
1270 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
1272 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
1274 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
1276 * MessageHeader.cs : fill IsReferenceParameter.
1278 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
1280 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
1281 implement remaining async methods and LocalAddress.
1283 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
1285 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
1286 ServiceHost to process neighbor connection (not sure if this is
1287 right way to go though ...).
1289 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1291 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
1292 connection part to use new internal IPeerConnectorContract for
1293 neighbor connection.
1295 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1297 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
1298 PeerChannelListener.cs, HttpChannelListener.cs :
1299 support ListenUri accordingly too so that it could be used when
1300 it is different from LocalAddress.Uri.
1302 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1304 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
1305 TcpRequestChannel.cs : use Via uri to validate and connect.
1307 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1309 * RequestChannelBase.cs, DuplexChannelBase.cs :
1310 Return endpoint address Uri when no explicit Via uri is specified.
1311 * ChannelFactoryBase.cs : Remove extra async close methods.
1312 Add async open methods. Reject null EndpointAddress.
1313 * PeerChannelFactory.cs : remove async open methods (now in base).
1315 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1317 * PeerDuplexChannel.cs : set correct message endpoint (To header).
1319 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
1321 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1322 DuplexChannelBase.cs : set LocalAddress property at base.
1324 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1326 * PeerDuplexChannel.cs : ongoing refactoring to work both as
1327 listener and client. Now it creates a listening peer node, and
1328 creates a set of TCP client channels for each peer in the mesh.
1330 (EndpointAddress must be fixed to not filter out correct inputs).
1332 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1334 * PeerChannelListener.cs : do not accept more than one channel
1335 which results in lots of listening peer node. Only one is enough.
1337 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
1339 * DuplexChannelBase.cs : fix wrong loop implementation.
1341 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1343 * TcpChannelListener.cs : to avoid creating two or more channels
1344 for one remote endpoint, check existing remote endpoints and
1345 ignore such connections (it must be handled in different thread
1346 fired by ChannelDispatcher loop).
1348 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1350 * TcpReplyChannel.cs : make sure to not try to receive request when
1351 it is already closed.
1353 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1355 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1356 some mannerless clients [*1] do not send EndRecord accordingly, but
1357 such channels at listener side should not be kept open. So, close
1358 disconnected channels when the listener needs to accept another
1360 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
1362 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1364 * TcpDuplexSessionChannel.cs :
1365 Remove extra NIE overrides.
1366 Implement OnAbort() apart from OnClose().
1367 For duplex session channel, unlike reply channel, it must acquire
1368 TCP connection before OnOpen(), otherwise ChannelDispatcher
1369 releases the connection acceptance WaitHandle and the detected
1370 live connection may be stolen by another channel acceptor.
1372 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
1374 * HttpRequestChannel.cs : implement OnAbort().
1376 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1378 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
1379 * DuplexChannelBase.cs : comment out some extra fields (so far).
1380 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
1382 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
1384 * PeerCustomResolverBindingElement.cs : add some null checks.
1386 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1388 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
1389 Acquire TcpClient for each request/reply. Now it is fully
1390 interoperable with .NET.
1392 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1394 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
1395 ReplyTo and MessageId (though it is session-less), and it expects
1396 EndRecord at weird stage, inconsistent with [MC-NMF]...
1397 Now .NET service accepts one mono client request.
1399 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1401 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
1402 Send and receive unsized message terminator at once.
1403 Send EndRecord mutually. Got one .net client request working.
1405 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1407 * BinaryMessageEncoder.cs : revert the previous dictionary change.
1408 They are indeed used for non-in-band-dictionary messages.
1410 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1412 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1413 split out binary frame manager class into separate file.
1415 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1417 * TcpReplyChannel.cs : new reply channel implementation.
1418 * TcpChannelListener.cs : use above for streamed reply channel.
1419 * TcpDuplexSessionChannel.cs : more streaming mode support.
1420 * TcpRequestChannel.cs : a couple of updates to get it working
1421 with the reply channel above. Still some issues on .NET interop.
1423 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1425 * RequestContext.cs : added internal derived class that implements
1428 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1430 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1433 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1435 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1436 (The messaging must be done as TCP request/reply pattern, so it's
1439 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1441 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1442 messaging pattern). The messaging part is not working yet.
1443 * TcpChannelFactory.cs : support IRequestChannel.
1444 * TcpDuplexSessionChannel.cs : add unsized message support.
1446 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1448 * HttpRequestChannel.cs, RequestChannelBase.cs :
1449 A couple of async members are now implemented in the base class.
1450 Ditto for EndpointAddress and Via.
1452 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1454 * PeerDuplexChannel.cs : now it implements some of node management
1455 functionality and Send operation. The receiver part is not yet.
1457 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1459 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1460 timeout to channel constructor. it does not make sense.
1462 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1464 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1465 as common interface member, and use binary encoder (not text).
1467 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1469 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1471 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1473 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1474 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1475 going to be unified to PeerDuplexChannel. And it is likely that
1476 input and output functionalities are to be unified too.
1478 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1480 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1481 may have to reuse it for peer transport.
1482 * PeerChannelListener.cs : add binding member.
1483 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1485 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1487 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1488 PeerChannelFactory.cs : close opened channels at OnClose() as
1489 documented. Implement async methods.
1490 * PeerChannelListener.cs : removed some NIE overrides.
1492 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1494 * DuplexChannelBase.cs : some more async methods.
1496 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1498 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1500 * TcpChannelListener.cs : accept multiple channels at a time.
1502 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1504 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1505 session strings but output only those new ones in current message.
1506 This fixes inconsistent body output in repetitive use of sender.
1508 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1510 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1511 operation that does not involve session.
1512 Preserve writer session as well as reader session.
1513 * MessageHeaders.cs : take name and namespace into consideration
1514 when creating a serializer.
1516 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1518 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1519 Made required changes for repeated use of message exchanges.
1520 Hold binary reader session. The channels use it incrementally.
1521 Preambles are handled at Open, and EndRecords are handled at
1522 Close, Add session shutdown hook here (not working yet though).
1524 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1526 * ChannelListenerBase_1.cs : added cancellation hook here too.
1527 HttpChannelListener.cs : use above.
1528 Do not allow parallel channel creation (this listener does not
1529 allow more than one AcceptChannel().
1531 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1533 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1534 Add cancellation hook for async TryReceiveRequest.
1536 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1538 * HttpChannelListener.cs, HttpListenerManager.cs :
1539 slightly improved BuildChannelListener().
1540 Implement OnAbort() and differentiate it from OnClose().
1542 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1544 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1546 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1548 * DuplexChannelBase.cs : simple async delegate calls here too.
1550 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1552 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1554 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1556 * HttpReplyChannel.cs : cosometic simplification.
1558 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1560 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1561 infinite block in 2.0 profile.
1563 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1565 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1566 more careful close to avoid NRE.
1568 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1570 * HttpChannelListener.cs : do not Close() more than once (though
1571 it is allowed to call it twice, we don't reject it; just ignore).
1573 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1575 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1577 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1579 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1580 Temporarily disable HTTP Keep-Alive since it somehow results in
1581 wrong reuse of connection (shown as NRE in HttpConnection).
1582 Make sure to close RequestContext which was created from it.
1583 * HttpRequestContext.cs : simplify.
1585 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1587 * HttpChannelListener.cs, TcpChannelListener.cs,
1588 ChannelListenerBase_1.cs : put common internal listener base
1589 and let it handle those async stuff.
1591 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1593 * ReplyChannelBase.cs : fix wrong null delegate check point.
1595 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1597 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1598 now implemented as virtual in base class. Remove NIEs in http.
1600 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1602 * HttpChannelListener.cs : hack async implementation.
1604 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1606 * HttpListenerManager.cs : oops, extra line removal.
1608 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1610 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1612 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1614 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1615 "ChannelManager" is confusing (there is ChannelManagerBase).
1617 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1619 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1620 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1621 they should be split into separate listener->reply channel lines
1622 (remove "if (HostingEnvironment.IsAspNet)".)
1624 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1626 * CommunicationObject.cs : OnClosed() requires call to base method.
1627 Close() could rather abort the channel, and Abort() does not
1628 always invke OnAbort().
1629 * ChannelBase.cs : add call to base as above.
1631 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1633 * ClientAccessPolicy.cs: Removed
1634 * CrossDomainAccessManager.cs: Removed
1635 * CrossDomainPolicy.cs: Removed
1636 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1637 since this is now done inside the BeginGetResponse call (outside
1638 this assembly) for Moonlight (NET_2_1)
1640 2009-06-04 Alan McGovern <amcgovern@novell.com>
1642 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1643 instead of the sync apis. Prevents a possible deadlock condition in
1646 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1648 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1649 callbacks, so add hacky ones.
1651 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1653 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1654 true when socket input is not available.
1656 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1658 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1659 I cannot precisely identify when EndRecord should be consumed,
1660 so allow it at either at the end of ReadSizedMessage() or on
1661 consuming preamble (it's likely handling EndRecord of previous
1664 Now duplex IPeerResolverContract communication works between
1665 either of .NET/Mono client and .NET/Mono server.
1667 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1669 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1670 code. Handle preamble ack on ReadSizedMessage() only at server.
1671 Consume EndRecord from server, at client side. Though it is likely
1672 changed as it's blocking when mono is at server side.
1674 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1676 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1677 different protocol than existing code with related to preamble ack.
1678 So changed it to work fine with .NET client (finally).
1680 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1682 * MessageBufferImpl.cs : do not output Action twice.
1684 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1686 * MessageBufferImpl.cs : it did not copy headers.
1687 * Message.cs : remove 2_1 conditional implementation for buffered
1688 copy and hence remove bogus code.
1690 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1692 * MessageProperties.cs : copy argument is wrong.
1694 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1696 * PeerCustomResolverBindingElement.cs : some argument check.
1698 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1700 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1701 xml open, so close the writer as well as open elements.
1702 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1703 Do not output EndRecord and SizedMessage at a time.
1705 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1707 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1708 length of the SizedMessage in the output.
1710 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1712 * CommunicationObject.cs : use sane default timeout.
1713 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1714 * TcpDuplexSessionChannel.cs : ditto.
1716 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1718 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1719 only accepts buffered messages, so do as such for write buffers.
1720 Add RelatesTo header.
1722 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1724 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1725 rename from former to latter.
1727 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1729 * TcpDuplexSessionChannel.cs : reader does not always return full
1730 buffer (depending on the stream).
1732 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1734 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1736 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1738 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1741 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1743 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1745 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1747 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1749 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1751 * ChannelManagerBase.cs : fix wrong session channel detection.
1753 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1755 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1756 This encoder factory implements CreateSessionEncoder() and binary
1757 encoder does support session transmit, in different media type.
1758 * ChannelManagerBase.cs : added utility method to create appropriate
1760 * HttpChannelFactory.cs, HttpChannelListener.cs,
1761 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1762 PeerChannelFactory.cs, PeerChannelListener.cs,
1763 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1765 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1767 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1769 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1771 * DuplexSessionBase.cs : new file, for session implementation.
1772 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1773 DuplexSessionChannelBase.cs : changed sync/async implementation
1774 pattern. Now async methods call sync methods using delegates.
1776 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1778 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1779 a few minor API fixes.
1781 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1783 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1785 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1787 * TcpDuplexSessionChannel.cs : add To header.
1789 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1791 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1794 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1796 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1798 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1800 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1801 CommunicationException in each CreateFault().
1803 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1805 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1806 Open(). Some (but not all yet) continuous communication works now.
1807 Use ProtocolException. Remove dummy binary session string.
1809 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1811 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1812 sending/receiving SizedMessageRecord parts to manager class.
1813 Handle writer session, though it is likely broken at dictionary
1814 writer part (no string is written so far).
1815 * BinaryMessageEncoder.cs : add writer session and rename reader
1818 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1820 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1821 is mandatory in initiator preamble packet. Handle Fault reply in
1824 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1826 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1827 based communication under TcpBinaryFrameManager class.
1829 2009-05-13 Jb Evain <jbevain@novell.com>
1831 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1832 from a StringReader.
1834 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1836 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1837 actually eliminate DOM-based implementation too in 2.0.
1839 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1841 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1842 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1843 comments for magic numbers based on [MC-NMF].
1845 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1847 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1848 support for [MC-NBFSE] record in [MC-NMF], in this class.
1850 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1852 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1854 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1856 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1858 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1860 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1862 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1864 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1866 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1868 * BinaryMessageEncoder.cs : use quotas in binding element.
1869 Implement WriteMessage().
1871 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1873 * PeerCustomResolverBindingElement.cs : do initialize field.
1875 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1877 * PeerCustomResolverBindingElement.cs :
1878 implement full custom resolver.
1880 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1882 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1883 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1884 PeerChannelFactory.cs : ongoing p2p channel implementation.
1886 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1888 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1890 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1892 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1893 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1894 implement GetProperty<T>(). Return documented objects or null.
1896 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1898 * PeerChannelFactory.cs, PeerChannelListener.cs,
1899 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1900 PeerInputChannel.cs, PeerOutputChannel.cs :
1901 new; ongoing peer transport implementation.
1902 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1903 MsmqOutputChannel.cs, OutputChannelBase.cs,
1904 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1905 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1906 several internal changes (either required or for simplification)
1907 for ongoing peer transport implementation.
1909 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1911 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1913 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1915 * TcpTransportBindingElement.cs : check build-ability before
1916 actually building channels.
1917 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1918 conditions according to MSDN.
1920 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1922 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1923 handle headers in SL2. Slightly changed 3.0 code too.
1925 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1927 * HttpRequestChannel.cs : use cross domain access manager.
1929 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1931 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1932 message as BodyWriter.
1933 (in GetReaderAtBodyContents) just write body contents.
1934 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1936 Add some state check in GetReaderAtBodyContents().
1937 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1939 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1941 * Message.cs : do not forget to flush.
1942 * HttpRequestChannel.cs : give more exact error info.
1944 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1946 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1947 make buffered copy in ML2 really buffered.
1949 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1951 * Message.cs : if there is no header item to write, do not write
1952 SOAP header element.
1954 2009-01-22 Alan McGovern <amcgovern@novell.com>
1956 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1957 Rewrite to avoid usage of it.
1959 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1961 * ChannelParameterCollection.cs : implement, rather than NIE.
1963 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1965 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1966 internal users to know the type of the detail.
1968 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1970 * Message.c: Use private setter for state private variable to ease debugging.
1971 Modify ToString not to change the state, as it is called quite often by VS debugger
1973 2008-04-21 Roei Erez <roeie@mainsoft.com>
1975 * HttpChannleManager: Fix for multithreaded use.
1976 * HttpReplyChannel: Fix crash during sutdown.
1978 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1980 * HttpChannleManager: ensure trailing slash in uri.
1982 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1984 * added: HttpChannleManager,
1985 * HttpChannelListener: added use of HttpChannelManager
1987 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1989 * MessageEncodingBindingElement.cs: fixed ctor
1991 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1993 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1995 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1997 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1999 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2001 * MessageFault.cs: fixed CreateFault11, implemented "detail"
2003 2008-04-17 Noam Lampert <noaml@mainsoft.com>
2005 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
2007 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
2009 * BindingElementCollection.cs: fix API - .ctor's signature.
2011 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
2013 * XmlSerializerBodyWriter.cs: Removed.
2015 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
2017 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
2019 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
2021 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
2022 * TcpChannelFactory.cs, TcpChannelListener.cs :
2023 unify factory and listener into TcpChannelInfo for use in
2024 TCP channel implementation. Do not store stream in the listener.
2025 Factory now uses BinaryMessageEncoder.
2026 * TcpDuplexSessionChannel.cs : changes explained above, and now it
2027 holds TcpClient that the listener has accepted.
2029 tcp-transport-binding-element sample now communicates (though
2030 only when both sides are mono: there seems binary mismatch).
2032 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
2034 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
2035 clone connection pool settings too.
2036 * NamedPipetransportBindingElement.cs,
2037 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
2038 being likely implemented though).
2040 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
2042 * ConnectionOrientedTransportBindingElement.cs,
2043 TcpTransportBindingElement.cs : some API updates.
2044 Initialize default values.
2045 * TcpConnectionPoolSettings.cs : new file.
2047 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
2049 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
2050 added support for "factory" attribute.
2052 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2054 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
2056 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2058 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
2060 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2062 * HttpRequestChannel.cs : create WebRequest against To message header
2064 Consider HttpRequestMessageProperty.
2065 Do not output body when suppressed or the method is GET.
2067 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
2069 * HttpChannelListener.cs : BindingContext may not have listenUri
2070 at its .ctor() step.
2072 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
2074 * BindingContext.cs : RemainingBindingElements is not just a dummy
2075 collection but is actually user-controlled.
2077 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
2079 * TcpChannelFactory.cs, TcpChannelListener.cs,
2080 HttpChannelFactory.cs, HttpChannelListener.cs,
2081 MsmqChannelFactory.cs, MsmqChannelListener.cs,
2082 TextMessageEncodingBindingElement.cs,
2083 BinaryMessageEncodingBindingElement.cs,
2084 MtomMessageEncodingBindingElement.cs :
2085 message encoder should be retrieved only through public API.
2086 * BindingContext.cs : so my old guess was wrong.
2088 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
2090 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
2092 * HttpTransportBindingElement.cs : implemented copy constructor.
2094 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
2096 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
2097 header when AddressingVersion is None.
2099 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
2101 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
2104 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
2106 * OneWayBindingElementImporter.cs
2107 CompositeDuplexBindingElementImporter.cs : new files.
2109 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
2111 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
2112 semantic change, its bool parameter must be false, not true.
2114 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
2116 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
2117 new files. Msmq transport listener Implementation.
2118 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
2119 (wait for System.Messaging impl.)
2120 * HttpReplyChannel.cs : added comment
2122 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
2124 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
2125 new files. internal stuff for msmq channel.
2126 * BinaryMessageEncoder.cs : added another .ctor().
2127 * MsmqTransportBindingElement.cs :
2128 implemented [Can]BuildChannelFactory().
2130 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
2132 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
2133 initialize some fields.
2135 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
2137 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
2138 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
2139 couple of msmq stubs.
2141 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
2143 * SecureMessageGenerator.cs : SecurityContextToken support (though
2144 it is still regarded as invalid by WCF).
2146 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
2148 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
2149 make header.Contents.Add() more strict.
2150 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
2152 Added some hack to allow ssl token external mode.
2153 Commented out such lines that always premised asymmtric key.
2155 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
2157 * TransactionFlowBindingElement.cs : forgot necessary Clone().
2159 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
2161 * MessageSecurityBindingSupport.cs : support check to create
2162 authenticator is now done in both initiator/recipient sides.
2163 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
2165 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2167 * MessageSecurityBindingSupport.cs : for now, comment out the code
2168 that makes authenticator creation optional.
2169 * SecurityRequestContext.cs : don't decrypt message when it is
2170 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
2172 * SecurityChannelListener.cs : GetProperty<T>() now returns
2173 MessageSecurityBindingSupport when requested. It is used by
2174 EndpointDispatcher to check if it supports WS-Trust negotiation.
2175 * ChannelListenerBase.cs :
2176 removed extra TODO and field. Implemented GetProperty<T>().
2177 * Message.cs : In CreateMessage() for SOAP Fault, create
2178 SimpleMessage with IsFault = true.
2180 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2182 * SecurityRequestContext.cs : try to reply fault with the inner
2183 channel when an error occurred internally.
2184 * FaultConverter.cs : implemented based on OperationContext (at normal
2185 state it does not seem to create messages, so I implemented it this
2188 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
2190 * TransportBindingElement.cs : implemented GetProperty<T>().
2191 * TransactionFlowBindingElement.cs : on building factory or listener,
2192 reject channel types that cannot build.
2193 * SecurityBindingElement.cs : added some TODO comments.
2194 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
2195 delegate to base, not BindingContext.
2196 * SecurityRequestContext.cs : somewhat late decryption.
2198 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
2200 * MessageSecurityBindingSupport.cs,
2201 AsymmetricSecurityBindingElement.cs,
2202 SymmetricSecurityBindingElement.cs :
2203 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
2204 implemented ISecurityCapabilities on them. Now those binding
2205 elements support GetProperty<ISecurityCapabilities>().
2207 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
2209 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
2210 will work only for predefined parameter types.
2212 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
2214 * MessageSecurityBindingSupport.cs :
2215 Set proper MessageDirection to the requirement after creation.
2216 split CreateTokenAuthenticator() as MessageDirection is different.
2217 Removed extra creation of requirement.
2219 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
2221 * MessageSecurityBindingSupport.cs : token authenticator is not
2222 always created on channel-opening stage.
2223 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
2224 Sslnego binding factory method.
2226 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
2228 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
2229 signature velification failure.
2231 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2233 * SecureMessageGenerator.cs : encrypt signature confirmations only
2234 when they are required.
2236 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2238 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
2239 when [Signature Protection is true i.e. when we use
2240 SignBeforeEncryptAndEncryptSignature.
2242 With this change finally samplesvc.cs/samplecli.cs became
2245 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2247 * SecureMessageDecryptor.cs : signature verification was not done
2248 for endorsing supporting tokens.
2249 * SecureMessageGenerator.cs : moved SignatureConfirmation position
2250 in the security header. Don't output empty ReferenceList.
2252 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2254 * SecureMessageGenerator.cs : signingToken was added before being
2255 initialized and thus caused NRE.
2257 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2259 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2260 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
2261 don't need workaround for symmetric key restoration.
2263 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2265 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2266 SecureMessageGenerator.cs :
2267 Avoid extra reference search from the request's ReferenceList.
2268 create HMACSHA1 always with the key to compute hash (I'm not sure
2269 it is correct; it is rather to adjust all hash consistent.)
2271 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2273 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
2274 actually endorsed the primary signature.
2275 * SecureMessageGenerator.cs : implemented endorsing of the primary
2276 signature. So, now supporting tokens are fully implemented.
2278 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
2280 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
2281 totally signing tokens.
2282 * SecureMessageGenerator.cs : Endorsing tokens should also be
2283 included in the message. They are just not signed.
2285 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
2287 * SecureMessageGenerator.cs : support signing and encryption of
2288 supporting tokens. Some required refactory to do it.
2289 * MessageSecurityBindingSupport.cs : added EncryptedData member.
2291 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
2293 * SecureMessageDecryptor.cs : fix exception message.
2294 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
2295 XmlNamespaceManager is not required for GetIdElement().
2297 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
2299 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
2300 moved decryption part from former file to latter file, to reuse
2301 SignedXml instance (though now I doubt how it actually was good)
2302 which in turn required to replace EncryptedData in
2303 WSSecurityMessageHeader with decrypted one.
2304 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
2306 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2308 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
2309 EncryptedData should contain KeyInfo as it is not obvious which key
2310 is used there. .net<->mono DerivedKeyToken introp is done.
2311 * SecureMessageDecryptor.cs : check derived key requirement.
2312 Reduce dom-dependent parts.
2314 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2316 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
2317 the related DerivedKeyToken (if any).
2318 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
2319 support. Some refactoring to distinguish deried-token-related
2321 * SecureMessageDecryptor.cs : removed its own support for derived
2322 key tokens. Now it fully works with DerivedKeySecurityToken.
2324 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
2326 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
2327 SecureMessageDecryptor.cs :
2328 Implemented increment token reading in o:Security, as
2329 DerivedKeyToken could reference to existing wrapped key.
2330 Removed WsscDerivedKeyToken and all relevant code.
2331 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
2332 DerivedKeySecurityToken.
2334 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
2336 * SecureMessageGenerator.cs : it was setting security tokens into
2337 incorrect SecurityMessageProperty.
2338 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
2339 Now it uses SecurityRequestContext instead of just primary key.
2340 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
2341 to symmetric reply decryption, which is the only trouble case.
2342 Do not create another SignedXml.
2343 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
2345 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
2347 * SecureMessageDecryptor.cs : Now it uses union token resolver and
2348 the resolver works with in-progress token reading in o:Security.
2349 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
2350 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
2351 * SecureMessageGenerator.cs : cosmetic refactoring.
2353 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
2355 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
2356 instead of EncryptedKey.
2358 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
2360 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
2361 should not be always prepared at channel Open(). It also caused
2362 that extra token requirements.
2363 * SecureMessageGenerator.cs : use correct key clause for encryption.
2364 * SecureMessageDecryptor.cs : reduce extra key acquisition.
2366 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2368 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
2369 for supporting 'supporting tokens' .
2370 * SecureMessageGenerator.cs : Supporting token creation is done only
2371 at initiator (not sure if it is supposed that, but for now it is).
2372 Removed extraneous CollectSupportingTokens().
2373 * SecureMessageDecryptor.cs : implemented supporting token
2374 authentication (partly). "Signed" supporting tokens are expected
2377 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2379 * SecureMessageGenerator.cs :
2380 make SignBeforeEncryptAndEncryptSignature working.
2382 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
2384 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
2385 the key itself. ProtectionToken is WrappedKey.
2386 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
2387 not EncryptedKeyIdentifierClause which is not for embedded key.
2388 * MessageProperties.cs : Fixed copy direction in CopyProperties().
2390 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
2392 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
2393 to switch asymmetric and symmetric. Not used yet.
2394 * SecurityRequestChannel.cs : now it pass the request security
2395 property to reply receiver so that it could use the primary key
2396 used at request phase.
2397 * SecurityRequestContext.cs : now it pass the context itself to
2398 reply sender so that it could embed related MessageID.
2399 * SecureMessageGenerator.cs : ongoing changes to support symmetric
2400 binding element. Add RelatesTo output and remove MessageID when
2401 replying to the sender. Added some hacks to get symmetric binding
2403 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
2404 in SecurityTokenReference (it also involved existing encrypted key
2405 retrieval). In reply receiver, reuse the key that was used at
2406 request phase. It needs significant token resolution refactoring.
2408 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2410 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2411 * SecureMessageDecryptor.cs : store token and its authentication
2412 policies into the security property, and reuse it on reply.
2413 Some code refactoring; there is at most one o:Security to solve at
2414 one endpoint (depends on Actor). Some attempt to use correct
2415 token parameters (but for now I have only samples that use x509).
2416 * SecureMessageGenerator.cs : For replying message, use initiator's
2417 signing token as the encryption token. Simply reuse security
2418 property from the input message.
2420 I have some nasty workaround at decryptor for initiator that could
2421 not retrieve decryption key.
2423 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2425 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2426 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2427 several refactoring on token acquisition. Large part of
2428 MessageSecurityBindingSupport code is unified.
2430 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2432 * MessageProperties.cs : Security property should be one of the items.
2433 Actually many other properties should be similar as well.
2434 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2435 when copying a message, copy properties as well.
2436 * SecurityRequestContext.cs : on replying, pass input
2437 SecurityMessageProperty to the security generator.
2438 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2440 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2442 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2445 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2446 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2447 use new WSSignedXml instead of SignedXml, and remove coexisting
2448 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2449 - our reply messages could be consumed by .NET, and
2450 - .NET signature could be verified.
2452 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2454 * SecureMessageDecryptor.cs : The signing key must be passed as
2455 CheckSignature() argument, not SigningKey.
2457 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2459 * MessageImpl.cs : don't read attribute after ReadStartElement().
2461 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2463 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2464 * SecureMessageGenerator.cs : use correct signing key clause for
2465 SecurityTokenReferenceKeyInfo to be serialized.
2466 * SecureMessageDecryptor.cs : now it can try to parse signature.
2468 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2470 Ongoing changes to support signature confirmation
2471 * SecureMessageGenerator.cs :
2472 Don't output ReplyTo onto reply message.
2473 Write SignatureConfirmation if needed.
2474 * SecureMessageDecryptor.cs :
2475 Some refactoring for header cunsumption. Added commented-out
2476 signature verification part (not working yet, on client side due
2477 to incorrect reply from service and insufficient clause reader).
2478 * WSSecurityMessageHeader.cs :
2479 Added SignatureConfirmation support.
2480 KeyInfoClause for o:SecurityTokenReference should be replaced with
2481 SecurityTokenReferenceKeyInfo.
2483 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2485 * SecureMessageGenerator.cs : support Timestamp signature.
2486 Removed unused code, and extra argument in CreateReference().
2487 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2489 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2491 * SecureMessageGenerator.cs :
2492 Several fixes to make asymmetric binding working:
2493 - Differentiate signing and encryption token in several areas.
2494 - Fixed signing keyinfo.
2496 Added initial SecurityMessageProperty handling, not sure if it is
2497 appropriate here though.
2498 * HttpRequestChannel.cs : (some debugging lines)
2500 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2502 Woohoo! Here is a very basic WS-Security compliant message which could
2503 be allowed by Indigo.
2504 * MessageHeader.cs : added Id support for writing.
2505 * Message.cs : added internal BodyId for signature reference.
2506 * MessageImpl.cs : write Body Id if required.
2507 * SecureMessageGenerator.cs : Before signing, the target elements must
2508 be given wsu:Id. Since I still use System.Security.dll, I need some
2509 trick for signing (I give both Id and wsu:Id, former to sign and
2510 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2511 implementation later. Now singning mechanism works except for
2512 wsu:Timestamp (which is kind of mandatory).
2514 I can's still consume replies from Indigo but it's a big progress :)
2516 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2518 * MessageHeaderInfo.cs : added internal Id.
2519 * MessageHeader.cs : read and write wsu:Id.
2520 * Message.cs : output wsu namespace if Id exists in any header.
2521 * HttpReplyChannel.cs : (some debugging lines.)
2522 * SecureMessageDecryptor.cs : (remove debugging lines.)
2523 * MessageImpl.cs : removed obsolete code.
2524 * WSSecurityMessageHeader.cs : output "o" prefix.
2525 * SecureMessageGenerator.cs : replaced XmlElement-based header
2526 signing with MessageHeader-based signing, to support Id correctly.
2528 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2530 * SecureMessageGenerator.cs : some more refactoring and code comments.
2531 * MessageSecurityUtility.cs : made decryptor into an instance class,
2532 like I've done for SecureMessageGenerator.
2533 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2534 dependent changes for above.
2536 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2538 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2539 causing NRE due to the lack of token reference.
2540 No need to pass doc to SignedXml.ctor() anymore.
2541 Moved ReferenceList before the signature(s).
2543 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2545 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2546 Moved signing key generation code to non-HMACSHA1 signing part.
2547 Don't try to sign wss:Security.
2548 Pass document itself to SignedXml.ctor().
2549 Use temporary DataObjects to avoid adding Ids (not sure what is the
2550 expected processing yet).
2551 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2552 WriteTo() method in WsuTimestamp.
2554 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2556 * SecureMessageGenerator.cs : wrong key was used for signing.
2557 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2559 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2561 * SecureMessageGenerator.cs :
2562 Now ID generation process does not modify input message.
2563 Moved derived key generation part into (virtual) signing loop.
2564 MessagePartSpecification support for signing is done.
2566 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2568 * SecureMessageGenerator.cs : some reordering to handle signing and
2569 encryption with supporting tokens. Fixed XPath query bug for
2570 soap header contents (we want s:Header/*, not s:Header).
2572 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2574 * MessageSecurityBindingSupport.cs : more refactoring.
2575 Made it abstract and added Initiator- and Recipient- classes.
2576 Several members were moved to those derived types.
2577 * AsymmetricSecurityBindingElement.cs,
2578 SymmetricSecurityBindingElement.cs
2579 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2580 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2581 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2582 All dependent changes by above. Removed ISecurityChannelSource
2583 which became useless.
2585 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2587 * SecureMessageGenerator.cs : encryption parts should exist too.
2588 * AsymmetricSecurityBindingElement.cs
2589 SymmetricSecurityBindingElement.cs,
2590 MessageSecurityBindingSupport.cs : some refactoring.
2591 Split MessageSecurityBindingSupport into security binding element
2592 specific parts and made MessageSecurityBindingSupport concrete.
2593 It is likely split again, next time based on initiator/recipient.
2595 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2597 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2598 split encryptor part in the former file into latter file, and
2600 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2601 SecurityRequestContext.cs : apply the change above.
2603 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2605 * MessageSecurityBindingSupport.cs :
2606 Fixed incorrect TrgGetValue() use.
2607 Added CollectRecipientSupportingTokens().
2609 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2611 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2612 EncryptedKey. So, when a key itself is used to encrypt data,
2613 ReferenceList is contained by itself.
2614 * MessageSecurityBindingSupport.cs :
2615 added CollectInitiatorSupportingTokens().
2617 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2619 * MessageSecurityUtility.cs: it should support ReferenceList-less
2622 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2624 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2625 * MessageSecurityUtility.cs : there already was uuid.
2627 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2629 * MessageSecurityUtility.cs : replaced EncryptedKey with
2630 WrappedKeySecurityToken, which seems to be in actual use in .net.
2631 * WSSecurityMessageHeader.cs : added internal Guid so that it
2632 could be shared between header items.
2634 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2636 * HttpRequestContext.cs, TextMessageEncoder.cs :
2637 some null arg check.
2639 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2641 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2642 for SecurityTokenReference resolution.
2644 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2646 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2647 consider DerivedKeyTokens correctly.
2648 When creating LocalId, don't add '#' here.
2650 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2652 * MessageSecurityUtility.cs :
2653 handle key mapping for each wsse:Security.
2655 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2657 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2659 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2661 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2663 * MessageSecurityUtility.cs :
2664 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2665 suggests, and it is used to dereference decryption targets.
2666 Now it premises multiple wsse:Security elements to read.
2668 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2670 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2671 manually (and actually the namespace URI was wrong).
2673 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2675 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2677 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2679 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2681 * SecurityBindingElement.cs,
2682 SymmetricSecurityBindingElement.cs,
2683 AsymmetricSecurityBindingElement.cs :
2684 implemented SetKeyDerivation().
2686 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2688 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2691 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2693 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2696 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2698 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2699 thus move it in front of encryption/signing.
2701 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2703 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2704 check state by themselves (btw it's not really working).
2705 * HttpChannelListener.cs : If the url does not end with '/' add it
2706 so that it could be fed to HttpListener.
2708 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2710 * HttpChannelFactory.cs : check scheme on CreateChannel.
2711 * MessageHeader.cs : finish IsMessageVersionSupported().
2713 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2715 * FaultConverter.cs : new file, not used yet though.
2717 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2719 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2721 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2723 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2724 GET as well as HttpReplyChannel, configuration would be ready now.
2726 2006-10-18 Ankit Jain <jankit@novell.com>
2728 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2729 EnvelopeVersion.Soap12 and 'text/xml' for others.
2730 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2732 Strip '?' from the query string.
2734 2006-10-13 Ankit Jain <jankit@novell.com>
2736 * MessageVersion.cs (None): Set AddressingVersion.None
2738 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2740 * SvcHttpHandler.cs : added config-based endpoint addition code.
2741 Though due to some weird bug in mono-core it does not seem to work,
2742 so commented out for now.
2743 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2744 mex request message might just be wrong.
2745 Use expected MessageVersion by the channel.
2746 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2748 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2750 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2751 which differs depending on whether it is asymmetric or symmetric.
2752 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2753 simplify SecureMessage() and DecryptMessage() arguments (just
2754 take MessageSecurityBindingSupport instead of several parameters).
2755 * MessageSecurityUtility.cs :
2756 - simplify SecureMessage() and DecryptMessage() arguments (just
2757 take MessageSecurityBindingSupport instead of several parameters).
2758 - Take token inclusion mode into account. Don't include them when
2759 it is not expected. Also, change the token reference style.
2760 - add wsa:MessageID to the headers.
2761 - For hmac-sha1 signing (default for symmetric binding), use
2762 symmetric key created for encryption as well to create HMACSHA1.
2763 - add Id to wsu:Timestamp.
2764 - start to handle SecurityMessageProperty.
2765 * WSSecurityMessageHeader.cs :
2766 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2767 Changed date format.
2769 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2771 * CommunicationObject.cs : reject faulted state on Open()/Close().
2772 * MessageHeaders.cs : removed extra fields.
2774 2006-10-06 Ankit Jain <jankit@novell.com>
2776 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2778 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2780 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2781 added some FIXMEs and additional arg.
2783 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2785 * MessageSecurityUtility.cs : remove duplicate Action header.
2787 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2789 * MessageFault.cs : partly implemented CreateFault(Message, int).
2790 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2791 handle IsFault correctly in each implementation.
2793 2006-10-04 Ankit Jain <jankit@novell.com>
2795 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2797 2006-10-04 Ankit Jain <jankit@novell.com>
2799 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2800 in WebConnectionStream.
2802 2006-10-04 Ankit Jain <jankit@novell.com>
2804 * MessageHeaders.cs (To): Use GetHeader<string> till
2805 DataContractSerializer gets ISerializable support.
2806 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2808 2006-10-04 Ankit Jain <jankit@novell.com>
2810 * ServiceHostParser.cs (Parse):
2811 (Split): Add some error checks.
2813 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2815 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2816 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2817 * SslStreamSecurityUpgradeProvider.cs,
2818 SslStreamSecurityUpgradeAcceptor.cs :
2819 new files for Ssl upgrade provider implementation.
2820 * MessageSecurityUtility.cs :
2821 Create proper C14NTransform. Don't use enveloped signature
2822 transform but sign every significant bits. On securing messages
2823 use ChannelProtectionRequirements.
2824 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2826 * MessageEncoder.cs : fix API (missing constraint).
2827 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2828 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2829 * AsymmetricSecurityBindingElement.cs : default protection order is
2830 SignBeforeEncryptAndEncryptSignature.
2832 2006-09-29 Ankit Jain <jankit@novell.com>
2834 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2835 ServicHostParser and use that here.
2836 (PrivateBinPath): New.
2837 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2838 (RemovedCallback): Remove and close the SvcHttpHandler when its
2839 corresponding file (.svc) changes.
2840 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2842 * ServiceHostParser.cs : New.
2843 * CachingCompiler.cs : New. Code extracted from
2844 System.Web.Compilation.CachingCompiler
2845 * CompilationException.cs : New. From System.Web.Compilation
2846 * HtmlizedException.cs : New. Likewise.
2848 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2850 * MessageSecurityBindingSupport.cs : For client side, it is always
2851 InitiatorServiceModelSecurityTokenRequirement which should be
2852 created. Fixed wrong client encryption key acquisition.
2854 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2856 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2857 MessageSecurityBindingSupport.cs : made similar changes as factories
2858 to listener so that session channels and input channels would work.
2859 Added authenticator creation.
2861 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2863 * Binding.cs : added missing members.
2865 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2867 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2868 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2869 reduce code duplication between request and output channels.
2870 The common parts are now in MessageSecurityBindingSupport.
2871 Now reduced several arguments in SecureMessage() for client.
2873 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2875 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2877 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2879 * AsymmetricSecurityBindingElement.cs,
2880 SecurityChannelListener.cs,
2881 SecurityRequestContext.cs,
2882 SymmetricSecurityBindingElement.cs,
2883 SecurityRequestChannel.cs,
2884 SecurityOutputChannel.cs,
2885 SecurityChannelFactory.cs,
2886 MessageSecurityBindingSupport.cs : 1) Refactoring.
2887 IMessageSecurityBindingSupport now becomes a class and contains
2888 all the members which resided in ISecurityChannelSource.
2889 Now it takes more constructor params.
2890 Made dependent changes on all sources above.
2892 2) Added SecurityTokenAuthenticator creation in
2893 SecurityRequestChannel (SecurityOutputChannel should do the same).
2895 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2897 * SecurityRequestChannel.cs : ongoing improvements on conditional
2898 key creation. Actually there must be some part that creates an
2899 authenticator (WinFX does that).
2901 2006-09-27 Ankit Jain <jankit@novell.com>
2903 Add suport for handling .svc files.
2904 * SvcHttpHandlerFactory.cs: New.
2905 * SvcHttpHandler.cs: New.
2907 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2908 asp.net environment.
2909 (OnOpen): Do nothing in asp.net environment.
2910 (OnClose): Likewise.
2911 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2912 * HttpRequestContext.cs: .. here.
2914 * AspNetReplyChannel.cs: New.
2915 * AspNetRequestContext.cs: New.
2917 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2919 * MessageSecurityUtility.cs :
2920 Significantly rewritten decryption parts to respect ReferenceList
2921 to decrypt (so no workaround anymore).
2922 Now e:ReferenceList inside o:Security is treated as the referenced
2923 EncryptedType items are encrypted by 1) the derived key which is
2924 immediately in front of it, or 2) the default key (it is according
2925 to WS-SecureConversation section 9.1). Thus removed immediately
2926 previous hack to auto-fill wsu:Id attributes.
2928 On securing a message, generate correct Id and add DataReference
2929 to ReferenceList properly.
2931 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2933 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2936 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2938 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2939 Actually WSSecurityTokenSerializer should be able to consume it, but after
2940 spending a lot of time I still cannot successfully read it on WinFX.
2941 Skip ReferenceList for now.
2942 * MessageSecurityUtility.cs :
2943 Replaced some string literals with constants.
2944 Added some workaround for DerivedKeyToken retrieval.
2945 WinFX somehow sends incomplete ISO10126 padding which contains
2946 bigger number than the key size and is rejected by EncryptedXml,
2947 so added DecryptLax() which processes such ones in PaddingMode.None
2948 to workaround it (only for cross-connection between mono and winfx).
2949 Added some incomplete implicit wsu:Id processing.
2950 Don't try to replace SignedXml with EncryptedData. It is not added
2951 to the document tree.
2953 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2955 * MessageSecurityUtility.cs : support message signature encryption. Some
2958 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2960 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2962 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2964 * MessageSecurityUtility.cs : fix warnings.
2966 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2968 * MessageSecurityUtility.cs : actually there would be more than one
2969 EncryptedData. Decrypt all.
2971 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2973 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2974 Use ISO10126 padding mode (it is not required but in manner).
2976 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2978 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2979 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2980 that class to make it work fine with mono client).
2981 Removed buggy lines that reset decryption key to AES.
2982 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2983 * WSSecurityMessageHeader.cs :
2984 (SecurityTokenReferenceKeyInfo) support LoadXml.
2986 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2988 * TransactionMessageProperty.cs : new file.
2990 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2992 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2993 gmcs happened to report wrong code.
2995 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2997 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2998 .ctor() now requires ChannelProtectionRequirements which will be
2999 supplied via BindingParameterCollection.
3000 * SymmetricSecurityBindingElement.cs,
3001 AsymmetricSecurityBindingElement.cs : thus add
3002 ChannelProtectionRequirement parameter to factory/listener.
3003 * SecurityRequestChannel.cs : use recipient token requirement to
3004 create an encryption token. Thus differentiate the logic from
3005 signing (initiator) token.
3007 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
3009 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
3010 renamed former to latter.
3011 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
3014 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
3016 * MessageSecurityBindingSupport.cs : new internal types to commonize
3017 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
3018 and thus make internal factory and listener reusable.
3019 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
3020 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
3021 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
3022 SymmetricSecurityBindingElement, using the new types above.
3023 * SymmetricSecurityBindingElement.cs :
3024 Use SymmetricMessageSecurityBindingSupport.
3025 * AsymmetricSecurityBindingElement.cs :
3026 thus implemented, using AsymmetricMessageSecurityBindingSupport.
3028 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
3030 * ChannelFactoryBase.cs : more RC1 update.
3032 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
3034 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
3035 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
3036 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
3037 ChannelBase.cs : RC1 API updates.
3038 * MessageImpl.cs : implemented Properties.
3039 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
3041 2006-09-18 Ankit Jain <jankit@novell.com>
3043 * MessageHeaders.cs (MessageId):
3044 (RelatesTo): UniqueId is not serializable, serialize it as a string.
3046 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3048 * ChannelParameterCollection.cs : new file.
3049 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
3050 new files for IOutputChannel implementation.
3051 * OneWayBindingElement.cs : hacky implementation.
3052 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
3053 * MessageSecurityUtility.cs : now create identifier from the security
3054 token and the token parameters which is added as an argument.
3055 * SecurityRequestContext.cs,
3056 SecurityRequestChannel.cs : SecureMessage() argument changes.
3057 Set MessageSecurityVersion (SecurityTokenVersion) to the token
3060 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3062 * HttpRequestChannel.cs : close the HttpWebRequest.
3064 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3066 * HttpRequestChannel.cs,
3067 HttpChannelFactory.cs : implement async request/reply.
3068 * HttpChannelFactory.cs :
3069 verify factory state when creating a channel.
3071 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
3073 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
3074 BinaryMessageEncoder.cs : added message version mismatch check.
3076 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
3078 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
3079 Making incomplete changes to handle different tokens for encryption
3081 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
3082 split channel implementation classes out to the latter file.
3083 * MessageSecurityUtility.cs : seems like there is
3084 TimeStampValidityDuration property, so use it (incomplete; a server
3085 needs another love).
3087 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
3089 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
3090 SecurityRequestContext.cs : now that we have key identifier clause
3091 and working ResolveKeyIdentifierClause(), just create keys inside
3092 SecureMessage(). Add KeyInfo to the xmldsig.
3094 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
3096 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
3097 pass SecurityKeyIdentifierClause to SecureMessage().
3098 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
3099 for IssuedToken binding element.
3100 * SymmetricSecurityChannelListener.cs : removed hack to just create
3101 X509 security token, and implemented correct token creation.
3102 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
3103 wraps SecurityTokenReference element.
3104 * MessageSecurityUtility.cs : use the above.
3106 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3108 * MessageSecurityUtility.cs : raise MessageSecurityException when it
3109 could not find a security header.
3110 * SymmetricSecurityChannelFactory.cs : now it also supports
3111 IRequestSessionChannel. Extracted SecurityRequestChannel out from
3114 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3116 * SecurityRequestContext.cs : moved securing message part to
3117 MessageSecurityUtility.cs.
3118 * MessageSecurityUtility.cs : the change above.
3119 use DateTime.Now for timestamp basis. Don't append signature to
3120 the document. Instead it is added to the header. Capture body
3121 content instead of the body itself.
3122 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
3123 be processed by upper layers.
3125 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
3127 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
3128 SymmetricSecurityChannelListener.cs,
3129 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
3130 more refactoring. Request serialization became much more conformant
3131 and add required header items.
3132 Security Token retrieval is needed to send it in the request.
3133 Fixed wrong key encryption.
3135 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3137 * SecurityRequestContext.cs : the workaround was not functional.
3139 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3141 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
3142 API, especially ReplaceData(), instead of native crypto stuff.
3143 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
3144 MessageProtectionOrder.SignBeforeEncrypt).
3146 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
3148 * SecurityRequestContext.cs : label should be combined of both
3149 the client's and the server's.
3151 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3153 * SecurityRequestContext.cs : enable key derivation (though for now
3154 GenerateDerivedKey() is unimplemented). Create meaningful,
3155 decrypted request message to be consumed by the upper layer.
3157 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3159 * SecurityRequestContext.cs : implement Close() and Reply().
3160 ongoing implementation of Reply(TimeSpan).
3161 * MessageSecurityUtility.cs : new file to collect utility methods.
3162 * SymmetricSecurityChannelFactory.cs : moved securing message code
3164 * SymmetricSecurityChannelListener.cs : tiny renaming.
3166 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3168 * SecurityRequestContext.cs : security header is also stored.
3170 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
3173 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
3175 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
3178 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3180 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
3181 so that it retrieves the security key in that manner.
3183 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3185 * Binding.cs : MessageVersion is null when there is no
3186 MessageEncodingBindingElement.
3187 * Message.cs : null arg check.
3189 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
3191 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
3193 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
3195 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
3196 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
3197 LayeredRequestChannel.cs : some refactoring.
3198 * SymmetricSecurityChannelFactory.cs :
3199 ongoing secure message creation implementation.
3201 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
3203 * SymmetricSecurityBindingElement.cs :
3204 pass specific ServiceCredentialsSecurityTokenManager type to
3205 SymmetricSecurityChannelListener as it needs ServiceCertificate.
3206 * SymmetricSecurityChannelListener.cs :
3207 get service certificate. It's a temporary hack.
3208 Move RequestContext code to below.
3209 * SecurityRequestContext.cs : new file.
3210 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
3211 it I have to finish decryption of the incoming message.
3213 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3215 * MessageImpl.cs : don't write attributes on the first body content
3216 element *on soap Body element*.
3217 * MessageBufferImpl.cs : don't throw ArgumentNullException.
3218 ObjectDisposedException is appropriate.
3219 * MessageHeader.cs : (RawMessageHeader) don't write element itself
3220 in OnWriteHeader*Contents*().
3222 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3224 * WSSecurityMessageHeader.cs : new file.
3225 * SymmetricSecurityChannelFactory.cs :
3226 moved WSSecurityHeader and related types to the above.
3227 * SymmetricSecurityChannelListener.cs :
3228 reject SOAP-env-less message.
3230 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
3232 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
3233 renamed former to latter.
3234 * SymmetricSecurityChannelFactory.cs :
3235 create requirements every time. It is also likely that I need
3236 another requirement instance to get service credentials here.
3238 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
3240 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
3241 similar to BuildChannelFactory() (set credentials, issuer binding
3243 * SecurityChannelListener.cs :
3244 more ongoing security support implementation.
3245 * SymmetricSecurityChannelFactory.cs :
3246 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
3248 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
3250 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
3251 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
3252 Implementation is underway.
3253 * LayeredReplyChannel.cs :
3254 like LayeredRequestChannel, use ChannelListenerBase to provide
3257 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
3259 * MessageHeader.cs : added another implementation type that uses
3260 XmlElement, for buffering purpose.
3261 * MessageImpl.cs : Header item types are user-driven by
3262 MessageHeader.GetHeader<T>(int), so at storing phase just store
3263 nodes as XmlElement.
3264 * MessageHeaders.cs : avoid dumping XmlNode to string to create
3267 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
3269 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
3270 BindingParameterCollection, not from binding element properties.
3272 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
3274 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
3275 renamed former to latter.
3277 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
3279 * SecurityBindingElement.cs : SetIssuerBindingContext should also
3280 work for SslSecurityTokenParameters.
3282 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
3284 * SecurityBindingElement.cs :
3285 Added SetIssuerBindingContextIfRequired().
3286 * SecurityChannelFactory.cs :
3287 Changed .ctor() arg again, just to receive binding element.
3288 * SymmetricSecurityBindingElement.cs :
3289 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
3290 SymmetricSecurityChannelFactory .ctor() arg changes.
3291 "ProtectionTokenParameters" is not passed now.
3293 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
3295 * SymmetricSecurityBindingElement.cs : requirements should be
3296 filled at InitializeSecurityTokenParameters as long as possible.
3297 SymmetricSecurityChannelFactory<T> now does not receive
3298 requirements (it now creates one inside it) at .ctor().
3299 * SecurityChannelFactory.cs : remove requirement argument.
3301 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
3303 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
3305 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
3307 * SymmetricSecurityBindingElement.cs :
3308 MessageSecurityVersion property is of type SecurityTokenVersion.
3309 * SecurityBindingElement.cs :
3310 Implemented CreateSecureConversationBindingElement().
3311 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
3312 the argument IssuedSecurityTokenParameters itself.
3314 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
3316 * SymmetricSecurityBindingElement.cs :
3317 CreateSecurityTokenManager() can be directly used now.
3318 Use CallInitializeSecurityTokenRequirement() to fill requirement
3321 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
3323 * ChannelFactoryBase.cs : GetProperty() is virtual.
3325 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
3327 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
3328 create token manager, token parameters and token requirements,
3329 and fill some requirements.
3330 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
3331 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
3332 * BindingContext.cs : implemented RemainingBindingElements.
3333 kill "no remaining binding element" error in GetInnerProperty()
3334 * SecurityChannelFactory.cs : now it became
3335 SymmetricSecurityChannelFactory, thus soon to be renamed.
3336 Several ongoing actual security resolution is on.
3338 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
3340 * CommunicationObject.cs :
3341 add GetCommunicationObjectType() and use it.
3342 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
3343 use ThrowIfDisposedOrNotOpen().
3344 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
3345 to CommunicationObject. Make it IDisposable.
3346 * LayeredRequestChannel.cs : use above.
3347 * SecurityChannelFactory.cs : removed state check as it is done at
3350 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
3352 * SecurityBindingElement.cs : (CanBuildChannelFactory and
3353 CanBuildChannelListener) directly dispatch to BindingContext.
3354 * SymmetricSecurityBindingElement.cs : require protection token
3355 parameters before building a channel or a listener.
3356 * ChannelFactoryBase.cs : raise an error when a channel is being
3357 created without opening the factory.
3358 * ChannelListenerBase_1.cs : ditto for the listener.
3359 * SecurityChannelFactory.cs : before sending a request, it must be
3362 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3364 * MessageBufferImpl.cs : initialize fields.
3365 workaround BufferSize just to return 0.
3366 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
3367 which does not support multi time write.
3368 * Message.cs : implemented State.
3370 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3372 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
3373 is consuming XmlReader.
3374 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
3375 * MessageBuffer.cs : implemented CreateNavigator().
3376 * MessageBufferImpl.cs : added XPathMessageBuffer class.
3378 I kinda know that MS heavily depends on binary XmlReader and may have
3379 XPathNavigator implementation based on the binary stuff, but at
3380 least for now we have almost no motivation to mimick it.
3382 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
3384 * SecurityChannelFactory.cs : a bit more of security header code.
3386 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
3388 * SymmetricSecurityBindingElement.cs :
3389 set default MessageProtectionOrder in every construction.
3391 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
3393 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
3394 changed to require ChannelFactoryBase to support default timeout.
3395 Made some methods non-virtual. Preparing code to add security
3396 headers (empty yet).
3397 * SecurityBindingElement.cs : implemented several factory methods
3398 that return SymmetricSecurityBindingElement.
3400 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3402 * IStreamUpgradeBindingElement.cs,
3403 StreamUpgradeBindingElement.cs : renamed from former to latter.
3405 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
3407 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
3409 2006-07-31 Ankit Jain <jankit@novell.com>
3411 * MessageHeaders.cs (From): Use Constants.WSA1
3412 (MessageId): Implement the same pattern as other properties (From etc).
3414 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3416 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3417 * SecurityBindingElement.cs : some cosmetic changes.
3419 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3421 * SecurityBindingElement.cs : LocalClientSettings and
3422 LocalServiceSettings returns an instance for each.
3423 * LocalClientSecuritySettings.cs : initialized fields.
3425 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3427 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3428 kinda implemented Clone() just with MemberwiseClone().
3430 2006-07-27 Ankit Jain <jankit@novell.com>
3432 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3433 * MessageHeader.cs (knownTypes): New. Known type array containing
3435 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3437 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3439 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3440 LayeredCommunicationObject.cs,
3441 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3442 new files to support security channels, though right now they
3443 just pass inner channels through.
3444 * SymmetricSecurityBindingElement.cs : use above.
3446 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3448 * AsymmetricSecurityBindingElement.cs,
3449 SymmetricSecurityBindingElement.cs :
3450 Default SecurityTokenParameters is null.
3452 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3454 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3456 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3458 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3460 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3461 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3462 headers. When AddressingVersion is None, don't output addressing
3463 headers as well, except for Action which is still needed by
3466 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3468 * MessageHeaders.cs : changed specific properties to find it from
3469 headers as Action property does (local variables won't be set by
3470 setter). Cache serializers. Check null serializer arguments.
3471 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3473 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3475 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3476 use XmlObjectSerializer (since it is not data contract type).
3478 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3480 * MessageImpl.cs : Improved ReadHeaders().
3481 For certain header items, use EndpointAddress.ReadFrom().
3483 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3485 * AsymmetricSecurityBindingElement.cs :
3486 it is not ISecurityCapabilities anymore.
3488 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3490 * MessageVersion.cs : added None.
3492 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3494 * Message.cs : GetReaderAtBodyContents() implementation using
3497 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3499 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3500 used MessageVersion.Default.
3502 2006-07-12 Duncan Mak <duncan@novell.com>
3504 * MessageBuffer.cs (MessageContentType): Return
3505 "application/soap+msbin1".
3507 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3508 (SimpleMessage.OnCreateBufferedCopy):
3509 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3510 MessageBuffer implementations.
3512 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3513 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3514 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3516 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3518 * MessageImpl.cs : Action should be added in request messages. Omit
3519 it only in reply message, thus moved to dispatcher logic.
3521 2006-07-12 Ankit Jain <jankit@novell.com>
3523 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3524 bug in WebConnectionStream.
3525 * MessageHeaders.cs (MessageHeaders.From):
3526 (MessageHeaders.ReplyTo):
3527 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3529 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3531 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3532 add SOAP Action to the response at any time.
3534 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3536 * SymmetricSecurityBindingElement.cs,
3537 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3538 Implemented .ctor() and some properties.
3540 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3542 * TransactionFlowBindingElement.cs : new file.
3543 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3545 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3548 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3549 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3550 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3551 vanished (there is anyways no way to instantiate this type).
3552 * MessageVersion.cs : added Soap11 and Soap12.
3553 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3554 in June CTP. goodie.
3556 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3558 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3559 removed some vanished CreateMessage() overloads.
3561 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3563 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3564 HttpTransportBindingElement.cs :
3565 They are not ISecurityCapabilities anymore.
3566 Modified code to match June CTP behavior.
3568 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3570 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3572 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3574 * EmptyFaultException.cs : removed unused code.
3575 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3577 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3579 * LayeredChannelFactory.cs : removed obsolete class.
3580 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3581 ChannelListenerBase.cs, HttpChannelListener.cs,
3582 HttpReplyChannel.cs, ChannelManagerBase.cs :
3583 all those changes were brought by ChannelManagerBase changes.
3585 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3587 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3588 CommunicationObject.cs, HttpChannelListener.cs,
3589 ChannelFactoryBase.cs :
3590 CommunicationObject abstract changes brought this madness.
3592 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3594 * BindingContext.cs : listenUri address parameters could be null in
3597 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3599 * IRequestContext.cs :
3600 Now it became a class. File renaming will follow soon.
3601 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3602 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3603 IOutputChannel.cs, IOutputSessionChannel.cs,
3604 IRequestChannel.cs, IRequestSessionChannel.cs :
3605 They are not IDisposable anymore.
3606 For IReplyChannel, IRequestContext -> RequestContext.
3607 * IChannelListener.cs : removed Identity. Added GetProperty().
3608 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3609 ReplyChannelBase.cs, HttpReplyChannel.cs :
3610 Several members disappeared, and dependent changes.
3611 * HttpTransportBindingElement.cs,
3612 HttpChannelListener.cs, :
3613 ChannelListenerBase.SharedChannelListener vanished.
3615 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3617 * MessageEncodingBindingElement.cs
3618 MtomMessageEncodingBindingElement.cs,
3619 TextMessageEncodingBindingElement.cs,
3620 BinaryMessageEncodingBindingElement.cs :
3621 June CTP updates: AddressingVersion -> MessageVersion.
3622 * Binding.cs : June CTP. MessageVersion is added.
3623 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3624 ChannelListenerBase_1.cs,
3625 ChannelListenerBase.cs, IChannelListener.cs,
3627 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3628 June CTP. Several interface changes.
3629 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3630 * IChannelManager.cs, LayeredChannelListener.cs,
3631 GenericWrapperChannelFactory.cs,
3632 GenericWrapperChannelListener.cs : They are not used anymore.
3634 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3636 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3637 sync fix with June CTP API updates.
3639 2006-07-03 Ankit Jain <jankit@novell.com>
3641 * MessageEncodingBindingElementConverter.cs:
3642 * StandardBindingConverter.cs:
3643 * TransportBindingElementConverter.cs:
3644 * TransactionFlowBindingElementConverter.cs:
3645 * ReliableSessionBindingElementConverter.cs:
3646 * SecurityBindingElementConverter.cs:
3647 Rename *Converter.cs to *Importer.cs
3649 * TransferMode.cs: Move to System.ServiceModel
3651 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3653 * CommunicationObject.cs : make sure to change State before
3654 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3656 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3658 * Message.cs : output WSAddressing xmlns only when Action is
3659 specified (To should be affected, but seems like it is ignored).
3661 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3663 * MessageImpl.cs : don't set Action when it is null.
3665 2006-06-12 Ankit Jain <jankit@novell.com>
3667 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3669 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3671 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3672 some updated API fixes.
3674 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3676 * EnvelopeVersion.cs : moved back to S.SM.
3678 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3680 * IBindingManualAddressing.cs : vanished in beta2.
3681 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3682 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3684 * SecurityBindingElement.cs :
3685 SecurityStandardsManager -> SecurityTokenSerializer.
3687 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3689 * XmlSerializerBodyWriter.cs : new file to handle
3690 TypedMessageConverter.ToMessage().
3692 2006-04-26 Ankit Jain <jankit@novell.com>
3694 * TransportBindingElementConverter.cs (BeforeImport): Remove
3695 NotImplementedException.
3696 (ImportContract): Likewise.
3697 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3699 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3701 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3702 being used was not reflecting that of Binding elements.
3704 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3706 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3707 just assume that it is in the message.
3709 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3711 * HttpReplyChannel.cs : actually HTTP header item might be null.
3713 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3715 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3718 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3720 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3722 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3724 * MessageFault.cs : Fixed SOAP12 reason output.
3726 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3728 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3729 MessageEncoder.ContentType explicitly contains encoding.
3730 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3731 if it is SOAP version dependent.
3733 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3735 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3737 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3739 * HttpChannelFactory.cs BindingContext.cs
3740 HttpChannelListener.cs HttpTransportBindingElement.cs :
3741 Now BindingContext holds MessageEncoder, and non-custom
3742 channel factory/listener should use it.
3743 * MtomMessageEncodingBindingElement.cs
3744 TextMessageEncodingBindingElement.cs
3745 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3746 -Listener() now sets internal BindingContext.MessageEncoder.
3747 Fixed some public API.
3749 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3751 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3752 for insufficient elements.
3753 * DispatchRuntime.cs : OperationDescription name is not action. So
3754 OperationSelector is created by name, not by action.
3755 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3757 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3759 * MessageFaultBodyWriter.cs
3760 XmlReaderBodyWriter.cs
3761 XmlObjectSerializerBodyWriter.cs : made internal.
3762 * SecurityBindingElement.cs
3763 AsymmetricSecurityBindingElement.cs
3764 SymmetricSecurityBindingElement.cs : API fixes.
3765 * TransportBindingElementConverter.cs : ditto.
3766 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3767 * WindowsStreamSecurityBindingElement.cs
3768 SslStreamSecurityBindingElement.cs
3769 TransportSecurityBindingElement.cs : new files.
3771 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3773 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3774 reading can be any xs:boolean value.
3776 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3778 * Message.cs MessageImpl.cs : more sorting out the role of each
3780 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3782 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3784 * Message.cs : don't write body contents if it is empty.
3785 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3786 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3787 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3788 * HttpRequestChannel.cs : close request stream before GetResponse().
3790 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3792 * TextMessageEncoderFactory.cs
3793 TextMessageEncoder.cs : encoder does not hold reference to the
3794 factory anymore. Use MessageVersion property in CreateMssage().
3795 * HttpChannelListener.cs : now it holds message encoder.
3796 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3797 * MessageImpl.cs : header is optional.
3798 * EnvelopeVersion.cs : namespace URI is missing.
3800 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3802 * CustomBinding.cs : removed Initialize().
3803 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3804 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3805 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3806 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3808 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3810 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3811 could be also added by Add() method and could be reset by Remove()).
3812 * MessageImpl.cs : implemented more. As noted above, Now we don't
3813 have to add Action header explicitly.
3814 * MessageHeader.cs : recovered Writer methods and ToString() from
3815 commented old version. Use prefixes for writing.
3816 Use WriteObjectContent() rather than WriteObject() (it needs
3817 DataContractSerializer fix btw).
3819 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3821 * MessageHeader.cs : added missing IsReferenceParameter.
3822 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3823 * MessageHeaders.cs : avoid NullRef when actors is null.
3824 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3825 (ForwardingMessage) reader consumer is being added (not done).
3826 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3827 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3828 * HttpRequestChannel.cs : this channel automatically call Open()
3829 when Request() is called. Set content length for request.
3830 Use MessageEncoder's ContentType to also handle charset.
3832 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3834 * MessageImpl.cs : make them internal.
3835 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3837 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3839 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3840 * HttpChannelListener.cs : removed commented line.
3841 * RequestChannelBase.cs : new base class for request channel classes.
3842 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3843 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3844 * Message.cs : default IsEmpty and IsFault false by default.
3845 * LayeredChannelListener.cs : removed Uri (no chance to set).
3846 * ChannelBase.cs : reimplemented timeout properties.
3847 * HttpRequestChannel.cs : now it is mostly based on
3848 RequestChannelBase. Some more attempt to implement Request().
3850 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3852 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3853 OnInitialize(). Added more BuildChannelListener() overloads.
3855 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3857 * Binding.cs : added some more missing members especially to support
3859 * HttpChannelListener.cs : Uri should not be null.
3860 * HttpTransportBindingElement.cs : implemented
3861 CanBuildChannelFactory() and CanBuildChannelListener().
3862 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3864 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3866 * Binding.cs : updated default namespace property value to Feb. CTP.
3868 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3870 * AddressHeader.cs : avoid null reference when value is null.
3871 * BindingContext.cs : check null ListenUri args.
3873 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3875 * MessageFault.cs : Fixed default action name. Null arg check.
3877 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3879 * BindingElement.cs : Dequeue elements in BindingContext directly.
3880 * BindingContext.cs : Added GetProperty<T>().
3881 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3882 Now we don't need these extra classes, so marked as deprecated.
3884 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3886 * Binding.cs : null arg check.
3887 * AddressingVersion.cs : fixed constants to pass the tests.
3888 * BindingElement.cs : tiny meessage fix.
3890 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3892 * MessageEncodingBindingElement.cs
3893 BinaryMessageEncodingBindingElement.cs
3894 TextMessageEncodingBindingElement.cs
3895 MtomMessageEncodingBindingElement.cs
3896 MessageEncodingBindingElementConverter.cs : several API fixes.
3897 * BindingElement.cs : now if we use generic wrapper it causes
3898 infinite loop, so for now replace it with most-possible-but-
3901 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3903 (back to normal "record-ChangeLogs" mode after the big API change mess)
3904 * HttpTransportBindingElement.cs : fixed minor API differences.
3906 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3908 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3909 SymmetricSecurityBindingElement.cs :
3910 Dependent fixes for System.IdentityModel reorgainzation.
3912 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3914 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3915 IProxyFormatter.cs WSHttpBindingBase.cs
3916 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3917 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3918 WSFederationBinding.cs ISessionChannel.cs
3919 CompositeDuplexBindingElement.cs MessageVersion.cs
3920 MessageHeader.cs IRequestSessionChannel.cs
3921 BindingElementCollection.cs IReplySessionChannel.cs
3922 MessageProperties.cs IDuplexClientChannel.cs
3923 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3924 TcpTransportBindingElement.cs EmptyFaultException.cs
3925 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3926 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3927 ConnectionOrientedTransportBindingElement.cs
3928 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3929 PeerResolverBindingElement.cs Message.cs
3930 HttpsTransportBindingElement.cs BindingElement.cs
3931 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3932 MessageFaultBodyWriter.cs IReplyChannel.cs
3933 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3934 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3935 IRequestContext.cs IInputSessionShutdown.cs
3936 SecurityBindingElement.cs PeerTransportBindingElement.cs
3937 IDuplexSession.cs IChannelInitializer.cs
3938 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3939 AddressingVersion.cs FaultException.cs
3940 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3941 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3942 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3943 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3944 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3945 BindingParameterCollection.cs IInstanceProvider.cs
3946 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3947 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3948 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3949 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3950 moved from System.ServiceModel due to the API changes.
3952 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3954 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3955 HttpChannelListener.cs HttpRequestChannel.cs
3956 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3957 PeerNode.cs ReplyChannelBase.cs :
3958 Feb. CTP API changes - chapter 1.
3960 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3962 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3963 * ReplyChannelBase.cs : now it is based on ChannelBase.
3964 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3965 and check null argument in .ctor().
3966 * HttpReplyChannel.cs : several changes.
3967 Non-async members are mostly implemented.
3968 * HttpChannelListener.cs : no need to receive
3969 IDefaultCommunicationTimeouts.
3970 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3971 to allocate buffer array and int.MaxValue causes OutOfMemory.
3973 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3975 * ClientFramingDecoderState.cs : added missing enum.
3976 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3978 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3980 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3982 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3983 AcceptChannel() has some code now but it needs more love.
3985 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3987 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3988 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3989 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3991 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3993 * HttpRequestChannel.cs : close the streams.
3995 HttpChannelListener.cs : renamed from former to latter.
3997 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3999 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
4000 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
4001 * HttpListenerFactory.cs : removed obsolete file.
4002 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
4003 * ChannelListenerBase_1.cs : implemented virtual stuff.
4004 * CommunicationObject.cs : Open() should not call BeginOpen() and
4005 EndOpen(). Instead, invoke events individually.
4006 * ChannelListenerBase.cs : its Open() is WaitForChannel().
4008 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
4010 * HttpRequestChannel.cs : call Flush() after serializing message
4013 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
4015 * HttpRequestChannel.cs : implemented pretty hacky Request().
4017 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
4019 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
4021 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
4023 * ChannelFactoryBase.cs : removed some NotImplementedException for
4024 further internal implementation.
4026 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
4028 * HttpRequestChannel.cs : new file. mostly not implemented.
4029 * HttpChannelFactory.cs : Implemented CanCreateChannel().
4030 Partly implemented CreateChannel().
4032 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
4034 * HttpChannelFactory.cs : (.ctor())
4035 Don't take ChannelBuildContext.
4037 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4039 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
4040 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
4041 PeerMessagePropagation.cs : updated to Nov. CTP.
4043 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4045 * ChannelListenerBase.cs, ChannelManagerBase.cs,
4046 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
4047 StreamSecurityUpgradeAcceptor.cs,
4048 StreamSecurityUpgradeInitiator.cs :
4049 Updated to Nov. CTP API.
4051 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4053 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
4055 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4057 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
4059 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4061 * ChannelBase.cs : tiny filename fix.
4062 * ChannelListenerBase.cs : added more .ctor()s.
4064 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4066 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
4067 ListenerFactoryBase.cs ChannelListenerBase.cs :
4068 updated IListener related stuff to Nov. CTP.
4069 file renaming will come soon.
4071 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
4073 * ListenerBase.cs, ChannelListenerBase.cs :
4074 moved from former to latter.
4075 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
4076 moved from former to latter.
4078 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
4080 * SessionFaultedException.cs : removed in Nov. CTP
4082 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
4084 * CommunicationObject.cs : updated to Nov. CTP.
4085 * SessionFaultedException.cs : removed (in Nov. CTP)
4087 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
4089 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
4092 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
4094 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
4095 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
4096 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
4097 * MessageEncoder.cs : largely implemented.
4099 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4101 * IRequestReplyCorrelator.cs : new file.
4103 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4105 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
4106 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
4107 * MessageEncoder.cs : added misssing ToString().
4109 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
4111 * ChannelBehaviorCollection.cs : moved to sys.sm.
4113 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
4115 * HttpListenerFactory.cs, HttpListener.cs : new files.
4116 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
4117 CommunicationObject.cs, ChannelFactoryBase.cs,
4118 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
4120 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
4121 * ListenerFactoryBase.cs : kinda implemented GetListeners().
4123 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4125 * ListenerFactoryBase.cs : some implementation.
4127 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4129 * CommunicationObject.cs : more state fixes.
4131 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4133 * CommunicationObject.cs : some state machine fixes.
4135 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
4137 * PeerNode.cs, ChannelManagerBase.cs :
4138 several API fixes detected by improved corcompare.
4140 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
4142 * LayeredListenerFactory.cs : added missing generic class constraint.
4144 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
4146 * ListenerFactoryBase.cs,
4147 ListenerBase.cs : class constraints were missing for generic args.
4149 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
4151 * StreamUpgradeInitiator.cs : tiny API fix.
4153 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
4155 * PeerMessagePropagationFilter.cs : tiny build fix.
4157 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
4159 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
4160 added Name. fixed StatusCode type.
4161 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
4162 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
4163 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
4164 DirectionalAction.cs, HostedTransportConfiguration.cs,
4165 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
4166 PeerMessagePropagationFilter.cs : added missing files.
4167 * Dummy.cs : removed. MSMQ stuff can be added later.
4169 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
4171 * DeliveryStatus.cs, DeliveryFailure.cs,
4172 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
4173 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
4175 * Dummy.cs : removed above.
4177 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
4179 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
4181 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4183 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
4184 MessageEncoder.cs, BufferManager.cs : new files.
4185 * Dummy.cs : removed above.
4187 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4189 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
4190 * Dummy.cs : removed above.
4191 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
4193 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
4195 * HttpChannelFactory.cs : new file.
4197 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
4199 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
4200 moved to ../System.ServiceModel (correct location).
4201 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
4202 new files for channels.
4203 * Dummy.cs : reflected above changes.
4204 * ChannelManagerBase.cs : added a bit of code and todos.
4206 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
4208 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
4209 added listener support files.
4210 * Dummy.cs : removed above.
4212 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
4214 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
4215 added request/reply channel interfaces.
4216 * Dummy.cs : removed above.
4217 * CommunicationObject.cs : FIXME comments.
4219 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
4221 * CommunicationObject.cs : implemented some members.
4223 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
4225 * CommunicationObject.cs : some signature fixes.