ChangeLog 89 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424
  1. 2009-05-15 Atsushi Enomoto <[email protected]>
  2. * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
  3. Open(). Some (but not all yet) continuous communication works now.
  4. Use ProtocolException. Remove dummy binary session string.
  5. 2009-05-14 Atsushi Enomoto <[email protected]>
  6. * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
  7. sending/receiving SizedMessageRecord parts to manager class.
  8. Handle writer session, though it is likely broken at dictionary
  9. writer part (no string is written so far).
  10. * BinaryMessageEncoder.cs : add writer session and rename reader
  11. session.
  12. 2009-05-14 Atsushi Enomoto <[email protected]>
  13. * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
  14. is mandatory in initiator preamble packet. Handle Fault reply in
  15. initiator preamble.
  16. 2009-05-14 Atsushi Enomoto <[email protected]>
  17. * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
  18. based communication under TcpBinaryFrameManager class.
  19. 2009-05-13 Jb Evain <[email protected]>
  20. * MessageHeader.cs: use a SL friendly way of creating an XmlReader
  21. from a StringReader.
  22. 2009-05-13 Atsushi Enomoto <[email protected]>
  23. * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
  24. actually eliminate DOM-based implementation too in 2.0.
  25. 2009-04-28 Atsushi Enomoto <[email protected]>
  26. * TcpDuplexSessionChannel.cs : implement in-band dictionary support
  27. in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
  28. comments for magic numbers based on [MC-NMF].
  29. 2009-04-28 Atsushi Enomoto <[email protected]>
  30. * BinaryMessageEncoder.cs : implement part of in-band dictionary
  31. support for [MC-NBFSE] record in [MC-NMF], in this class.
  32. 2009-04-28 Atsushi Enomoto <[email protected]>
  33. * BinaryMessageEncodingBindingElement.cs : clear extra public members.
  34. 2009-04-27 Atsushi Enomoto <[email protected]>
  35. * TcpDuplexSessionChannel.cs : implemented some channel methods.
  36. 2009-04-27 Atsushi Enomoto <[email protected]>
  37. * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
  38. 2009-04-27 Atsushi Enomoto <[email protected]>
  39. * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
  40. 2009-04-23 Atsushi Enomoto <[email protected]>
  41. * BinaryMessageEncoder.cs : use quotas in binding element.
  42. Implement WriteMessage().
  43. 2009-04-22 Atsushi Enomoto <[email protected]>
  44. * PeerCustomResolverBindingElement.cs : do initialize field.
  45. 2009-04-21 Atsushi Enomoto <[email protected]>
  46. * PeerCustomResolverBindingElement.cs :
  47. implement full custom resolver.
  48. 2009-04-21 Atsushi Enomoto <[email protected]>
  49. * PeerDuplexChannel.cs, PeerChannelListener.cs,
  50. PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
  51. PeerChannelFactory.cs : ongoing p2p channel implementation.
  52. 2009-04-21 Atsushi Enomoto <[email protected]>
  53. * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
  54. 2009-04-21 Atsushi Enomoto <[email protected]>
  55. * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
  56. ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
  57. implement GetProperty<T>(). Return documented objects or null.
  58. 2009-04-20 Atsushi Enomoto <[email protected]>
  59. * PeerChannelFactory.cs, PeerChannelListener.cs,
  60. PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
  61. PeerInputChannel.cs, PeerOutputChannel.cs :
  62. new; ongoing peer transport implementation.
  63. * DuplexSessionChannelBase.cs, InputChannelBase.cs
  64. MsmqOutputChannel.cs, OutputChannelBase.cs,
  65. PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
  66. PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
  67. several internal changes (either required or for simplification)
  68. for ongoing peer transport implementation.
  69. 2009-04-08 Atsushi Enomoto <[email protected]>
  70. * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
  71. 2009-04-07 Atsushi Enomoto <[email protected]>
  72. * TcpTransportBindingElement.cs : check build-ability before
  73. actually building channels.
  74. * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
  75. conditions according to MSDN.
  76. 2009-03-05 Atsushi Enomoto <[email protected]>
  77. * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
  78. handle headers in SL2. Slightly changed 3.0 code too.
  79. 2009-03-04 Atsushi Enomoto <[email protected]>
  80. * HttpRequestChannel.cs : use cross domain access manager.
  81. 2009-02-27 Atsushi Enomoto <[email protected]>
  82. * Message.cs : (in CreateBufferedCopy) do not pass the entire
  83. message as BodyWriter.
  84. (in GetReaderAtBodyContents) just write body contents.
  85. * MessageImpl.cs : do not try to read body at ctor (fixed tons
  86. of test failures).
  87. Add some state check in GetReaderAtBodyContents().
  88. * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
  89. 2009-02-18 Atsushi Enomoto <[email protected]>
  90. * Message.cs : do not forget to flush.
  91. * HttpRequestChannel.cs : give more exact error info.
  92. 2009-02-18 Atsushi Enomoto <[email protected]>
  93. * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
  94. make buffered copy in ML2 really buffered.
  95. 2009-02-12 Atsushi Enomoto <[email protected]>
  96. * Message.cs : if there is no header item to write, do not write
  97. SOAP header element.
  98. 2009-01-22 Alan McGovern <[email protected]>
  99. * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
  100. Rewrite to avoid usage of it.
  101. 2009-01-14 Atsushi Enomoto <[email protected]>
  102. * ChannelParameterCollection.cs : implement, rather than NIE.
  103. 2008-05-22 Noam Lampert <[email protected]>
  104. * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
  105. internal users to know the type of the detail.
  106. 2008-05-20 Noam Lampert <[email protected]>
  107. * Message.c: Use private setter for state private variable to ease debugging.
  108. Modify ToString not to change the state, as it is called quite often by VS debugger
  109. 2008-04-21 Roei Erez <[email protected]>
  110. * HttpChannleManager: Fix for multithreaded use.
  111. * HttpReplyChannel: Fix crash during sutdown.
  112. 2008-04-17 Igor Zelmanovich <[email protected]>
  113. * HttpChannleManager: ensure trailing slash in uri.
  114. 2008-04-17 Vladimir Krasnov <[email protected]>
  115. * added: HttpChannleManager,
  116. * HttpChannelListener: added use of HttpChannelManager
  117. 2008-04-17 Vladimir Krasnov <[email protected]>
  118. * MessageEncodingBindingElement.cs: fixed ctor
  119. 2008-04-17 Vladimir Krasnov <[email protected]>
  120. * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
  121. 2008-04-17 Vladimir Krasnov <[email protected]>
  122. * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
  123. 2008-04-17 Vladimir Krasnov <[email protected]>
  124. * MessageFault.cs: fixed CreateFault11, implemented "detail"
  125. 2008-04-17 Noam Lampert <[email protected]>
  126. * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
  127. 2008-04-13 Igor Zelmanovich <[email protected]>
  128. * BindingElementCollection.cs: fix API - .ctor's signature.
  129. 2008-04-10 Eyal Alaluf <[email protected]>
  130. * XmlSerializerBodyWriter.cs: Removed.
  131. 2008-03-25 Vladimir Krasnov <[email protected]>
  132. * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
  133. 2008-02-20 Atsushi Enomoto <[email protected]>
  134. * DuplexSessionChannelBase.cs : made it non-session (more reusable).
  135. * TcpChannelFactory.cs, TcpChannelListener.cs :
  136. unify factory and listener into TcpChannelInfo for use in
  137. TCP channel implementation. Do not store stream in the listener.
  138. Factory now uses BinaryMessageEncoder.
  139. * TcpDuplexSessionChannel.cs : changes explained above, and now it
  140. holds TcpClient that the listener has accepted.
  141. tcp-transport-binding-element sample now communicates (though
  142. only when both sides are mono: there seems binary mismatch).
  143. 2008-02-20 Atsushi Enomoto <[email protected]>
  144. * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
  145. clone connection pool settings too.
  146. * NamedPipetransportBindingElement.cs,
  147. NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
  148. being likely implemented though).
  149. 2008-02-20 Atsushi Enomoto <[email protected]>
  150. * ConnectionOrientedTransportBindingElement.cs,
  151. TcpTransportBindingElement.cs : some API updates.
  152. Initialize default values.
  153. * TcpConnectionPoolSettings.cs : new file.
  154. 2008-02-18 Atsushi Enomoto <[email protected]>
  155. * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
  156. added support for "factory" attribute.
  157. 2008-02-15 Atsushi Enomoto <[email protected]>
  158. * HttpRequestContent.cs : consider HttpResponseMessageProperty.
  159. 2008-02-15 Atsushi Enomoto <[email protected]>
  160. * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
  161. 2008-02-15 Atsushi Enomoto <[email protected]>
  162. * HttpRequestChannel.cs : create WebRequest against To message header
  163. item (if exists).
  164. Consider HttpRequestMessageProperty.
  165. Do not output body when suppressed or the method is GET.
  166. 2008-02-15 Atsushi Enomoto <[email protected]>
  167. * HttpChannelListener.cs : BindingContext may not have listenUri
  168. at its .ctor() step.
  169. 2008-02-08 Atsushi Enomoto <[email protected]>
  170. * BindingContext.cs : RemainingBindingElements is not just a dummy
  171. collection but is actually user-controlled.
  172. 2008-02-08 Atsushi Enomoto <[email protected]>
  173. * TcpChannelFactory.cs, TcpChannelListener.cs,
  174. HttpChannelFactory.cs, HttpChannelListener.cs,
  175. MsmqChannelFactory.cs, MsmqChannelListener.cs,
  176. TextMessageEncodingBindingElement.cs,
  177. BinaryMessageEncodingBindingElement.cs,
  178. MtomMessageEncodingBindingElement.cs :
  179. message encoder should be retrieved only through public API.
  180. * BindingContext.cs : so my old guess was wrong.
  181. See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
  182. 2008-02-05 Atsushi Enomoto <[email protected]>
  183. * HttpTransportBindingElement.cs : implemented copy constructor.
  184. 2007-08-20 Atsushi Enomoto <[email protected]>
  185. * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
  186. header when AddressingVersion is None.
  187. 2007-08-20 Atsushi Enomoto <[email protected]>
  188. * MessageHeaders.cs : AddressingVersion.None rejects some WSA
  189. property setters.
  190. 2007-08-19 Atsushi Enomoto <[email protected]>
  191. * OneWayBindingElementImporter.cs
  192. CompositeDuplexBindingElementImporter.cs : new files.
  193. 2007-08-17 Atsushi Enomoto <[email protected]>
  194. * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
  195. semantic change, its bool parameter must be false, not true.
  196. 2007-07-13 Atsushi Enomoto <[email protected]>
  197. * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
  198. new files. Msmq transport listener Implementation.
  199. * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
  200. (wait for System.Messaging impl.)
  201. * HttpReplyChannel.cs : added comment
  202. 2007-07-06 Atsushi Enomoto <[email protected]>
  203. * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
  204. new files. internal stuff for msmq channel.
  205. * BinaryMessageEncoder.cs : added another .ctor().
  206. * MsmqTransportBindingElement.cs :
  207. implemented [Can]BuildChannelFactory().
  208. 2007-07-06 Atsushi Enomoto <[email protected]>
  209. * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
  210. initialize some fields.
  211. 2007-07-05 Atsushi Enomoto <[email protected]>
  212. * MsmqBindingElementBase.cs MsmqMessageProperty.cs
  213. MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
  214. couple of msmq stubs.
  215. 2007-04-02 Atsushi Enomoto <[email protected]>
  216. * SecureMessageGenerator.cs : SecurityContextToken support (though
  217. it is still regarded as invalid by WCF).
  218. 2007-03-13 Atsushi Enomoto <[email protected]>
  219. * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
  220. make header.Contents.Add() more strict.
  221. Use HasAsymmetricKey to determine whether to use asymmetric algorithm
  222. or not.
  223. Added some hack to allow ssl token external mode.
  224. Commented out such lines that always premised asymmtric key.
  225. 2007-03-08 Atsushi Enomoto <[email protected]>
  226. * TransactionFlowBindingElement.cs : forgot necessary Clone().
  227. 2007-03-08 Atsushi Enomoto <[email protected]>
  228. * MessageSecurityBindingSupport.cs : support check to create
  229. authenticator is now done in both initiator/recipient sides.
  230. * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
  231. 2007-03-07 Atsushi Enomoto <[email protected]>
  232. * MessageSecurityBindingSupport.cs : for now, comment out the code
  233. that makes authenticator creation optional.
  234. * SecurityRequestContext.cs : don't decrypt message when it is
  235. WS-Trust messages. Also, do not secure SOAP Fault (it is likely
  236. to fail).
  237. * SecurityChannelListener.cs : GetProperty<T>() now returns
  238. MessageSecurityBindingSupport when requested. It is used by
  239. EndpointDispatcher to check if it supports WS-Trust negotiation.
  240. * ChannelListenerBase.cs :
  241. removed extra TODO and field. Implemented GetProperty<T>().
  242. * Message.cs : In CreateMessage() for SOAP Fault, create
  243. SimpleMessage with IsFault = true.
  244. 2007-03-07 Atsushi Enomoto <[email protected]>
  245. * SecurityRequestContext.cs : try to reply fault with the inner
  246. channel when an error occurred internally.
  247. * FaultConverter.cs : implemented based on OperationContext (at normal
  248. state it does not seem to create messages, so I implemented it this
  249. way).
  250. 2007-03-07 Atsushi Enomoto <[email protected]>
  251. * TransportBindingElement.cs : implemented GetProperty<T>().
  252. * TransactionFlowBindingElement.cs : on building factory or listener,
  253. reject channel types that cannot build.
  254. * SecurityBindingElement.cs : added some TODO comments.
  255. * HttpTransportBindingElement.cs : GetProperty<T>() should rather
  256. delegate to base, not BindingContext.
  257. * SecurityRequestContext.cs : somewhat late decryption.
  258. 2007-03-06 Atsushi Enomoto <[email protected]>
  259. * MessageSecurityBindingSupport.cs,
  260. AsymmetricSecurityBindingElement.cs,
  261. SymmetricSecurityBindingElement.cs :
  262. renamed *SecurityBindingElementSupport to *SecurityCapabilities and
  263. implemented ISecurityCapabilities on them. Now those binding
  264. elements support GetProperty<ISecurityCapabilities>().
  265. 2007-03-05 Atsushi Enomoto <[email protected]>
  266. * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
  267. will work only for predefined parameter types.
  268. 2007-03-01 Atsushi Enomoto <[email protected]>
  269. * MessageSecurityBindingSupport.cs :
  270. Set proper MessageDirection to the requirement after creation.
  271. split CreateTokenAuthenticator() as MessageDirection is different.
  272. Removed extra creation of requirement.
  273. 2007-03-01 Atsushi Enomoto <[email protected]>
  274. * MessageSecurityBindingSupport.cs : token authenticator is not
  275. always created on channel-opening stage.
  276. * SecurityBindingElement.cs : use SslSecurityTokenParameters for
  277. Sslnego binding factory method.
  278. 2007-02-28 Atsushi Enomoto <[email protected]>
  279. * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
  280. signature velification failure.
  281. 2007-02-27 Atsushi Enomoto <[email protected]>
  282. * SecureMessageGenerator.cs : encrypt signature confirmations only
  283. when they are required.
  284. 2007-02-27 Atsushi Enomoto <[email protected]>
  285. * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
  286. when [Signature Protection is true i.e. when we use
  287. SignBeforeEncryptAndEncryptSignature.
  288. With this change finally samplesvc.cs/samplecli.cs became
  289. interoperable(!)
  290. 2007-02-27 Atsushi Enomoto <[email protected]>
  291. * SecureMessageDecryptor.cs : signature verification was not done
  292. for endorsing supporting tokens.
  293. * SecureMessageGenerator.cs : moved SignatureConfirmation position
  294. in the security header. Don't output empty ReferenceList.
  295. 2007-02-27 Atsushi Enomoto <[email protected]>
  296. * SecureMessageGenerator.cs : signingToken was added before being
  297. initialized and thus caused NRE.
  298. 2007-02-27 Atsushi Enomoto <[email protected]>
  299. * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
  300. SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
  301. don't need workaround for symmetric key restoration.
  302. 2007-02-27 Atsushi Enomoto <[email protected]>
  303. * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
  304. SecureMessageGenerator.cs :
  305. Avoid extra reference search from the request's ReferenceList.
  306. create HMACSHA1 always with the key to compute hash (I'm not sure
  307. it is correct; it is rather to adjust all hash consistent.)
  308. 2007-02-27 Atsushi Enomoto <[email protected]>
  309. * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
  310. actually endorsed the primary signature.
  311. * SecureMessageGenerator.cs : implemented endorsing of the primary
  312. signature. So, now supporting tokens are fully implemented.
  313. 2007-02-27 Atsushi Enomoto <[email protected]>
  314. * MessageSecurityBindingSupport.cs : so, those supporting tokens are
  315. totally signing tokens.
  316. * SecureMessageGenerator.cs : Endorsing tokens should also be
  317. included in the message. They are just not signed.
  318. 2007-02-26 Atsushi Enomoto <[email protected]>
  319. * SecureMessageGenerator.cs : support signing and encryption of
  320. supporting tokens. Some required refactory to do it.
  321. * MessageSecurityBindingSupport.cs : added EncryptedData member.
  322. 2007-02-26 Atsushi Enomoto <[email protected]>
  323. * SecureMessageDecryptor.cs : fix exception message.
  324. * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
  325. XmlNamespaceManager is not required for GetIdElement().
  326. 2007-02-22 Atsushi Enomoto <[email protected]>
  327. * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
  328. moved decryption part from former file to latter file, to reuse
  329. SignedXml instance (though now I doubt how it actually was good)
  330. which in turn required to replace EncryptedData in
  331. WSSecurityMessageHeader with decrypted one.
  332. * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
  333. 2007-02-21 Atsushi Enomoto <[email protected]>
  334. * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
  335. EncryptedData should contain KeyInfo as it is not obvious which key
  336. is used there. .net<->mono DerivedKeyToken introp is done.
  337. * SecureMessageDecryptor.cs : check derived key requirement.
  338. Reduce dom-dependent parts.
  339. 2007-02-21 Atsushi Enomoto <[email protected]>
  340. * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
  341. the related DerivedKeyToken (if any).
  342. * SecureMessageGenerator.cs : largely done with DerivedKeyToken
  343. support. Some refactoring to distinguish deried-token-related
  344. variables.
  345. * SecureMessageDecryptor.cs : removed its own support for derived
  346. key tokens. Now it fully works with DerivedKeySecurityToken.
  347. 2007-02-21 Atsushi Enomoto <[email protected]>
  348. * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
  349. SecureMessageDecryptor.cs :
  350. Implemented increment token reading in o:Security, as
  351. DerivedKeyToken could reference to existing wrapped key.
  352. Removed WsscDerivedKeyToken and all relevant code.
  353. * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
  354. DerivedKeySecurityToken.
  355. 2007-02-16 Atsushi Enomoto <[email protected]>
  356. * SecureMessageGenerator.cs : it was setting security tokens into
  357. incorrect SecurityMessageProperty.
  358. Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
  359. Now it uses SecurityRequestContext instead of just primary key.
  360. * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
  361. to symmetric reply decryption, which is the only trouble case.
  362. Do not create another SignedXml.
  363. * WSSecurityMessageHeader.cs : SignedXml processing changes above.
  364. 2007-02-15 Atsushi Enomoto <[email protected]>
  365. * SecureMessageDecryptor.cs : Now it uses union token resolver and
  366. the resolver works with in-progress token reading in o:Security.
  367. * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
  368. as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
  369. * SecureMessageGenerator.cs : cosmetic refactoring.
  370. 2007-02-14 Atsushi Enomoto <[email protected]>
  371. * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
  372. instead of EncryptedKey.
  373. 2007-02-13 Atsushi Enomoto <[email protected]>
  374. * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
  375. should not be always prepared at channel Open(). It also caused
  376. that extra token requirements.
  377. * SecureMessageGenerator.cs : use correct key clause for encryption.
  378. * SecureMessageDecryptor.cs : reduce extra key acquisition.
  379. 2007-02-06 Atsushi Enomoto <[email protected]>
  380. * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
  381. for supporting 'supporting tokens' .
  382. * SecureMessageGenerator.cs : Supporting token creation is done only
  383. at initiator (not sure if it is supposed that, but for now it is).
  384. Removed extraneous CollectSupportingTokens().
  385. * SecureMessageDecryptor.cs : implemented supporting token
  386. authentication (partly). "Signed" supporting tokens are expected
  387. to work fine.
  388. 2007-02-06 Atsushi Enomoto <[email protected]>
  389. * SecureMessageGenerator.cs :
  390. make SignBeforeEncryptAndEncryptSignature working.
  391. 2007-02-06 Atsushi Enomoto <[email protected]>
  392. * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
  393. the key itself. ProtectionToken is WrappedKey.
  394. * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
  395. not EncryptedKeyIdentifierClause which is not for embedded key.
  396. * MessageProperties.cs : Fixed copy direction in CopyProperties().
  397. 2007-02-05 Atsushi Enomoto <[email protected]>
  398. * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
  399. to switch asymmetric and symmetric. Not used yet.
  400. * SecurityRequestChannel.cs : now it pass the request security
  401. property to reply receiver so that it could use the primary key
  402. used at request phase.
  403. * SecurityRequestContext.cs : now it pass the context itself to
  404. reply sender so that it could embed related MessageID.
  405. * SecureMessageGenerator.cs : ongoing changes to support symmetric
  406. binding element. Add RelatesTo output and remove MessageID when
  407. replying to the sender. Added some hacks to get symmetric binding
  408. (kind of) working.
  409. * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
  410. in SecurityTokenReference (it also involved existing encrypted key
  411. retrieval). In reply receiver, reuse the key that was used at
  412. request phase. It needs significant token resolution refactoring.
  413. 2007-02-02 Atsushi Enomoto <[email protected]>
  414. * MessageSecurityBindingSupport.cs : cosmetic refactoring.
  415. * SecureMessageDecryptor.cs : store token and its authentication
  416. policies into the security property, and reuse it on reply.
  417. Some code refactoring; there is at most one o:Security to solve at
  418. one endpoint (depends on Actor). Some attempt to use correct
  419. token parameters (but for now I have only samples that use x509).
  420. * SecureMessageGenerator.cs : For replying message, use initiator's
  421. signing token as the encryption token. Simply reuse security
  422. property from the input message.
  423. I have some nasty workaround at decryptor for initiator that could
  424. not retrieve decryption key.
  425. 2007-02-02 Atsushi Enomoto <[email protected]>
  426. * SecureMessageGenerator.cs, SecurityChannelListener.cs,
  427. SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
  428. several refactoring on token acquisition. Large part of
  429. MessageSecurityBindingSupport code is unified.
  430. 2007-02-02 Atsushi Enomoto <[email protected]>
  431. * MessageProperties.cs : Security property should be one of the items.
  432. Actually many other properties should be similar as well.
  433. * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
  434. when copying a message, copy properties as well.
  435. * SecurityRequestContext.cs : on replying, pass input
  436. SecurityMessageProperty to the security generator.
  437. * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
  438. support.
  439. * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
  440. 2007-02-01 Atsushi Enomoto <[email protected]>
  441. * WSSignedXml.cs:
  442. MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
  443. SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
  444. use new WSSignedXml instead of SignedXml, and remove coexisting
  445. Id and wsu:Id. Now we can live only with wsu:Id and therefore
  446. - our reply messages could be consumed by .NET, and
  447. - .NET signature could be verified.
  448. 2007-02-01 Atsushi Enomoto <[email protected]>
  449. * SecureMessageDecryptor.cs : The signing key must be passed as
  450. CheckSignature() argument, not SigningKey.
  451. 2007-01-31 Atsushi Enomoto <[email protected]>
  452. * MessageImpl.cs : don't read attribute after ReadStartElement().
  453. 2007-01-31 Atsushi Enomoto <[email protected]>
  454. * MessageSecurityBindingSupport.cs : some Release() refactoring.
  455. * SecureMessageGenerator.cs : use correct signing key clause for
  456. SecurityTokenReferenceKeyInfo to be serialized.
  457. * SecureMessageDecryptor.cs : now it can try to parse signature.
  458. 2007-01-31 Atsushi Enomoto <[email protected]>
  459. Ongoing changes to support signature confirmation
  460. * SecureMessageGenerator.cs :
  461. Don't output ReplyTo onto reply message.
  462. Write SignatureConfirmation if needed.
  463. * SecureMessageDecryptor.cs :
  464. Some refactoring for header cunsumption. Added commented-out
  465. signature verification part (not working yet, on client side due
  466. to incorrect reply from service and insufficient clause reader).
  467. * WSSecurityMessageHeader.cs :
  468. Added SignatureConfirmation support.
  469. KeyInfoClause for o:SecurityTokenReference should be replaced with
  470. SecurityTokenReferenceKeyInfo.
  471. 2007-01-29 Atsushi Enomoto <[email protected]>
  472. * SecureMessageGenerator.cs : support Timestamp signature.
  473. Removed unused code, and extra argument in CreateReference().
  474. * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
  475. 2007-01-29 Atsushi Enomoto <[email protected]>
  476. * SecureMessageGenerator.cs :
  477. Several fixes to make asymmetric binding working:
  478. - Differentiate signing and encryption token in several areas.
  479. - Fixed signing keyinfo.
  480. Use SenderIdPrefix.
  481. Added initial SecurityMessageProperty handling, not sure if it is
  482. appropriate here though.
  483. * HttpRequestChannel.cs : (some debugging lines)
  484. 2007-01-26 Atsushi Enomoto <[email protected]>
  485. Woohoo! Here is a very basic WS-Security compliant message which could
  486. be allowed by Indigo.
  487. * MessageHeader.cs : added Id support for writing.
  488. * Message.cs : added internal BodyId for signature reference.
  489. * MessageImpl.cs : write Body Id if required.
  490. * SecureMessageGenerator.cs : Before signing, the target elements must
  491. be given wsu:Id. Since I still use System.Security.dll, I need some
  492. trick for signing (I give both Id and wsu:Id, former to sign and
  493. latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
  494. implementation later. Now singning mechanism works except for
  495. wsu:Timestamp (which is kind of mandatory).
  496. I can's still consume replies from Indigo but it's a big progress :)
  497. 2007-01-26 Atsushi Enomoto <[email protected]>
  498. * MessageHeaderInfo.cs : added internal Id.
  499. * MessageHeader.cs : read and write wsu:Id.
  500. * Message.cs : output wsu namespace if Id exists in any header.
  501. * HttpReplyChannel.cs : (some debugging lines.)
  502. * SecureMessageDecryptor.cs : (remove debugging lines.)
  503. * MessageImpl.cs : removed obsolete code.
  504. * WSSecurityMessageHeader.cs : output "o" prefix.
  505. * SecureMessageGenerator.cs : replaced XmlElement-based header
  506. signing with MessageHeader-based signing, to support Id correctly.
  507. 2007-01-15 Atsushi Enomoto <[email protected]>
  508. * SecureMessageGenerator.cs : some more refactoring and code comments.
  509. * MessageSecurityUtility.cs : made decryptor into an instance class,
  510. like I've done for SecureMessageGenerator.
  511. * SecurityRequestContext.cs, SecurityRequestChannel.cs :
  512. dependent changes for above.
  513. 2007-01-12 Atsushi Enomoto <[email protected]>
  514. * SecureMessageGenerator.cs : fixed derived keysize. derived key was
  515. causing NRE due to the lack of token reference.
  516. No need to pass doc to SignedXml.ctor() anymore.
  517. Moved ReferenceList before the signature(s).
  518. 2007-01-12 Atsushi Enomoto <[email protected]>
  519. * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
  520. Moved signing key generation code to non-HMACSHA1 signing part.
  521. Don't try to sign wss:Security.
  522. Pass document itself to SignedXml.ctor().
  523. Use temporary DataObjects to avoid adding Ids (not sure what is the
  524. expected processing yet).
  525. * WSSecurityMessageHeader.cs : to support timestamp signing, add
  526. WriteTo() method in WsuTimestamp.
  527. 2007-01-12 Atsushi Enomoto <[email protected]>
  528. * SecureMessageGenerator.cs : wrong key was used for signing.
  529. Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
  530. 2007-01-11 Atsushi Enomoto <[email protected]>
  531. * SecureMessageGenerator.cs :
  532. Now ID generation process does not modify input message.
  533. Moved derived key generation part into (virtual) signing loop.
  534. MessagePartSpecification support for signing is done.
  535. 2007-01-11 Atsushi Enomoto <[email protected]>
  536. * SecureMessageGenerator.cs : some reordering to handle signing and
  537. encryption with supporting tokens. Fixed XPath query bug for
  538. soap header contents (we want s:Header/*, not s:Header).
  539. 2007-01-11 Atsushi Enomoto <[email protected]>
  540. * MessageSecurityBindingSupport.cs : more refactoring.
  541. Made it abstract and added Initiator- and Recipient- classes.
  542. Several members were moved to those derived types.
  543. * AsymmetricSecurityBindingElement.cs,
  544. SymmetricSecurityBindingElement.cs
  545. SecurityChannelFactory.cs, SecurityChannelListener.cs,
  546. SecurityRequestChannel.cs, SecurityOutputChannel.cs,
  547. SecurityRequestContext.cs, SecureMessageGenerator.cs :
  548. All dependent changes by above. Removed ISecurityChannelSource
  549. which became useless.
  550. 2007-01-11 Atsushi Enomoto <[email protected]>
  551. * SecureMessageGenerator.cs : encryption parts should exist too.
  552. * AsymmetricSecurityBindingElement.cs
  553. SymmetricSecurityBindingElement.cs,
  554. MessageSecurityBindingSupport.cs : some refactoring.
  555. Split MessageSecurityBindingSupport into security binding element
  556. specific parts and made MessageSecurityBindingSupport concrete.
  557. It is likely split again, next time based on initiator/recipient.
  558. 2007-01-11 Atsushi Enomoto <[email protected]>
  559. * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
  560. split encryptor part in the former file into latter file, and
  561. make it nonstatic.
  562. * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
  563. SecurityRequestContext.cs : apply the change above.
  564. 2007-01-11 Atsushi Enomoto <[email protected]>
  565. * MessageSecurityBindingSupport.cs :
  566. Fixed incorrect TrgGetValue() use.
  567. Added CollectRecipientSupportingTokens().
  568. 2007-01-11 Atsushi Enomoto <[email protected]>
  569. * MessageSecurityUtility.cs: acctually ReferenceList was inside
  570. EncryptedKey. So, when a key itself is used to encrypt data,
  571. ReferenceList is contained by itself.
  572. * MessageSecurityBindingSupport.cs :
  573. added CollectInitiatorSupportingTokens().
  574. 2007-01-10 Atsushi Enomoto <[email protected]>
  575. * MessageSecurityUtility.cs: it should support ReferenceList-less
  576. messages.
  577. 2007-01-10 Atsushi Enomoto <[email protected]>
  578. * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
  579. * MessageSecurityUtility.cs : there already was uuid.
  580. 2007-01-09 Atsushi Enomoto <[email protected]>
  581. * MessageSecurityUtility.cs : replaced EncryptedKey with
  582. WrappedKeySecurityToken, which seems to be in actual use in .net.
  583. * WSSecurityMessageHeader.cs : added internal Guid so that it
  584. could be shared between header items.
  585. 2006-12-14 Atsushi Enomoto <[email protected]>
  586. * HttpRequestContext.cs, TextMessageEncoder.cs :
  587. some null arg check.
  588. 2006-12-08 Atsushi Enomoto <[email protected]>
  589. * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
  590. for SecurityTokenReference resolution.
  591. 2006-12-08 Atsushi Enomoto <[email protected]>
  592. * MessageSecurityUtility.cs : fixed EncryptedData decryption to
  593. consider DerivedKeyTokens correctly.
  594. When creating LocalId, don't add '#' here.
  595. 2006-12-07 Atsushi Enomoto <[email protected]>
  596. * MessageSecurityUtility.cs :
  597. handle key mapping for each wsse:Security.
  598. 2006-12-07 Atsushi Enomoto <[email protected]>
  599. * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
  600. 2006-12-06 Atsushi Enomoto <[email protected]>
  601. * WSSecurityMessageHeader.cs : write top-level ReferenceList in
  602. wsse:Security.
  603. * MessageSecurityUtility.cs :
  604. Now ReferenceList is placed under wsse:Security as WS-Security 1.1
  605. suggests, and it is used to dereference decryption targets.
  606. Now it premises multiple wsse:Security elements to read.
  607. 2006-12-06 Atsushi Enomoto <[email protected]>
  608. * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
  609. manually (and actually the namespace URI was wrong).
  610. 2006-12-06 Atsushi Enomoto <[email protected]>
  611. * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
  612. and reading.
  613. * MessageSecurityUtility.cs : DerivedKeyToken creation.
  614. 2006-12-06 Atsushi Enomoto <[email protected]>
  615. * SecurityBindingElement.cs,
  616. SymmetricSecurityBindingElement.cs,
  617. AsymmetricSecurityBindingElement.cs :
  618. implemented SetKeyDerivation().
  619. 2006-12-06 Atsushi Enomoto <[email protected]>
  620. * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
  621. more than once.
  622. 2006-12-06 Atsushi Enomoto <[email protected]>
  623. * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
  624. don't use it.
  625. 2006-12-05 Atsushi Enomoto <[email protected]>
  626. * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
  627. thus move it in front of encryption/signing.
  628. 2006-12-04 Atsushi Enomoto <[email protected]>
  629. * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
  630. check state by themselves (btw it's not really working).
  631. * HttpChannelListener.cs : If the url does not end with '/' add it
  632. so that it could be fed to HttpListener.
  633. 2006-12-04 Atsushi Enomoto <[email protected]>
  634. * HttpChannelFactory.cs : check scheme on CreateChannel.
  635. * MessageHeader.cs : finish IsMessageVersionSupported().
  636. 2006-12-04 Atsushi Enomoto <[email protected]>
  637. * FaultConverter.cs : new file, not used yet though.
  638. 2006-10-21 Atsushi Enomoto <[email protected]>
  639. * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
  640. 2006-10-20 Atsushi Enomoto <[email protected]>
  641. * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
  642. GET as well as HttpReplyChannel, configuration would be ready now.
  643. 2006-10-18 Ankit Jain <[email protected]>
  644. * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
  645. EnvelopeVersion.Soap12 and 'text/xml' for others.
  646. * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
  647. handling.
  648. Strip '?' from the query string.
  649. 2006-10-13 Ankit Jain <[email protected]>
  650. * MessageVersion.cs (None): Set AddressingVersion.None
  651. 2006-10-12 Atsushi Enomoto <[email protected]>
  652. * SvcHttpHandler.cs : added config-based endpoint addition code.
  653. Though due to some weird bug in mono-core it does not seem to work,
  654. so commented out for now.
  655. * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
  656. mex request message might just be wrong.
  657. Use expected MessageVersion by the channel.
  658. * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
  659. 2006-10-12 Atsushi Enomoto <[email protected]>
  660. * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
  661. which differs depending on whether it is asymmetric or symmetric.
  662. * SecurityRequestChannel.cs, SecurityRequestContext.cs :
  663. simplify SecureMessage() and DecryptMessage() arguments (just
  664. take MessageSecurityBindingSupport instead of several parameters).
  665. * MessageSecurityUtility.cs :
  666. - simplify SecureMessage() and DecryptMessage() arguments (just
  667. take MessageSecurityBindingSupport instead of several parameters).
  668. - Take token inclusion mode into account. Don't include them when
  669. it is not expected. Also, change the token reference style.
  670. - add wsa:MessageID to the headers.
  671. - For hmac-sha1 signing (default for symmetric binding), use
  672. symmetric key created for encryption as well to create HMACSHA1.
  673. - add Id to wsu:Timestamp.
  674. - start to handle SecurityMessageProperty.
  675. * WSSecurityMessageHeader.cs :
  676. Added Id to WsuTimestamp. Also use prefixes for its XML output.
  677. Changed date format.
  678. 2006-10-06 Atsushi Enomoto <[email protected]>
  679. * CommunicationObject.cs : reject faulted state on Open()/Close().
  680. * MessageHeaders.cs : removed extra fields.
  681. 2006-10-06 Ankit Jain <[email protected]>
  682. * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
  683. 2006-10-05 Atsushi Enomoto <[email protected]>
  684. * MessageSecurityUtility.cs, SecurityRequestContext.cs :
  685. added some FIXMEs and additional arg.
  686. 2006-10-05 Atsushi Enomoto <[email protected]>
  687. * MessageSecurityUtility.cs : remove duplicate Action header.
  688. 2006-10-05 Atsushi Enomoto <[email protected]>
  689. * MessageFault.cs : partly implemented CreateFault(Message, int).
  690. * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
  691. handle IsFault correctly in each implementation.
  692. 2006-10-04 Ankit Jain <[email protected]>
  693. * HttpRequestChannel.cs (ProcessRequest): Read till the end.
  694. 2006-10-04 Ankit Jain <[email protected]>
  695. * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
  696. in WebConnectionStream.
  697. 2006-10-04 Ankit Jain <[email protected]>
  698. * MessageHeaders.cs (To): Use GetHeader<string> till
  699. DataContractSerializer gets ISerializable support.
  700. * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
  701. 2006-10-04 Ankit Jain <[email protected]>
  702. * ServiceHostParser.cs (Parse):
  703. (Split): Add some error checks.
  704. 2006-10-03 Atsushi Enomoto <[email protected]>
  705. * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
  706. * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
  707. * SslStreamSecurityUpgradeProvider.cs,
  708. SslStreamSecurityUpgradeAcceptor.cs :
  709. new files for Ssl upgrade provider implementation.
  710. * MessageSecurityUtility.cs :
  711. Create proper C14NTransform. Don't use enveloped signature
  712. transform but sign every significant bits. On securing messages
  713. use ChannelProtectionRequirements.
  714. * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
  715. SecureMessage().
  716. * MessageEncoder.cs : fix API (missing constraint).
  717. * WSSecurityMessageHeader.cs : it is MustUnderstand.
  718. * StreamUpgradeProvider.cs : API fix and implemented .ctor().
  719. * AsymmetricSecurityBindingElement.cs : default protection order is
  720. SignBeforeEncryptAndEncryptSignature.
  721. 2006-09-29 Ankit Jain <[email protected]>
  722. * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
  723. ServicHostParser and use that here.
  724. (PrivateBinPath): New.
  725. (GetTypeFromBin): New. Load assembly from PrivateBinPath.
  726. (RemovedCallback): Remove and close the SvcHttpHandler when its
  727. corresponding file (.svc) changes.
  728. * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
  729. * ServiceHostParser.cs : New.
  730. * CachingCompiler.cs : New. Code extracted from
  731. System.Web.Compilation.CachingCompiler
  732. * CompilationException.cs : New. From System.Web.Compilation
  733. * HtmlizedException.cs : New. Likewise.
  734. 2006-09-29 Atsushi Enomoto <[email protected]>
  735. * MessageSecurityBindingSupport.cs : For client side, it is always
  736. InitiatorServiceModelSecurityTokenRequirement which should be
  737. created. Fixed wrong client encryption key acquisition.
  738. 2006-09-29 Atsushi Enomoto <[email protected]>
  739. * SecurityChannelListener.cs, SecurityRequestContext.cs,
  740. MessageSecurityBindingSupport.cs : made similar changes as factories
  741. to listener so that session channels and input channels would work.
  742. Added authenticator creation.
  743. 2006-09-29 Atsushi Enomoto <[email protected]>
  744. * Binding.cs : added missing members.
  745. 2006-09-28 Atsushi Enomoto <[email protected]>
  746. * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
  747. MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
  748. reduce code duplication between request and output channels.
  749. The common parts are now in MessageSecurityBindingSupport.
  750. Now reduced several arguments in SecureMessage() for client.
  751. 2006-09-28 Atsushi Enomoto <[email protected]>
  752. * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
  753. 2006-09-28 Atsushi Enomoto <[email protected]>
  754. * AsymmetricSecurityBindingElement.cs,
  755. SecurityChannelListener.cs,
  756. SecurityRequestContext.cs,
  757. SymmetricSecurityBindingElement.cs,
  758. SecurityRequestChannel.cs,
  759. SecurityOutputChannel.cs,
  760. SecurityChannelFactory.cs,
  761. MessageSecurityBindingSupport.cs : 1) Refactoring.
  762. IMessageSecurityBindingSupport now becomes a class and contains
  763. all the members which resided in ISecurityChannelSource.
  764. Now it takes more constructor params.
  765. Made dependent changes on all sources above.
  766. 2) Added SecurityTokenAuthenticator creation in
  767. SecurityRequestChannel (SecurityOutputChannel should do the same).
  768. 2006-09-27 Atsushi Enomoto <[email protected]>
  769. * SecurityRequestChannel.cs : ongoing improvements on conditional
  770. key creation. Actually there must be some part that creates an
  771. authenticator (WinFX does that).
  772. 2006-09-27 Ankit Jain <[email protected]>
  773. Add suport for handling .svc files.
  774. * SvcHttpHandlerFactory.cs: New.
  775. * SvcHttpHandler.cs: New.
  776. * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
  777. asp.net environment.
  778. (OnOpen): Do nothing in asp.net environment.
  779. (OnClose): Likewise.
  780. * HttpReplyChannel.cs (HttpRequestContext): Move to ..
  781. * HttpRequestContext.cs: .. here.
  782. * AspNetReplyChannel.cs: New.
  783. * AspNetRequestContext.cs: New.
  784. 2006-09-26 Atsushi Enomoto <[email protected]>
  785. * MessageSecurityUtility.cs :
  786. Significantly rewritten decryption parts to respect ReferenceList
  787. to decrypt (so no workaround anymore).
  788. Now e:ReferenceList inside o:Security is treated as the referenced
  789. EncryptedType items are encrypted by 1) the derived key which is
  790. immediately in front of it, or 2) the default key (it is according
  791. to WS-SecureConversation section 9.1). Thus removed immediately
  792. previous hack to auto-fill wsu:Id attributes.
  793. On securing a message, generate correct Id and add DataReference
  794. to ReferenceList properly.
  795. 2006-09-26 Atsushi Enomoto <[email protected]>
  796. * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
  797. practically used.
  798. 2006-09-26 Atsushi Enomoto <[email protected]>
  799. * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
  800. Actually WSSecurityTokenSerializer should be able to consume it, but after
  801. spending a lot of time I still cannot successfully read it on WinFX.
  802. Skip ReferenceList for now.
  803. * MessageSecurityUtility.cs :
  804. Replaced some string literals with constants.
  805. Added some workaround for DerivedKeyToken retrieval.
  806. WinFX somehow sends incomplete ISO10126 padding which contains
  807. bigger number than the key size and is rejected by EncryptedXml,
  808. so added DecryptLax() which processes such ones in PaddingMode.None
  809. to workaround it (only for cross-connection between mono and winfx).
  810. Added some incomplete implicit wsu:Id processing.
  811. Don't try to replace SignedXml with EncryptedData. It is not added
  812. to the document tree.
  813. 2006-09-25 Atsushi Enomoto <[email protected]>
  814. * MessageSecurityUtility.cs : support message signature encryption. Some
  815. more refactoring.
  816. 2006-09-22 Atsushi Enomoto <[email protected]>
  817. * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
  818. 2006-09-22 Atsushi Enomoto <[email protected]>
  819. * MessageSecurityUtility.cs : fix warnings.
  820. 2006-09-22 Atsushi Enomoto <[email protected]>
  821. * MessageSecurityUtility.cs : actually there would be more than one
  822. EncryptedData. Decrypt all.
  823. 2006-09-22 Atsushi Enomoto <[email protected]>
  824. * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
  825. Use ISO10126 padding mode (it is not required but in manner).
  826. 2006-09-21 Atsushi Enomoto <[email protected]>
  827. * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
  828. fixed, remove 16 bytes workaround (we still need encryption bugfix in
  829. that class to make it work fine with mono client).
  830. Removed buggy lines that reset decryption key to AES.
  831. Modified GetKey() argument to take EncryptedData/EncryptedKey element.
  832. * WSSecurityMessageHeader.cs :
  833. (SecurityTokenReferenceKeyInfo) support LoadXml.
  834. 2006-09-20 Atsushi Enomoto <[email protected]>
  835. * TransactionMessageProperty.cs : new file.
  836. 2006-09-20 Atsushi Enomoto <[email protected]>
  837. * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
  838. gmcs happened to report wrong code.
  839. 2006-09-19 Atsushi Enomoto <[email protected]>
  840. * SecurityChannelFactory.cs, SecurityChannelListener.cs :
  841. .ctor() now requires ChannelProtectionRequirements which will be
  842. supplied via BindingParameterCollection.
  843. * SymmetricSecurityBindingElement.cs,
  844. AsymmetricSecurityBindingElement.cs : thus add
  845. ChannelProtectionRequirement parameter to factory/listener.
  846. * SecurityRequestChannel.cs : use recipient token requirement to
  847. create an encryption token. Thus differentiate the logic from
  848. signing (initiator) token.
  849. 2006-09-19 Atsushi Enomoto <[email protected]>
  850. * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
  851. renamed former to latter.
  852. * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
  853. ditto.
  854. 2006-09-19 Atsushi Enomoto <[email protected]>
  855. * MessageSecurityBindingSupport.cs : new internal types to commonize
  856. AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
  857. and thus make internal factory and listener reusable.
  858. * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
  859. SecurityRequestChannel.cs, SecurityOutputChannel.cs,
  860. SymmetricSecurityChannelListener.cs : rewrote dependent parts on
  861. SymmetricSecurityBindingElement, using the new types above.
  862. * SymmetricSecurityBindingElement.cs :
  863. Use SymmetricMessageSecurityBindingSupport.
  864. * AsymmetricSecurityBindingElement.cs :
  865. thus implemented, using AsymmetricMessageSecurityBindingSupport.
  866. 2006-09-19 Atsushi Enomoto <[email protected]>
  867. * ChannelFactoryBase.cs : more RC1 update.
  868. 2006-09-19 Atsushi Enomoto <[email protected]>
  869. * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
  870. TextMessageEncoder.cs : updated ReadMessage() API to RC1.
  871. * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
  872. ChannelBase.cs : RC1 API updates.
  873. * MessageImpl.cs : implemented Properties.
  874. * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
  875. 2006-09-18 Ankit Jain <[email protected]>
  876. * MessageHeaders.cs (MessageId):
  877. (RelatesTo): UniqueId is not serializable, serialize it as a string.
  878. 2006-09-17 Atsushi Enomoto <[email protected]>
  879. * ChannelParameterCollection.cs : new file.
  880. * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
  881. new files for IOutputChannel implementation.
  882. * OneWayBindingElement.cs : hacky implementation.
  883. * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
  884. * MessageSecurityUtility.cs : now create identifier from the security
  885. token and the token parameters which is added as an argument.
  886. * SecurityRequestContext.cs,
  887. SecurityRequestChannel.cs : SecureMessage() argument changes.
  888. Set MessageSecurityVersion (SecurityTokenVersion) to the token
  889. requirement.
  890. 2006-09-17 Atsushi Enomoto <[email protected]>
  891. * HttpRequestChannel.cs : close the HttpWebRequest.
  892. 2006-09-17 Atsushi Enomoto <[email protected]>
  893. * HttpRequestChannel.cs,
  894. HttpChannelFactory.cs : implement async request/reply.
  895. * HttpChannelFactory.cs :
  896. verify factory state when creating a channel.
  897. 2006-09-17 Atsushi Enomoto <[email protected]>
  898. * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
  899. BinaryMessageEncoder.cs : added message version mismatch check.
  900. 2006-09-15 Atsushi Enomoto <[email protected]>
  901. * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
  902. Making incomplete changes to handle different tokens for encryption
  903. and signature.
  904. * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
  905. split channel implementation classes out to the latter file.
  906. * MessageSecurityUtility.cs : seems like there is
  907. TimeStampValidityDuration property, so use it (incomplete; a server
  908. needs another love).
  909. 2006-09-12 Atsushi Enomoto <[email protected]>
  910. * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
  911. SecurityRequestContext.cs : now that we have key identifier clause
  912. and working ResolveKeyIdentifierClause(), just create keys inside
  913. SecureMessage(). Add KeyInfo to the xmldsig.
  914. 2006-09-12 Atsushi Enomoto <[email protected]>
  915. * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
  916. pass SecurityKeyIdentifierClause to SecureMessage().
  917. * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
  918. for IssuedToken binding element.
  919. * SymmetricSecurityChannelListener.cs : removed hack to just create
  920. X509 security token, and implemented correct token creation.
  921. * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
  922. wraps SecurityTokenReference element.
  923. * MessageSecurityUtility.cs : use the above.
  924. 2006-09-08 Atsushi Enomoto <[email protected]>
  925. * MessageSecurityUtility.cs : raise MessageSecurityException when it
  926. could not find a security header.
  927. * SymmetricSecurityChannelFactory.cs : now it also supports
  928. IRequestSessionChannel. Extracted SecurityRequestChannel out from
  929. the factory type.
  930. 2006-09-08 Atsushi Enomoto <[email protected]>
  931. * SecurityRequestContext.cs : moved securing message part to
  932. MessageSecurityUtility.cs.
  933. * MessageSecurityUtility.cs : the change above.
  934. use DateTime.Now for timestamp basis. Don't append signature to
  935. the document. Instead it is added to the header. Capture body
  936. content instead of the body itself.
  937. * SymmetricSecurityChannelFactory.cs : decrypt reply message to
  938. be processed by upper layers.
  939. 2006-09-08 Atsushi Enomoto <[email protected]>
  940. * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
  941. SymmetricSecurityChannelListener.cs,
  942. SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
  943. more refactoring. Request serialization became much more conformant
  944. and add required header items.
  945. Security Token retrieval is needed to send it in the request.
  946. Fixed wrong key encryption.
  947. 2006-09-07 Atsushi Enomoto <[email protected]>
  948. * SecurityRequestContext.cs : the workaround was not functional.
  949. 2006-09-07 Atsushi Enomoto <[email protected]>
  950. * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
  951. API, especially ReplaceData(), instead of native crypto stuff.
  952. * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
  953. MessageProtectionOrder.SignBeforeEncrypt).
  954. 2006-09-07 Atsushi Enomoto <[email protected]>
  955. * SecurityRequestContext.cs : label should be combined of both
  956. the client's and the server's.
  957. 2006-09-06 Atsushi Enomoto <[email protected]>
  958. * SecurityRequestContext.cs : enable key derivation (though for now
  959. GenerateDerivedKey() is unimplemented). Create meaningful,
  960. decrypted request message to be consumed by the upper layer.
  961. 2006-09-06 Atsushi Enomoto <[email protected]>
  962. * SecurityRequestContext.cs : implement Close() and Reply().
  963. ongoing implementation of Reply(TimeSpan).
  964. * MessageSecurityUtility.cs : new file to collect utility methods.
  965. * SymmetricSecurityChannelFactory.cs : moved securing message code
  966. to the above file.
  967. * SymmetricSecurityChannelListener.cs : tiny renaming.
  968. 2006-09-06 Atsushi Enomoto <[email protected]>
  969. * SecurityRequestContext.cs : security header is also stored.
  970. removed NotImpl.
  971. * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
  972. as well.
  973. 2006-09-06 Atsushi Enomoto <[email protected]>
  974. * SymmetricSecurityChannelFactory.cs : tiny progress on securing
  975. message.
  976. 2006-09-05 Atsushi Enomoto <[email protected]>
  977. * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
  978. so that it retrieves the security key in that manner.
  979. 2006-09-05 Atsushi Enomoto <[email protected]>
  980. * Binding.cs : MessageVersion is null when there is no
  981. MessageEncodingBindingElement.
  982. * Message.cs : null arg check.
  983. 2006-09-05 Atsushi Enomoto <[email protected]>
  984. * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
  985. 2006-09-04 Atsushi Enomoto <[email protected]>
  986. * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
  987. LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
  988. LayeredRequestChannel.cs : some refactoring.
  989. * SymmetricSecurityChannelFactory.cs :
  990. ongoing secure message creation implementation.
  991. 2006-09-01 Atsushi Enomoto <[email protected]>
  992. * SymmetricSecurityBindingElement.cs :
  993. pass specific ServiceCredentialsSecurityTokenManager type to
  994. SymmetricSecurityChannelListener as it needs ServiceCertificate.
  995. * SymmetricSecurityChannelListener.cs :
  996. get service certificate. It's a temporary hack.
  997. Move RequestContext code to below.
  998. * SecurityRequestContext.cs : new file.
  999. * WSSecurityMessageHeader.cs : implementing Read(), but to finish
  1000. it I have to finish decryption of the incoming message.
  1001. 2006-08-31 Atsushi Enomoto <[email protected]>
  1002. * MessageImpl.cs : don't write attributes on the first body content
  1003. element *on soap Body element*.
  1004. * MessageBufferImpl.cs : don't throw ArgumentNullException.
  1005. ObjectDisposedException is appropriate.
  1006. * MessageHeader.cs : (RawMessageHeader) don't write element itself
  1007. in OnWriteHeader*Contents*().
  1008. 2006-08-31 Atsushi Enomoto <[email protected]>
  1009. * WSSecurityMessageHeader.cs : new file.
  1010. * SymmetricSecurityChannelFactory.cs :
  1011. moved WSSecurityHeader and related types to the above.
  1012. * SymmetricSecurityChannelListener.cs :
  1013. reject SOAP-env-less message.
  1014. 2006-08-31 Atsushi Enomoto <[email protected]>
  1015. * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
  1016. renamed former to latter.
  1017. * SymmetricSecurityChannelFactory.cs :
  1018. create requirements every time. It is also likely that I need
  1019. another requirement instance to get service credentials here.
  1020. 2006-08-30 Atsushi Enomoto <[email protected]>
  1021. * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
  1022. similar to BuildChannelFactory() (set credentials, issuer binding
  1023. context etc.).
  1024. * SecurityChannelListener.cs :
  1025. more ongoing security support implementation.
  1026. * SymmetricSecurityChannelFactory.cs :
  1027. moved GetSecurityKey() to SymmetricSecurityRequestChannel.
  1028. 2006-08-29 Atsushi Enomoto <[email protected]>
  1029. * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
  1030. Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
  1031. Implementation is underway.
  1032. * LayeredReplyChannel.cs :
  1033. like LayeredRequestChannel, use ChannelListenerBase to provide
  1034. default timeouts.
  1035. 2006-08-29 Atsushi Enomoto <[email protected]>
  1036. * MessageHeader.cs : added another implementation type that uses
  1037. XmlElement, for buffering purpose.
  1038. * MessageImpl.cs : Header item types are user-driven by
  1039. MessageHeader.GetHeader<T>(int), so at storing phase just store
  1040. nodes as XmlElement.
  1041. * MessageHeaders.cs : avoid dumping XmlNode to string to create
  1042. another XmlReader.
  1043. 2006-08-28 Atsushi Enomoto <[email protected]>
  1044. * SymmetricSecurityBindingElement.cs : find ClientCredentials from
  1045. BindingParameterCollection, not from binding element properties.
  1046. 2006-08-28 Atsushi Enomoto <[email protected]>
  1047. * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
  1048. renamed former to latter.
  1049. 2006-08-25 Atsushi Enomoto <[email protected]>
  1050. * SecurityBindingElement.cs : SetIssuerBindingContext should also
  1051. work for SslSecurityTokenParameters.
  1052. 2006-08-24 Atsushi Enomoto <[email protected]>
  1053. * SecurityBindingElement.cs :
  1054. Added SetIssuerBindingContextIfRequired().
  1055. * SecurityChannelFactory.cs :
  1056. Changed .ctor() arg again, just to receive binding element.
  1057. * SymmetricSecurityBindingElement.cs :
  1058. Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
  1059. SymmetricSecurityChannelFactory .ctor() arg changes.
  1060. "ProtectionTokenParameters" is not passed now.
  1061. 2006-08-23 Atsushi Enomoto <[email protected]>
  1062. * SymmetricSecurityBindingElement.cs : requirements should be
  1063. filled at InitializeSecurityTokenParameters as long as possible.
  1064. SymmetricSecurityChannelFactory<T> now does not receive
  1065. requirements (it now creates one inside it) at .ctor().
  1066. * SecurityChannelFactory.cs : remove requirement argument.
  1067. 2006-08-23 Atsushi Enomoto <[email protected]>
  1068. * SymmetricSecurityBindingElement.cs : implemented copy constructor.
  1069. 2006-08-22 Atsushi Enomoto <[email protected]>
  1070. * SymmetricSecurityBindingElement.cs :
  1071. MessageSecurityVersion property is of type SecurityTokenVersion.
  1072. * SecurityBindingElement.cs :
  1073. Implemented CreateSecureConversationBindingElement().
  1074. For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
  1075. the argument IssuedSecurityTokenParameters itself.
  1076. 2006-08-22 Atsushi Enomoto <[email protected]>
  1077. * SymmetricSecurityBindingElement.cs :
  1078. CreateSecurityTokenManager() can be directly used now.
  1079. Use CallInitializeSecurityTokenRequirement() to fill requirement
  1080. properties.
  1081. 2006-08-16 Atsushi Enomoto <[email protected]>
  1082. * ChannelFactoryBase.cs : GetProperty() is virtual.
  1083. 2006-08-14 Atsushi Enomoto <[email protected]>
  1084. * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
  1085. create token manager, token parameters and token requirements,
  1086. and fill some requirements.
  1087. * TransportBindingElement.cs, HttpTransportBindingElement.cs,
  1088. TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
  1089. * BindingContext.cs : implemented RemainingBindingElements.
  1090. kill "no remaining binding element" error in GetInnerProperty()
  1091. * SecurityChannelFactory.cs : now it became
  1092. SymmetricSecurityChannelFactory, thus soon to be renamed.
  1093. Several ongoing actual security resolution is on.
  1094. 2006-08-11 Atsushi Enomoto <[email protected]>
  1095. * CommunicationObject.cs :
  1096. add GetCommunicationObjectType() and use it.
  1097. * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
  1098. use ThrowIfDisposedOrNotOpen().
  1099. * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
  1100. to CommunicationObject. Make it IDisposable.
  1101. * LayeredRequestChannel.cs : use above.
  1102. * SecurityChannelFactory.cs : removed state check as it is done at
  1103. above class.
  1104. 2006-08-10 Atsushi Enomoto <[email protected]>
  1105. * SecurityBindingElement.cs : (CanBuildChannelFactory and
  1106. CanBuildChannelListener) directly dispatch to BindingContext.
  1107. * SymmetricSecurityBindingElement.cs : require protection token
  1108. parameters before building a channel or a listener.
  1109. * ChannelFactoryBase.cs : raise an error when a channel is being
  1110. created without opening the factory.
  1111. * ChannelListenerBase_1.cs : ditto for the listener.
  1112. * SecurityChannelFactory.cs : before sending a request, it must be
  1113. opened.
  1114. 2006-08-07 Atsushi Enomoto <[email protected]>
  1115. * MessageBufferImpl.cs : initialize fields.
  1116. workaround BufferSize just to return 0.
  1117. * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
  1118. which does not support multi time write.
  1119. * Message.cs : implemented State.
  1120. 2006-08-07 Atsushi Enomoto <[email protected]>
  1121. * Message.cs : OnGetBodyAttribute() cannot return anything unless it
  1122. is consuming XmlReader.
  1123. Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
  1124. * MessageBuffer.cs : implemented CreateNavigator().
  1125. * MessageBufferImpl.cs : added XPathMessageBuffer class.
  1126. I kinda know that MS heavily depends on binary XmlReader and may have
  1127. XPathNavigator implementation based on the binary stuff, but at
  1128. least for now we have almost no motivation to mimick it.
  1129. 2006-08-07 Atsushi Enomoto <[email protected]>
  1130. * SecurityChannelFactory.cs : a bit more of security header code.
  1131. 2006-08-04 Atsushi Enomoto <[email protected]>
  1132. * SymmetricSecurityBindingElement.cs :
  1133. set default MessageProtectionOrder in every construction.
  1134. 2006-08-03 Atsushi Enomoto <[email protected]>
  1135. * LayeredRequestChannel.cs, SecurityChannelFactory.cs :
  1136. changed to require ChannelFactoryBase to support default timeout.
  1137. Made some methods non-virtual. Preparing code to add security
  1138. headers (empty yet).
  1139. * SecurityBindingElement.cs : implemented several factory methods
  1140. that return SymmetricSecurityBindingElement.
  1141. 2006-08-02 Atsushi Enomoto <[email protected]>
  1142. * IStreamUpgradeBindingElement.cs,
  1143. StreamUpgradeBindingElement.cs : renamed from former to latter.
  1144. 2006-08-02 Atsushi Enomoto <[email protected]>
  1145. * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
  1146. 2006-07-31 Ankit Jain <[email protected]>
  1147. * MessageHeaders.cs (From): Use Constants.WSA1
  1148. (MessageId): Implement the same pattern as other properties (From etc).
  1149. 2006-07-28 Atsushi Enomoto <[email protected]>
  1150. * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
  1151. * SecurityBindingElement.cs : some cosmetic changes.
  1152. 2006-07-28 Atsushi Enomoto <[email protected]>
  1153. * SecurityBindingElement.cs : LocalClientSettings and
  1154. LocalServiceSettings returns an instance for each.
  1155. * LocalClientSecuritySettings.cs : initialized fields.
  1156. 2006-07-28 Atsushi Enomoto <[email protected]>
  1157. * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
  1158. kinda implemented Clone() just with MemberwiseClone().
  1159. 2006-07-27 Ankit Jain <[email protected]>
  1160. * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
  1161. * MessageHeader.cs (knownTypes): New. Known type array containing
  1162. EndpointAddress10.
  1163. (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
  1164. 2006-07-21 Atsushi Enomoto <[email protected]>
  1165. * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
  1166. LayeredCommunicationObject.cs,
  1167. SecurityChannelFactory.cs, SecurityChannelListener.cs :
  1168. new files to support security channels, though right now they
  1169. just pass inner channels through.
  1170. * SymmetricSecurityBindingElement.cs : use above.
  1171. 2006-07-21 Atsushi Enomoto <[email protected]>
  1172. * AsymmetricSecurityBindingElement.cs,
  1173. SymmetricSecurityBindingElement.cs :
  1174. Default SecurityTokenParameters is null.
  1175. 2006-07-20 Atsushi Enomoto <[email protected]>
  1176. * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
  1177. 2006-07-20 Atsushi Enomoto <[email protected]>
  1178. * Message.cs : When EnvelopeVersion is None, don't write SOAP
  1179. envelope.
  1180. * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
  1181. * MessageHeaders.cs : When EnvelopeVersion is None, don't output
  1182. headers. When AddressingVersion is None, don't output addressing
  1183. headers as well, except for Action which is still needed by
  1184. service dispatcher.
  1185. 2006-07-20 Atsushi Enomoto <[email protected]>
  1186. * MessageHeaders.cs : changed specific properties to find it from
  1187. headers as Action property does (local variables won't be set by
  1188. setter). Cache serializers. Check null serializer arguments.
  1189. For EndpointAddress, GetHeader<T>() shouldn't use serializer.
  1190. 2006-07-19 Atsushi Enomoto <[email protected]>
  1191. * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
  1192. use XmlObjectSerializer (since it is not data contract type).
  1193. 2006-07-18 Atsushi Enomoto <[email protected]>
  1194. * MessageImpl.cs : Improved ReadHeaders().
  1195. For certain header items, use EndpointAddress.ReadFrom().
  1196. 2006-07-18 Atsushi Enomoto <[email protected]>
  1197. * AsymmetricSecurityBindingElement.cs :
  1198. it is not ISecurityCapabilities anymore.
  1199. 2006-07-18 Atsushi Enomoto <[email protected]>
  1200. * MessageVersion.cs : added None.
  1201. 2006-07-14 Atsushi Enomoto <[email protected]>
  1202. * Message.cs : GetReaderAtBodyContents() implementation using
  1203. writer methods.
  1204. 2006-07-13 Atsushi Enomoto <[email protected]>
  1205. * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
  1206. used MessageVersion.Default.
  1207. 2006-07-12 Duncan Mak <[email protected]>
  1208. * MessageBuffer.cs (MessageContentType): Return
  1209. "application/soap+msbin1".
  1210. * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
  1211. (SimpleMessage.OnCreateBufferedCopy):
  1212. (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
  1213. MessageBuffer implementations.
  1214. * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
  1215. (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
  1216. (XmlReaderMessageBuffer): Used by XmlReaderMessage.
  1217. 2006-07-12 Atsushi Enomoto <[email protected]>
  1218. * MessageImpl.cs : Action should be added in request messages. Omit
  1219. it only in reply message, thus moved to dispatcher logic.
  1220. 2006-07-12 Ankit Jain <[email protected]>
  1221. * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
  1222. bug in WebConnectionStream.
  1223. * MessageHeaders.cs (MessageHeaders.From):
  1224. (MessageHeaders.ReplyTo):
  1225. (MessageHeaders.To): Add the corresponding MessageHeader on set.
  1226. 2006-07-11 Atsushi Enomoto <[email protected]>
  1227. * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
  1228. add SOAP Action to the response at any time.
  1229. 2006-07-10 Atsushi Enomoto <[email protected]>
  1230. * SymmetricSecurityBindingElement.cs,
  1231. SecurityBindingElement.cs : They are not ISecurityCapabilities now.
  1232. Implemented .ctor() and some properties.
  1233. 2006-07-10 Atsushi Enomoto <[email protected]>
  1234. * TransactionFlowBindingElement.cs : new file.
  1235. * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
  1236. 2006-07-06 Atsushi Enomoto <[email protected]>
  1237. * MessageFault.cs :
  1238. DefaultAction vanished. CreateFault() now takes bufferSize arg.
  1239. * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
  1240. * AddressingVersion.cs : added None. Equals() and GetHashCode()
  1241. vanished (there is anyways no way to instantiate this type).
  1242. * MessageVersion.cs : added Soap11 and Soap12.
  1243. * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
  1244. in June CTP. goodie.
  1245. 2006-07-05 Atsushi Enomoto <[email protected]>
  1246. * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
  1247. removed some vanished CreateMessage() overloads.
  1248. 2006-07-05 Atsushi Enomoto <[email protected]>
  1249. * CustomBinding.cs, HttpsTransportBindingElement.cs,
  1250. HttpTransportBindingElement.cs :
  1251. They are not ISecurityCapabilities anymore.
  1252. Modified code to match June CTP behavior.
  1253. 2006-07-05 Atsushi Enomoto <[email protected]>
  1254. * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
  1255. 2006-07-05 Atsushi Enomoto <[email protected]>
  1256. * EmptyFaultException.cs : removed unused code.
  1257. * IRequestContext.cs, RequestContext.cs : renamed former to latter.
  1258. 2006-07-05 Atsushi Enomoto <[email protected]>
  1259. * LayeredChannelFactory.cs : removed obsolete class.
  1260. * ChannelFactoryBase.cs, HttpChannelFactory.cs,
  1261. ChannelListenerBase.cs, HttpChannelListener.cs,
  1262. HttpReplyChannel.cs, ChannelManagerBase.cs :
  1263. all those changes were brought by ChannelManagerBase changes.
  1264. 2006-07-05 Atsushi Enomoto <[email protected]>
  1265. * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
  1266. CommunicationObject.cs, HttpChannelListener.cs,
  1267. ChannelFactoryBase.cs :
  1268. CommunicationObject abstract changes brought this madness.
  1269. 2006-07-05 Atsushi Enomoto <[email protected]>
  1270. * BindingContext.cs : listenUri address parameters could be null in
  1271. June CTP.
  1272. 2006-07-05 Atsushi Enomoto <[email protected]>
  1273. * IRequestContext.cs :
  1274. Now it became a class. File renaming will follow soon.
  1275. * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
  1276. IDuplexChannel.cs, IDuplexSessionChannel.cs,
  1277. IOutputChannel.cs, IOutputSessionChannel.cs,
  1278. IRequestChannel.cs, IRequestSessionChannel.cs :
  1279. They are not IDisposable anymore.
  1280. For IReplyChannel, IRequestContext -> RequestContext.
  1281. * IChannelListener.cs : removed Identity. Added GetProperty().
  1282. * ChannelListenerBase.cs, ChannelListenerBase.cs,
  1283. ReplyChannelBase.cs, HttpReplyChannel.cs :
  1284. Several members disappeared, and dependent changes.
  1285. * HttpTransportBindingElement.cs,
  1286. HttpChannelListener.cs, :
  1287. ChannelListenerBase.SharedChannelListener vanished.
  1288. 2006-07-05 Atsushi Enomoto <[email protected]>
  1289. * MessageEncodingBindingElement.cs
  1290. MtomMessageEncodingBindingElement.cs,
  1291. TextMessageEncodingBindingElement.cs,
  1292. BinaryMessageEncodingBindingElement.cs :
  1293. June CTP updates: AddressingVersion -> MessageVersion.
  1294. * Binding.cs : June CTP. MessageVersion is added.
  1295. * ChannelBase.cs, BindingContext.cs, IChannel.cs
  1296. ChannelListenerBase_1.cs,
  1297. ChannelListenerBase.cs, IChannelListener.cs,
  1298. IChannelFactory.cs,
  1299. ChannelFactoryBase.cs, ChannelManagerBase.cs :
  1300. June CTP. Several interface changes.
  1301. * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
  1302. * IChannelManager.cs, LayeredChannelListener.cs,
  1303. GenericWrapperChannelFactory.cs,
  1304. GenericWrapperChannelListener.cs : They are not used anymore.
  1305. 2006-07-04 Atsushi Enomoto <[email protected]>
  1306. * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
  1307. sync fix with June CTP API updates.
  1308. 2006-07-03 Ankit Jain <[email protected]>
  1309. * MessageEncodingBindingElementConverter.cs:
  1310. * StandardBindingConverter.cs:
  1311. * TransportBindingElementConverter.cs:
  1312. * TransactionFlowBindingElementConverter.cs:
  1313. * ReliableSessionBindingElementConverter.cs:
  1314. * SecurityBindingElementConverter.cs:
  1315. Rename *Converter.cs to *Importer.cs
  1316. * TransferMode.cs: Move to System.ServiceModel
  1317. 2006-06-22 Atsushi Enomoto <[email protected]>
  1318. * CommunicationObject.cs : make sure to change State before
  1319. OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
  1320. 2006-06-20 Atsushi Enomoto <[email protected]>
  1321. * Message.cs : output WSAddressing xmlns only when Action is
  1322. specified (To should be affected, but seems like it is ignored).
  1323. 2006-06-20 Atsushi Enomoto <[email protected]>
  1324. * MessageImpl.cs : don't set Action when it is null.
  1325. 2006-06-12 Ankit Jain <[email protected]>
  1326. * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
  1327. 2006-05-29 Atsushi Enomoto <[email protected]>
  1328. * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
  1329. some updated API fixes.
  1330. 2006-05-29 Atsushi Enomoto <[email protected]>
  1331. * EnvelopeVersion.cs : moved back to S.SM.
  1332. 2006-05-29 Atsushi Enomoto <[email protected]>
  1333. * IBindingManualAddressing.cs : vanished in beta2.
  1334. * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
  1335. LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
  1336. namespace changes.
  1337. * SecurityBindingElement.cs :
  1338. SecurityStandardsManager -> SecurityTokenSerializer.
  1339. 2006-05-29 Atsushi Enomoto <[email protected]>
  1340. * XmlSerializerBodyWriter.cs : new file to handle
  1341. TypedMessageConverter.ToMessage().
  1342. 2006-04-26 Ankit Jain <[email protected]>
  1343. * TransportBindingElementConverter.cs (BeforeImport): Remove
  1344. NotImplementedException.
  1345. (ImportContract): Likewise.
  1346. * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
  1347. 2006-04-14 Atsushi Enomoto <[email protected]>
  1348. * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
  1349. being used was not reflecting that of Binding elements.
  1350. 2006-04-07 Atsushi Enomoto <[email protected]>
  1351. * HttpReplyChannel.cs : when SOAP action is not set as a header item,
  1352. just assume that it is in the message.
  1353. 2006-04-06 Atsushi Enomoto <[email protected]>
  1354. * HttpReplyChannel.cs : actually HTTP header item might be null.
  1355. 2006-04-06 Atsushi Enomoto <[email protected]>
  1356. * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
  1357. header.
  1358. 2006-04-06 Atsushi Enomoto <[email protected]>
  1359. * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
  1360. 2006-04-06 Atsushi Enomoto <[email protected]>
  1361. * MessageFault.cs : Fixed SOAP12 reason output.
  1362. 2006-04-05 Atsushi Enomoto <[email protected]>
  1363. * HttpReplyChannel.cs : no need to set response ContentEncoding since
  1364. MessageEncoder.ContentType explicitly contains encoding.
  1365. * AddressingVersion.cs : added ActionNotSupported property. Not sure
  1366. if it is SOAP version dependent.
  1367. 2006-03-23 Atsushi Enomoto <[email protected]>
  1368. * HttpReplyChannel.cs : actually I could just workaround bug #77816.
  1369. 2006-03-16 Atsushi Enomoto <[email protected]>
  1370. * HttpChannelFactory.cs BindingContext.cs
  1371. HttpChannelListener.cs HttpTransportBindingElement.cs :
  1372. Now BindingContext holds MessageEncoder, and non-custom
  1373. channel factory/listener should use it.
  1374. * MtomMessageEncodingBindingElement.cs
  1375. TextMessageEncodingBindingElement.cs
  1376. BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
  1377. -Listener() now sets internal BindingContext.MessageEncoder.
  1378. Fixed some public API.
  1379. 2006-03-15 Atsushi Enomoto <[email protected]>
  1380. * BindingContext.cs : CanBuildChannelXXX() should not raise error
  1381. for insufficient elements.
  1382. * DispatchRuntime.cs : OperationDescription name is not action. So
  1383. OperationSelector is created by name, not by action.
  1384. * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
  1385. 2006-03-14 Atsushi Enomoto <[email protected]>
  1386. * MessageFaultBodyWriter.cs
  1387. XmlReaderBodyWriter.cs
  1388. XmlObjectSerializerBodyWriter.cs : made internal.
  1389. * SecurityBindingElement.cs
  1390. AsymmetricSecurityBindingElement.cs
  1391. SymmetricSecurityBindingElement.cs : API fixes.
  1392. * TransportBindingElementConverter.cs : ditto.
  1393. * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
  1394. * WindowsStreamSecurityBindingElement.cs
  1395. SslStreamSecurityBindingElement.cs
  1396. TransportSecurityBindingElement.cs : new files.
  1397. 2006-03-14 Atsushi Enomoto <[email protected]>
  1398. * MessageImpl.cs : according to the W3C REC, mustUnderstand when
  1399. reading can be any xs:boolean value.
  1400. 2006-03-14 Atsushi Enomoto <[email protected]>
  1401. * Message.cs MessageImpl.cs : more sorting out the role of each
  1402. write method.
  1403. * MessageHeader.cs : use envelope namespace, not addressing namespace.
  1404. 2006-03-14 Atsushi Enomoto <[email protected]>
  1405. * Message.cs : don't write body contents if it is empty.
  1406. Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
  1407. * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
  1408. * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
  1409. * HttpRequestChannel.cs : close request stream before GetResponse().
  1410. 2006-03-13 Atsushi Enomoto <[email protected]>
  1411. * TextMessageEncoderFactory.cs
  1412. TextMessageEncoder.cs : encoder does not hold reference to the
  1413. factory anymore. Use MessageVersion property in CreateMssage().
  1414. * HttpChannelListener.cs : now it holds message encoder.
  1415. * HttpReplyChannel.cs : now it uses listener's shared message encoder.
  1416. * MessageImpl.cs : header is optional.
  1417. * EnvelopeVersion.cs : namespace URI is missing.
  1418. 2006-03-10 Atsushi Enomoto <[email protected]>
  1419. * CustomBinding.cs : removed Initialize().
  1420. * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
  1421. * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
  1422. by Message.CreateMessage(MessageVersion,XmlReader,int) and
  1423. implemented Headers, IsEmpty and GetReaderAtBodyContents().
  1424. 2006-03-08 Atsushi Enomoto <[email protected]>
  1425. * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
  1426. could be also added by Add() method and could be reset by Remove()).
  1427. * MessageImpl.cs : implemented more. As noted above, Now we don't
  1428. have to add Action header explicitly.
  1429. * MessageHeader.cs : recovered Writer methods and ToString() from
  1430. commented old version. Use prefixes for writing.
  1431. Use WriteObjectContent() rather than WriteObject() (it needs
  1432. DataContractSerializer fix btw).
  1433. 2006-03-08 Atsushi Enomoto <[email protected]>
  1434. * MessageHeader.cs : added missing IsReferenceParameter.
  1435. * MessageHeaderInfo.cs : added missing IsReferenceParameter.
  1436. * MessageHeaders.cs : avoid NullRef when actors is null.
  1437. * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
  1438. (ForwardingMessage) reader consumer is being added (not done).
  1439. * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
  1440. * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
  1441. * HttpRequestChannel.cs : this channel automatically call Open()
  1442. when Request() is called. Set content length for request.
  1443. Use MessageEncoder's ContentType to also handle charset.
  1444. 2006-03-07 Atsushi Enomoto <[email protected]>
  1445. * MessageImpl.cs : make them internal.
  1446. * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
  1447. 2006-03-07 Atsushi Enomoto <[email protected]>
  1448. * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
  1449. * HttpChannelListener.cs : removed commented line.
  1450. * RequestChannelBase.cs : new base class for request channel classes.
  1451. * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
  1452. * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
  1453. * Message.cs : default IsEmpty and IsFault false by default.
  1454. * LayeredChannelListener.cs : removed Uri (no chance to set).
  1455. * ChannelBase.cs : reimplemented timeout properties.
  1456. * HttpRequestChannel.cs : now it is mostly based on
  1457. RequestChannelBase. Some more attempt to implement Request().
  1458. 2006-03-07 Atsushi Enomoto <[email protected]>
  1459. * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
  1460. OnInitialize(). Added more BuildChannelListener() overloads.
  1461. 2006-03-06 Atsushi Enomoto <[email protected]>
  1462. * Binding.cs : added some more missing members especially to support
  1463. listener creation.
  1464. * HttpChannelListener.cs : Uri should not be null.
  1465. * HttpTransportBindingElement.cs : implemented
  1466. CanBuildChannelFactory() and CanBuildChannelListener().
  1467. * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
  1468. 2006-03-06 Atsushi Enomoto <[email protected]>
  1469. * Binding.cs : updated default namespace property value to Feb. CTP.
  1470. 2006-03-03 Atsushi Enomoto <[email protected]>
  1471. * AddressHeader.cs : avoid null reference when value is null.
  1472. * BindingContext.cs : check null ListenUri args.
  1473. 2006-03-03 Atsushi Enomoto <[email protected]>
  1474. * MessageFault.cs : Fixed default action name. Null arg check.
  1475. 2006-03-03 Atsushi Enomoto <[email protected]>
  1476. * BindingElement.cs : Dequeue elements in BindingContext directly.
  1477. * BindingContext.cs : Added GetProperty<T>().
  1478. * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
  1479. Now we don't need these extra classes, so marked as deprecated.
  1480. 2006-03-03 Atsushi Enomoto <[email protected]>
  1481. * Binding.cs : null arg check.
  1482. * AddressingVersion.cs : fixed constants to pass the tests.
  1483. * BindingElement.cs : tiny meessage fix.
  1484. 2006-03-02 Atsushi Enomoto <[email protected]>
  1485. * MessageEncodingBindingElement.cs
  1486. BinaryMessageEncodingBindingElement.cs
  1487. TextMessageEncodingBindingElement.cs
  1488. MtomMessageEncodingBindingElement.cs
  1489. MessageEncodingBindingElementConverter.cs : several API fixes.
  1490. * BindingElement.cs : now if we use generic wrapper it causes
  1491. infinite loop, so for now replace it with most-possible-but-
  1492. untested logic.
  1493. 2006-03-02 Atsushi Enomoto <[email protected]>
  1494. (back to normal "record-ChangeLogs" mode after the big API change mess)
  1495. * HttpTransportBindingElement.cs : fixed minor API differences.
  1496. 2006-02-23 Atsushi Enomoto <[email protected]>
  1497. * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
  1498. SymmetricSecurityBindingElement.cs :
  1499. Dependent fixes for System.IdentityModel reorgainzation.
  1500. 2006-02-23 Atsushi Enomoto <[email protected]>
  1501. * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
  1502. IProxyFormatter.cs WSHttpBindingBase.cs
  1503. PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
  1504. MessageInterceptorEventArgs.cs WSHttpBinding.cs
  1505. WSFederationBinding.cs ISessionChannel.cs
  1506. CompositeDuplexBindingElement.cs MessageVersion.cs
  1507. MessageHeader.cs IRequestSessionChannel.cs
  1508. BindingElementCollection.cs IReplySessionChannel.cs
  1509. MessageProperties.cs IDuplexClientChannel.cs
  1510. IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
  1511. TcpTransportBindingElement.cs EmptyFaultException.cs
  1512. IBindingRuntimePreferences.cs AddressHeaderCollection.cs
  1513. IStubFormatter.cs AsymmetricSecurityBindingElement.cs
  1514. ConnectionOrientedTransportBindingElement.cs
  1515. IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
  1516. PeerResolverBindingElement.cs Message.cs
  1517. HttpsTransportBindingElement.cs BindingElement.cs
  1518. NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
  1519. MessageFaultBodyWriter.cs IReplyChannel.cs
  1520. IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
  1521. IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
  1522. IRequestContext.cs IInputSessionShutdown.cs
  1523. SecurityBindingElement.cs PeerTransportBindingElement.cs
  1524. IDuplexSession.cs IChannelInitializer.cs
  1525. IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
  1526. AddressingVersion.cs FaultException.cs
  1527. IRequestChannel.cs MtomMessageEncodingBindingElement.cs
  1528. TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
  1529. TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
  1530. ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
  1531. MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
  1532. BindingParameterCollection.cs IInstanceProvider.cs
  1533. WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
  1534. MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
  1535. IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
  1536. MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
  1537. moved from System.ServiceModel due to the API changes.
  1538. 2006-02-23 Atsushi Enomoto <[email protected]>
  1539. * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
  1540. HttpChannelListener.cs HttpRequestChannel.cs
  1541. LayeredChannelListener.cs PeerMessagePropagationFilter.cs
  1542. PeerNode.cs ReplyChannelBase.cs :
  1543. Feb. CTP API changes - chapter 1.
  1544. 2006-02-15 Atsushi Enomoto <[email protected]>
  1545. * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
  1546. * ReplyChannelBase.cs : now it is based on ChannelBase.
  1547. * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
  1548. and check null argument in .ctor().
  1549. * HttpReplyChannel.cs : several changes.
  1550. Non-async members are mostly implemented.
  1551. * HttpChannelListener.cs : no need to receive
  1552. IDefaultCommunicationTimeouts.
  1553. * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
  1554. to allocate buffer array and int.MaxValue causes OutOfMemory.
  1555. 2006-02-15 Atsushi Enomoto <[email protected]>
  1556. * ClientFramingDecoderState.cs : added missing enum.
  1557. * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
  1558. added missing bits.
  1559. * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
  1560. 2006-02-15 Atsushi Enomoto <[email protected]>
  1561. * HttpChannelListener.cs : Added GetChannels() and OnClose().
  1562. AcceptChannel() has some code now but it needs more love.
  1563. 2006-02-14 Atsushi Enomoto <[email protected]>
  1564. * CommunicationObject.cs : Close() does not call Begin/EndClose().
  1565. * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
  1566. * ChannelListenerBase.cs : implemented OnAbort and OnClose.
  1567. 2006-02-10 Atsushi Enomoto <[email protected]>
  1568. * HttpRequestChannel.cs : close the streams.
  1569. * HttpListener.cs
  1570. HttpChannelListener.cs : renamed from former to latter.
  1571. 2006-02-09 Atsushi Enomoto <[email protected]>
  1572. * ReplyChannelBase.cs : new file for IReplyChannel implementations.
  1573. * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
  1574. * HttpListenerFactory.cs : removed obsolete file.
  1575. * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
  1576. * ChannelListenerBase_1.cs : implemented virtual stuff.
  1577. * CommunicationObject.cs : Open() should not call BeginOpen() and
  1578. EndOpen(). Instead, invoke events individually.
  1579. * ChannelListenerBase.cs : its Open() is WaitForChannel().
  1580. 2006-02-08 Atsushi Enomoto <[email protected]>
  1581. * HttpRequestChannel.cs : call Flush() after serializing message
  1582. into HTTP stream.
  1583. 2006-02-08 Atsushi Enomoto <[email protected]>
  1584. * HttpRequestChannel.cs : implemented pretty hacky Request().
  1585. 2006-02-02 Atsushi Enomoto <[email protected]>
  1586. * HttpRequestChannel.cs : Manager is HttpChannelFactory.
  1587. 2006-02-01 Atsushi Enomoto <[email protected]>
  1588. * ChannelFactoryBase.cs : removed some NotImplementedException for
  1589. further internal implementation.
  1590. 2006-01-26 Atsushi Enomoto <[email protected]>
  1591. * HttpRequestChannel.cs : new file. mostly not implemented.
  1592. * HttpChannelFactory.cs : Implemented CanCreateChannel().
  1593. Partly implemented CreateChannel().
  1594. 2006-01-26 Atsushi Enomoto <[email protected]>
  1595. * HttpChannelFactory.cs : (.ctor())
  1596. Don't take ChannelBuildContext.
  1597. 2005-11-21 Atsushi Enomoto <[email protected]>
  1598. * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
  1599. ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
  1600. PeerMessagePropagation.cs : updated to Nov. CTP.
  1601. 2005-11-21 Atsushi Enomoto <[email protected]>
  1602. * ChannelListenerBase.cs, ChannelManagerBase.cs,
  1603. ChannelListenerBase_1.cs, LayeredChannelListener.cs,
  1604. StreamSecurityUpgradeAcceptor.cs,
  1605. StreamSecurityUpgradeInitiator.cs :
  1606. Updated to Nov. CTP API.
  1607. 2005-11-21 Atsushi Enomoto <[email protected]>
  1608. Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
  1609. 2005-11-21 Atsushi Enomoto <[email protected]>
  1610. renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
  1611. 2005-11-21 Atsushi Enomoto <[email protected]>
  1612. * ChannelBase.cs : tiny filename fix.
  1613. * ChannelListenerBase.cs : added more .ctor()s.
  1614. 2005-11-21 Atsushi Enomoto <[email protected]>
  1615. * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
  1616. ListenerFactoryBase.cs ChannelListenerBase.cs :
  1617. updated IListener related stuff to Nov. CTP.
  1618. file renaming will come soon.
  1619. 2005-11-21 Atsushi Enomoto <[email protected]>
  1620. * ListenerBase.cs, ChannelListenerBase.cs :
  1621. moved from former to latter.
  1622. * LayeredListenerFactory.cs, LayeredChannelListener.cs :
  1623. moved from former to latter.
  1624. 2005-11-20 Atsushi Enomoto <[email protected]>
  1625. * SessionFaultedException.cs : removed in Nov. CTP
  1626. 2005-11-20 Atsushi Enomoto <[email protected]>
  1627. * CommunicationObject.cs : updated to Nov. CTP.
  1628. * SessionFaultedException.cs : removed (in Nov. CTP)
  1629. 2005-11-03 Atsushi Enomoto <[email protected]>
  1630. * TextMessageEncoder.cs : kinda implemented (untested; Message is not
  1631. working).
  1632. 2005-11-03 Atsushi Enomoto <[email protected]>
  1633. * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
  1634. TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
  1635. TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
  1636. * MessageEncoder.cs : largely implemented.
  1637. 2005-11-02 Atsushi Enomoto <[email protected]>
  1638. * IRequestReplyCorrelator.cs : new file.
  1639. 2005-11-02 Atsushi Enomoto <[email protected]>
  1640. * CommunicationObject.cs : OnClose() and OnError() are not virtual.
  1641. * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
  1642. * MessageEncoder.cs : added misssing ToString().
  1643. 2005-11-02 Atsushi Enomoto <[email protected]>
  1644. * ChannelBehaviorCollection.cs : moved to sys.sm.
  1645. 2005-10-28 Atsushi Enomoto <[email protected]>
  1646. * HttpListenerFactory.cs, HttpListener.cs : new files.
  1647. * ListenerFactoryBase.cs, ChannelManagerBase.cs,
  1648. CommunicationObject.cs, ChannelFactoryBase.cs,
  1649. StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
  1650. protected internal.
  1651. * CommunicationObject.cs : Aborted is bool. Added InternalClose()
  1652. * ListenerFactoryBase.cs : kinda implemented GetListeners().
  1653. 2005-10-26 Atsushi Enomoto <[email protected]>
  1654. * ListenerFactoryBase.cs : some implementation.
  1655. 2005-10-26 Atsushi Enomoto <[email protected]>
  1656. * CommunicationObject.cs : more state fixes.
  1657. 2005-10-26 Atsushi Enomoto <[email protected]>
  1658. * CommunicationObject.cs : some state machine fixes.
  1659. 2005-10-26 Atsushi Enomoto <[email protected]>
  1660. * PeerNode.cs, ChannelManagerBase.cs :
  1661. several API fixes detected by improved corcompare.
  1662. 2005-10-25 Atsushi Enomoto <[email protected]>
  1663. * LayeredListenerFactory.cs : added missing generic class constraint.
  1664. 2005-10-25 Atsushi Enomoto <[email protected]>
  1665. * ListenerFactoryBase.cs,
  1666. ListenerBase.cs : class constraints were missing for generic args.
  1667. 2005-10-24 Atsushi Enomoto <[email protected]>
  1668. * StreamUpgradeInitiator.cs : tiny API fix.
  1669. 2005-10-23 Atsushi Enomoto <[email protected]>
  1670. * PeerMessagePropagationFilter.cs : tiny build fix.
  1671. 2005-10-23 Atsushi Enomoto <[email protected]>
  1672. * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
  1673. added Name. fixed StatusCode type.
  1674. * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
  1675. PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
  1676. StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
  1677. DirectionalAction.cs, HostedTransportConfiguration.cs,
  1678. StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
  1679. PeerMessagePropagationFilter.cs : added missing files.
  1680. * Dummy.cs : removed. MSMQ stuff can be added later.
  1681. 2005-10-21 Atsushi Enomoto <[email protected]>
  1682. * DeliveryStatus.cs, DeliveryFailure.cs,
  1683. HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
  1684. PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
  1685. new files.
  1686. * Dummy.cs : removed above.
  1687. 2005-10-18 Atsushi Enomoto <[email protected]>
  1688. * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
  1689. 2005-10-09 Atsushi Enomoto <[email protected]>
  1690. * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
  1691. MessageEncoder.cs, BufferManager.cs : new files.
  1692. * Dummy.cs : removed above.
  1693. 2005-10-09 Atsushi Enomoto <[email protected]>
  1694. * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
  1695. * Dummy.cs : removed above.
  1696. * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
  1697. 2005-10-09 Atsushi Enomoto <[email protected]>
  1698. * HttpChannelFactory.cs : new file.
  1699. 2005-10-08 Atsushi Enomoto <[email protected]>
  1700. * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
  1701. moved to ../System.ServiceModel (correct location).
  1702. * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
  1703. new files for channels.
  1704. * Dummy.cs : reflected above changes.
  1705. * ChannelManagerBase.cs : added a bit of code and todos.
  1706. 2005-10-04 Atsushi Enomoto <[email protected]>
  1707. * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
  1708. added listener support files.
  1709. * Dummy.cs : removed above.
  1710. 2005-10-03 Atsushi Enomoto <[email protected]>
  1711. * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
  1712. added request/reply channel interfaces.
  1713. * Dummy.cs : removed above.
  1714. * CommunicationObject.cs : FIXME comments.
  1715. 2005-10-03 Atsushi Enomoto <[email protected]>
  1716. * CommunicationObject.cs : implemented some members.
  1717. 2005-09-29 Atsushi Enomoto <[email protected]>
  1718. * CommunicationObject.cs : some signature fixes.