ChangeLog 48 KB

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