ChangeLog 47 KB

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