ChangeLog 109 KB

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