ChangeLog 33 KB

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