ChangeLog 49 KB

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