ChangeLog 37 KB

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