ChangeLog 51 KB

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