ChangeLog 32 KB

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