1 2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
3 * FaultConverter.cs : use addressing version from the message.
5 2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
7 * FaultConverter.cs : check envelope version, not addressing version.
9 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
11 * FaultConverter.cs : implemented TryCreateException().
13 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
15 * MessageFault.cs : cosmetic method name clarification.
17 2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
19 * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
20 fix BodyWriter buffering that dropped in-scope namespaces and thus
21 caused problem on resolving QNames.
23 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
25 * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
26 with certain Exception types.
28 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
30 * Message.cs : fix explanation on CreateMessage() overloads.
32 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
34 * MessageFault.cs : Write Subcode element correctly and fix wrong
35 Code/Value/Subcode element relationship. Give better error message.
37 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
39 * HttpRequestChannel.cs : ok, no need for conditional code path.
41 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
43 * AddressingVersion.cs : add fault action namespace.
45 2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
47 * HttpRequestChannel.cs: There is no WebHeaderCollection.Add
50 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
52 * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
54 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
56 * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
59 2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
61 * HttpRequestChannel.cs : create HttpResponseMessageProperty.
63 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
65 * HttpRequestContext.cs : removed HTTP status rewriting for
68 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
70 * HttpRequestChannel.cs : handle only 4xx errors as to not process
73 2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
75 * MessageFault.cs : do not use SOAP11 namespace for fault contents.
77 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
79 * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
80 Patch by Matt Dargavel.
82 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
84 * HttpListenerManager.cs : use lock object which is subject to
85 change. Fix by Matt Dargavel.
87 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
89 * HttpListenerManager.cs : remove consumed HttpListenerContext from
90 the pending queue. Compare "wsdl" request in case insensitive
91 manner. Patch by Matt Dargavel.
93 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
95 * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
96 supposed to provide detailed 400 error message.
98 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
100 * TransactionFlowBindingElement.cs: revamp the previous change to
101 not regress regarding service metadata.
103 2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
105 * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
106 GetProperty<T>() bug that fails to retrieve properties. (This may
107 be rewritten later if an ongoing change proposal is to take place.)
109 2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
111 * ReliableSessionBindingElement.cs,
112 PrivacyNoticeBindingElement.cs,
113 RemoteEndpointMessageProperty.cs : added some missing types.
115 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
117 * MessageHeaders.cs :
118 why does it filter out most of the headers? kill it.
120 2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
122 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
123 HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
124 to not raise "not found" error (see bug #573795).
126 2010-03-16 Jb Evain <jbevain@novell.com>
128 * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
129 MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
131 2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
133 * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
134 type, and use null password unless we find a chance to get password
135 in ASP.NET HttpContext.
137 2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
139 * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
140 HttpListenerManager.cs : ongoing authentication support. It returns
141 401 as expected, but somehow fails to retrieve user info.
143 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
145 * HttpListenerManager.cs : this change (along with HttpListener
146 implementation) somehow fixes basic auth. connection error...
148 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
150 * MessageHeaders.cs : add !NET_2_1.
152 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
154 * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
155 typed UniqueId output.
157 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
159 * MessageHeader.cs : no need to treat EndpointAddress as a special
162 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
164 * MessageHeaders.cs : remove duplicate constant.
166 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
168 * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
169 EndpointAddress as a special case. Instead, each MessageHeaders
170 property should convert it to appropriate serializable objects.
172 (Our DataContractSerializer fails to reject EndpointAddress as
173 serializable type, so it's rather a preparation step.)
175 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
177 * MessageHeader.cs, Message.cs : use dictionary string whenever
178 applicable. The binary output on #577139 is getting closer (no
179 idea if it is really about binary output though).
181 2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
183 * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
185 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
187 * HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
189 2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
191 * HttpRequestChannel.cs, HttpTransportBindingElement.cs :
192 enable authentication schemes on monotouch.
194 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
196 * SvcHttpHandler.cs : a wait handle could be used for more than one
197 requests and hence it sometimes blocked one reply channel. Now
198 it creates a wait handle for each ASP.NET request so that such
199 multiple use should not occur. This should fix blocking on
200 concurrent requests (it indeed fixes as long as I can see).
202 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
204 * AspNetReplyChannel.cs : remove garbage output.
206 2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
208 * SvcHttpHandler.cs : Use lock when it tries to create the service
211 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
213 * SvcHttpHandlerFactory.cs : lock when it tries to acquire
216 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
218 * HttpListenerManager.cs : add another workaround for blocking
221 2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
223 * HttpListenerManager.cs : small refactoring.
225 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
227 * TcpDuplexSessionChannel.cs : added a workaround receiver delay
228 that somehow makes callback client to not cause infinite loop.
230 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
232 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
233 DuplexChannelBase.cs : Receive() should rather use TryReceive().
234 It should not be in reverse order.
236 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
238 * HttpReplyChannel.cs, HttpListenerManager.cs :
239 Implement async cancellation in the expected manner (though with
240 some hack). This mostly removed nunit blockers.
242 2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
244 * CommunicationObject.cs : fix wrong status changes.
246 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
248 * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
250 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
252 * AddressHeader.cs : implement remaining bits.
253 Eliminate dependency on NetDataContractSerializer.
255 2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
257 * CommunicationObject.cs : in Fault(), do similar work as previous
260 2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
262 * CommunicationObject.cs : when process state changes, lock the
263 object to make sure the state transition is valid.
264 Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
266 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
268 * MessageHeaders.cs : implement SetAction().
270 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
272 * ChannelFactoryBase.cs : fix build.
274 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
276 * ChannelBase.cs : cosmetic API fix for SL3.
278 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
280 * ChannelFactoryBase.cs :
281 implement On{Begin/End}Close() on the generic type.
283 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
285 * HttpChannelFactory.cs, TcpChannelFactory.cs,
286 ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
287 PeerChannelFactory.cs, HttpRequestChannel.cs:
288 fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
289 type and made required changes.
291 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
293 * HttpCookieContainerBindingElement.cs : new.
294 * IHttpCookieContainer.cs : fix type name.
295 * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
297 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
299 * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
300 does not happen when communicating with .NET client but happens with
301 mono). Seealso FIXME comment.
302 * TcpDuplexSessionChannel.cs : do not try to close session when it
303 failed to read sized message. The connection is already dead.
307 2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
309 * TcpDuplexSessionChannel.cs :
310 Write EndRecord only when the connection is available.
311 Remove hack - do let ChannelDispatcher close the channel.
312 * TcpBinaryFrameManager.cs :
313 The socket may be disconnected when trying to read a sized message,
314 so check some socket exceptions.
315 In case the client silently shuts down without EndRecord and
316 reconnects to the server with preamble while expecting a sized
317 message (which is so lame, but that's what .NET often does), refresh
318 preamble and continue.
320 This fixes some cases of bug #567949 but not all.
322 2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
324 * BinaryMessageEncoder.cs : enable workaround buffering only when
325 the argument stream does *not* support seek. This fixes some
326 net.tcp connection problem.
328 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
330 * TcpBinaryFrameManager.cs : If preamble byte is not available from
331 the client stream, detect it to close the reply or input channel.
332 * TcpRequestChannel.cs : send preamble at each request time.
333 It differentiates communication behavior on such cases that involve
334 single open and multiple requests.
335 * TcpReplyChannel.cs : close the channel only when the channel is
336 oeprated to close i.e. do not close the socket every time.
337 Process preambles on each request (the same as request channel).
339 2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
341 * TcpBinaryFrameManager.cs : unsized envelope record may have more
342 than one data block, so consume them accordingly. This should fix
343 large buffer consumption.
345 2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
347 * MessageFault.cs : support EnvelopeVersion.None as well, as almost
350 2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
352 * HttpRequestContext.cs : for DestinationUnreachable message, this
353 channel returns 400 in .NET.
355 2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
357 * BinaryMessageEncoder.cs : added workaround for strange stream
358 consumption error raised by HttpTransport + Binary encoder example.
359 * BinaryMessageEncodingBindingElement.cs:
360 only SOAP 1.2 is allowed for this encoder.
362 2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
364 * XmlReaderBodyWriter.cs : don't try to write empty xml.
366 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
368 * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
369 default WebHeaderCollection items are overwritten.
371 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
373 * HttpRequestChannel.cs : when HTTP response was error, do not try
374 to read message but just raise an error.
376 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
378 * MessageHeaders.cs : null can be set as a WS-Addressing header item.
380 2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
382 * HttpRequestChannel.cs : WebException.Response might be null.
384 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
386 * ReplyChannelBase.cs : added listener property.
387 * SecurityChannelListener.cs : quick async impl, as ServiceHost has
388 been updated to prefer async by default, a while ago.
390 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
392 * HttpTransportBindingElement.cs : finished all GetProperty() values.
394 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
396 * HttpRequestChannel.cs : disabled carelessly added
397 "UseDefaultCredentials = false" line. It blocked basic auth.
399 2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
401 * HttpRequestChannel.cs, HttpChannelFactory.cs,
402 HttpChannelListener.cs, HttpListenerManager.cs :
403 implemented http client authentication and some of corresponding
404 service code. Only client works so far.
406 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
408 * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
409 added URI scheme check.
411 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
413 * TransportSecurityBindingElement.cs : fix 2.1 build.
415 2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
417 * HttpsTransportBindingElement.cs :
418 RequireClientCertificate is false by default.
419 Remove extra #if NET_2_1.
420 * SecurityBindingElement.cs :
421 Implement some transport security factory methods.
422 * TransportSecurityBindingElement.cs :
423 It is not ISecurityCapabilities anymore.
425 2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
428 SecurityBindingElement.cs
429 LocalClientSecuritySettings.cs
430 TransportSecurityBindingElement.cs
431 FaultConverter.cs : They are now part of SL3 API.
433 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
435 * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
437 2009-11-05 Geoff Norton <gnorton@novell.com>
439 * HttpsTransportBindingElement.cs: Implement basic https transport
440 binding support for Moonlight and MonoTouch
442 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
444 * HttpListenerManager.cs : remove CWLs.
446 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
448 * SvcHttpHandler.cs : move back previous listener selector code in
449 ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
450 and differentiate requests to deeper paths (such as /jsdebug), so
451 we need such refinement here.
453 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
455 * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
458 2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
460 * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
461 HttpChannelListener.cs, HttpListenerManager.cs :
462 Similar refactoring on ASP.NET side to the previous one.
463 Added ASP.NET implementation of HttpListenerManager and use some
464 part of it in SvcHttpHandler (ASP.NET stack does not fully make use
466 Rewrote AspNetReplyChannel to become almost the same as
467 HttpSimpleReplyChannel, to hopefully unify them later.
468 Now it dispatches requests to *.svc for wsdl, help and SOAP as long
469 as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
472 2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
474 * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
475 Refactoring on listener manager to correctly handle wsdl and help
476 requests for such case that they conflict in addressing. Now it
477 can correctly distinguish service calls, WSDL requests and help
478 requests when all of them point to "http://localhost/foo.svc"
479 (which is very common case that the user does not change Http*Url).
481 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
483 * ChannelListenerBase.cs : add Properties property to add arbitrary
484 properties handy (only inside this assembly).
486 2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
488 * HttpReplyChannel.cs : fix warning.
490 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
492 * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
494 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
496 * HttpReplyChannel.cs : make sure to release wait lock.
497 * HttpChannelListener.cs : session channels are not supported, so
498 remove relevant NIEs.
500 2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
502 * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
503 support contexts so we call the non-overloaded WaitOne method
504 (which defaults to false).
506 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
508 * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
509 significant rewrite to cooperate wcf handler and asp.net handler
510 to not mix multiple WCF listener within the asp.net handler.
511 So far it mostly works when 1) there are no ChannelDispatchers
512 that have an identical listen Uri and 2) MaxConcurrentSessions is
513 1 (must be explicitly set).
515 2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
517 * CommunicationObject.cs : give better state error description.
519 2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
521 * CommunicationObject.cs : OnOpening() and OnOpened() require calls
522 to base methods. This resulted in not a few changes everywhere.
524 2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
526 * IHttpCookieContainer.cs : new 2.1-only interface (no use).
528 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
530 * SvcHttpHandler.cs : use file path given by the factory to
531 construct BaseAddresses. Requests to "test.svc/jsdebug" should
532 not be handled as request to "jsdebug" file, it's rather an
533 "argument" to "test.svc".
535 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
537 * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
538 rewrite to handle shutdown situation better. The listeners should
539 not close channels that it opened. Instead, just stop accepting
540 further requests. Removed blocking mutex on WaitForRequest().
541 Now xsp shuts down as expected.
543 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
545 * HttpReplyChannel.cs : lock list when releasing its content contexts.
546 * AspNetReplyChannel.cs : send EndRequest() to handler when it is
549 2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
551 * SvcHttpHandlerFactory.cs : remove todo.
552 * ReplyChannelBase.cs : add comment.
554 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
556 * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
557 revert the change, to use internal asp.net state again.
558 * SvcHttpHandler.cs : add VirtualPathExtension.
560 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
562 * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
563 asp.net response was not written correctly.
564 Fill HttpRequestMessageProperty to get handle WSDL requests
565 processed in ServiceMetadataExtension without NRE.
566 Remove wrong HttpListenerContext iteration at Abort and Close in
567 common base class and move it to non-asp derived channel.
569 2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
571 * SvcHttpHandler.cs : remove unused code.
573 2009-09-30 Jb Evain <jbevain@novell.com>
575 * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
576 to use any of the remoting features.
578 2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
580 * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
581 use AspNetCompatibilityEnabled.
582 * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
584 * AspNetReplyChannel.cs : remove extra field.
586 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
588 * HttpReplyChannel.cs : remove extra field.
590 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
592 * AspNetRequestContext.cs : remove CWL.
594 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
596 * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
597 only after AspNetRequestContext is closed. Do not close it
598 immediately after receiving the context. (HttpRuntime destructs it
599 and further uses then becomes impossible.)
601 2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
603 * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
604 * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
605 Make sure that AspNetChannelListener is bound to correct
606 SvcHttpHandler, regardless of specific request URI. It is required
607 for both WSDL requests and RESTful binding requests.
609 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
611 * MessageProperties.cs : fix CopyProperties() behavior to not
612 clear existing items. Make all properties call this[name].
614 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
616 * HttpTransportBindingElement.cs : fix 2.1 build.
618 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
620 * TransportBindingElement.cs : another GetProperty fix, iterate
621 other binding elements.
623 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
625 * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
626 some GetProperty() implementation.
628 2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
630 * HttpListenerManager.cs : release HttpListener and avoid extra
631 close process more than once.
633 2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
635 * HttpChannelListener.cs : do not iterate channel list to close
636 channels which in turn removes them from the list while iteration.
638 2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
640 * HttpRequestChannel.cs : Fix message version member comparison.
641 Double-quote SOAPAction. Remove extra Exception.
642 * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
643 * HttpRequestContext.cs : when addressing is None, remove action
646 2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
648 * SvcHttpHandler.cs : set Uri property based on baseAddresses and
649 path, to pick those endpoints that are added at custom factories.
651 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
653 * SvcHttpHandler.cs : apply configuration, and if there is still no
654 endpoint, then add default one.
656 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
658 * SvcHttpHandler.cs : another URL to make relative.
660 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
662 * SvcHttpHandlerFactory.cs : some GetHandler changes.
663 * SvcHttpHandler.cs : significant changes on receiver structure. Now
664 ProcessRequest() stores pending requests (this might be extraneous,
665 but maybe useful when it implements async handler). Also removed
666 reply_channel field as it may become to handle multiple requests.
667 * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
668 * AspNetReplyChannel.cs : make it receive requests like
669 HttpReplyChannel (for HttpListener) to make them consistent.
671 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
673 * AspNetRequestContext.cs, HttpRequestContext.cs :
674 fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
675 by splitting HttpListener-based context out from common code base.
677 2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
679 * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
680 relative or absolute. new Uri ("/foobar") doesn't work on non-unix
683 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
685 * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
686 loads types from system assemblies appropriately.
688 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
690 * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
693 2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
695 * HttpRequestMessageProperty.cs : fix default values.
697 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
699 * HttpChannelFactory.cs, HttpRequestChannel.cs,
700 ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
701 Check ManualAddressing value and reject address-missing ones.
703 2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
705 * HttpChannelFactory.cs : reject URI mismatch cases when required.
707 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
709 * PeerDuplexChannel.cs : When received Connect() from neighbor,
710 add the peer to its internal list.
711 Finally ChatApplication got working.
713 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
715 * PeerDuplexChannel.cs : since the channel factory is per instance,
716 do not reuse factory that is tied to different callback instance.
717 It resolved the issue that mono callback client didn't receive
718 messages from the client itself.
720 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
722 * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
723 of the receiver, not the requestor. It resolved the issue that
724 .NET client didn't send further messages to mono server.
726 2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
728 * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
729 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
730 TcpReplyChannel.cs, TcpRequestChannel.cs,
731 NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
732 rename EndRecord handling method to appropriate one.
733 Write EndRecord from recipient too.
735 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
737 * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
738 Process PeerTo header to upgrade Message To header. Now mono
739 service accepts mono client (somehow not true for .NET client).
741 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
743 * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
744 NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
746 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
748 * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
750 2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
752 * TcpDuplexSessionChannel.cs : check channel state before processing
755 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
757 * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
758 NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
759 ongoing works, not working at all yet.
761 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
763 * TcpChannelListener.cs, TcpReplyChannel.cs :
764 cosmetic cleanup and corrections.
766 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
768 * TcpChannelFactory.cs : use expected Via uri.
769 Remove extra NIE stuff that are implemented in base.
771 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
773 * TcpDuplexSessionChannel.cs : remove extra code.
775 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
777 * PeerDuplexChannel.cs : ongoing implementation towards get callback
778 replies on peer connector clients (not working as duplex client
779 callback is not working yet).
781 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
783 * TcpDuplexSessionChannel.cs : in callback client channels,
784 OperationContext.IncomingMessageHeaders is null.
786 2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
788 * MessageHeaders.cs : duplicate check was sloppy.
790 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
792 * Message.cs, MessageImpl.cs, BodyWriter.cs :
793 Implement BodyWriter.OnCreateBufferedCopy() and use it.
795 2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
797 * ReplyChannelBase.cs : initialize field.
799 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
801 * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
802 implement GetProperty<T>() and return its channel manager.
804 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
806 * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
807 destination address in Connect() request. To repeat sending
808 request, use buffered copy. Set some peer-channel specific
809 header items. (todo: and consume them.)
811 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
813 * Message.cs : state is set only after WriteBodyContents().
815 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
817 * MessageHeaders.cs : eliminate wrong use of
818 ReadElementContentAsString() (it is not always simple string).
820 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
822 * MessageHeaders.cs : when the value is null, do not try to
823 deserialize EndpointAddress.
825 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
827 * MessageHeader.cs : add Value property. (Forgot dependent change.)
829 2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
831 * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
832 serialization and deserialization of values.
834 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
836 * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
837 Now simply use connector contract.
839 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
841 * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
843 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
845 * TcpChannelListener.cs : do not try to compare dead connection's
846 IPEndPoint (it raises an error).
848 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
850 * MessageHeaders.cs : allow null header value on each specific setter.
852 2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
854 * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
855 get local and remote address of connected counterpart to get
856 callback channel connected.
857 * PeerDuplexChannel.cs : remove FIXME wrt above.
859 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
861 * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
863 2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
865 * MessageHeader.cs : fill IsReferenceParameter.
867 2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
869 * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
870 implement remaining async methods and LocalAddress.
872 2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
874 * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
875 ServiceHost to process neighbor connection (not sure if this is
876 right way to go though ...).
878 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
880 * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
881 connection part to use new internal IPeerConnectorContract for
884 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
886 * ChannelListenerBase_1.cs, TcpChannelListener.cs,
887 PeerChannelListener.cs, HttpChannelListener.cs :
888 support ListenUri accordingly too so that it could be used when
889 it is different from LocalAddress.Uri.
891 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
893 * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
894 TcpRequestChannel.cs : use Via uri to validate and connect.
896 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
898 * RequestChannelBase.cs, DuplexChannelBase.cs :
899 Return endpoint address Uri when no explicit Via uri is specified.
900 * ChannelFactoryBase.cs : Remove extra async close methods.
901 Add async open methods. Reject null EndpointAddress.
902 * PeerChannelFactory.cs : remove async open methods (now in base).
904 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
906 * PeerDuplexChannel.cs : set correct message endpoint (To header).
908 2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
910 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
911 DuplexChannelBase.cs : set LocalAddress property at base.
913 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
915 * PeerDuplexChannel.cs : ongoing refactoring to work both as
916 listener and client. Now it creates a listening peer node, and
917 creates a set of TCP client channels for each peer in the mesh.
919 (EndpointAddress must be fixed to not filter out correct inputs).
921 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
923 * PeerChannelListener.cs : do not accept more than one channel
924 which results in lots of listening peer node. Only one is enough.
926 2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
928 * DuplexChannelBase.cs : fix wrong loop implementation.
930 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
932 * TcpChannelListener.cs : to avoid creating two or more channels
933 for one remote endpoint, check existing remote endpoints and
934 ignore such connections (it must be handled in different thread
935 fired by ChannelDispatcher loop).
937 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
939 * TcpReplyChannel.cs : make sure to not try to receive request when
940 it is already closed.
942 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
944 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
945 some mannerless clients [*1] do not send EndRecord accordingly, but
946 such channels at listener side should not be kept open. So, close
947 disconnected channels when the listener needs to accept another
949 [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
951 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
953 * TcpDuplexSessionChannel.cs :
954 Remove extra NIE overrides.
955 Implement OnAbort() apart from OnClose().
956 For duplex session channel, unlike reply channel, it must acquire
957 TCP connection before OnOpen(), otherwise ChannelDispatcher
958 releases the connection acceptance WaitHandle and the detected
959 live connection may be stolen by another channel acceptor.
961 2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
963 * HttpRequestChannel.cs : implement OnAbort().
965 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
967 * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
968 * DuplexChannelBase.cs : comment out some extra fields (so far).
969 * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
971 2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
973 * PeerCustomResolverBindingElement.cs : add some null checks.
975 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
977 * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
978 Acquire TcpClient for each request/reply. Now it is fully
979 interoperable with .NET.
981 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
983 * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
984 ReplyTo and MessageId (though it is session-less), and it expects
985 EndRecord at weird stage, inconsistent with [MC-NMF]...
986 Now .NET service accepts one mono client request.
988 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
990 * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
991 Send and receive unsized message terminator at once.
992 Send EndRecord mutually. Got one .net client request working.
994 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
996 * BinaryMessageEncoder.cs : revert the previous dictionary change.
997 They are indeed used for non-in-band-dictionary messages.
999 2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
1001 * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1002 split out binary frame manager class into separate file.
1004 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1006 * TcpReplyChannel.cs : new reply channel implementation.
1007 * TcpChannelListener.cs : use above for streamed reply channel.
1008 * TcpDuplexSessionChannel.cs : more streaming mode support.
1009 * TcpRequestChannel.cs : a couple of updates to get it working
1010 with the reply channel above. Still some issues on .NET interop.
1012 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1014 * RequestContext.cs : added internal derived class that implements
1017 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
1019 * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1022 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1024 * PeerDuplexChannel.cs: add the registered node itself to peer list.
1025 (The messaging must be done as TCP request/reply pattern, so it's
1028 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1030 * TcpRequestChannel.cs : new channel file (TCP for request/reply
1031 messaging pattern). The messaging part is not working yet.
1032 * TcpChannelFactory.cs : support IRequestChannel.
1033 * TcpDuplexSessionChannel.cs : add unsized message support.
1035 2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
1037 * HttpRequestChannel.cs, RequestChannelBase.cs :
1038 A couple of async members are now implemented in the base class.
1039 Ditto for EndpointAddress and Via.
1041 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1043 * PeerDuplexChannel.cs : now it implements some of node management
1044 functionality and Send operation. The receiver part is not yet.
1046 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1048 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1049 timeout to channel constructor. it does not make sense.
1051 2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
1053 * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1054 as common interface member, and use binary encoder (not text).
1056 2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
1058 * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1060 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1062 * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1063 PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1064 going to be unified to PeerDuplexChannel. And it is likely that
1065 input and output functionalities are to be unified too.
1067 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1069 * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1070 may have to reuse it for peer transport.
1071 * PeerChannelListener.cs : add binding member.
1072 * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1074 2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
1076 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1077 PeerChannelFactory.cs : close opened channels at OnClose() as
1078 documented. Implement async methods.
1079 * PeerChannelListener.cs : removed some NIE overrides.
1081 2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
1083 * DuplexChannelBase.cs : some more async methods.
1085 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1087 * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1089 * TcpChannelListener.cs : accept multiple channels at a time.
1091 2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
1093 * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1094 session strings but output only those new ones in current message.
1095 This fixes inconsistent body output in repetitive use of sender.
1097 2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
1099 * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1100 operation that does not involve session.
1101 Preserve writer session as well as reader session.
1102 * MessageHeaders.cs : take name and namespace into consideration
1103 when creating a serializer.
1105 2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
1107 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1108 Made required changes for repeated use of message exchanges.
1109 Hold binary reader session. The channels use it incrementally.
1110 Preambles are handled at Open, and EndRecords are handled at
1111 Close, Add session shutdown hook here (not working yet though).
1113 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1115 * ChannelListenerBase_1.cs : added cancellation hook here too.
1116 HttpChannelListener.cs : use above.
1117 Do not allow parallel channel creation (this listener does not
1118 allow more than one AcceptChannel().
1120 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1122 * ReplyChannelBase.cs, HttpReplyChannel.cs :
1123 Add cancellation hook for async TryReceiveRequest.
1125 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1127 * HttpChannelListener.cs, HttpListenerManager.cs :
1128 slightly improved BuildChannelListener().
1129 Implement OnAbort() and differentiate it from OnClose().
1131 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1133 * TcpDuplexSessionChannel.cs : remove NIE stubs.
1135 2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
1137 * DuplexChannelBase.cs : simple async delegate calls here too.
1139 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1141 * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1143 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1145 * HttpReplyChannel.cs : cosometic simplification.
1147 2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
1149 * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1150 infinite block in 2.0 profile.
1152 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1154 * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1155 more careful close to avoid NRE.
1157 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1159 * HttpChannelListener.cs : do not Close() more than once (though
1160 it is allowed to call it twice, we don't reject it; just ignore).
1162 2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
1164 * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1166 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1168 * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1169 Temporarily disable HTTP Keep-Alive since it somehow results in
1170 wrong reuse of connection (shown as NRE in HttpConnection).
1171 Make sure to close RequestContext which was created from it.
1172 * HttpRequestContext.cs : simplify.
1174 2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
1176 * HttpChannelListener.cs, TcpChannelListener.cs,
1177 ChannelListenerBase_1.cs : put common internal listener base
1178 and let it handle those async stuff.
1180 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1182 * ReplyChannelBase.cs : fix wrong null delegate check point.
1184 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1186 * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1187 now implemented as virtual in base class. Remove NIEs in http.
1189 2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
1191 * HttpChannelListener.cs : hack async implementation.
1193 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1195 * HttpListenerManager.cs : oops, extra line removal.
1197 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1199 * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1201 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1203 * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1204 "ChannelManager" is confusing (there is ChannelManagerBase).
1206 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1208 * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1209 HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1210 they should be split into separate listener->reply channel lines
1211 (remove "if (HostingEnvironment.IsAspNet)".)
1213 2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
1215 * CommunicationObject.cs : OnClosed() requires call to base method.
1216 Close() could rather abort the channel, and Abort() does not
1217 always invke OnAbort().
1218 * ChannelBase.cs : add call to base as above.
1220 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
1222 * ClientAccessPolicy.cs: Removed
1223 * CrossDomainAccessManager.cs: Removed
1224 * CrossDomainPolicy.cs: Removed
1225 * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
1226 since this is now done inside the BeginGetResponse call (outside
1227 this assembly) for Moonlight (NET_2_1)
1229 2009-06-04 Alan McGovern <amcgovern@novell.com>
1231 * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1232 instead of the sync apis. Prevents a possible deadlock condition in
1235 2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
1237 * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1238 callbacks, so add hacky ones.
1240 2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
1242 * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1243 true when socket input is not available.
1245 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1247 * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1248 I cannot precisely identify when EndRecord should be consumed,
1249 so allow it at either at the end of ReadSizedMessage() or on
1250 consuming preamble (it's likely handling EndRecord of previous
1253 Now duplex IPeerResolverContract communication works between
1254 either of .NET/Mono client and .NET/Mono server.
1256 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1258 * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1259 code. Handle preamble ack on ReadSizedMessage() only at server.
1260 Consume EndRecord from server, at client side. Though it is likely
1261 changed as it's blocking when mono is at server side.
1263 2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
1265 * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1266 different protocol than existing code with related to preamble ack.
1267 So changed it to work fine with .NET client (finally).
1269 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1271 * MessageBufferImpl.cs : do not output Action twice.
1273 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1275 * MessageBufferImpl.cs : it did not copy headers.
1276 * Message.cs : remove 2_1 conditional implementation for buffered
1277 copy and hence remove bogus code.
1279 2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
1281 * MessageProperties.cs : copy argument is wrong.
1283 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1285 * PeerCustomResolverBindingElement.cs : some argument check.
1287 2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
1289 * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1290 xml open, so close the writer as well as open elements.
1291 * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1292 Do not output EndRecord and SizedMessage at a time.
1294 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1296 * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1297 length of the SizedMessage in the output.
1299 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1301 * CommunicationObject.cs : use sane default timeout.
1302 * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1303 * TcpDuplexSessionChannel.cs : ditto.
1305 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1307 * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1308 only accepts buffered messages, so do as such for write buffers.
1309 Add RelatesTo header.
1311 2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
1313 * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1314 rename from former to latter.
1316 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1318 * TcpDuplexSessionChannel.cs : reader does not always return full
1319 buffer (depending on the stream).
1321 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1323 * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1325 2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
1327 * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1330 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1332 * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1334 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1336 * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1338 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1340 * ChannelManagerBase.cs : fix wrong session channel detection.
1342 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1344 * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1345 This encoder factory implements CreateSessionEncoder() and binary
1346 encoder does support session transmit, in different media type.
1347 * ChannelManagerBase.cs : added utility method to create appropriate
1349 * HttpChannelFactory.cs, HttpChannelListener.cs,
1350 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1351 PeerChannelFactory.cs, PeerChannelListener.cs,
1352 TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1354 2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
1356 * TcpDuplexSessionChannel.cs : add ReplyTo header.
1358 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1360 * DuplexSessionBase.cs : new file, for session implementation.
1361 * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1362 DuplexSessionChannelBase.cs : changed sync/async implementation
1363 pattern. Now async methods call sync methods using delegates.
1365 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1367 * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1368 a few minor API fixes.
1370 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
1372 * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1374 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1376 * TcpDuplexSessionChannel.cs : add To header.
1378 2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
1380 * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1383 2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
1385 * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1387 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1389 * MessageFault.cs : Reason is mandatory. raise XmlException, and
1390 CommunicationException in each CreateFault().
1392 2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
1394 * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1395 Open(). Some (but not all yet) continuous communication works now.
1396 Use ProtocolException. Remove dummy binary session string.
1398 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1400 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1401 sending/receiving SizedMessageRecord parts to manager class.
1402 Handle writer session, though it is likely broken at dictionary
1403 writer part (no string is written so far).
1404 * BinaryMessageEncoder.cs : add writer session and rename reader
1407 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1409 * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1410 is mandatory in initiator preamble packet. Handle Fault reply in
1413 2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
1415 * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1416 based communication under TcpBinaryFrameManager class.
1418 2009-05-13 Jb Evain <jbevain@novell.com>
1420 * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1421 from a StringReader.
1423 2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
1425 * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1426 actually eliminate DOM-based implementation too in 2.0.
1428 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1430 * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1431 in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1432 comments for magic numbers based on [MC-NMF].
1434 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1436 * BinaryMessageEncoder.cs : implement part of in-band dictionary
1437 support for [MC-NBFSE] record in [MC-NMF], in this class.
1439 2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
1441 * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1443 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1445 * TcpDuplexSessionChannel.cs : implemented some channel methods.
1447 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1449 * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1451 2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
1453 * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1455 2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
1457 * BinaryMessageEncoder.cs : use quotas in binding element.
1458 Implement WriteMessage().
1460 2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
1462 * PeerCustomResolverBindingElement.cs : do initialize field.
1464 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1466 * PeerCustomResolverBindingElement.cs :
1467 implement full custom resolver.
1469 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1471 * PeerDuplexChannel.cs, PeerChannelListener.cs,
1472 PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1473 PeerChannelFactory.cs : ongoing p2p channel implementation.
1475 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1477 * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1479 2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
1481 * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1482 ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1483 implement GetProperty<T>(). Return documented objects or null.
1485 2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
1487 * PeerChannelFactory.cs, PeerChannelListener.cs,
1488 PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1489 PeerInputChannel.cs, PeerOutputChannel.cs :
1490 new; ongoing peer transport implementation.
1491 * DuplexSessionChannelBase.cs, InputChannelBase.cs
1492 MsmqOutputChannel.cs, OutputChannelBase.cs,
1493 PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1494 PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1495 several internal changes (either required or for simplification)
1496 for ongoing peer transport implementation.
1498 2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
1500 * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1502 2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
1504 * TcpTransportBindingElement.cs : check build-ability before
1505 actually building channels.
1506 * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1507 conditions according to MSDN.
1509 2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
1511 * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1512 handle headers in SL2. Slightly changed 3.0 code too.
1514 2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
1516 * HttpRequestChannel.cs : use cross domain access manager.
1518 2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
1520 * Message.cs : (in CreateBufferedCopy) do not pass the entire
1521 message as BodyWriter.
1522 (in GetReaderAtBodyContents) just write body contents.
1523 * MessageImpl.cs : do not try to read body at ctor (fixed tons
1525 Add some state check in GetReaderAtBodyContents().
1526 * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1528 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1530 * Message.cs : do not forget to flush.
1531 * HttpRequestChannel.cs : give more exact error info.
1533 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
1535 * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1536 make buffered copy in ML2 really buffered.
1538 2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
1540 * Message.cs : if there is no header item to write, do not write
1541 SOAP header element.
1543 2009-01-22 Alan McGovern <amcgovern@novell.com>
1545 * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1546 Rewrite to avoid usage of it.
1548 2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
1550 * ChannelParameterCollection.cs : implement, rather than NIE.
1552 2008-05-22 Noam Lampert <noaml@mainsoft.com>
1554 * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1555 internal users to know the type of the detail.
1557 2008-05-20 Noam Lampert <noaml@mainsoft.com>
1559 * Message.c: Use private setter for state private variable to ease debugging.
1560 Modify ToString not to change the state, as it is called quite often by VS debugger
1562 2008-04-21 Roei Erez <roeie@mainsoft.com>
1564 * HttpChannleManager: Fix for multithreaded use.
1565 * HttpReplyChannel: Fix crash during sutdown.
1567 2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1569 * HttpChannleManager: ensure trailing slash in uri.
1571 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1573 * added: HttpChannleManager,
1574 * HttpChannelListener: added use of HttpChannelManager
1576 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1578 * MessageEncodingBindingElement.cs: fixed ctor
1580 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1582 * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1584 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1586 * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1588 2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1590 * MessageFault.cs: fixed CreateFault11, implemented "detail"
1592 2008-04-17 Noam Lampert <noaml@mainsoft.com>
1594 * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1596 2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
1598 * BindingElementCollection.cs: fix API - .ctor's signature.
1600 2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
1602 * XmlSerializerBodyWriter.cs: Removed.
1604 2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1606 * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1608 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1610 * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1611 * TcpChannelFactory.cs, TcpChannelListener.cs :
1612 unify factory and listener into TcpChannelInfo for use in
1613 TCP channel implementation. Do not store stream in the listener.
1614 Factory now uses BinaryMessageEncoder.
1615 * TcpDuplexSessionChannel.cs : changes explained above, and now it
1616 holds TcpClient that the listener has accepted.
1618 tcp-transport-binding-element sample now communicates (though
1619 only when both sides are mono: there seems binary mismatch).
1621 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1623 * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1624 clone connection pool settings too.
1625 * NamedPipetransportBindingElement.cs,
1626 NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1627 being likely implemented though).
1629 2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
1631 * ConnectionOrientedTransportBindingElement.cs,
1632 TcpTransportBindingElement.cs : some API updates.
1633 Initialize default values.
1634 * TcpConnectionPoolSettings.cs : new file.
1636 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1638 * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1639 added support for "factory" attribute.
1641 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1643 * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1645 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1647 * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1649 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1651 * HttpRequestChannel.cs : create WebRequest against To message header
1653 Consider HttpRequestMessageProperty.
1654 Do not output body when suppressed or the method is GET.
1656 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
1658 * HttpChannelListener.cs : BindingContext may not have listenUri
1659 at its .ctor() step.
1661 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1663 * BindingContext.cs : RemainingBindingElements is not just a dummy
1664 collection but is actually user-controlled.
1666 2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
1668 * TcpChannelFactory.cs, TcpChannelListener.cs,
1669 HttpChannelFactory.cs, HttpChannelListener.cs,
1670 MsmqChannelFactory.cs, MsmqChannelListener.cs,
1671 TextMessageEncodingBindingElement.cs,
1672 BinaryMessageEncodingBindingElement.cs,
1673 MtomMessageEncodingBindingElement.cs :
1674 message encoder should be retrieved only through public API.
1675 * BindingContext.cs : so my old guess was wrong.
1677 See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1679 2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
1681 * HttpTransportBindingElement.cs : implemented copy constructor.
1683 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1685 * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1686 header when AddressingVersion is None.
1688 2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
1690 * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1693 2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
1695 * OneWayBindingElementImporter.cs
1696 CompositeDuplexBindingElementImporter.cs : new files.
1698 2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
1700 * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1701 semantic change, its bool parameter must be false, not true.
1703 2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
1705 * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1706 new files. Msmq transport listener Implementation.
1707 * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1708 (wait for System.Messaging impl.)
1709 * HttpReplyChannel.cs : added comment
1711 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1713 * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1714 new files. internal stuff for msmq channel.
1715 * BinaryMessageEncoder.cs : added another .ctor().
1716 * MsmqTransportBindingElement.cs :
1717 implemented [Can]BuildChannelFactory().
1719 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
1721 * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1722 initialize some fields.
1724 2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
1726 * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1727 MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1728 couple of msmq stubs.
1730 2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
1732 * SecureMessageGenerator.cs : SecurityContextToken support (though
1733 it is still regarded as invalid by WCF).
1735 2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
1737 * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1738 make header.Contents.Add() more strict.
1739 Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1741 Added some hack to allow ssl token external mode.
1742 Commented out such lines that always premised asymmtric key.
1744 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1746 * TransactionFlowBindingElement.cs : forgot necessary Clone().
1748 2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
1750 * MessageSecurityBindingSupport.cs : support check to create
1751 authenticator is now done in both initiator/recipient sides.
1752 * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1754 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1756 * MessageSecurityBindingSupport.cs : for now, comment out the code
1757 that makes authenticator creation optional.
1758 * SecurityRequestContext.cs : don't decrypt message when it is
1759 WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1761 * SecurityChannelListener.cs : GetProperty<T>() now returns
1762 MessageSecurityBindingSupport when requested. It is used by
1763 EndpointDispatcher to check if it supports WS-Trust negotiation.
1764 * ChannelListenerBase.cs :
1765 removed extra TODO and field. Implemented GetProperty<T>().
1766 * Message.cs : In CreateMessage() for SOAP Fault, create
1767 SimpleMessage with IsFault = true.
1769 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1771 * SecurityRequestContext.cs : try to reply fault with the inner
1772 channel when an error occurred internally.
1773 * FaultConverter.cs : implemented based on OperationContext (at normal
1774 state it does not seem to create messages, so I implemented it this
1777 2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
1779 * TransportBindingElement.cs : implemented GetProperty<T>().
1780 * TransactionFlowBindingElement.cs : on building factory or listener,
1781 reject channel types that cannot build.
1782 * SecurityBindingElement.cs : added some TODO comments.
1783 * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1784 delegate to base, not BindingContext.
1785 * SecurityRequestContext.cs : somewhat late decryption.
1787 2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
1789 * MessageSecurityBindingSupport.cs,
1790 AsymmetricSecurityBindingElement.cs,
1791 SymmetricSecurityBindingElement.cs :
1792 renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1793 implemented ISecurityCapabilities on them. Now those binding
1794 elements support GetProperty<ISecurityCapabilities>().
1796 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
1798 * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1799 will work only for predefined parameter types.
1801 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1803 * MessageSecurityBindingSupport.cs :
1804 Set proper MessageDirection to the requirement after creation.
1805 split CreateTokenAuthenticator() as MessageDirection is different.
1806 Removed extra creation of requirement.
1808 2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
1810 * MessageSecurityBindingSupport.cs : token authenticator is not
1811 always created on channel-opening stage.
1812 * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1813 Sslnego binding factory method.
1815 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
1817 * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1818 signature velification failure.
1820 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1822 * SecureMessageGenerator.cs : encrypt signature confirmations only
1823 when they are required.
1825 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1827 * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1828 when [Signature Protection is true i.e. when we use
1829 SignBeforeEncryptAndEncryptSignature.
1831 With this change finally samplesvc.cs/samplecli.cs became
1834 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1836 * SecureMessageDecryptor.cs : signature verification was not done
1837 for endorsing supporting tokens.
1838 * SecureMessageGenerator.cs : moved SignatureConfirmation position
1839 in the security header. Don't output empty ReferenceList.
1841 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1843 * SecureMessageGenerator.cs : signingToken was added before being
1844 initialized and thus caused NRE.
1846 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1848 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1849 SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1850 don't need workaround for symmetric key restoration.
1852 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1854 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1855 SecureMessageGenerator.cs :
1856 Avoid extra reference search from the request's ReferenceList.
1857 create HMACSHA1 always with the key to compute hash (I'm not sure
1858 it is correct; it is rather to adjust all hash consistent.)
1860 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1862 * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1863 actually endorsed the primary signature.
1864 * SecureMessageGenerator.cs : implemented endorsing of the primary
1865 signature. So, now supporting tokens are fully implemented.
1867 2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
1869 * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1870 totally signing tokens.
1871 * SecureMessageGenerator.cs : Endorsing tokens should also be
1872 included in the message. They are just not signed.
1874 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1876 * SecureMessageGenerator.cs : support signing and encryption of
1877 supporting tokens. Some required refactory to do it.
1878 * MessageSecurityBindingSupport.cs : added EncryptedData member.
1880 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
1882 * SecureMessageDecryptor.cs : fix exception message.
1883 * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1884 XmlNamespaceManager is not required for GetIdElement().
1886 2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
1888 * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1889 moved decryption part from former file to latter file, to reuse
1890 SignedXml instance (though now I doubt how it actually was good)
1891 which in turn required to replace EncryptedData in
1892 WSSecurityMessageHeader with decrypted one.
1893 * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1895 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1897 * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1898 EncryptedData should contain KeyInfo as it is not obvious which key
1899 is used there. .net<->mono DerivedKeyToken introp is done.
1900 * SecureMessageDecryptor.cs : check derived key requirement.
1901 Reduce dom-dependent parts.
1903 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1905 * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1906 the related DerivedKeyToken (if any).
1907 * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1908 support. Some refactoring to distinguish deried-token-related
1910 * SecureMessageDecryptor.cs : removed its own support for derived
1911 key tokens. Now it fully works with DerivedKeySecurityToken.
1913 2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
1915 * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1916 SecureMessageDecryptor.cs :
1917 Implemented increment token reading in o:Security, as
1918 DerivedKeyToken could reference to existing wrapped key.
1919 Removed WsscDerivedKeyToken and all relevant code.
1920 * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1921 DerivedKeySecurityToken.
1923 2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
1925 * SecureMessageGenerator.cs : it was setting security tokens into
1926 incorrect SecurityMessageProperty.
1927 Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1928 Now it uses SecurityRequestContext instead of just primary key.
1929 * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1930 to symmetric reply decryption, which is the only trouble case.
1931 Do not create another SignedXml.
1932 * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1934 2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
1936 * SecureMessageDecryptor.cs : Now it uses union token resolver and
1937 the resolver works with in-progress token reading in o:Security.
1938 * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1939 as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1940 * SecureMessageGenerator.cs : cosmetic refactoring.
1942 2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
1944 * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1945 instead of EncryptedKey.
1947 2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
1949 * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1950 should not be always prepared at channel Open(). It also caused
1951 that extra token requirements.
1952 * SecureMessageGenerator.cs : use correct key clause for encryption.
1953 * SecureMessageDecryptor.cs : reduce extra key acquisition.
1955 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1957 * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1958 for supporting 'supporting tokens' .
1959 * SecureMessageGenerator.cs : Supporting token creation is done only
1960 at initiator (not sure if it is supposed that, but for now it is).
1961 Removed extraneous CollectSupportingTokens().
1962 * SecureMessageDecryptor.cs : implemented supporting token
1963 authentication (partly). "Signed" supporting tokens are expected
1966 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1968 * SecureMessageGenerator.cs :
1969 make SignBeforeEncryptAndEncryptSignature working.
1971 2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
1973 * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1974 the key itself. ProtectionToken is WrappedKey.
1975 * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1976 not EncryptedKeyIdentifierClause which is not for embedded key.
1977 * MessageProperties.cs : Fixed copy direction in CopyProperties().
1979 2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
1981 * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1982 to switch asymmetric and symmetric. Not used yet.
1983 * SecurityRequestChannel.cs : now it pass the request security
1984 property to reply receiver so that it could use the primary key
1985 used at request phase.
1986 * SecurityRequestContext.cs : now it pass the context itself to
1987 reply sender so that it could embed related MessageID.
1988 * SecureMessageGenerator.cs : ongoing changes to support symmetric
1989 binding element. Add RelatesTo output and remove MessageID when
1990 replying to the sender. Added some hacks to get symmetric binding
1992 * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1993 in SecurityTokenReference (it also involved existing encrypted key
1994 retrieval). In reply receiver, reuse the key that was used at
1995 request phase. It needs significant token resolution refactoring.
1997 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
1999 * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2000 * SecureMessageDecryptor.cs : store token and its authentication
2001 policies into the security property, and reuse it on reply.
2002 Some code refactoring; there is at most one o:Security to solve at
2003 one endpoint (depends on Actor). Some attempt to use correct
2004 token parameters (but for now I have only samples that use x509).
2005 * SecureMessageGenerator.cs : For replying message, use initiator's
2006 signing token as the encryption token. Simply reuse security
2007 property from the input message.
2009 I have some nasty workaround at decryptor for initiator that could
2010 not retrieve decryption key.
2012 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2014 * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2015 SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2016 several refactoring on token acquisition. Large part of
2017 MessageSecurityBindingSupport code is unified.
2019 2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
2021 * MessageProperties.cs : Security property should be one of the items.
2022 Actually many other properties should be similar as well.
2023 * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2024 when copying a message, copy properties as well.
2025 * SecurityRequestContext.cs : on replying, pass input
2026 SecurityMessageProperty to the security generator.
2027 * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2029 * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2031 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2034 MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2035 SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2036 use new WSSignedXml instead of SignedXml, and remove coexisting
2037 Id and wsu:Id. Now we can live only with wsu:Id and therefore
2038 - our reply messages could be consumed by .NET, and
2039 - .NET signature could be verified.
2041 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
2043 * SecureMessageDecryptor.cs : The signing key must be passed as
2044 CheckSignature() argument, not SigningKey.
2046 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2048 * MessageImpl.cs : don't read attribute after ReadStartElement().
2050 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2052 * MessageSecurityBindingSupport.cs : some Release() refactoring.
2053 * SecureMessageGenerator.cs : use correct signing key clause for
2054 SecurityTokenReferenceKeyInfo to be serialized.
2055 * SecureMessageDecryptor.cs : now it can try to parse signature.
2057 2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
2059 Ongoing changes to support signature confirmation
2060 * SecureMessageGenerator.cs :
2061 Don't output ReplyTo onto reply message.
2062 Write SignatureConfirmation if needed.
2063 * SecureMessageDecryptor.cs :
2064 Some refactoring for header cunsumption. Added commented-out
2065 signature verification part (not working yet, on client side due
2066 to incorrect reply from service and insufficient clause reader).
2067 * WSSecurityMessageHeader.cs :
2068 Added SignatureConfirmation support.
2069 KeyInfoClause for o:SecurityTokenReference should be replaced with
2070 SecurityTokenReferenceKeyInfo.
2072 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2074 * SecureMessageGenerator.cs : support Timestamp signature.
2075 Removed unused code, and extra argument in CreateReference().
2076 * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2078 2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
2080 * SecureMessageGenerator.cs :
2081 Several fixes to make asymmetric binding working:
2082 - Differentiate signing and encryption token in several areas.
2083 - Fixed signing keyinfo.
2085 Added initial SecurityMessageProperty handling, not sure if it is
2086 appropriate here though.
2087 * HttpRequestChannel.cs : (some debugging lines)
2089 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2091 Woohoo! Here is a very basic WS-Security compliant message which could
2092 be allowed by Indigo.
2093 * MessageHeader.cs : added Id support for writing.
2094 * Message.cs : added internal BodyId for signature reference.
2095 * MessageImpl.cs : write Body Id if required.
2096 * SecureMessageGenerator.cs : Before signing, the target elements must
2097 be given wsu:Id. Since I still use System.Security.dll, I need some
2098 trick for signing (I give both Id and wsu:Id, former to sign and
2099 latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2100 implementation later. Now singning mechanism works except for
2101 wsu:Timestamp (which is kind of mandatory).
2103 I can's still consume replies from Indigo but it's a big progress :)
2105 2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
2107 * MessageHeaderInfo.cs : added internal Id.
2108 * MessageHeader.cs : read and write wsu:Id.
2109 * Message.cs : output wsu namespace if Id exists in any header.
2110 * HttpReplyChannel.cs : (some debugging lines.)
2111 * SecureMessageDecryptor.cs : (remove debugging lines.)
2112 * MessageImpl.cs : removed obsolete code.
2113 * WSSecurityMessageHeader.cs : output "o" prefix.
2114 * SecureMessageGenerator.cs : replaced XmlElement-based header
2115 signing with MessageHeader-based signing, to support Id correctly.
2117 2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
2119 * SecureMessageGenerator.cs : some more refactoring and code comments.
2120 * MessageSecurityUtility.cs : made decryptor into an instance class,
2121 like I've done for SecureMessageGenerator.
2122 * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2123 dependent changes for above.
2125 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2127 * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2128 causing NRE due to the lack of token reference.
2129 No need to pass doc to SignedXml.ctor() anymore.
2130 Moved ReferenceList before the signature(s).
2132 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2134 * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2135 Moved signing key generation code to non-HMACSHA1 signing part.
2136 Don't try to sign wss:Security.
2137 Pass document itself to SignedXml.ctor().
2138 Use temporary DataObjects to avoid adding Ids (not sure what is the
2139 expected processing yet).
2140 * WSSecurityMessageHeader.cs : to support timestamp signing, add
2141 WriteTo() method in WsuTimestamp.
2143 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
2145 * SecureMessageGenerator.cs : wrong key was used for signing.
2146 Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2148 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2150 * SecureMessageGenerator.cs :
2151 Now ID generation process does not modify input message.
2152 Moved derived key generation part into (virtual) signing loop.
2153 MessagePartSpecification support for signing is done.
2155 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2157 * SecureMessageGenerator.cs : some reordering to handle signing and
2158 encryption with supporting tokens. Fixed XPath query bug for
2159 soap header contents (we want s:Header/*, not s:Header).
2161 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2163 * MessageSecurityBindingSupport.cs : more refactoring.
2164 Made it abstract and added Initiator- and Recipient- classes.
2165 Several members were moved to those derived types.
2166 * AsymmetricSecurityBindingElement.cs,
2167 SymmetricSecurityBindingElement.cs
2168 SecurityChannelFactory.cs, SecurityChannelListener.cs,
2169 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2170 SecurityRequestContext.cs, SecureMessageGenerator.cs :
2171 All dependent changes by above. Removed ISecurityChannelSource
2172 which became useless.
2174 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2176 * SecureMessageGenerator.cs : encryption parts should exist too.
2177 * AsymmetricSecurityBindingElement.cs
2178 SymmetricSecurityBindingElement.cs,
2179 MessageSecurityBindingSupport.cs : some refactoring.
2180 Split MessageSecurityBindingSupport into security binding element
2181 specific parts and made MessageSecurityBindingSupport concrete.
2182 It is likely split again, next time based on initiator/recipient.
2184 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2186 * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2187 split encryptor part in the former file into latter file, and
2189 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2190 SecurityRequestContext.cs : apply the change above.
2192 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2194 * MessageSecurityBindingSupport.cs :
2195 Fixed incorrect TrgGetValue() use.
2196 Added CollectRecipientSupportingTokens().
2198 2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
2200 * MessageSecurityUtility.cs: acctually ReferenceList was inside
2201 EncryptedKey. So, when a key itself is used to encrypt data,
2202 ReferenceList is contained by itself.
2203 * MessageSecurityBindingSupport.cs :
2204 added CollectInitiatorSupportingTokens().
2206 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2208 * MessageSecurityUtility.cs: it should support ReferenceList-less
2211 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2213 * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2214 * MessageSecurityUtility.cs : there already was uuid.
2216 2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
2218 * MessageSecurityUtility.cs : replaced EncryptedKey with
2219 WrappedKeySecurityToken, which seems to be in actual use in .net.
2220 * WSSecurityMessageHeader.cs : added internal Guid so that it
2221 could be shared between header items.
2223 2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
2225 * HttpRequestContext.cs, TextMessageEncoder.cs :
2226 some null arg check.
2228 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2230 * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2231 for SecurityTokenReference resolution.
2233 2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
2235 * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2236 consider DerivedKeyTokens correctly.
2237 When creating LocalId, don't add '#' here.
2239 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2241 * MessageSecurityUtility.cs :
2242 handle key mapping for each wsse:Security.
2244 2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
2246 * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2248 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2250 * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2252 * MessageSecurityUtility.cs :
2253 Now ReferenceList is placed under wsse:Security as WS-Security 1.1
2254 suggests, and it is used to dereference decryption targets.
2255 Now it premises multiple wsse:Security elements to read.
2257 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2259 * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2260 manually (and actually the namespace URI was wrong).
2262 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2264 * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2266 * MessageSecurityUtility.cs : DerivedKeyToken creation.
2268 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2270 * SecurityBindingElement.cs,
2271 SymmetricSecurityBindingElement.cs,
2272 AsymmetricSecurityBindingElement.cs :
2273 implemented SetKeyDerivation().
2275 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2277 * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2280 2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
2282 * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2285 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
2287 * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2288 thus move it in front of encryption/signing.
2290 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2292 * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2293 check state by themselves (btw it's not really working).
2294 * HttpChannelListener.cs : If the url does not end with '/' add it
2295 so that it could be fed to HttpListener.
2297 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2299 * HttpChannelFactory.cs : check scheme on CreateChannel.
2300 * MessageHeader.cs : finish IsMessageVersionSupported().
2302 2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
2304 * FaultConverter.cs : new file, not used yet though.
2306 2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
2308 * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2310 2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
2312 * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2313 GET as well as HttpReplyChannel, configuration would be ready now.
2315 2006-10-18 Ankit Jain <jankit@novell.com>
2317 * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2318 EnvelopeVersion.Soap12 and 'text/xml' for others.
2319 * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2321 Strip '?' from the query string.
2323 2006-10-13 Ankit Jain <jankit@novell.com>
2325 * MessageVersion.cs (None): Set AddressingVersion.None
2327 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2329 * SvcHttpHandler.cs : added config-based endpoint addition code.
2330 Though due to some weird bug in mono-core it does not seem to work,
2331 so commented out for now.
2332 * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2333 mex request message might just be wrong.
2334 Use expected MessageVersion by the channel.
2335 * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2337 2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
2339 * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2340 which differs depending on whether it is asymmetric or symmetric.
2341 * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2342 simplify SecureMessage() and DecryptMessage() arguments (just
2343 take MessageSecurityBindingSupport instead of several parameters).
2344 * MessageSecurityUtility.cs :
2345 - simplify SecureMessage() and DecryptMessage() arguments (just
2346 take MessageSecurityBindingSupport instead of several parameters).
2347 - Take token inclusion mode into account. Don't include them when
2348 it is not expected. Also, change the token reference style.
2349 - add wsa:MessageID to the headers.
2350 - For hmac-sha1 signing (default for symmetric binding), use
2351 symmetric key created for encryption as well to create HMACSHA1.
2352 - add Id to wsu:Timestamp.
2353 - start to handle SecurityMessageProperty.
2354 * WSSecurityMessageHeader.cs :
2355 Added Id to WsuTimestamp. Also use prefixes for its XML output.
2356 Changed date format.
2358 2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
2360 * CommunicationObject.cs : reject faulted state on Open()/Close().
2361 * MessageHeaders.cs : removed extra fields.
2363 2006-10-06 Ankit Jain <jankit@novell.com>
2365 * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2367 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2369 * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2370 added some FIXMEs and additional arg.
2372 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2374 * MessageSecurityUtility.cs : remove duplicate Action header.
2376 2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
2378 * MessageFault.cs : partly implemented CreateFault(Message, int).
2379 * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2380 handle IsFault correctly in each implementation.
2382 2006-10-04 Ankit Jain <jankit@novell.com>
2384 * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2386 2006-10-04 Ankit Jain <jankit@novell.com>
2388 * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2389 in WebConnectionStream.
2391 2006-10-04 Ankit Jain <jankit@novell.com>
2393 * MessageHeaders.cs (To): Use GetHeader<string> till
2394 DataContractSerializer gets ISerializable support.
2395 * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2397 2006-10-04 Ankit Jain <jankit@novell.com>
2399 * ServiceHostParser.cs (Parse):
2400 (Split): Add some error checks.
2402 2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
2404 * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2405 * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2406 * SslStreamSecurityUpgradeProvider.cs,
2407 SslStreamSecurityUpgradeAcceptor.cs :
2408 new files for Ssl upgrade provider implementation.
2409 * MessageSecurityUtility.cs :
2410 Create proper C14NTransform. Don't use enveloped signature
2411 transform but sign every significant bits. On securing messages
2412 use ChannelProtectionRequirements.
2413 * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2415 * MessageEncoder.cs : fix API (missing constraint).
2416 * WSSecurityMessageHeader.cs : it is MustUnderstand.
2417 * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2418 * AsymmetricSecurityBindingElement.cs : default protection order is
2419 SignBeforeEncryptAndEncryptSignature.
2421 2006-09-29 Ankit Jain <jankit@novell.com>
2423 * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2424 ServicHostParser and use that here.
2425 (PrivateBinPath): New.
2426 (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2427 (RemovedCallback): Remove and close the SvcHttpHandler when its
2428 corresponding file (.svc) changes.
2429 * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2431 * ServiceHostParser.cs : New.
2432 * CachingCompiler.cs : New. Code extracted from
2433 System.Web.Compilation.CachingCompiler
2434 * CompilationException.cs : New. From System.Web.Compilation
2435 * HtmlizedException.cs : New. Likewise.
2437 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2439 * MessageSecurityBindingSupport.cs : For client side, it is always
2440 InitiatorServiceModelSecurityTokenRequirement which should be
2441 created. Fixed wrong client encryption key acquisition.
2443 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2445 * SecurityChannelListener.cs, SecurityRequestContext.cs,
2446 MessageSecurityBindingSupport.cs : made similar changes as factories
2447 to listener so that session channels and input channels would work.
2448 Added authenticator creation.
2450 2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
2452 * Binding.cs : added missing members.
2454 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2456 * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2457 MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2458 reduce code duplication between request and output channels.
2459 The common parts are now in MessageSecurityBindingSupport.
2460 Now reduced several arguments in SecureMessage() for client.
2462 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2464 * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2466 2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
2468 * AsymmetricSecurityBindingElement.cs,
2469 SecurityChannelListener.cs,
2470 SecurityRequestContext.cs,
2471 SymmetricSecurityBindingElement.cs,
2472 SecurityRequestChannel.cs,
2473 SecurityOutputChannel.cs,
2474 SecurityChannelFactory.cs,
2475 MessageSecurityBindingSupport.cs : 1) Refactoring.
2476 IMessageSecurityBindingSupport now becomes a class and contains
2477 all the members which resided in ISecurityChannelSource.
2478 Now it takes more constructor params.
2479 Made dependent changes on all sources above.
2481 2) Added SecurityTokenAuthenticator creation in
2482 SecurityRequestChannel (SecurityOutputChannel should do the same).
2484 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
2486 * SecurityRequestChannel.cs : ongoing improvements on conditional
2487 key creation. Actually there must be some part that creates an
2488 authenticator (WinFX does that).
2490 2006-09-27 Ankit Jain <jankit@novell.com>
2492 Add suport for handling .svc files.
2493 * SvcHttpHandlerFactory.cs: New.
2494 * SvcHttpHandler.cs: New.
2496 * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2497 asp.net environment.
2498 (OnOpen): Do nothing in asp.net environment.
2499 (OnClose): Likewise.
2500 * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2501 * HttpRequestContext.cs: .. here.
2503 * AspNetReplyChannel.cs: New.
2504 * AspNetRequestContext.cs: New.
2506 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2508 * MessageSecurityUtility.cs :
2509 Significantly rewritten decryption parts to respect ReferenceList
2510 to decrypt (so no workaround anymore).
2511 Now e:ReferenceList inside o:Security is treated as the referenced
2512 EncryptedType items are encrypted by 1) the derived key which is
2513 immediately in front of it, or 2) the default key (it is according
2514 to WS-SecureConversation section 9.1). Thus removed immediately
2515 previous hack to auto-fill wsu:Id attributes.
2517 On securing a message, generate correct Id and add DataReference
2518 to ReferenceList properly.
2520 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2522 * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2525 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
2527 * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2528 Actually WSSecurityTokenSerializer should be able to consume it, but after
2529 spending a lot of time I still cannot successfully read it on WinFX.
2530 Skip ReferenceList for now.
2531 * MessageSecurityUtility.cs :
2532 Replaced some string literals with constants.
2533 Added some workaround for DerivedKeyToken retrieval.
2534 WinFX somehow sends incomplete ISO10126 padding which contains
2535 bigger number than the key size and is rejected by EncryptedXml,
2536 so added DecryptLax() which processes such ones in PaddingMode.None
2537 to workaround it (only for cross-connection between mono and winfx).
2538 Added some incomplete implicit wsu:Id processing.
2539 Don't try to replace SignedXml with EncryptedData. It is not added
2540 to the document tree.
2542 2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
2544 * MessageSecurityUtility.cs : support message signature encryption. Some
2547 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2549 * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2551 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2553 * MessageSecurityUtility.cs : fix warnings.
2555 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2557 * MessageSecurityUtility.cs : actually there would be more than one
2558 EncryptedData. Decrypt all.
2560 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
2562 * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2563 Use ISO10126 padding mode (it is not required but in manner).
2565 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
2567 * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2568 fixed, remove 16 bytes workaround (we still need encryption bugfix in
2569 that class to make it work fine with mono client).
2570 Removed buggy lines that reset decryption key to AES.
2571 Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2572 * WSSecurityMessageHeader.cs :
2573 (SecurityTokenReferenceKeyInfo) support LoadXml.
2575 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2577 * TransactionMessageProperty.cs : new file.
2579 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
2581 * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2582 gmcs happened to report wrong code.
2584 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2586 * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2587 .ctor() now requires ChannelProtectionRequirements which will be
2588 supplied via BindingParameterCollection.
2589 * SymmetricSecurityBindingElement.cs,
2590 AsymmetricSecurityBindingElement.cs : thus add
2591 ChannelProtectionRequirement parameter to factory/listener.
2592 * SecurityRequestChannel.cs : use recipient token requirement to
2593 create an encryption token. Thus differentiate the logic from
2594 signing (initiator) token.
2596 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2598 * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2599 renamed former to latter.
2600 * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2603 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2605 * MessageSecurityBindingSupport.cs : new internal types to commonize
2606 AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2607 and thus make internal factory and listener reusable.
2608 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2609 SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2610 SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2611 SymmetricSecurityBindingElement, using the new types above.
2612 * SymmetricSecurityBindingElement.cs :
2613 Use SymmetricMessageSecurityBindingSupport.
2614 * AsymmetricSecurityBindingElement.cs :
2615 thus implemented, using AsymmetricMessageSecurityBindingSupport.
2617 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2619 * ChannelFactoryBase.cs : more RC1 update.
2621 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
2623 * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2624 TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2625 * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2626 ChannelBase.cs : RC1 API updates.
2627 * MessageImpl.cs : implemented Properties.
2628 * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2630 2006-09-18 Ankit Jain <jankit@novell.com>
2632 * MessageHeaders.cs (MessageId):
2633 (RelatesTo): UniqueId is not serializable, serialize it as a string.
2635 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2637 * ChannelParameterCollection.cs : new file.
2638 * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2639 new files for IOutputChannel implementation.
2640 * OneWayBindingElement.cs : hacky implementation.
2641 * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2642 * MessageSecurityUtility.cs : now create identifier from the security
2643 token and the token parameters which is added as an argument.
2644 * SecurityRequestContext.cs,
2645 SecurityRequestChannel.cs : SecureMessage() argument changes.
2646 Set MessageSecurityVersion (SecurityTokenVersion) to the token
2649 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2651 * HttpRequestChannel.cs : close the HttpWebRequest.
2653 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2655 * HttpRequestChannel.cs,
2656 HttpChannelFactory.cs : implement async request/reply.
2657 * HttpChannelFactory.cs :
2658 verify factory state when creating a channel.
2660 2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
2662 * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2663 BinaryMessageEncoder.cs : added message version mismatch check.
2665 2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
2667 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2668 Making incomplete changes to handle different tokens for encryption
2670 * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2671 split channel implementation classes out to the latter file.
2672 * MessageSecurityUtility.cs : seems like there is
2673 TimeStampValidityDuration property, so use it (incomplete; a server
2674 needs another love).
2676 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2678 * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2679 SecurityRequestContext.cs : now that we have key identifier clause
2680 and working ResolveKeyIdentifierClause(), just create keys inside
2681 SecureMessage(). Add KeyInfo to the xmldsig.
2683 2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
2685 * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2686 pass SecurityKeyIdentifierClause to SecureMessage().
2687 * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2688 for IssuedToken binding element.
2689 * SymmetricSecurityChannelListener.cs : removed hack to just create
2690 X509 security token, and implemented correct token creation.
2691 * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2692 wraps SecurityTokenReference element.
2693 * MessageSecurityUtility.cs : use the above.
2695 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2697 * MessageSecurityUtility.cs : raise MessageSecurityException when it
2698 could not find a security header.
2699 * SymmetricSecurityChannelFactory.cs : now it also supports
2700 IRequestSessionChannel. Extracted SecurityRequestChannel out from
2703 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2705 * SecurityRequestContext.cs : moved securing message part to
2706 MessageSecurityUtility.cs.
2707 * MessageSecurityUtility.cs : the change above.
2708 use DateTime.Now for timestamp basis. Don't append signature to
2709 the document. Instead it is added to the header. Capture body
2710 content instead of the body itself.
2711 * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2712 be processed by upper layers.
2714 2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
2716 * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2717 SymmetricSecurityChannelListener.cs,
2718 SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2719 more refactoring. Request serialization became much more conformant
2720 and add required header items.
2721 Security Token retrieval is needed to send it in the request.
2722 Fixed wrong key encryption.
2724 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2726 * SecurityRequestContext.cs : the workaround was not functional.
2728 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2730 * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2731 API, especially ReplaceData(), instead of native crypto stuff.
2732 * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2733 MessageProtectionOrder.SignBeforeEncrypt).
2735 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
2737 * SecurityRequestContext.cs : label should be combined of both
2738 the client's and the server's.
2740 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2742 * SecurityRequestContext.cs : enable key derivation (though for now
2743 GenerateDerivedKey() is unimplemented). Create meaningful,
2744 decrypted request message to be consumed by the upper layer.
2746 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2748 * SecurityRequestContext.cs : implement Close() and Reply().
2749 ongoing implementation of Reply(TimeSpan).
2750 * MessageSecurityUtility.cs : new file to collect utility methods.
2751 * SymmetricSecurityChannelFactory.cs : moved securing message code
2753 * SymmetricSecurityChannelListener.cs : tiny renaming.
2755 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2757 * SecurityRequestContext.cs : security header is also stored.
2759 * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2762 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
2764 * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2767 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2769 * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2770 so that it retrieves the security key in that manner.
2772 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2774 * Binding.cs : MessageVersion is null when there is no
2775 MessageEncodingBindingElement.
2776 * Message.cs : null arg check.
2778 2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
2780 * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2782 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
2784 * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
2785 LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2786 LayeredRequestChannel.cs : some refactoring.
2787 * SymmetricSecurityChannelFactory.cs :
2788 ongoing secure message creation implementation.
2790 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
2792 * SymmetricSecurityBindingElement.cs :
2793 pass specific ServiceCredentialsSecurityTokenManager type to
2794 SymmetricSecurityChannelListener as it needs ServiceCertificate.
2795 * SymmetricSecurityChannelListener.cs :
2796 get service certificate. It's a temporary hack.
2797 Move RequestContext code to below.
2798 * SecurityRequestContext.cs : new file.
2799 * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2800 it I have to finish decryption of the incoming message.
2802 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2804 * MessageImpl.cs : don't write attributes on the first body content
2805 element *on soap Body element*.
2806 * MessageBufferImpl.cs : don't throw ArgumentNullException.
2807 ObjectDisposedException is appropriate.
2808 * MessageHeader.cs : (RawMessageHeader) don't write element itself
2809 in OnWriteHeader*Contents*().
2811 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2813 * WSSecurityMessageHeader.cs : new file.
2814 * SymmetricSecurityChannelFactory.cs :
2815 moved WSSecurityHeader and related types to the above.
2816 * SymmetricSecurityChannelListener.cs :
2817 reject SOAP-env-less message.
2819 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
2821 * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2822 renamed former to latter.
2823 * SymmetricSecurityChannelFactory.cs :
2824 create requirements every time. It is also likely that I need
2825 another requirement instance to get service credentials here.
2827 2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
2829 * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2830 similar to BuildChannelFactory() (set credentials, issuer binding
2832 * SecurityChannelListener.cs :
2833 more ongoing security support implementation.
2834 * SymmetricSecurityChannelFactory.cs :
2835 moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2837 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2839 * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2840 Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2841 Implementation is underway.
2842 * LayeredReplyChannel.cs :
2843 like LayeredRequestChannel, use ChannelListenerBase to provide
2846 2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
2848 * MessageHeader.cs : added another implementation type that uses
2849 XmlElement, for buffering purpose.
2850 * MessageImpl.cs : Header item types are user-driven by
2851 MessageHeader.GetHeader<T>(int), so at storing phase just store
2852 nodes as XmlElement.
2853 * MessageHeaders.cs : avoid dumping XmlNode to string to create
2856 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2858 * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2859 BindingParameterCollection, not from binding element properties.
2861 2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
2863 * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2864 renamed former to latter.
2866 2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
2868 * SecurityBindingElement.cs : SetIssuerBindingContext should also
2869 work for SslSecurityTokenParameters.
2871 2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
2873 * SecurityBindingElement.cs :
2874 Added SetIssuerBindingContextIfRequired().
2875 * SecurityChannelFactory.cs :
2876 Changed .ctor() arg again, just to receive binding element.
2877 * SymmetricSecurityBindingElement.cs :
2878 Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2879 SymmetricSecurityChannelFactory .ctor() arg changes.
2880 "ProtectionTokenParameters" is not passed now.
2882 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2884 * SymmetricSecurityBindingElement.cs : requirements should be
2885 filled at InitializeSecurityTokenParameters as long as possible.
2886 SymmetricSecurityChannelFactory<T> now does not receive
2887 requirements (it now creates one inside it) at .ctor().
2888 * SecurityChannelFactory.cs : remove requirement argument.
2890 2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
2892 * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2894 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2896 * SymmetricSecurityBindingElement.cs :
2897 MessageSecurityVersion property is of type SecurityTokenVersion.
2898 * SecurityBindingElement.cs :
2899 Implemented CreateSecureConversationBindingElement().
2900 For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2901 the argument IssuedSecurityTokenParameters itself.
2903 2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
2905 * SymmetricSecurityBindingElement.cs :
2906 CreateSecurityTokenManager() can be directly used now.
2907 Use CallInitializeSecurityTokenRequirement() to fill requirement
2910 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
2912 * ChannelFactoryBase.cs : GetProperty() is virtual.
2914 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
2916 * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2917 create token manager, token parameters and token requirements,
2918 and fill some requirements.
2919 * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2920 TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2921 * BindingContext.cs : implemented RemainingBindingElements.
2922 kill "no remaining binding element" error in GetInnerProperty()
2923 * SecurityChannelFactory.cs : now it became
2924 SymmetricSecurityChannelFactory, thus soon to be renamed.
2925 Several ongoing actual security resolution is on.
2927 2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
2929 * CommunicationObject.cs :
2930 add GetCommunicationObjectType() and use it.
2931 * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2932 use ThrowIfDisposedOrNotOpen().
2933 * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2934 to CommunicationObject. Make it IDisposable.
2935 * LayeredRequestChannel.cs : use above.
2936 * SecurityChannelFactory.cs : removed state check as it is done at
2939 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
2941 * SecurityBindingElement.cs : (CanBuildChannelFactory and
2942 CanBuildChannelListener) directly dispatch to BindingContext.
2943 * SymmetricSecurityBindingElement.cs : require protection token
2944 parameters before building a channel or a listener.
2945 * ChannelFactoryBase.cs : raise an error when a channel is being
2946 created without opening the factory.
2947 * ChannelListenerBase_1.cs : ditto for the listener.
2948 * SecurityChannelFactory.cs : before sending a request, it must be
2951 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2953 * MessageBufferImpl.cs : initialize fields.
2954 workaround BufferSize just to return 0.
2955 * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2956 which does not support multi time write.
2957 * Message.cs : implemented State.
2959 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2961 * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2962 is consuming XmlReader.
2963 Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2964 * MessageBuffer.cs : implemented CreateNavigator().
2965 * MessageBufferImpl.cs : added XPathMessageBuffer class.
2967 I kinda know that MS heavily depends on binary XmlReader and may have
2968 XPathNavigator implementation based on the binary stuff, but at
2969 least for now we have almost no motivation to mimick it.
2971 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
2973 * SecurityChannelFactory.cs : a bit more of security header code.
2975 2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
2977 * SymmetricSecurityBindingElement.cs :
2978 set default MessageProtectionOrder in every construction.
2980 2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
2982 * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
2983 changed to require ChannelFactoryBase to support default timeout.
2984 Made some methods non-virtual. Preparing code to add security
2985 headers (empty yet).
2986 * SecurityBindingElement.cs : implemented several factory methods
2987 that return SymmetricSecurityBindingElement.
2989 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2991 * IStreamUpgradeBindingElement.cs,
2992 StreamUpgradeBindingElement.cs : renamed from former to latter.
2994 2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
2996 * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2998 2006-07-31 Ankit Jain <jankit@novell.com>
3000 * MessageHeaders.cs (From): Use Constants.WSA1
3001 (MessageId): Implement the same pattern as other properties (From etc).
3003 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3005 * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3006 * SecurityBindingElement.cs : some cosmetic changes.
3008 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3010 * SecurityBindingElement.cs : LocalClientSettings and
3011 LocalServiceSettings returns an instance for each.
3012 * LocalClientSecuritySettings.cs : initialized fields.
3014 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
3016 * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3017 kinda implemented Clone() just with MemberwiseClone().
3019 2006-07-27 Ankit Jain <jankit@novell.com>
3021 * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3022 * MessageHeader.cs (knownTypes): New. Known type array containing
3024 (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3026 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3028 * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3029 LayeredCommunicationObject.cs,
3030 SecurityChannelFactory.cs, SecurityChannelListener.cs :
3031 new files to support security channels, though right now they
3032 just pass inner channels through.
3033 * SymmetricSecurityBindingElement.cs : use above.
3035 2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
3037 * AsymmetricSecurityBindingElement.cs,
3038 SymmetricSecurityBindingElement.cs :
3039 Default SecurityTokenParameters is null.
3041 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3043 * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3045 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3047 * Message.cs : When EnvelopeVersion is None, don't write SOAP
3049 * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3050 * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3051 headers. When AddressingVersion is None, don't output addressing
3052 headers as well, except for Action which is still needed by
3055 2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
3057 * MessageHeaders.cs : changed specific properties to find it from
3058 headers as Action property does (local variables won't be set by
3059 setter). Cache serializers. Check null serializer arguments.
3060 For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3062 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
3064 * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3065 use XmlObjectSerializer (since it is not data contract type).
3067 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3069 * MessageImpl.cs : Improved ReadHeaders().
3070 For certain header items, use EndpointAddress.ReadFrom().
3072 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3074 * AsymmetricSecurityBindingElement.cs :
3075 it is not ISecurityCapabilities anymore.
3077 2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
3079 * MessageVersion.cs : added None.
3081 2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
3083 * Message.cs : GetReaderAtBodyContents() implementation using
3086 2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
3088 * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3089 used MessageVersion.Default.
3091 2006-07-12 Duncan Mak <duncan@novell.com>
3093 * MessageBuffer.cs (MessageContentType): Return
3094 "application/soap+msbin1".
3096 * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3097 (SimpleMessage.OnCreateBufferedCopy):
3098 (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3099 MessageBuffer implementations.
3101 * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3102 (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3103 (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3105 2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
3107 * MessageImpl.cs : Action should be added in request messages. Omit
3108 it only in reply message, thus moved to dispatcher logic.
3110 2006-07-12 Ankit Jain <jankit@novell.com>
3112 * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3113 bug in WebConnectionStream.
3114 * MessageHeaders.cs (MessageHeaders.From):
3115 (MessageHeaders.ReplyTo):
3116 (MessageHeaders.To): Add the corresponding MessageHeader on set.
3118 2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
3120 * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3121 add SOAP Action to the response at any time.
3123 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3125 * SymmetricSecurityBindingElement.cs,
3126 SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3127 Implemented .ctor() and some properties.
3129 2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
3131 * TransactionFlowBindingElement.cs : new file.
3132 * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3134 2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
3137 DefaultAction vanished. CreateFault() now takes bufferSize arg.
3138 * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3139 * AddressingVersion.cs : added None. Equals() and GetHashCode()
3140 vanished (there is anyways no way to instantiate this type).
3141 * MessageVersion.cs : added Soap11 and Soap12.
3142 * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3143 in June CTP. goodie.
3145 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3147 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3148 removed some vanished CreateMessage() overloads.
3150 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3152 * CustomBinding.cs, HttpsTransportBindingElement.cs,
3153 HttpTransportBindingElement.cs :
3154 They are not ISecurityCapabilities anymore.
3155 Modified code to match June CTP behavior.
3157 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3159 * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3161 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3163 * EmptyFaultException.cs : removed unused code.
3164 * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3166 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3168 * LayeredChannelFactory.cs : removed obsolete class.
3169 * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3170 ChannelListenerBase.cs, HttpChannelListener.cs,
3171 HttpReplyChannel.cs, ChannelManagerBase.cs :
3172 all those changes were brought by ChannelManagerBase changes.
3174 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3176 * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3177 CommunicationObject.cs, HttpChannelListener.cs,
3178 ChannelFactoryBase.cs :
3179 CommunicationObject abstract changes brought this madness.
3181 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3183 * BindingContext.cs : listenUri address parameters could be null in
3186 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3188 * IRequestContext.cs :
3189 Now it became a class. File renaming will follow soon.
3190 * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3191 IDuplexChannel.cs, IDuplexSessionChannel.cs,
3192 IOutputChannel.cs, IOutputSessionChannel.cs,
3193 IRequestChannel.cs, IRequestSessionChannel.cs :
3194 They are not IDisposable anymore.
3195 For IReplyChannel, IRequestContext -> RequestContext.
3196 * IChannelListener.cs : removed Identity. Added GetProperty().
3197 * ChannelListenerBase.cs, ChannelListenerBase.cs,
3198 ReplyChannelBase.cs, HttpReplyChannel.cs :
3199 Several members disappeared, and dependent changes.
3200 * HttpTransportBindingElement.cs,
3201 HttpChannelListener.cs, :
3202 ChannelListenerBase.SharedChannelListener vanished.
3204 2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
3206 * MessageEncodingBindingElement.cs
3207 MtomMessageEncodingBindingElement.cs,
3208 TextMessageEncodingBindingElement.cs,
3209 BinaryMessageEncodingBindingElement.cs :
3210 June CTP updates: AddressingVersion -> MessageVersion.
3211 * Binding.cs : June CTP. MessageVersion is added.
3212 * ChannelBase.cs, BindingContext.cs, IChannel.cs
3213 ChannelListenerBase_1.cs,
3214 ChannelListenerBase.cs, IChannelListener.cs,
3216 ChannelFactoryBase.cs, ChannelManagerBase.cs :
3217 June CTP. Several interface changes.
3218 * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3219 * IChannelManager.cs, LayeredChannelListener.cs,
3220 GenericWrapperChannelFactory.cs,
3221 GenericWrapperChannelListener.cs : They are not used anymore.
3223 2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
3225 * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3226 sync fix with June CTP API updates.
3228 2006-07-03 Ankit Jain <jankit@novell.com>
3230 * MessageEncodingBindingElementConverter.cs:
3231 * StandardBindingConverter.cs:
3232 * TransportBindingElementConverter.cs:
3233 * TransactionFlowBindingElementConverter.cs:
3234 * ReliableSessionBindingElementConverter.cs:
3235 * SecurityBindingElementConverter.cs:
3236 Rename *Converter.cs to *Importer.cs
3238 * TransferMode.cs: Move to System.ServiceModel
3240 2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
3242 * CommunicationObject.cs : make sure to change State before
3243 OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3245 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3247 * Message.cs : output WSAddressing xmlns only when Action is
3248 specified (To should be affected, but seems like it is ignored).
3250 2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
3252 * MessageImpl.cs : don't set Action when it is null.
3254 2006-06-12 Ankit Jain <jankit@novell.com>
3256 * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3258 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3260 * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3261 some updated API fixes.
3263 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3265 * EnvelopeVersion.cs : moved back to S.SM.
3267 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3269 * IBindingManualAddressing.cs : vanished in beta2.
3270 * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3271 LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3273 * SecurityBindingElement.cs :
3274 SecurityStandardsManager -> SecurityTokenSerializer.
3276 2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
3278 * XmlSerializerBodyWriter.cs : new file to handle
3279 TypedMessageConverter.ToMessage().
3281 2006-04-26 Ankit Jain <jankit@novell.com>
3283 * TransportBindingElementConverter.cs (BeforeImport): Remove
3284 NotImplementedException.
3285 (ImportContract): Likewise.
3286 * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3288 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
3290 * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
3291 being used was not reflecting that of Binding elements.
3293 2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
3295 * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3296 just assume that it is in the message.
3298 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3300 * HttpReplyChannel.cs : actually HTTP header item might be null.
3302 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3304 * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3307 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3309 * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3311 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
3313 * MessageFault.cs : Fixed SOAP12 reason output.
3315 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
3317 * HttpReplyChannel.cs : no need to set response ContentEncoding since
3318 MessageEncoder.ContentType explicitly contains encoding.
3319 * AddressingVersion.cs : added ActionNotSupported property. Not sure
3320 if it is SOAP version dependent.
3322 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3324 * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3326 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3328 * HttpChannelFactory.cs BindingContext.cs
3329 HttpChannelListener.cs HttpTransportBindingElement.cs :
3330 Now BindingContext holds MessageEncoder, and non-custom
3331 channel factory/listener should use it.
3332 * MtomMessageEncodingBindingElement.cs
3333 TextMessageEncodingBindingElement.cs
3334 BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3335 -Listener() now sets internal BindingContext.MessageEncoder.
3336 Fixed some public API.
3338 2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
3340 * BindingContext.cs : CanBuildChannelXXX() should not raise error
3341 for insufficient elements.
3342 * DispatchRuntime.cs : OperationDescription name is not action. So
3343 OperationSelector is created by name, not by action.
3344 * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3346 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3348 * MessageFaultBodyWriter.cs
3349 XmlReaderBodyWriter.cs
3350 XmlObjectSerializerBodyWriter.cs : made internal.
3351 * SecurityBindingElement.cs
3352 AsymmetricSecurityBindingElement.cs
3353 SymmetricSecurityBindingElement.cs : API fixes.
3354 * TransportBindingElementConverter.cs : ditto.
3355 * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3356 * WindowsStreamSecurityBindingElement.cs
3357 SslStreamSecurityBindingElement.cs
3358 TransportSecurityBindingElement.cs : new files.
3360 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3362 * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3363 reading can be any xs:boolean value.
3365 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3367 * Message.cs MessageImpl.cs : more sorting out the role of each
3369 * MessageHeader.cs : use envelope namespace, not addressing namespace.
3371 2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
3373 * Message.cs : don't write body contents if it is empty.
3374 Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3375 * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3376 * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3377 * HttpRequestChannel.cs : close request stream before GetResponse().
3379 2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
3381 * TextMessageEncoderFactory.cs
3382 TextMessageEncoder.cs : encoder does not hold reference to the
3383 factory anymore. Use MessageVersion property in CreateMssage().
3384 * HttpChannelListener.cs : now it holds message encoder.
3385 * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3386 * MessageImpl.cs : header is optional.
3387 * EnvelopeVersion.cs : namespace URI is missing.
3389 2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
3391 * CustomBinding.cs : removed Initialize().
3392 * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3393 * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3394 by Message.CreateMessage(MessageVersion,XmlReader,int) and
3395 implemented Headers, IsEmpty and GetReaderAtBodyContents().
3397 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3399 * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3400 could be also added by Add() method and could be reset by Remove()).
3401 * MessageImpl.cs : implemented more. As noted above, Now we don't
3402 have to add Action header explicitly.
3403 * MessageHeader.cs : recovered Writer methods and ToString() from
3404 commented old version. Use prefixes for writing.
3405 Use WriteObjectContent() rather than WriteObject() (it needs
3406 DataContractSerializer fix btw).
3408 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
3410 * MessageHeader.cs : added missing IsReferenceParameter.
3411 * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3412 * MessageHeaders.cs : avoid NullRef when actors is null.
3413 * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3414 (ForwardingMessage) reader consumer is being added (not done).
3415 * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3416 * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3417 * HttpRequestChannel.cs : this channel automatically call Open()
3418 when Request() is called. Set content length for request.
3419 Use MessageEncoder's ContentType to also handle charset.
3421 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3423 * MessageImpl.cs : make them internal.
3424 * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3426 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3428 * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3429 * HttpChannelListener.cs : removed commented line.
3430 * RequestChannelBase.cs : new base class for request channel classes.
3431 * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3432 * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3433 * Message.cs : default IsEmpty and IsFault false by default.
3434 * LayeredChannelListener.cs : removed Uri (no chance to set).
3435 * ChannelBase.cs : reimplemented timeout properties.
3436 * HttpRequestChannel.cs : now it is mostly based on
3437 RequestChannelBase. Some more attempt to implement Request().
3439 2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
3441 * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3442 OnInitialize(). Added more BuildChannelListener() overloads.
3444 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3446 * Binding.cs : added some more missing members especially to support
3448 * HttpChannelListener.cs : Uri should not be null.
3449 * HttpTransportBindingElement.cs : implemented
3450 CanBuildChannelFactory() and CanBuildChannelListener().
3451 * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3453 2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
3455 * Binding.cs : updated default namespace property value to Feb. CTP.
3457 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3459 * AddressHeader.cs : avoid null reference when value is null.
3460 * BindingContext.cs : check null ListenUri args.
3462 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3464 * MessageFault.cs : Fixed default action name. Null arg check.
3466 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3468 * BindingElement.cs : Dequeue elements in BindingContext directly.
3469 * BindingContext.cs : Added GetProperty<T>().
3470 * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3471 Now we don't need these extra classes, so marked as deprecated.
3473 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
3475 * Binding.cs : null arg check.
3476 * AddressingVersion.cs : fixed constants to pass the tests.
3477 * BindingElement.cs : tiny meessage fix.
3479 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3481 * MessageEncodingBindingElement.cs
3482 BinaryMessageEncodingBindingElement.cs
3483 TextMessageEncodingBindingElement.cs
3484 MtomMessageEncodingBindingElement.cs
3485 MessageEncodingBindingElementConverter.cs : several API fixes.
3486 * BindingElement.cs : now if we use generic wrapper it causes
3487 infinite loop, so for now replace it with most-possible-but-
3490 2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
3492 (back to normal "record-ChangeLogs" mode after the big API change mess)
3493 * HttpTransportBindingElement.cs : fixed minor API differences.
3495 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3497 * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3498 SymmetricSecurityBindingElement.cs :
3499 Dependent fixes for System.IdentityModel reorgainzation.
3501 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3503 * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3504 IProxyFormatter.cs WSHttpBindingBase.cs
3505 PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3506 MessageInterceptorEventArgs.cs WSHttpBinding.cs
3507 WSFederationBinding.cs ISessionChannel.cs
3508 CompositeDuplexBindingElement.cs MessageVersion.cs
3509 MessageHeader.cs IRequestSessionChannel.cs
3510 BindingElementCollection.cs IReplySessionChannel.cs
3511 MessageProperties.cs IDuplexClientChannel.cs
3512 IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3513 TcpTransportBindingElement.cs EmptyFaultException.cs
3514 IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3515 IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3516 ConnectionOrientedTransportBindingElement.cs
3517 IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3518 PeerResolverBindingElement.cs Message.cs
3519 HttpsTransportBindingElement.cs BindingElement.cs
3520 NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3521 MessageFaultBodyWriter.cs IReplyChannel.cs
3522 IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3523 IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3524 IRequestContext.cs IInputSessionShutdown.cs
3525 SecurityBindingElement.cs PeerTransportBindingElement.cs
3526 IDuplexSession.cs IChannelInitializer.cs
3527 IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3528 AddressingVersion.cs FaultException.cs
3529 IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3530 TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3531 TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3532 ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3533 MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3534 BindingParameterCollection.cs IInstanceProvider.cs
3535 WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3536 MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3537 IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3538 MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3539 moved from System.ServiceModel due to the API changes.
3541 2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
3543 * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3544 HttpChannelListener.cs HttpRequestChannel.cs
3545 LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3546 PeerNode.cs ReplyChannelBase.cs :
3547 Feb. CTP API changes - chapter 1.
3549 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3551 * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3552 * ReplyChannelBase.cs : now it is based on ChannelBase.
3553 * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3554 and check null argument in .ctor().
3555 * HttpReplyChannel.cs : several changes.
3556 Non-async members are mostly implemented.
3557 * HttpChannelListener.cs : no need to receive
3558 IDefaultCommunicationTimeouts.
3559 * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3560 to allocate buffer array and int.MaxValue causes OutOfMemory.
3562 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3564 * ClientFramingDecoderState.cs : added missing enum.
3565 * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3567 * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3569 2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
3571 * HttpChannelListener.cs : Added GetChannels() and OnClose().
3572 AcceptChannel() has some code now but it needs more love.
3574 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
3576 * CommunicationObject.cs : Close() does not call Begin/EndClose().
3577 * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3578 * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3580 2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
3582 * HttpRequestChannel.cs : close the streams.
3584 HttpChannelListener.cs : renamed from former to latter.
3586 2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
3588 * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3589 * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3590 * HttpListenerFactory.cs : removed obsolete file.
3591 * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3592 * ChannelListenerBase_1.cs : implemented virtual stuff.
3593 * CommunicationObject.cs : Open() should not call BeginOpen() and
3594 EndOpen(). Instead, invoke events individually.
3595 * ChannelListenerBase.cs : its Open() is WaitForChannel().
3597 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3599 * HttpRequestChannel.cs : call Flush() after serializing message
3602 2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
3604 * HttpRequestChannel.cs : implemented pretty hacky Request().
3606 2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
3608 * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3610 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
3612 * ChannelFactoryBase.cs : removed some NotImplementedException for
3613 further internal implementation.
3615 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3617 * HttpRequestChannel.cs : new file. mostly not implemented.
3618 * HttpChannelFactory.cs : Implemented CanCreateChannel().
3619 Partly implemented CreateChannel().
3621 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
3623 * HttpChannelFactory.cs : (.ctor())
3624 Don't take ChannelBuildContext.
3626 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3628 * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3629 ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3630 PeerMessagePropagation.cs : updated to Nov. CTP.
3632 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3634 * ChannelListenerBase.cs, ChannelManagerBase.cs,
3635 ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3636 StreamSecurityUpgradeAcceptor.cs,
3637 StreamSecurityUpgradeInitiator.cs :
3638 Updated to Nov. CTP API.
3640 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3642 Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3644 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3646 renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3648 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3650 * ChannelBase.cs : tiny filename fix.
3651 * ChannelListenerBase.cs : added more .ctor()s.
3653 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3655 * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3656 ListenerFactoryBase.cs ChannelListenerBase.cs :
3657 updated IListener related stuff to Nov. CTP.
3658 file renaming will come soon.
3660 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
3662 * ListenerBase.cs, ChannelListenerBase.cs :
3663 moved from former to latter.
3664 * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3665 moved from former to latter.
3667 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3669 * SessionFaultedException.cs : removed in Nov. CTP
3671 2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
3673 * CommunicationObject.cs : updated to Nov. CTP.
3674 * SessionFaultedException.cs : removed (in Nov. CTP)
3676 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3678 * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3681 2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
3683 * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3684 TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3685 TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3686 * MessageEncoder.cs : largely implemented.
3688 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3690 * IRequestReplyCorrelator.cs : new file.
3692 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3694 * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3695 * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3696 * MessageEncoder.cs : added misssing ToString().
3698 2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
3700 * ChannelBehaviorCollection.cs : moved to sys.sm.
3702 2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
3704 * HttpListenerFactory.cs, HttpListener.cs : new files.
3705 * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3706 CommunicationObject.cs, ChannelFactoryBase.cs,
3707 StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3709 * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3710 * ListenerFactoryBase.cs : kinda implemented GetListeners().
3712 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3714 * ListenerFactoryBase.cs : some implementation.
3716 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3718 * CommunicationObject.cs : more state fixes.
3720 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3722 * CommunicationObject.cs : some state machine fixes.
3724 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
3726 * PeerNode.cs, ChannelManagerBase.cs :
3727 several API fixes detected by improved corcompare.
3729 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3731 * LayeredListenerFactory.cs : added missing generic class constraint.
3733 2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
3735 * ListenerFactoryBase.cs,
3736 ListenerBase.cs : class constraints were missing for generic args.
3738 2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
3740 * StreamUpgradeInitiator.cs : tiny API fix.
3742 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3744 * PeerMessagePropagationFilter.cs : tiny build fix.
3746 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
3748 * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3749 added Name. fixed StatusCode type.
3750 * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3751 PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3752 StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3753 DirectionalAction.cs, HostedTransportConfiguration.cs,
3754 StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3755 PeerMessagePropagationFilter.cs : added missing files.
3756 * Dummy.cs : removed. MSMQ stuff can be added later.
3758 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
3760 * DeliveryStatus.cs, DeliveryFailure.cs,
3761 HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3762 PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3764 * Dummy.cs : removed above.
3766 2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
3768 * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3770 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3772 * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3773 MessageEncoder.cs, BufferManager.cs : new files.
3774 * Dummy.cs : removed above.
3776 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3778 * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3779 * Dummy.cs : removed above.
3780 * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3782 2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
3784 * HttpChannelFactory.cs : new file.
3786 2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
3788 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3789 moved to ../System.ServiceModel (correct location).
3790 * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3791 new files for channels.
3792 * Dummy.cs : reflected above changes.
3793 * ChannelManagerBase.cs : added a bit of code and todos.
3795 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
3797 * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3798 added listener support files.
3799 * Dummy.cs : removed above.
3801 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3803 * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3804 added request/reply channel interfaces.
3805 * Dummy.cs : removed above.
3806 * CommunicationObject.cs : FIXME comments.
3808 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3810 * CommunicationObject.cs : implemented some members.
3812 2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
3814 * CommunicationObject.cs : some signature fixes.