ChangeLog 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333
  1. 2007-10-04 Atsushi Enomoto <[email protected]>
  2. * TypeStubManager.cs: reverted r82932 again. This #if ONLY_1_1 causes
  3. NUnit test regressions. It should not be reverted again until
  4. appropriate NUnit test case is provided and proper fix is provided
  5. that does not cause regressions.
  6. 2007-09-25 Marek Habersack <[email protected]>
  7. * WebServiceHandlerFactory.cs: WebServiceParser.GetCompiledType
  8. must be passed a virtual path, not physical one. Fixes bug
  9. #327809.
  10. 2007-08-21 Robert Jordan <[email protected]>
  11. * ValueCollectionParameterReader.cs (Read):
  12. Add support for array parameters. Fixes #82519.
  13. 2007-07-29 Vladimir Krasnov <[email protected]>
  14. * TypeStubManager.cs: fixed BindingInfo.ctor, reverted to ONLY_1_1
  15. 2007-06-16 Gert Driesen <[email protected]>
  16. * Fault.cs: In SOAP 1.1, the child elements of Fault may be unqualified.
  17. Fixed FaultReader's ReadObject_Fault to only process either unqualified
  18. elements or elements in the SOAP 1.1 namespace, hereby fixing part of
  19. bug #81886 where an unqualified detail element was not processed. In
  20. FaultWriter, write unqualified detail element. Fixes second part of
  21. bug #81886.
  22. 2007-05-11 Atsushi Enomoto <[email protected]>
  23. * SoapServerType.cs : avoid IndexOutOfRange on reflecting
  24. SoapRpcAttribute.
  25. 2007-05-08 Atsushi Enomoto <[email protected]>
  26. * SoapServerMethod.cs : Some refactoring. simply use GetMethod() in
  27. type stub. WsiClaims could be retrieved from type stub.
  28. * SoapServerType.cs : store server methods and implement GetMethod().
  29. 2007-05-08 Atsushi Enomoto <[email protected]>
  30. * SoapServerType.cs
  31. ServerType.cs
  32. Methods.cs : SoapBindingUse and SoapServiceRoutingStyle could just
  33. be stored in LogicalTypeInfo (as they are attributed in a web
  34. service class), and removed duplicates of them in SoapTypeStubInfo.
  35. Invalid attributes on a service class are checked in SoapServerType
  36. .ctor().
  37. 2007-05-08 Atsushi Enomoto <[email protected]>
  38. * XmlReturnReader.cs
  39. XmlReturnWriter.cs
  40. TypeStubManager.cs
  41. ServerType.cs
  42. SoapServerType.cs
  43. Methods.cs
  44. HttpSimpleTypeStubInfo.cs
  45. HttpGetTypeStubInfo.cs
  46. HttpPostTypeStubInfo.cs :
  47. I once replaced LogicalTypeInfo with ServerType. It was kind of
  48. wrong, since ServerType could be instantiated at any time, while
  49. LogicalTypeInfo used to be a singleton per static context.
  50. Here I re-introduced LogicalTypeInfo and replaced most of
  51. ServerType use with this.
  52. 2007-05-08 Atsushi Enomoto <[email protected]>
  53. * LogicalMethodInfo.cs : MethodInfo is null when it is async.
  54. Added internal ActualMethodInfo to represent "sync or begin" method
  55. (i.e. former MethodInfo).
  56. * HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs :
  57. MethodInfo -> ActualMethodInfo.
  58. 2007-04-29 Konstantin Triger <[email protected]>
  59. * WebServiceHelper.cs, HttpSoapWebServiceHandler.cs: add support for SOAP1.2
  60. to pass action in ContentType HTTP header.
  61. See http://www.w3.org/TR/soap12-part0/#L4697.
  62. 2007-04-23 Atsushi Enomoto <[email protected]>
  63. * TypeStubManager.cs : fix binding enumeration on finding by name.
  64. fix wrong ONLY_1_1.
  65. * ServerType.cs : ONLY_1_1 is evil enough to make sources confusing.
  66. Use it only when it is really needed.
  67. 2007-04-11 Konstantin Triger <[email protected]>
  68. * WebServiceHandlerFactory.cs: Use HttpRequest.IsLocal to determine
  69. local request in 2.0 profile.
  70. 2007-03-21 Konstantin Triger <[email protected]>
  71. * TypeStubManager.cs, Methods.cs, ServerType.cs: add support for the 2.0
  72. feature, which enables declaring WebService/WebMethods attributes
  73. in interface.
  74. 2007-03-11 Konstantin Triger <[email protected]>
  75. * WebServiceHandlerFactory.cs: throw on protocol version mismatch
  76. for 2.0 profile only.
  77. 2007-03-11 Vladimir Krasnov <[email protected]>
  78. * TypeStubManager.cs: fixed BindingInfo.ctor, it does not takes Name
  79. property from WebServiceBindingAttribute in .net 2.0
  80. 2007-03-04 Konstantin Triger <[email protected]>
  81. * WebServiceHandlerFactory.cs: throw on protocol version mismatch.
  82. 2007-02-01 Konstantin Triger <[email protected]>
  83. * TypeStubManager.cs, Methods.cs: refactor BindingInfo contruction to contain
  84. either declared Bindings or a default one.
  85. 2007-02-01 Konstantin Triger <[email protected]>
  86. * HttpSimpleWebServiceHandler.cs: Provide better error info.
  87. 2007-01-22 Miguel de Icaza <[email protected]>
  88. * HttpSimpleClientProtocol.cs, SoapHttpClientProtocol.cs: Hook up
  89. RegisterMapping and UnregisterMapping.
  90. * HttpWebClientProtocol.cs (RegisterMapping, UnregisterMapping):
  91. Keep track of all the async invocations that are created, based on
  92. the "userState" key.
  93. (CancelAsync): Implement.
  94. 2006-12-22 Atsushi Enomoto <[email protected]>
  95. * HttpSoapWebServiceHandler.cs : (SerializeFault) requestMessage
  96. could be null.
  97. 2006-12-21 Atsushi Enomoto <[email protected]>
  98. * WebServiceHelper.cs :
  99. added Soap12FaultToSoapException conversion method (copied from
  100. SoapHttpClientProtocol.cs).
  101. Added couple of switching fault code getter (by soap12 flag).
  102. * SoapMessage.cs: added IsSoap12 property to simplify SOAP 1.2
  103. conditional code.
  104. * HttpSimpleServerProtocolFactory.cs, WebServiceHelper.cs,
  105. HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs :
  106. reflected all changes above. Switch 1.2 fault and 1.1 fault, and
  107. simplify 1.2 switch.
  108. 2006-12-21 Atsushi Enomoto <[email protected]>
  109. * SoapHttpClientProtocol.cs : SOAP 1.2 client should allow text/xml
  110. content type. Now bug #79985 is fixed here.
  111. 2006-12-21 Atsushi Enomoto <[email protected]>
  112. * HttpSoapWebServiceHandler.cs : read xml with correct
  113. SOAP 1.2 Envelope namespace. To determine the message
  114. version, it must check SOAP version in
  115. DeserializeRequest().
  116. 2006-12-19 Atsushi Enomoto <[email protected]>
  117. * SoapClientMessage.cs : oops, SoapVersion is only 2.0.
  118. 2006-12-19 Atsushi Enomoto <[email protected]>
  119. * SoapHttpClientProtocol.cs :
  120. Don't use HTTP header when SoapVersion is Soap12.
  121. * HttpSoapWebServiceHandler.cs :
  122. With SOAP 1.2 message we can only use Body content.
  123. Set correct Content-Type for SOAP 1.2 message.
  124. * Fault12.cs : added null check.
  125. * SoapClientMessage.cs :
  126. Set correct Content-Type for SOAP 1.2 message.
  127. * WebServiceHandlerFactory.cs :
  128. don't reject SOAP 1.2 protocol here.
  129. 2006-12-18 Atsushi Enomoto <[email protected]>
  130. * WebServiceHandlerFactory.cs,
  131. SoapServerMessage.cs,
  132. HttpSoapWebServiceHandler.cs :
  133. set guessed protocol to SoapServerMessage.
  134. 2006-12-18 Atsushi Enomoto <[email protected]>
  135. * TypeStubManager.cs, Methods.cs, SoapServerMethod.cs :
  136. added WsiClaims property to TypeStubInfo, to implement
  137. SoapServerMethod.WsiClaims.
  138. 2006-12-15 Atsushi Enomoto <[email protected]>
  139. * ServerType.cs : added SOAP 1.2 protocol as a different one from
  140. SOAP 1.1.
  141. * Methods.cs : added Soap12TypeStubInfo.
  142. 2006-12-15 Atsushi Enomoto <[email protected]>
  143. * HttpSoapWebServiceHandler.cs,
  144. SoapHttpClientProtocol.cs : support application/soap+xml.
  145. 2006-12-04 Atsushi Enomoto <[email protected]>
  146. * AnyReturnReader.cs : not sure why, but the build must have been
  147. broken, and now it is exposed.
  148. * SoapHttpClientProtocol.cs : added missing members, left as MonoTODO.
  149. 2006-12-01 Atsushi Enomoto <[email protected]>
  150. * AnyReturnReader.cs : implemented, it does almost nothing.
  151. 2006-12-01 Atsushi Enomoto <[email protected]>
  152. * SoapServerMethod.cs : implemented based on SoapMethodStubInfo.
  153. * ServerType.cs : added UseEncoded, used in SoapServerType.
  154. * SoapServerType.cs : ServiceDefaultIsEncoded is base.UseEncoded,
  155. and ServiceNamespace is base.WebServiceNamespace.
  156. * SoapHeaderMapping.cs : origin info.
  157. 2006-12-01 Atsushi Enomoto <[email protected]>
  158. * SoapDocumentationHandler.cs, SoapExtension.cs :
  159. WebServicesSection.Instance -> .Current.
  160. 2006-11-30 Atsushi Enomoto <[email protected]>
  161. * SoapHeaderMapping.cs : Now HeaderInfo became this type to implement
  162. this class. Remapped some members (e.g. IsUnknownHeader -> Custom).
  163. * Methods.cs : so, split HeaderInfo from here.
  164. * SoapMessage.cs : Added alias HeaderInfo to SoapHeaderMapping.
  165. Renamed some properties.
  166. 2006-11-30 Atsushi Enomoto <[email protected]>
  167. * ServerType.cs : Now LogicalTypeInfo became this type to implement
  168. this class (and SoapTypeStubInfo to SoapServerType later).
  169. * TypeStubManager.cs : so, split LogicalTypeInfo from here.
  170. * XmlReturnReader.cs, XmlReturnWriter.cs, Methods.cs,
  171. HttpSimpleTypeStubInfo.cs, HttpGetTypeStubInfo.cs,
  172. HttpPostTypeStubInfo.cs : LogicalTypeInfo -> ServerType.
  173. 2006-11-30 Atsushi Enomoto <[email protected]>
  174. * SoapHttpClientProtocol.cs : looks like (only) the last Text is used
  175. instead of the first one in .net.
  176. 2006-11-28 Atsushi Enomoto <[email protected]>
  177. * Fault12.cs : they should be all internal.
  178. 2006-11-28 Atsushi Enomoto <[email protected]>
  179. * Fault12.cs, fault-12.genxs, Fault12Serializer.cs :
  180. SOAP 1.2 Fault serializer and its generation sources.
  181. * SoapException.cs :
  182. Fixed .ctor() whose initialization was incorrect.
  183. * WebServiceHelper.cs, Methods.cs, HttpSoapWebServiceHandler.cs,
  184. SoapHttpClientProtocol.cs :
  185. handle SOAP 1.2 Fault.
  186. 2006-11-22 Atsushi Enomoto <[email protected]>
  187. * SoapHeader.cs WebServiceHelper.cs SoapClientMessage.cs
  188. HttpSoapWebServiceHandler.cs SoapHttpClientProtocol.cs:
  189. SOAP 1.2 Envelope support has started. Though I will have to
  190. change its internals significantly, so it is in my branch.
  191. 2006-11-21 Atsushi Enomoto <[email protected]>
  192. * WebClientProtocol.cs HttpWebClientProtocol.cs SoapException.cs
  193. SoapHeaderException.cs HttpSimpleClientProtocol.cs
  194. SoapHttpClientProtocol.cs SoapMessage.cs:
  195. assorted cosmetic API fixes.
  196. 2006-11-19 Atsushi Enomoto <[email protected]>
  197. * HttpSoapWebServiceHandler.cs: on deserializing the request, do not
  198. close the input stream. Fixed bug #79954. Fix by Juan C. Olivares.
  199. 2006-11-16 Atsushi Enomoto <[email protected]>
  200. * HttpServerProtocol.cs : removed old code.
  201. * SoapServerProtocol.cs, ServerProtocol.cs : removed as well, and
  202. added up-to-date ones.
  203. * SoapHeaderHandling.cs, SoapHeaderMapping.cs,
  204. ServerProtocolFactory.cs, SoapServerType.cs,
  205. SoapServerProtocolFactory.cs, ServerType.cs,
  206. SoapServerProtocol.cs, ServerProtocol.cs,
  207. SoapServerMethod.cs :
  208. Added stubs for 2.0 server protocol model. For now I don't spend
  209. time on these ones but rather fill more important bits like
  210. SOAP 1.2 support.
  211. 2006-11-15 Atsushi Enomoto <[email protected]>
  212. * SoapHeaderException.cs, SoapException.cs, SoapFaultSubcode.cs,
  213. Soap12FaultCodes.cs : API fixes, mostly for SoapFaultSubCode.
  214. 2006-11-14 Atsushi Enomoto <[email protected]>
  215. * SoapHttpClientProtocol.cs : 2.0 API fix (WsiClaims -> WsiProfiles).
  216. 2006-09-06 Lluis Sanchez Gual <[email protected]>
  217. * ValueCollectionParameterReader.cs, MimeFormatter.cs: Support enums in
  218. the http get and post protocols. Fixes bug #78461.
  219. 2006-09-06 Lluis Sanchez Gual <[email protected]>
  220. * SoapException.cs: Fix property name.
  221. 2006-09-05 Ankit Jain <[email protected]>
  222. * LogicalMethodTypes.cs:
  223. * SoapMessageStage.cs:
  224. * SoapServiceRoutingStyle.cs:
  225. * SoapHeaderDirection.cs:
  226. * SoapParameterStyle.cs:
  227. * SoapProtocolVersion.cs: Remove [Serializable].
  228. 2006-08-30 Konstantin Triger <[email protected]>
  229. * WebClientProtocol.cs: implemented WebClientProtocol.UseDefaultCredentials().
  230. 2006-06-08 Chris Toshok <[email protected]>
  231. * WebServiceHandlerFactory.cs: remove the CONFIGURATION_2_0 from
  232. ifdefs. NET_2_0 implies this now.
  233. * SoapExtension.cs: same.
  234. * SoapDocumentationHandler.cs: same.
  235. 2006-03-15 Vladimir Krasnov <[email protected]>
  236. * SoapExtension.cs: fixed ExecuteProcessMessage signature, added
  237. stream parameter in order to update SoapMessage stream
  238. * SoapMessage.cs: removed unused ctor, added internal property to
  239. set SoapMessage's stream member
  240. * HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs: updated
  241. usage of ExecuteProcessMessage
  242. 2006-03-15 Vladimir Krasnov <[email protected]>
  243. * SoapServerMessage.cs: fixed SoapServerMessage constructors to
  244. remove quotes from SoapAction http header when initializing local
  245. action member
  246. 2006-03-15 Vladimir Krasnov <[email protected]>
  247. * HttpSoapWebServiceHandler.cs, SoapServerMessage.cs: fixed
  248. SoapMessage.ContentEncoding that used in ProcessMessage method
  249. in SoapExtension
  250. 2006-03-12 Vladimir Krasnov <[email protected]>
  251. * TypeStubManager.cs: fixed type_to_manager member to be initialized
  252. per appdoamin (within TARGET_JVM block)
  253. 2006-03-12 Vladimir Krasnov <[email protected]>
  254. * SoapDocumentationHandler.cs: TARGET_JVM blocks added to exclude
  255. not supported methods
  256. 2006-01-12 Ben Maurer <[email protected]>
  257. * WebClientProtocol.cs: Add a 2.0 stub
  258. 2006-01-04 Chris Toshok <[email protected]>
  259. * SoapDocumentationHandler.cs: add CONFIGURATION_2_0 stuff.
  260. 2006-01-04 Chris Toshok <[email protected]>
  261. * WebServiceHandlerFactory.cs: add CONFIGURATION_2_0 stuff.
  262. * SoapExtension.cs: add CONFIGURATION_2_0 stuff.
  263. 2005-09-26 Lluis Sanchez Gual <[email protected]>
  264. * LogicalMethodInfo.cs: GetCustomAttribute* does not return
  265. inherited attributes in MS.NET.
  266. 2005-08-15 Gert Driesen <[email protected]>
  267. * SoapException.cs: Only mark serializable on 2.0 profile.
  268. * SoapHeaderException.cs: Only mark serializable on 2.0 profile.
  269. * WebClientProtocol.cs: DefaultValue of RequestEncoding must be null
  270. to match MS.NET. Fixed line endings.
  271. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  272. * SoapDocumentationHandler.cs: workaround for a bug in the HttpRequest
  273. QueryString property. Under MS, GetKey (0) yields null.
  274. 2005-06-30 Konstantin Triger <[email protected]>
  275. * HttpSoapWebServiceHandler.cs:
  276. * HttpSimpleWebServiceHandler.cs: Disposing the WebService instance
  277. after a WebMethod invocation.
  278. 2005-06-14 Lluis Sanchez Gual <[email protected]>
  279. * SoapHttpClientProtocol.cs:
  280. * WebServiceHelper.cs:
  281. * Methods.cs: Changed the way headers are serialized. Instead of having
  282. a serializer per header type, we now have a serializer per method, and
  283. headers are serialized using a member mapping.
  284. * HttpSoapWebServiceHandler.cs: Handle one way methods properly.
  285. Fixes bug #70699.
  286. 2005-06-10 Gonzalo Paniagua Javier <[email protected]>
  287. * HttpSoapWebServiceHandler.cs: use the HttpResponse.BufferOutput
  288. instead of our own MemoryStream when buffering is enabled. Flush the
  289. response instead of closing it, as that allows for Content-Length to
  290. be sent from HttpResponse and helps reusing connections.
  291. 2005-06-09 Gonzalo Paniagua Javier <[email protected]>
  292. * WebServiceHelper.cs: don't even try to read the response if its length
  293. is known to be 0.
  294. * SoapHttpClientProtocol.cs: for successful responses on methods that
  295. are not one-way, don't return immediately if the content length is 0 so
  296. that the check for Content-Type takes place.
  297. 2005-06-07 Kornél Pál <[email protected]>
  298. * WebServiceHandlerFactory.cs: Throw InvalidOperationException instead of
  299. returning DummyHttpHandler when the request format is not supported.
  300. 2005-06-06 Kornél Pál <[email protected]>
  301. * WebServiceHandlerFactory.cs: Added support for HttpPostLocalhost and HttpSoap12
  302. 2005-06-05 Konstantin Triger <[email protected]>
  303. * SoapHttpClientProtocol.cs: Close WebResponse to free resources
  304. * WebClientProtocol.cs, TypeStubManager.cs, SoapExtension.cs: moving static fields to AppDomain in Java builds
  305. 2005-02-07 Lluis Sanchez Gual <[email protected]>
  306. * XmlReturnWriter.cs, SoapDocumentationHandler.cs: Use utf-8 encoding
  307. when generating xml responses, wsdl documents and schemas. This fixes
  308. bug #72202.
  309. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  310. * ValueCollectionParameterReader.cs: Parse parameters in the correct
  311. way, Convert.ChangeType is not enough. This fixes bug #70266.
  312. Removed some types that are not supported as parameters.
  313. * MimeFormatter.cs: Added methods for xml <-> object conversion.
  314. * UrlEncodedParameterWriter.cs: Use a more elaborate method for converting
  315. from object to string, ToString() is not enough.
  316. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  317. * TypeStubManager.cs: Removed redundat hastable access.
  318. * SoapHttpClientProtocol.cs: Accept responses with ContentLength==0.
  319. This fixes bug #70310.
  320. 2004-12-03 Gonzalo Paniagua Javier <[email protected]>
  321. * SoapHttpClientProtocol.cs: dispose the StreamReader that wraps the
  322. response stream.
  323. 2004-09-15 Lluis Sanchez Gual <[email protected]>
  324. * Methods.cs: Use the service namespace as the base for the soap action.
  325. This fixes bug #60379.
  326. 2004-08-25 Lluis Sanchez Gual <[email protected]>
  327. * HttpSoapWebServiceHandler.cs, WebServiceHandler.cs: Do not assign the
  328. context to the service. It already gets it from HttpContext.Current.
  329. 2004-07-27 Lluis Sanchez Gual <[email protected]>
  330. * HttpSimpleClientProtocol.cs, HttpWebClientProtocol.cs,
  331. SoapHttpClientProtocol.cs: Implemented support for the new async model.
  332. * InvokeCompletedEventArgs.cs: Implemented.
  333. 2004-07-20 Lluis Sanchez Gual <[email protected]>
  334. * HttpWebClientProtocol.cs: Add received cookies to cookieContainer when
  335. getting the response, do not wait for the next request to do it.
  336. 2004-07-13 Lluis Sanchez Gual <[email protected]>
  337. * HttpWebClientProtocol.cs, Soap12FaultCodes.cs, SoapClientMessage.cs,
  338. SoapException.cs, SoapHeader.cs, SoapHeaderException.cs,
  339. SoapHttpClientProtocol.cs, SoapMessage.cs, SoapRpcMethodAttribute.cs,
  340. SoapRpcServiceAttribute.cs, SoapServerMessage.cs: Api fixage (mainly
  341. missing attributes).
  342. 2004-07-10 Lluis Sanchez Gual <[email protected]>
  343. * HttpSimpleClientProtocol.cs, HttpWebClientProtocol.cs,
  344. SoapClientMessage.cs, SoapHttpClientProtocol.cs, SoapServerMessage.cs:
  345. Added 2.0 stubs.
  346. * SoapException.cs, SoapHeader.cs, SoapHeaderException.cs, SoapMessage.cs,
  347. SoapRpcMethodAttribute.cs, SoapRpcServiceAttribute.cs: Implemented some
  348. new methods and properties.
  349. * WebClientProtocol.cs: uri field must be internal.
  350. 2004-07-05 Lluis Sanchez Gual <[email protected]>
  351. * Methods.cs: When using RPC, ignore RequestElementName and MessageName,
  352. and always uses the method name (MS.NET seems to do this).
  353. 2004-07-02 Lluis Sanchez Gual <[email protected]>
  354. * XmlReturnWriter.cs: Add XmlIncludes to the reflection importer when
  355. reflecting the return type.
  356. 2004-07-01 Lluis Sanchez Gual <[email protected]>
  357. * Methods.cs: Check for null when looking for a header serializer, since
  358. unknown headers don't have a serializer.
  359. * SoapHeader.cs: Check for empty string before setting
  360. EncodedMustUnderstand.
  361. 2004-07-01 Lluis Sanchez Gual <[email protected]>
  362. * Methods.cs, SoapMessage.cs: Added support for unknown headers.
  363. * SoapHeader.cs, SoapUnknownHeader.cs: Added new constructor that takes an
  364. XmlElement with header info.
  365. * WebServiceHelper.cs: Write the encodingStyle attribute when using the
  366. encoded format. Added support for unknown headers.
  367. 2004-06-22 Lluis Sanchez Gual <[email protected]>
  368. * XmlReturnReader.cs, XmlReturnWriter.cs: Generate the serializer with
  369. the root attribute taken from the method attributes.
  370. 2004-06-10 Lluis Sanchez Gual <[email protected]>
  371. * TypeStubManager.cs: Improved locking in GetLogicalTypeInfo().
  372. * WebServiceHandler.cs: Removed unneded methods.
  373. 2004-06-02 Lluis Sanchez Gual <[email protected]>
  374. * LogicalMethodInfo.cs: Don't crash in GetCustomAttribute if the requested
  375. attribute is not found.
  376. 2004-06-01 Gert Driesen <[email protected]>
  377. * HttpSoapWebServiceHandler.cs: Removed unused variables.
  378. * SoapHeaderAttribute.cs: Added Obsolete attribute.
  379. 2004-05-24 Lluis Sanchez Gual <[email protected]>
  380. * SoapClientMessage.cs: Get the MethodInfo from the corresponding
  381. SoapMethodStubInfo.
  382. 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
  383. * SoapHttpClientProtocol.cs: when the response has a not acceptable
  384. status code, the WebException we throw has a status of ProtocolError.
  385. Fixes bug #58564.
  386. 2004-05-12 Lluis Sanchez Gual <[email protected]>
  387. * LogicalMethodInfo.cs: Made EnableSession property internal.
  388. 2004-05-12 Lluis Sanchez Gual <[email protected]>
  389. * HttpSimpleWebServiceHandler.cs: Added GetRequestMethod(), which is used
  390. by the handler factory to check if the target method needs session or not.
  391. Also factorized error handling in WriteError().
  392. * HttpSoapWebServiceHandler.cs: Added GetRequestMethod(), for the same
  393. reason. Assign the context to the WebService just before invoking the
  394. method.
  395. * SoapHttpClientProtocol.cs: Use helper method to create the xml writer.
  396. * WebServiceHandler.cs: Added virtual GetRequestMethod().
  397. * WebServiceHandlerFactory.cs: Use an http handler wrapper when the target
  398. method requires session support.
  399. * WebServiceHelper.cs: Added some helper methods.
  400. 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
  401. * SoapDocumentationHandler.cs: added internal property to get the page
  402. handler when available.
  403. * WebServiceHandlerFactory.cs: wrap the documentation handler in a class
  404. that implements IRequiresSessionState and, if requested,
  405. IReadOnlySessionState, so that we can use Sesion object in the default
  406. WSDL help generator.
  407. 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
  408. * HttpSoapWebServiceHandler.cs: finish the request after serializing
  409. the fault message.
  410. 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
  411. * HttpGetWebServiceHandler.cs:
  412. * HttpPostWebServiceHandler.cs: removed.
  413. * HttpSimpleWebServiceHandler.cs: changed ctor parameters and added
  414. EnableSession property.
  415. * WebServiceHandler.cs: added EnableSession virtual property.
  416. * WebServiceHandlerFactory.cs: added a new handler that implements
  417. IRequiresSessionState used for HttpGet and HttpPost.
  418. (GetHandler): for HttpGet and HttpPost check if the method requires to
  419. have a Session object and use the new SimpleSyncSessionHandler in that
  420. case.
  421. Still missing proper session handler for SOAP requests.
  422. 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
  423. * HttpSimpleWebServiceHandler.cs:
  424. * HttpSoapWebServiceHandler.cs: use the session if the method has
  425. EnableSession set.
  426. * LogicalMethodInfo.cs: added EnableSession property.
  427. * WebServiceHandler.cs: set the Session object of the WebService.
  428. 2004-03-25 Lluis Sanchez Gual <[email protected]>
  429. * WebServiceHelper.cs: In GetContentEncoding, chop off the single & double
  430. quotes around the encoding name. Patch by George Kodinov. This fixes
  431. bug #55806.
  432. 2004-03-10 Lluis Sanchez Gual <[email protected]>
  433. * HttpSoapWebServiceHandler.cs: Set the properties ContentType and
  434. ContentEncoding in SoapServerMessage.
  435. * LogicalMethodInfo.cs: Implemented AsyncResultParameter, BeginInvoke and
  436. EndInvoke. Fixed ComputeParameters, so it computes the correct parameters
  437. for async logical methods.
  438. * Methods.cs: Check that client proxies have one and only one
  439. WebServiceBindingAttribute.
  440. * PatternMatcher.cs: Implemented (in fact, just moved code from
  441. TextReturnReader.cs)
  442. * SoapDocumentationHandler.cs: Add soap bindings in the generated
  443. discovery document.
  444. * SoapHttpClientProtocol.cs: Implemented method Discover().
  445. * SoapMessage.cs: Implemented property ContentEncoding.
  446. * TextReturnReader.cs: Moved code to PatternMatcher.cs.
  447. 2004-02-27 Lluis Sanchez Gual <[email protected]>
  448. * Fault.cs: Moved Fault class from Methods.cd to this file. It also includes
  449. a generated serializer.
  450. * HttpSoapWebServiceHandler.cs, WebServiceHelper.cs: Use the new static Fault serializer.
  451. * Methods.cs: Include types declared with XmlInclude and SoapInclude to the
  452. reflection importer. Moved Fault and its serializer to Fault.cs
  453. * SoapHttpClientProtocol.cs: Removed unused method.
  454. 2004-02-12 Lluis Sanchez Gual <[email protected]>
  455. * WebServiceHelper.cs: When reading a soap request, skip empty headers.
  456. This fixes bug #51846.
  457. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  458. * WebServiceHandler.cs: inheritance from WebService is not mandatory.
  459. 2004-02-05 Alon Gazit <[email protected]>
  460. * HttpMethodAttribute.cs:
  461. * MatchAttribute.cs:
  462. * SoapDocumentMethodAttribute.cs:
  463. * SoapDocumentServiceAttribute.cs:
  464. * SoapHeaderAttribute.cs:
  465. * SoapRpcMethodAttribute.cs:
  466. * SoapRpcServiceAttribute.cs: This attribute is inherited by
  467. derived classes.changed the AttributeUsage attribute.
  468. 2004-02-05 Alon Gazit <[email protected]>
  469. * SoapHeaderAttribute.cs: This attribute is multiuse.
  470. Changed the AttributeUsage attribute.
  471. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  472. * SoapDocumentMethodAttribute.cs: Fixed bug in ResponseNamespace.
  473. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  474. * HttpWebClientProtocol.cs: Added missing property.
  475. * Methods.cs: Default binding for a method must be null.
  476. * SoapHeaderDirection.cs: Added missing enum value.
  477. * SoapMessage.cs: Added missing property.
  478. * TypeStubManager.cs: Removed unneded check from AddBinding.
  479. In GetBinding(), return default binding if name is null.
  480. * ValueCollectionParameterReader.cs: IsPrimitive must be internal.
  481. 2004-01-21 Lluis Sanchez Gual <[email protected]>
  482. * HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs: Do not use
  483. indented format for requests and responses. SOAPAction header value
  484. must be quoted (fix by Yaacov Akiba Slama).
  485. 2004-01-21 Lluis Sanchez Gual <[email protected]>
  486. * Methods.cs: Set the correct namespaces for Fault. This fixes bug #53117.
  487. Based on the fix by Eran Domb.
  488. 2004-01-19 Lluis Sanchez Gual <[email protected]>
  489. * Methods.cs: Get the method namespace from the binding, not from the web
  490. service.
  491. * TypeStubManager.cs: When adding a binding, ignore it if it has already
  492. been added. Changed WebServiceLiteralNamespace by the method
  493. GetWebServiceLiteralNamespace. The literal namespace depends on the binding
  494. namespace, so it has to be provided as parameter.
  495. * XmlReturnReader.cs, XmlReturnWriter.cs: Use GetWebServiceLiteralNamespace
  496. instead of WebServiceLiteralNamespace.
  497. 2004-01-14 Lluis Sanchez Gual <[email protected]>
  498. * Methods.cs: Set the correct element name and namespace for headers (those
  499. are not managed like other data classes).
  500. 2004-01-10 Gonzalo Paniagua Javier <[email protected]>
  501. * HttpSoapWebServiceHandler.cs:
  502. * HttpSimpleWebServiceHandler.cs: set
  503. base.Context property.
  504. * WebServiceHandler.cs: added set_Context and set the context for the
  505. WebService when creating the instance.
  506. 2003-12-23 Lluis Sanchez Gual <[email protected]>
  507. * SoapDocumentationHandler.cs: Added support for DISCO file generation.
  508. 2003-12-16 Lluis Sanchez Gual <[email protected]>
  509. * HttpSimpleClientProtocol.cs: Do not encode the request url, since it is
  510. already encoded by the MimeParameterWriter.
  511. * MatchAttribute.cs: Set default value for Group to 1.
  512. * TextReturnReader.cs: Implemented. With this it is possible to create an
  513. XML web service that parse the contents of a web page.
  514. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  515. * HttpSoapWebServiceHandler.cs: Added check for valid SOAPAction header.
  516. Fixed bug when routing style is RequestElement.
  517. Removed GetMethodFromAction. This is done now in the type stub.
  518. Other minor fixes.
  519. * Methods.cs, WebServiceHelper.cs: Faults are always serialized using
  520. literal format. Removed unneded code.
  521. 2003-12-12 Lluis Sanchez Gual <[email protected]>
  522. * Methods.cs: Added special handling for RPC format.
  523. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  524. * Methods.cs: Added correct namespace for serialization in Fault class.
  525. * SoapHttpClientProtocol.cs: Changed the method used to check if the
  526. result is a fault. Now the check is done inside
  527. WebServiceHelper.ReadSoapMessage. Removed some debug writelines.
  528. * WebServiceHelper.cs: If the message body is a fault, use the fault
  529. serializer.
  530. 2003-11-24 Lluis Sanchez Gual <[email protected]>
  531. * Methods.cs, TypeStubManager.cs, SoapMessage.cs: Removed TODO comment.
  532. * SoapDocumentationHandler.cs: Check that the documentation page exist.
  533. * SoapHttpClientProtocol.cs: Removed cast from WebResponse to
  534. HttpWebResponse. This fixes bug #51281.
  535. 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
  536. * HttpSoapWebServiceHandler.cs: WebException is ok here for wrong
  537. content encoding...
  538. * SoapHttpClientProtocol.cs: ... but here, we should throw an
  539. InvalidOperationException including the full response.
  540. * WebServiceHelper.cs:
  541. (GetContentEncoding): now fills an output variable with the name of the
  542. content encoding used.
  543. (InvalidOperation): new method to build the message for
  544. InvalidOperationException.
  545. 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
  546. * SoapHttpClientProtocol.cs:
  547. * WebServiceHelper.cs: throw a WebException instead of an Exception.
  548. Fixes bug #51193.
  549. 2003-10-26 Miguel de Icaza <[email protected]>
  550. * WebServiceHelper.cs: Compute content type and encoding
  551. correctly in the absence of extra options.
  552. 2003-10-22 Lluis Sanchez Gual <[email protected]>
  553. * Methods.cs: Class Fault is now public, so it can be serialized.
  554. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  555. * TypeStubManager.cs: Added OperationName property.
  556. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  557. * HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs, HttpSimpleTypeStubInfo.cs,
  558. HttpSoapWebServiceHandler.cs, Methods.cs, SoapHttpClientProtocol.cs,
  559. TypeStubManager.cs
  560. Added class LogicalTypeInfo, which contains info common to all protocols
  561. through which a web service can be accessed. Also, modified the way
  562. Serializers are created. Instead of creating one by one, they are now
  563. created all at once. This will make serialization creation more efficient
  564. when the serializer code generator is in place.
  565. * SoapRpcMethodAttribute.cs: Set the correct default values for the
  566. properties.
  567. * WebServiceHelper.cs: Removed unused method GetServiceNamespace().
  568. * XmlReturnReader.cs, XmlReturnWriter.cs: Get the namespace for the return
  569. type from LogicalTypeInfo.
  570. 2003-10-12 Lluis Sanchez Gual <[email protected]>
  571. * SoapHttpClientProtocol.cs: Replaced AsyncInfo by a new
  572. SoapWebClientAsyncResult class derived from WebClientAsyncResult.
  573. * WebClientAsyncResult.cs: Removed unneeded members.
  574. 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
  575. * SoapDocumentationHandler.cs: don't close the response stream here
  576. to allow filtering.
  577. 2003-10-06 Lluis Sanchez Gual <[email protected]>
  578. * HtmlFormParameterWriter.cs: Fixed WriteRequest().
  579. * HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Check that
  580. HttpMethodAttribute is present in proxy's method.
  581. * HttpSimpleClientProtocol.cs: Forgot to call InitializeRequest before
  582. getting the request stream.
  583. * UrlEncodedParameterWriter.cs: in Encode(), take into account that
  584. requestEncoding can be null.
  585. 2003-10-04 Lluis Sanchez Gual <[email protected]>
  586. * SoapDocumentationHandler.cs: Moved here the code from
  587. WebServiceHandlerFactory that generates the documentation page.
  588. * WebServiceHandlerFactory.cs: Moved the code that generates the doc page
  589. to SoapDocumentationHandler.cs.
  590. * HttpGetClientProtocol.cs, HttpGetWebServiceHandler.cs,
  591. HttpPostClientProtocol.cs, HttpPostWebServiceHandler.cs,
  592. HttpSimpleWebServiceHandler.cs, HttpSoapWebServiceHandler.cs,
  593. SoapHttpClientProtocol.cs: Changed parameters of GetTypeStub call.
  594. * HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Added ProtocolName
  595. property. Added check for valid parameters.
  596. * HttpSimpleTypeStubInfo.cs: Define return MimeFormatter in constructor.
  597. * Methods.cs: BindingInfo and related properties moved to base TypeStubInfo.
  598. Added properties for XmlImporter and SoapImporter.
  599. * TypeStubManager.cs: Added BindingInfo and related properties.
  600. Changed GetTypeStub method. Now it takes the name of the protocol for
  601. which to get the type stub info.
  602. * ValueCollectionParameterReader.cs: IsSupported should only return true
  603. for input primitive parameters or array of primitives.
  604. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  605. * SoapDocumentationHandler.cs: it does not generate the documentation
  606. page any more. GetDescription and GetSchemas are now internal.
  607. * WebServiceHandlerFactory.cs: generate the documentation page without
  608. doing a Transfer () but instead creating a Page instance from the wsdl
  609. help file. This file is located from the configuration file that
  610. contains the <wsdlHelpGenerator> tag.
  611. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  612. * HtmlFormParameterReader.cs, HtmlFormParameterWriter.cs,
  613. HttpGetClientProtocol.cs, HttpPostClientProtocol.cs,
  614. HttpSimpleClientProtocol.cs, MimeFormatter.cs, MimeParameterWriter.cs,
  615. NopReturnReader.cs, UrlEncodedParameterWriter.cs, UrlParameterReader.cs,
  616. UrlParameterWriter.cs, ValueCollectionParameterReader.cs,
  617. WebClientAsyncResult.cs, XmlReturnReader.cs, XmlReturnWriter.cs
  618. : Implemented.
  619. * HttpSoapWebServiceHandler.cs, SoapClientMessage.cs, SoapServerMessage.cs,
  620. SoapDocumentationHandler.cs, SoapHttpClientProtocol.cs,
  621. WebServiceHelper.cs: Changed due to modifications in TypeStubInfo.
  622. * Methods.cs: Moved common code to TypeStubInfo.cs.
  623. * WebServiceHandler.cs: Moved invoke code to HttpSoapWebServiceHandler.cs
  624. * ServerProtocol.cs, SoapServerProtocol.cs: Fixed formatting.
  625. * WebServiceHandlerFactory.cs: Added support for HttpGet and HttpPost.
  626. 2003-09-29 Lluis Sanchez Gual <[email protected]>
  627. * Methods.cs: Little fix in binding check.
  628. * SoapExtension.cs: Implemented ChainStream. Changed some methods from
  629. public to internal.
  630. * SoapClientMessage: Implemented EnsureInStage.
  631. * SoapServerMessage: Implemented EnsureInStage, EnsureOutStage.
  632. 2003-09-28 Lluis Sanchez Gual <[email protected]>
  633. * HttpSoapWebServiceHandler.cs: In SerializeResponse method, improved
  634. management of exceptions. Also added support for BufferResponse flag.
  635. * Methods.cs: Added MethodAttribute property in MethodStubInfo. Added
  636. XmlImporter, SoapImporter and Type properties in TypeStubInfo.
  637. * SoapMessage.cs: little fix.
  638. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  639. * SoapDocumentationHandler.cs: Added support for on-the-fly proxy
  640. code generation in documentation pages.
  641. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  642. * Methods.cs: Added support for bare parameter style. Fixed some defaults.
  643. 2003-09-01 Lluis Sanchez Gual <[email protected]>
  644. * Methods.cs: In TypeStubInfo, added Documentation field.
  645. 2003-07-28 Lluis Sanchez Gual <[email protected]>
  646. * HttpSoapWebServiceHandler.cs:
  647. * Methods.cs: Added SoapBindingStyle, SoapBindingUse, InputMembersMapping
  648. and OutputMembersMapping properties in MethodStubInfo.
  649. Use default value defined in TypeStubInfo for RequestNamespace,
  650. ResponseNamespace and other properties.
  651. Added class BindingInfo to store information about class bindings.
  652. In TypeStubInfo added SoapBindingStyle, DefaultBinding, Methods and
  653. Bindings properties.
  654. * SoapRpcMethodAttribute.cs: Use WebServiceAttribute.DefaultNamespace constant
  655. instead of hardcoded namespace name.
  656. * WebServiceHandlerFactory.cs: Create new SoapDocumentationHandler for
  657. documentation requests.
  658. * SoapDocumentationHandler.cs: new handler that generates WS documentation.
  659. 2003-07-22 Lluis Sanchez Gual <[email protected]>
  660. * WebServiceHandler.cs: Fixed Invoke(). ParameterInfo.Position is now
  661. zero-based, like in MS.NET.
  662. 2003-07-16 Lluis Sanchez Gual <[email protected]>
  663. * SoapHttpClientProtocol.cs: Removed debug WriteLine.
  664. 2003-07-10 Lluis Sanchez Gual <[email protected]>
  665. * HttpSoapWebServiceHandler.cs: MS puts the soap action in quotation marks??
  666. Fix for this case.
  667. * SoapHttpClientProtocol.cs: Implemented support for asynchronous calls
  668. (BeginInvoke and EndInvoke).
  669. 2003-07-09 Lluis Sanchez Gual <[email protected]>
  670. * SoapHttpClientProtocol.cs, HttpSoapWebServiceHandler.cs, Methods.cs:
  671. Added support for soap extensions. Moved some code to
  672. WebServiceHelper. Implemented support for the two types of RoutingStyle. Added support
  673. for In and Out headers. Improved management of exceptions.
  674. * SoapClientMessage.cs: code to retrieve soap headers moved to SoapMessage.
  675. * SoapExtension.cs: Added methods for getting and creating soap extensions.
  676. * SoapMessage.cs: Added methods for getting and assigning headers to an object.
  677. * SoapServerMessage.cs: Added setter for MethodStubInfo. Other minor fixes.
  678. * WebServiceHandler.cs: Added support for In and Out headers. Fixed management of exceptions.
  679. * WebServiceHandlerFactory.cs: Check if the request protocol is supported.
  680. * WebServiceHelper.cs: Added method for reading a soap request.
  681. 2003-07-04 Lluis Sanchez Gual <[email protected]>
  682. * LogicalMethodInfo.cs: Fixed Invoke method. If return type is void,
  683. then the result object array only contain output parameters.
  684. * Methods.cs: In class MethodStubInfo, added support from some server properties
  685. taken from WebMethodAttribute. Now MethodStubInfo can be created without SoapDocument*
  686. or SoapRpc* attributes, in which case takes default values from TypeStubInfo.
  687. Added method for getting header info.
  688. In class Fault: added constructor for creating a fault from a SoapException.
  689. In class TypeStubInfo: new way to manage serializers for headers. Now it is possible to
  690. get a header using a name and namespace (used when deserializing).
  691. * SoapHttpClientProtocol.cs: moved WriteSoapEnvelope method to WebServiceHelper (so it can be shared).
  692. Also moved other serialization stuff to WebServiceHelper.
  693. * SoapMessage.cs: Added some convenient constructors and internal properties.
  694. Implemented GetOutParameterValue and GetReturnValue.
  695. * SoapServerMessage.cs: Implemented.
  696. * WebServiceHandler.cs: Implemented method Invoke.
  697. * WebServiceHandlerFactory.cs: Basic implementation.
  698. * WebServiceHelper.cs: Added. Has some methods shared between client and server classes.
  699. * HttpSoapWebServiceHandler.cs: Added. IHttpHandler implementation for HttpSoap requests.
  700. 2003-06-21 Gonzalo Paniagua Javier <[email protected]>
  701. * HttpWebClientProtocol.cs: handle cookies if the request is a
  702. HttpWebRequest. It gets the cookies set in the response and sends them
  703. on subsequent requests.
  704. * SoapHttpClientProtocol.cs:
  705. (GetWebRequest): just calls the base method.
  706. (SendRequest): set the method here.
  707. (Invoke): call GetWebResponse instead of request.GetResponse.
  708. * WebClientProtocol.cs:
  709. (GetWebRequest): set some properties of the request.
  710. (GetWebResponse): if we get a WebException containing a response, return
  711. that as the response and ignore the exception.
  712. (GetWebResponse (req, async)): only call EndGetResponse.
  713. 2003-06-14 Lluis Sanchez Gual <[email protected]>
  714. * Methods.cs: Added information about headers in MethodStubInfo. Added cache of serializers
  715. in TypeStubInfo so serializers for headers they can be shared by several methods.
  716. * SoapClientMessage.cs: Headers added in the constructor.
  717. * SoapMessage.cs: Added header list initialization.
  718. * SoapHttpClientProtocol.cs: Added support soap headers.
  719. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  720. * Methods.cs: Added serializer to MethodStubInfo for deserializing faults.
  721. * SoapHttpClientProtocol.cs: Added support for faults.
  722. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  723. * Methods.cs: removed handler for UnknownNode event
  724. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  725. * Methods.cs: added support for encoded format
  726. 2003-06-01 Miguel de Icaza <[email protected]>
  727. * Methods.cs (MethodStubInfo): If creating an RPC call, pass an
  728. optional XmlElementAttribute with the namespace set to null; Use
  729. this on each element of the request and response serializers.
  730. (MakeRequestSerializer, MakeResponseSerializer): Use the empty
  731. element for the return values.
  732. * SoapRpcMethodAttribute.cs: Drop the default name on the
  733. SoapRpcMethodAttribute, it was incorrectly given a default name.
  734. 2003-05-30 Miguel de Icaza <[email protected]>
  735. * Methods.cs (MethodStubInfo): Start support for RPC style as well
  736. as Literal style. Take an object instead of a
  737. SoapDocumentMethodAttribute, and allow the value to be also a
  738. SoapRpcMethodAttribute. Pull data from both.
  739. Kill SoapBindingUse, we only use this during validation.
  740. Turn out Google uses RPC/Literal, and its a good demo.
  741. (MakeResponseSerializer): OneWay is not the only
  742. condition to catch; Also void return types are not required to
  743. have a response.
  744. (MakeRequestSerializer): InParameters *might* be ref parameters,
  745. deal with that here too.
  746. Add some debugging code for tracking down missing implementation
  747. details in serialization creation.
  748. (MakeResponseSerializer): DUH. Use the
  749. ResponseName/ResponseNamespace for the member import, not the
  750. RequestName and RequestNamespace. The bugs of cut-and-paste.
  751. 2003-05-29 Miguel de Icaza <[email protected]>
  752. * SoapHttpClientProtocol.cs (CreateMessage): Kill. Move
  753. functionality to Invoke.
  754. (Invoke): Use new TypeStubInfo/MethodStubInfo instead.
  755. * SoapClientMessage.cs: Drop old mechanism, use MethodStubInfo instead.
  756. * Methods.cs: New file. Contains the managed for TypeStubs and
  757. MethodInfoStubs.
  758. A MethodInfoStub contains the serializers we use for the SOAP
  759. request.
  760. * SoapClientMessage.cs: Drop parameters from the clientmessage, it
  761. does not belong here. Drop oneway, we canextract that from the
  762. SoapDocumentMethodAttribute class that we pass.
  763. 2003-05-28 Miguel de Icaza <[email protected]>
  764. * LogicalMethodInfo.cs (Create): Implement begin/end method
  765. pairing.
  766. (Name): Implement.
  767. (EndMethodInfo): Always return end_method_info.
  768. 2003-04-30 Miguel de Icaza <[email protected]>
  769. * SoapHttpClientProtocol.cs: Flag the methods in the chain that
  770. gets the caller method as non-inlineable.
  771. 2003-04-29 Miguel de Icaza <[email protected]>
  772. * SoapHttpClientProtocol.cs (CreateMessage): Extract information
  773. from the method to be called.
  774. * SoapDocumentMethodAttribute.cs: Do not initialize all the fields
  775. on the attribute at bootstrap, for default values, just compute
  776. them when queried.
  777. * SoapMessage.cs (SetStage): New internal method, used to register
  778. the stage as we move along the soap pipeline.
  779. * LogicalMethodInfo.cs: Most of this is implemented. Its only
  780. missing a few bits in the Create() method.
  781. * SoapHttpClientProtocol.cs: Begin implementation of Invoke, which
  782. lead to other dependencies to be implemented.
  783. * LogicalMethodInfo.cs: Mostly complete. It is only missing the
  784. async features (BeginInvoke/EndInvoke) on a LogicalMethodInfo.
  785. * WebClientProtocol.cs (GetWebRequest): Track the web request, so
  786. we can abort it later.
  787. (Abort): Call abort on the underlying transport.
  788. 2002-08-24 Tim Coleman <[email protected]>
  789. * HttpServerProtocol.cs:
  790. * WebServiceHandler.cs:
  791. Some commented code added, from analysing
  792. an exception trace.
  793. * MimeReturnWriter.cs:
  794. * XmlReturnWriter.cs:
  795. New stubs added.
  796. 2002-08-23 Tim Coleman <[email protected]>
  797. * ServerProtocol.cs:
  798. * SoapServerProtocol.cs:
  799. More cleanup, comparison with class status.
  800. * WebServiceHandler.cs:
  801. * HttpServerProtocol.cs:
  802. New stubs added.
  803. 2002-08-15 Tim Coleman <[email protected]>
  804. * ServerProtocol.cs:
  805. * SoapServerProtocol.cs:
  806. Some more implementation.
  807. 2002-08-06 Tim Coleman <[email protected]>
  808. * ServerProtocol.cs:
  809. Add new class as implied by class statuc page.
  810. SoapServerProtocol is derived from this.
  811. * SoapServerProtocol.cs:
  812. Change base class to ServerProtocol. Add some
  813. properties shown by class status page.
  814. * SoapClientMethod.cs:
  815. This class should not be sealed. Add some
  816. fields shown by the class status page.
  817. 2002-07-25 Tim Coleman <[email protected]>
  818. * SoapClientMethod.cs:
  819. * SoapServerProtocol.cs:
  820. Add new internal classes as discovered.
  821. * SoapClientMessage.cs:
  822. * SoapMessage.cs:
  823. * SoapServerMessage.cs:
  824. * WebClientAsyncResult.cs:
  825. Add internal constructor, as found on class
  826. status page; modify some properties.
  827. 2002-07-23 Tim Coleman <[email protected]>
  828. * SoapException.cs: modified constructors to
  829. call base class correctly.
  830. * WebClientAsyncResult: some implementation
  831. 2002-07-23 Tim Coleman <[email protected]>
  832. * HttpGetClientProtocol.cs:
  833. * HttpPostClientProtocol.cs
  834. Implemented the GetWebRequest method
  835. * HttpSimpleClientProtocol:
  836. Some implementation of the EndInvoke method
  837. * HttpWebClientProtocol.cs:
  838. Set the UserAgent string appropriately
  839. Implemented the GetWebRequest method
  840. Implemented the GetWebResponse methods
  841. * SoapHttpClientProtocol.cs:
  842. Removed unused fields
  843. Implemented the GetWebRequest method
  844. * SoapMessage.cs:
  845. Implemented the EnsureStage method
  846. * WebClientProtocol.cs:
  847. Added a static constructor to construct the cache
  848. Implemented the Abort method
  849. Implemented the AddToCache, GetFromCache methods
  850. Implemented the GetWebRequest method
  851. Implemented the GetWebResponse methods
  852. 2002-07-23 Tim Coleman <[email protected]>
  853. * LogicalMethodTypes.cs:
  854. * SoapHeaderDirection.cs:
  855. * SoapMessageStage.cs:
  856. * SoapParameterStyle.cs:
  857. * SoapServiceRoutingStyle.cs:
  858. Explicitly define values in enum to match
  859. .NET.
  860. * SoapMessage.cs:
  861. Removed constructor which should not be present.
  862. * SoapException.cs:
  863. Made protected fields private as they should
  864. be.
  865. * SoapHeaderException.cs:
  866. Modifications to constructors to propertly
  867. call base class constructor
  868. 2002-07-22 Tim Coleman <[email protected]>
  869. * SoapHeaderException.cs:
  870. Fixed name error in constructor
  871. * SoapUnknownHeader.cs:
  872. Added reference to System.Xml.Serialization
  873. 2002-07-22 Tim Coleman <[email protected]>
  874. * SoapHeaderException.cs:
  875. New file added
  876. 2002-07-22 Tim Coleman <[email protected]>
  877. * AnyReturnReader.cs:
  878. * HtmlFormParameterReader.cs :
  879. * HtmlFormParameterWriter.cs :
  880. * HttpGetClientProtocol.cs :
  881. * HttpMethodAttribute.cs :
  882. * HttpPostClientProtocol.cs :
  883. * HttpSimpleClientProtocol.cs :
  884. * HttpWebClientProtocol.cs :
  885. * LogicalMethodInfo.cs :
  886. * LogicalMethodTypes.cs :
  887. * MatchAttribute.cs :
  888. * MimeFormatter.cs :
  889. * MimeParameterReader.cs :
  890. * MimeParameterWriter.cs :
  891. * MimeReturnReader.cs :
  892. * NopReturnReader.cs :
  893. * PatternMatcher.cs :
  894. * SoapClientMessage.cs :
  895. * SoapDocumentMethodAttribute.cs :
  896. * SoapDocumentServiceAttribute.cs :
  897. * SoapException.cs :
  898. * SoapExtension.cs :
  899. * SoapExtensionAttribute.cs :
  900. * SoapHeader.cs :
  901. * SoapHeaderAttribute.cs :
  902. * SoapHeaderCollection.cs :
  903. * SoapHeaderDirection.cs :
  904. * SoapHttpClientProtocol.cs :
  905. * SoapMessage.cs :
  906. * SoapMessageStage.cs :
  907. * SoapParameterStyle.cs :
  908. * SoapRpcMethodAttribute.cs :
  909. * SoapRpcServiceAttribute.cs :
  910. * SoapServerMessage.cs :
  911. * SoapServiceRoutingStyle.cs :
  912. * SoapUnknownHeader.cs :
  913. * TextReturnReader.cs :
  914. * UrlEncodedParameterWriter.cs :
  915. * UrlParameterReader.cs :
  916. * UrlParameterWriter.cs :
  917. * ValueCollectionParameterReader.cs :
  918. * WebClientAsyncResult.cs :
  919. * WebClientProtocol.cs :
  920. * WebServiceHandlerFactory.cs :
  921. * XmlReturnReader.cs :
  922. Add missing methods and attributes to make as few missing
  923. things as possible in this namespace. This is from the
  924. project status page.
  925. 2002-07-20 Tim Coleman <[email protected]>
  926. * AnyReturnReader.cs:
  927. * HtmlFormParameterReader.cs:
  928. * HtmlFormParameterWriter.cs:
  929. * HttpGetClientProtocol.cs:
  930. * HttpMethodAttribute.cs:
  931. * HttpPostClientProtocol.cs:
  932. * HttpSimpleClientProtocol.cs:
  933. * HttpWebClientProtocol.cs:
  934. * MatchAttribute.cs:
  935. * MimeFormatter.cs:
  936. * MimeParameterReader.cs:
  937. * MimeParameterWriter.cs:
  938. * MimeReturnReader.cs:
  939. * NopReturnReader.cs:
  940. * PatternMatcher.cs:
  941. * SoapClientMessage.cs:
  942. * SoapDocumentMethodAttribute.cs:
  943. * SoapDocumentServiceAttribute.cs:
  944. * SoapException.cs:
  945. * SoapExtensionAttribute.cs:
  946. * SoapExtension.cs:
  947. * SoapHeaderAttribute.cs:
  948. * SoapHeaderCollection.cs:
  949. * SoapHeader.cs:
  950. * SoapHeaderDirection.cs:
  951. * SoapHttpClientProtocol.cs:
  952. * SoapMessage.cs:
  953. * SoapMessageStage.cs:
  954. * SoapParameterStyle.cs:
  955. * SoapRpcMethodAttribute.cs:
  956. * SoapRpcServiceAttribute.cs:
  957. * SoapServerMessage.cs:
  958. * SoapServiceRoutingStyle.cs:
  959. * SoapUnknownHeader.cs:
  960. * TextReturnReader.cs:
  961. * UrlEncodedParameterWriter.cs:
  962. * UrlParameterReader.cs:
  963. * UrlParameterWriter.cs:
  964. * ValueCollectionParameterReader.cs:
  965. * WebClientAsyncResult.cs:
  966. * WebClientProtocol.cs:
  967. * WebServiceHandlerFactory.cs:
  968. * XmlReturnReader.cs:
  969. Added new stubbs and some implementation
  970. * LogicalMethodTypes.cs:
  971. Added [Serializable] attribute which was missing.
  972. 2002-07-19 Tim Coleman <[email protected]>
  973. * ChangeLog:
  974. * LogicalMethodInfo.cs:
  975. * LogicalMethodTypes.cs:
  976. Add required classes to maek System.Web.Services.Description
  977. buildable.