ChangeLog 94 KB

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