ChangeLog 38 KB

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