ChangeLog 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. 2009-06-25 Atsushi Enomoto <[email protected]>
  2. * ChannelDispatcher.cs : instead of discarding channels, reuse them
  3. unless it is closed by session manager (session manager does not
  4. work, so channels are not actually closed automatically yet).
  5. 2009-06-25 Atsushi Enomoto <[email protected]>
  6. * SessionInstanceContextProvider.cs : new instance context provider.
  7. 2009-06-23 Atsushi Enomoto <[email protected]>
  8. * DispatchRuntime.cs : do not fill InstanceContextProvider here.
  9. * ChannelDispatcher.cs : do it here instead.
  10. * ChannelDispatcherCollection.cs : remove TODOs.
  11. 2009-06-23 Atsushi Enomoto <[email protected]>
  12. * InputOrReplyRequestProcessor.cs : bogus initialization.
  13. 2009-06-18 Atsushi Enomoto <[email protected]>
  14. * ChannelDispatcher.cs : significant changes:
  15. - simplified Open/Close async.
  16. - implement OnAbort().
  17. - create ServiceThrottle when it is null.
  18. - Channels are accepted as much as the throttle allows, and
  19. process requests when accepted an input (now it holds more than
  20. one channel).
  21. - Support ReceiveSynchronously and use Begin/EndAcceptChannel()
  22. for async pattern.
  23. - Close all channels and the listener when it is closed.
  24. - Cosmetic simplification on channel acceptor delegate creation.
  25. 2009-06-09 Atsushi Enomoto <[email protected]>
  26. * ChannelDispatcher.cs : avoid NRE (actually it should eliminate
  27. Thread.Abort()). Added some comments on throttling.
  28. 2009-06-09 Atsushi Enomoto <[email protected]>
  29. * ServiceThrottle.cs : implement.
  30. 2009-06-08 Atsushi Enomoto <[email protected]>
  31. * ChannelDispatcher.cs :
  32. Add call to base (see CommunicationObject change).
  33. 2009-06-01 Atsushi Enomoto <[email protected]>
  34. * ChannelDispatcher.cs : handle more errors gracefully.
  35. 2009-05-18 Atsushi Enomoto <[email protected]>
  36. * ErrorProcessingHandler.cs, InputOrReplyRequestProcessor.cs :
  37. they also premise request-reply channel and broke duplex channels.
  38. 2009-05-13 Atsushi Enomoto <[email protected]>
  39. * ChannelDispatcher.cs : open channel before using it.
  40. 2009-05-13 Atsushi Enomoto <[email protected]>
  41. * ReplyHandler.cs, InputOrReplyRequestProcessor.cs,
  42. MessageProcessingContext.cs : reply processing is also needed by
  43. non-request channels (i.e. duplex). Current code basis lacked
  44. such possibility. Quick fix by adding duplex support in
  45. ReplyHandler so far.
  46. 2009-05-13 Atsushi Enomoto <[email protected]>
  47. * ChannelDispatcher.cs, SecurityHandler.cs,
  48. InputOrReplyRequestProcessor.cs, MessageProcessingContext.cs :
  49. remove default communication timeouts from several types. They
  50. bring bogus NRE. Instead, fill timeouts in ChannelDispatcher and
  51. use it when required (it was actually *only* request processor).
  52. 2009-05-13 Atsushi Enomoto <[email protected]>
  53. * ChannelDispatcher.cs : wrong channel argument.
  54. 2009-04-27 Atsushi Enomoto <[email protected]>
  55. * DispatchRuntime.cs : some comment.
  56. * ChannelDispatcher.cs : ongoing changes to handle listeners and
  57. accepted channels at more precise state. Listeners are opened,
  58. without accepting channels. Some setup code is done at OnOpen(),
  59. while some are done at OnOpened().
  60. 2009-04-23 Atsushi Enomoto <[email protected]>
  61. * DispatchOperation.cs : implement GetFormatter() at service side too.
  62. 2009-04-01 Atsushi Enomoto <[email protected]>
  63. * OperationInvokeHandler.cs : replace MS copycat exception message.
  64. 2009-02-26 Atsushi Enomoto <[email protected]>
  65. * ClientRuntime.cs : fill contractType in .ctor().
  66. 2009-02-04 Atsushi Enomoto <[email protected]>
  67. * BaseMessagesFormatter.cs : do not use non-2.1 CreateInstance().
  68. 2008-06-18 Noam Lampert <[email protected]>
  69. * ChannelDispatcher.cs: Avoid aborting host process on faulty input message.
  70. 2008-05-22 Noam Lampert <[email protected]>
  71. * OperationInvokeHandler.cs: Only return fault reply when TargetInvocation occured (not other internal
  72. errors. Serlialize the correct (inner) exception.
  73. 2008-05-22 Roei Erez <[email protected]>
  74. * fix ContractDescription.GetContract implementation
  75. * Refactor Request processing
  76. * Add support for message inspectors
  77. * Add support for InstanceContextProvider & InstanceProvider, including lifecycles events
  78. like: ReleaseServiceInstance, Open, Close...
  79. * Add relevant test cases.
  80. 2008-05-01 Eyal Alaluf <[email protected]>
  81. * BaseMessagesFormatter.cs: Handle methods with out parameters that return
  82. void.
  83. * DispatchOperation.cs, IOperationInvoker.cs: Simplify method invocation.
  84. 2008-04-22 Igor Zelmanovich <[email protected]>
  85. * DispatchOperation.cs: removed dependency on OperationDescription,
  86. allows usage of custom channel dispatcher without endpoint was explicitly
  87. built
  88. 2008-04-22 Igor Zelmanovich <[email protected]>
  89. * MexInstanceContextProvider.cs - remove unused code.
  90. 2008-04-21 Roei Erez <[email protected]>
  91. * ChannelDispatcher.cs - Change order of Dispatcher shutdown
  92. 2008-04-17 Vladimir Krasnov <[email protected]>
  93. * ChannelDispatcher.cs, EndpointDispatcher.cs: removed dependency on
  94. ServiceDescription/ServiceEndpoint, allows usage of channel dispatcher
  95. without endpoint was explicitly built
  96. * EndpointDispatcher.cs: Filters lazy evaluation, refactored
  97. communication processing, logic moved to channel dispatcher
  98. 2008-04-17 Vladimir Krasnov <[email protected]>
  99. * ActionMessageFilter.cs: fixed Match, match for "*" action
  100. 2008-04-17 Vladimir Krasnov <[email protected]>
  101. * DispatchOperation.cs: fixed ProcessRequest, fault message creation
  102. 2008-04-10 Eyal Alaluf <[email protected]>
  103. * DefaultMessageOperationFormatter.cs: Moved to BaseMessagesFormatter.cs.
  104. * BaseMessagesFormatter.cs: Refactored so typed messages uses the classes
  105. defined here instead of the other way around.
  106. Added support for by-ref and out parameters.
  107. Added support for XmlSerializerFormat serializaters..
  108. * DispatchOperation.cs, ClientOperation.cs: Use BaseMessagesFormatter.Create
  109. 2008-04-09 Roei Erez <[email protected]>
  110. * Remove unused nethod from previous commit
  111. 2008-04-08 Roei Erez <[email protected]>
  112. * ChannelDispatcher.cs
  113. - fix 'Attach' logic
  114. - Add support for Endpoints property
  115. - Remove the hack of 'endpoint_dispatcher' field
  116. * ChannelDispatcherCollection.cs
  117. - Add support for 'Attach' 'Detach'
  118. * EndpointDispatcher.cs
  119. - By default create MatchAllMessageFilter.
  120. 2008-02-17 Atsushi Enomoto <[email protected]>
  121. * EndpointDispatcher.cs : we don't need AddressFilter workaround
  122. from Feb. 14 anymore.
  123. 2008-02-17 Atsushi Enomoto <[email protected]>
  124. * EndpointDispatcher.cs : after service method call, apply outgoing
  125. headers and properties to the returned message.
  126. 2008-02-15 Atsushi Enomoto <[email protected]>
  127. * ChannelDispatcher.cs : populate DispatchOperations before applying
  128. IEndpointBehaviors so that those behaviors can modify dispatch
  129. operations.
  130. 2008-02-15 Atsushi Enomoto <[email protected]>
  131. * DispatchOperation.cs : Action may be null. For such cases, use
  132. MessageDirection to determine the message description.
  133. 2008-02-15 Atsushi Enomoto <[email protected]>
  134. * EndpointAddressMessageFilter.cs : implement Match(MessageBuffer).
  135. Use ordinal string comparison.
  136. * PrefixEndpointAddressMessageFilter.cs : implement Match() (both).
  137. 2008-02-14 Atsushi Enomoto <[email protected]>
  138. * EndpointDispatcher.cs : moved AddressFilter application only when
  139. DispatchOperation was not selected (it is sort of workaround).
  140. 2007-08-19 Atsushi Enomoto <[email protected]>
  141. * DefaultMessageOperationFormatter.cs : Fixed SerializeReply() for
  142. message contract type to process result, not the parameter.
  143. 2007-08-19 Atsushi Enomoto <[email protected]>
  144. * SingletonInstanceContextProvider.cs : new.
  145. 2007-08-17 Atsushi Enomoto <[email protected]>
  146. * DefaultMessageOperationFormatter.cs : dependent changes on
  147. message serializer and deserializer.
  148. 2007-03-24 Atsushi Enomoto <[email protected]>
  149. * DefaultMessageOperationFormatter.cs :
  150. use it for deserialization as well.
  151. 2007-03-24 Atsushi Enomoto <[email protected]>
  152. * DefaultMessageOperationFormatter.cs : consider message contracts
  153. during message serialization/deserialization.
  154. 2007-03-07 Atsushi Enomoto <[email protected]>
  155. * EndpointDispatcher.cs : now dispatcher-side foundation for token
  156. negotiation is ready. Handle negotiation message on its own way.
  157. * DispatchOperation.cs : instead of returning irrelevant SOAP Fault,
  158. simply raise an error and let FaultConverter do better work.
  159. 2007-03-07 Atsushi Enomoto <[email protected]>
  160. * EndpointDispatcher.cs : use ErrorHandlers when error was raised.
  161. Handle exceptions to make into SOAP Fault, using FaultConverter.
  162. * ChannelDispatcher.cs : simply get ServiceEndpoint at Attach().
  163. * ChannelDispatcherBase.cs : removed MonoTODOs.
  164. 2007-03-07 Atsushi Enomoto <[email protected]>
  165. * ChannelDispatcher.cs, DispatchRuntime.cs, EndpointDispatcher.cs :
  166. moved most of request/input processing to EndpointDispatcher.cs.
  167. Also, ChannelDispatcher now contains code for behavior
  168. initialization.
  169. 2007-03-07 Atsushi Enomoto <[email protected]>
  170. * ChannelDispatcher.cs : some cosmetic refactoring on error handling
  171. with comments.
  172. 2006-12-14 Atsushi Enomoto <[email protected]>
  173. * ChannelDispatcher.cs, DispatchRuntime.cs, DispatchOperation.cs :
  174. Support OperationContext and OperationContextScope with
  175. ServiceRuntimeChannel as its .ctor() input.
  176. 2006-12-14 Atsushi Enomoto <[email protected]>
  177. * DispatchRuntime.cs : raise an error when the DispatchOperation
  178. returned null Message.
  179. 2006-10-18 Ankit Jain <[email protected]>
  180. * MexInstanceContextProvider.cs (HttpGetInstanceContextProvider): New.
  181. * DispatchOperation.cs (DoProcessRequest): InstanceContext returned by
  182. the provider can be null.
  183. * EndpointAddressMessageFilter.cs (Match): Handle IncludeHostNameInComparison.
  184. 2006-10-12 Atsushi Enomoto <[email protected]>
  185. * DispatchOperation.cs : slightly improved exception message.
  186. 2006-10-06 Ankit Jain <[email protected]>
  187. * ChannelDispatcher.cs (ListenerLoopManager.StartLoopCore):
  188. ReceiveRequest can return null.
  189. 2006-10-05 Atsushi Enomoto <[email protected]>
  190. * ClientRuntime.cs : added MaxFaultSize.
  191. 2006-10-05 Atsushi Enomoto <[email protected]>
  192. * ChannelDispatcher.cs : don't reject anonymous and null To.
  193. 2006-10-04 Ankit Jain <[email protected]>
  194. * ChannelDispatcher.cs (ListenerLoopManager.StartLoopCore): Reply with a
  195. Fault message if message's To doesn't match the endpoint.
  196. (ListenerLoopManager.CreateDestinationUnreachable): New.
  197. * IInstanceContextProvider.cs: New.
  198. * MexInstanceContextProvider.cs: New. InstanceContextProvider for
  199. MetadataExchange.
  200. (MetadataExchange): Implementation of IMetadataExchange.
  201. * DispatchRuntime.cs (InstanceContextProvider): Add missing property.
  202. * DispatchOperation.cs (DoProcessRequest): Use InstanceContextProvider
  203. if available to obtain service instance.
  204. * EndpointDispatcher.cs (.ctor): Set AddressFilter to EndpointAddressMessageFilter.
  205. * EndpointAddressMessageFilter.cs (Match): Implement.
  206. 2006-10-03 Atsushi Enomoto <[email protected]>
  207. * ClientRuntime.cs : added InteractiveChannelInitializer.
  208. 2006-09-12 Atsushi Enomoto <[email protected]>
  209. * DispatchOperation.cs : removed extra comment.
  210. 2006-09-08 Atsushi Enomoto <[email protected]>
  211. * DispatchOperation.cs : workaround to send exception detail.
  212. 2006-09-06 Atsushi Enomoto <[email protected]>
  213. * ICallContextInitializer.cs : new file.
  214. * DispatchOperation.cs : use above.
  215. Not sure if it works correctly though.
  216. 2006-08-28 Atsushi Enomoto <[email protected]>
  217. * DispatchOperation.cs : when there is an error during
  218. ProcessRequest(), wrap the exception with MessageFault and return
  219. a fault message.
  220. 2006-08-10 Duncan Mak <[email protected]>
  221. * ExceptionHandler.cs: New file.
  222. * ServiceThrottle.cs (MaxConnections): Renamed to
  223. MaxConcurrentSessions.
  224. (MaxInstances): Renamed to MaxConcurrentInstances.
  225. 2006-07-27 Atsushi Enomoto <[email protected]>
  226. * IInteractiveChannelInitializer.cs : new file.
  227. 2006-07-14 Atsushi Enomoto <[email protected]>
  228. * IErrorHandler.cs : API updates.
  229. 2006-07-13 Atsushi Enomoto <[email protected]>
  230. * DispatchRuntime.cs :
  231. it was selecting UnhandledOperation unexpectedly.
  232. * DispatchOperation.cs : added FIXME comment.
  233. 2006-07-13 Atsushi Enomoto <[email protected]>
  234. * DefaultMessageOperationFormatter.cs : Remove hack for non-
  235. (de)serializing Message-based methods. They are now moved to
  236. ClientBase and ServiceHostBase to explicitly set
  237. [Serialize|Deserialize][Request|Reply].
  238. 2006-07-12 Atsushi Enomoto <[email protected]>
  239. * DefaultMessageOperationFormatter.cs : don't omit action on
  240. SerializeRequest. Do it in SerializeReply.
  241. 2006-07-12 Atsushi Enomoto <[email protected]>
  242. * DefaultMessageOperationFormatter.cs : When addressing version is
  243. None, then omit reply action. This logic is moved from MessageImpl.
  244. 2006-07-11 Atsushi Enomoto <[email protected]>
  245. * DefaultMessageOperationFormatter.cs :
  246. return message, not parameter[0]. Removed some extra FIXMEs.
  247. 2006-07-10 Atsushi Enomoto <[email protected]>
  248. * DefaultMessageOperationFormatter.cs : when the parameter is
  249. Message and the return type is Message, then do not use
  250. XmlObjectSerializer.
  251. 2006-07-07 Atsushi Enomoto <[email protected]>
  252. * PrefixEndpointAddressMessageFilter.cs, FaultContractInfo.cs :
  253. new types in June CTP.
  254. * ISharedInstanceSessionLifetime.cs:
  255. removed in June CTP.
  256. * ChannelDispatcher.cs, MatchAllMessageFilter.cs, DispatchRuntime.cs,
  257. DispatchOperation.cs, ClientRuntime.cs, MatchNoneMessageFilter.cs,
  258. ClientOperation.cs, ActionMessageFilterTable.cs,
  259. EndpointAddressMessageFilterTable.cs :
  260. several minor fixes for June CTP.
  261. 2006-07-06 Atsushi Enomoto <[email protected]>
  262. * DispatchOperation.cs : MessageFault.DefaultAction vanished.
  263. 2006-07-05 Atsushi Enomoto <[email protected]>
  264. * IClientFormatter.cs, IClientMessageFormatter.cs,
  265. IDispatchFormatter.cs, IDispatchMessageFormatter.cs :
  266. renamed former to latter, for each.
  267. 2006-07-05 Atsushi Enomoto <[email protected]>
  268. * ChannelDispatcher.cs, DispatchRuntime.cs :
  269. IRequestContext -> RequestContext.
  270. 2006-07-05 Atsushi Enomoto <[email protected]>
  271. * ChannelDispatcher.cs, IDispatchFormatter.cs,
  272. DefaultMessageOperationFormatter.cs, IClientFormatter.cs,
  273. DispatchOperation.cs, ClientOperation.cs :
  274. some June CTP updates.
  275. 2006-06-22 Atsushi Enomoto <[email protected]>
  276. * DefaultMessageOperationFormatter.cs : implement SerializeRequest()
  277. and DeserializeReply(). Now simple ClientBase<T> sample is working.
  278. 2006-06-22 Atsushi Enomoto <[email protected]>
  279. * ClientOperation.cs : added GetFormatter() to support message
  280. serialization/deserialization.
  281. * DispatchOperation.cs : made some internal members private
  282. (they are exposed extraneously). Commented out debugging code.
  283. 2006-06-20 Atsushi Enomoto <[email protected]>
  284. * DefaultMessageOperationFormatter.cs : In SerializeReply(), use
  285. custom BodyWriter() and use MessagePartDescription names. Now
  286. return value and other (ref/out) parameters could be equivalently
  287. serialized (at this method; to support them more love is needed).
  288. 2006-06-20 Atsushi Enomoto <[email protected]>
  289. * DefaultMessageOperationFormatter.cs :
  290. Action for response is null (though it is likely conditional).
  291. 2006-06-20 Atsushi Enomoto <[email protected]>
  292. * DefaultMessageOperationFormatter.cs :
  293. true DeserializeReply implementation using Message.CreateMessage()
  294. with DataContractSerializer (not complete though).
  295. 2006-05-29 Atsushi Enomoto <[email protected]>
  296. * ChannelDispatcher.cs, DispatchOperation.cs,
  297. ChannelDispatcherBase.cs :
  298. some updated API fixes.
  299. 2006-05-29 Atsushi Enomoto <[email protected]>
  300. * EndpointDispatcher.cs : moved from Sys.ServiceModel.
  301. 2006-04-20 Atsushi Enomoto <[email protected]>
  302. * ClientRuntime.cs : some minor collection instantiation and comments.
  303. 2006-04-07 Atsushi Enomoto <[email protected]>
  304. * DispatchOperation.cs : Implemented internal MessageVersion.
  305. hacked instance provision by using Activator.CreateInstance.
  306. * DefaultMessageOperationFormatter.cs : fixed DeserializeRequest to
  307. be functional. Implemented SerializeReply.
  308. 2006-04-05 Atsushi Enomoto <[email protected]>
  309. * DispatchOperation.cs : return SOAP fault message for nonexistent
  310. request Action.
  311. * DefaultMessageOperationFormatter.cs : implemented
  312. DeserializeRequest(), though there is no working example.
  313. 2006-03-17 Atsushi Enomoto <[email protected]>
  314. * DispatchOperation.cs : implemented logic to acquire
  315. OperationDescription. Added code for default IDispatchFormatter
  316. implementation.
  317. * DispatchRuntime.cs : fix warning.
  318. * DefaultMessageOperationFormatter.cs : new file, for default
  319. IDispatchFormatter implementation (not done yet).
  320. * ChannelDispatcher.cs : create EndpointDispatcher in Attach and
  321. bind to this instance.
  322. 2006-03-16 Atsushi Enomoto <[email protected]>
  323. * ChannelDispatcherCollection.cs : added parameterless ctor().
  324. * ChannelDispatcher.cs DispatchRuntime.cs DispatchOperation.cs :
  325. Set some initial field values as proved in unit tests.
  326. Request/input processing is still ongoing.
  327. 2006-03-13 Atsushi Enomoto <[email protected]>
  328. * ChannelDispatcher.cs
  329. DispatchRuntime.cs
  330. DispatchOperation.cs : added request/input processing code.
  331. 2006-03-07 Atsushi Enomoto <[email protected]>
  332. * ChannelDispatcher.cs : Get "AcceptChannel" method without ambiguity.
  333. 2006-03-07 Atsushi Enomoto <[email protected]>
  334. * ChannelDispatcher.cs : Added request-processing code.
  335. 2006-03-06 Atsushi Enomoto <[email protected]>
  336. * ChannelDispatcher.cs : implement Attach() and Detach() more to work.
  337. 2006-02-23 Atsushi Enomoto <[email protected]>
  338. * DispatchBehavior.cs :
  339. Dependent fixes for System.IdentityModel reorgainzation.
  340. 2006-02-23 Atsushi Enomoto <[email protected]>
  341. * FilterNodeQuotaExceededException.cs
  342. FilterInvalidBodyAccessException.cs DispatchBehavior.cs
  343. DispatchOperation.cs NavigatorInvalidBodyAccessException.cs
  344. MatchNoneFilter.cs ActionFilter.cs
  345. MultipleFilterMatchesException.cs Filter.cs
  346. IInstanceContextInitializer.cs XPathFilter.cs
  347. IDispatchOperationSelector.cs MatchAllFilter.cs
  348. ActionFilterTable.cs EndpointAddressFilter.cs FilterTable.cs
  349. EndpointFilterTable.cs XPathMessageContext.cs
  350. IEndpointDispatcher.cs ProxyBehavior.cs
  351. ProxyOperation.cs XPathFilterTable.cs
  352. EndpointAddressFilterTable.cs InvalidBodyAccessException.cs
  353. IFilterTable.cs IOperationInvoker.cs :
  354. moved from System.ServiceModel due to the API changes.