ChangeLog 31 KB

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