2
0

ChangeLog 112 KB

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