ChangeLog 50 KB

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