A fork of https://github.com/Synerty/SOAPpy-py3 This is a working tree till fixes get imported upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

615 lines
21 KiB

  1. CHANGELOG
  2. ==================
  3. 0.12.1 - (unreleased)
  4. ----------------------------------------
  5. - Forked intially from https://github.com/pelletier/SOAPpy
  6. - main interresting enhancements grabbed:
  7. - from __future__ imports must occur at the beginning of the file
  8. - try install requires
  9. - Grabbed others changeset from https://bitbucket.org/cmclaughlin/soappy-0.12.0/ (fpconst)
  10. - Grabbed others changeset from https://bitbucket.org/zeus/soappy (ssl key support)
  11. - Depend directly on wstools not to bundle a duplicated version.
  12. - Grabbed from original svn:
  13. - rpm spec file
  14. - tools/
  15. - zope/
  16. - bid/
  17. - .cvsignore files
  18. - Make it proper packaged, specially toward setuptools.
  19. Release 0.12.0 of SOAPpy
  20. ------------------------
  21. This release primarily foces on bug fixes. Primary changes:
  22. - Fixes for bug reports that have accumulated over the last year
  23. [ 916265] "Arrays of unicode do not serialize correctly (patch included)"
  24. [ 918216] "Parsing faults in SOAPpy 0.11.3"
  25. [ 925077] "SOAPpy prints out SOAP fault" (even when Config.debug is off).
  26. [1001646] "SOAPpy stomps headers when sending multirefs"
  27. [1001646] "SOAPpy stomps headers when sending multirefs.
  28. [1064233] "Bug fixes for complex types"
  29. [1064248] "Bugs in _asdict() and _asarray() in Types.py"
  30. [1078051] "Arrays of complex types (doc/lit)"
  31. [1096971] "Parse error: missing HTTP header 'Content-length'"
  32. [1106450] "Floats are truncated to 10 digits, causing precision loss"
  33. [1122991] "error from SOAPpy/Client.py for content_length evaluation?"
  34. - Fixes for 'rules' which allow control of the data types of *incoming* messages.
  35. As a consequence TCtest.py now passes all tests.
  36. - WSDL support has been improving, due to work on the 'wstools'
  37. module which is shared between ZSI and SOAPpy.
  38. - Some work has been done to improve documentation.
  39. Release 0.11.6 of SOAPpy
  40. ------------------------
  41. Changes to URLs and email addresses in documentation.
  42. Release 0.11.5 of SOAPpy
  43. ------------------------
  44. - Bug fixes
  45. - Fix string format error in fault handling
  46. Release 0.11.4 of SOAPpy
  47. ------------------------
  48. - Bug fixes
  49. - SOAPpy/Server.py: Check if header information contains SOAPAction
  50. key before checking its value.
  51. - Fixes for generating SOAP from complexType arrays, contributed by
  52. antonio.beamud@linkend.com
  53. - Fixed bug that caused typedArrayTypes to lose their type
  54. information when rendered to SOAP and added corresponding
  55. test case.
  56. - New Features
  57. - Enhancements to fault handling: The faultType Faultstring is now
  58. a non-variable string (i.e. no nsmethod in it) so that it can be
  59. programmatically checked. In addition fault handlers can now be
  60. registered to handle specific types of faults.
  61. - SOAPpy/Server.py: Modified unregsiterObject function to take
  62. optional namespace/path args to be consistent with registerObject.
  63. - SOAPpy/Server.py: Added an unregisterObject function
  64. - Changes to allow SOAPBuilder so it can handle a 'raw' Python object.
  65. Release 0.11.2 of SOAPpy
  66. ------------------------
  67. - News:
  68. Ivan R. Judson has joined the SOAPpy team. He is focused on
  69. Globus support but is also responsible for a lot of other work for
  70. this release,
  71. - Bug fixes:
  72. - Code in Types.py assumes nested scopes, so I added the proper import so
  73. this will work under python 2.2.x
  74. - Fixing namespace collision
  75. - Fixed handing of named arguments bug introduced in 0.11.1.
  76. - Fix memory leak when exceptions are raised.
  77. - Fix bug when content-length is not present in parsed SOAP message.
  78. - Fix bug #888345: Python 2.3 boolean type serialized as int
  79. - Fix bug #875977: no escaping of bad tagnames for NoneTypes
  80. - New features:
  81. - Improved Globus support and documentation. Thanks Ivan!
  82. - Added context handling
  83. - Changed the use of SOAPAction, it used to default to setting it
  84. to "", now it defaults to setting it to the method (not the
  85. nsmethod). There is a clause in Server.py that catches 'old style'
  86. SOAPActions (aka "") and sets them to the method. When this is
  87. confirmed to be what everyone wants and we decide it's alright to
  88. (possibly) break client/server interop, we can take the clause out
  89. of Server.py and just handle SOAPActions of "" as a possible
  90. error/warning.
  91. - Additional test code.
  92. - Raise a SOAPException instead of returning a SOAPpy.faultType
  93. when a SOAP Fault is encountered and simplify_objects is enabled.
  94. Release 0.11.1 of SOAPpy
  95. ------------------------
  96. - Bug fixes:
  97. - Fixed bug [ 792258 ] "SOAPBuilder.SOAPBuilder.dump can catch
  98. wrong exceptions" in SOAPBuilder.dump() submitted by Greg Chapman
  99. (glchapman).
  100. - Changes suggested by Richard Au (richardau) to fix ssl support.
  101. See bug report [ 752882 ] "SSL SOAP Server no longer working."
  102. - Remove call to gentag from 'dump' and add to 'dump_float', per
  103. bug report [ 792600 ] "SOAPBuilder.SOAPBuilder.dump possibly should
  104. not call gentag" by Greg Chapman (glchapman).
  105. - Add a tests for handling of nil="true" and nil="false". This
  106. fixes bug [ pywebsvcs-Bugs-858168 ] 'xsi:nil="true" causes
  107. exception' reported by Robert Zimmermann (robertzett):
  108. - testClient1.py now works properly. It had been failing to start the
  109. server thread on the second unit test. It turned out that the
  110. variable 'quit' needed to be reset to zero after the SOAP server
  111. thread for the first unit test exited. With the solution of this
  112. problem testClient1 can now be extended to run unit tests of both
  113. client and server components.
  114. - Added 'strict' option to the WSDL class. If strict is true, a
  115. RuntimeException will be raised if an unrecogned message is recieved.
  116. If strict is false, a warning will be printed to the console, the
  117. message type will be added to the WSDL schema, and processing will
  118. continue. This is in response to the second half of bug report [
  119. 817331 ] "Some WSDL.py changes", submitted by Rudolf Ruland.
  120. Release 0.11.0 of SOAPpy
  121. ------------------------
  122. - New/Changed configuration settings:
  123. - Config.simplify_objects=1 now converts all SOAPpy objects into basic
  124. Python types (list, dictionary, tuple, double, float, etc.). By default,
  125. Config.simplify_objects=0 for backward compatibility.
  126. - Config.dict_encoding='ascii' converts the keys of dictionaries
  127. (e.g. created when Config.simplify_objects=1) to ascii == plain python
  128. strings instead of unicode strings. This variable can be set to any
  129. encoding known to string.encode().
  130. - Config.strict_range=1 forces the SOAP parsing routines to perform
  131. range checks on recieved SOAP float and double objects. When
  132. Config.strict_range=0, the default, parsing does not perform range
  133. checking (except for detecting overflows, which always occurs). In
  134. either case, range checking is performed when
  135. generating SOAP float and double objects.
  136. - Fixes for WSDLProxy.
  137. - Scripts in the test/ directory
  138. - Verbose debugging messages have been turned off..
  139. - SOAPtest.py now functions when Config.simplify_objects=1
  140. - SOAPtest.py now sets Config.strict_range=1 so that range
  141. checks are be properly tested.
  142. - New README file listing what test scripts fail and why.
  143. - Initial support for Globus via pyGlobus contributed by Ivan
  144. R. Judson <judson@mcs.anl.gov>.
  145. Release 0.10.4 of SOAPpy
  146. ------------------------
  147. Dramatic performance improvements for large data transfers.
  148. Release 0.10.1 of SOAPpy
  149. ------------------------
  150. only minor changes
  151. 1) Code now uses a single file to store version number
  152. 2) Client and server now report 'SOAPpy' as the server/user-agent.
  153. 3) All test scripts now use the local SOAPpy source instead of the
  154. globally installed version.
  155. Release 0.10.0 of SOAPpy
  156. ------------------------
  157. Enhancements:
  158. 1) The new name handling mechanism has been enabled by default.
  159. The primary purpose of this release is to allow users to test this
  160. to see if it causes problems. Please take the time to do so. If
  161. there are no problems reported by April 15, 2003, 0.9.9 will be
  162. released with this feature enabled by default.
  163. Note that running a client under an old release of SOAPpy and a
  164. server under this release will be likely to generate errors due to
  165. the different name handling mechanisms.
  166. 2) MS-Windows systems should now be fully supported.
  167. This required implementing a new module, ieee754, which provides
  168. functions for detecting and generating IEEE 754 special floating
  169. point values (+Inf, -Inf, NaN) which are not properly handled by
  170. the Windows implementation of the float() function.
  171. 3) Code reorganization: The huge file SOAPpy/SOAP.py (4,122 lines,
  172. 131K) has been split into 10 separate files. In addition code
  173. shared with ZSI has been moved into a separate subdirectory and a
  174. separate CVS module.
  175. 4) Fixed bug 678239 which caused loss of namespace information in the
  176. client.
  177. 5) Mark Bucciarelli's <mark@hubcapconsulting.com> has ported client
  178. support for WSDL from ZSI, as well as providing a mechanism for
  179. SOAPpy servers to provide WSDL on properly structured .GET
  180. requests.
  181. 6) Added ThreadingSOAPServer which inherits from ThreadingTCPServer
  182. server so that multiple clients will be automatically multiplexed.
  183. VERSION 0.10.4
  184. --------------
  185. - Integrated a simple patch submitted by Erik Westra that dramatically
  186. improves parser performance.
  187. - WSDL tools now uses m2crypto for SSL if it's installed.
  188. - Various other WSDL changes.
  189. VERSION 0.10.3
  190. --------------
  191. - Removed import of obsoleted ieee753.py. Now use the fpconst module
  192. proposed by PEP 754, available from
  193. <http://research.warnes.net/Zope/projects/fpconst/>
  194. - SOAPpy should no longer depend on pyXML.
  195. VERSION 0.10.2
  196. --------------
  197. - Fixed client support for basic authentication
  198. - Fixed import error in Client.py
  199. - Improved Client parsing of namespaces to support stateful SOAP servers.
  200. VERSION 0.10.1
  201. --------------
  202. - Modified setup.py, Server.py, and Client.py to obtain SOAPpy version
  203. number from a new file, version.py.
  204. - SOAP server/user-agent is now to 'SOAPpy' instead of 'SOAP.py'.
  205. - Added ident string containing CVS version to all files that were
  206. lacking this.
  207. VERSION 0.10.0
  208. --------------
  209. CHANGES SINCE VERSION 0.9.9-pre5
  210. - Major Change: The huge file SOAPpy/SOAP.py (4,122 lines, 131K) has
  211. been split into 10 separate files::
  212. Client.py NS.py SOAPBuilder.py Utilities.py
  213. Config.py Parser.py Server.py
  214. Errors.py SOAP.py Types.py
  215. This should ease navigation and maintenance.
  216. - A new CVS module 'wstools' was created to hold code which is used by
  217. both ZSI and SOAPpy. While this module is stored separately in CVS,
  218. it will be distributed as an integral part of both ZSI and SOAPpy,
  219. and will be included as an 'internal' module by both. In the SOAPpy
  220. source, it lives in the directory SOAPpy/wstools.
  221. - The files XMLname.py, ieee754.py, have been moved into SOAPpy/wstools.
  222. - Added TODO file
  223. - Fix bug in getNS that caused loss of namespace by using better
  224. pattern matching to find the namespace in the SOAP message. Fixes bug
  225. 678239
  226. - Added Mark Bucciarelli's <mark@hubcapconsulting.com> patch to
  227. provide wsdl code on properly structured .GET requests to the server.
  228. - Added client support for WSDL, ported from ZSI by Mark Bucciarelli
  229. <mark@hubcapconsulting.com>
  230. - Added ThreadingSOAPServer which inherits from ThreadingTCPServer
  231. server so that muliple clients will be automatically multiplexed.
  232. - Removed some files from /test for services that no longer exist.
  233. CHANGES SINCE VERSION 0.9.9-pre4
  234. --------------------------------
  235. - Added client support for WSDL, ported from ZSI by Mark Bucciarelli
  236. <mark@hubcapconsulting.com>.
  237. CHANGES SINCE VERSION 0.9.9-pre3
  238. --------------------------------
  239. - Code shared between SOAPpy and ZSI now lives in
  240. SOAPpy/SOAPpy/wstools and is stored in a separate CVS package. This
  241. will allow ZSI and SOAPpy to keep these files synchronized.
  242. CHANGES SINCE VERSION 0.9.9-pre2
  243. --------------------------------
  244. - Fixed trivial compilation bug on Win32: Only define
  245. SOAPUnixSocketServer if the Unix domain sockets are supported
  246. CHANGES SINCE VERSION 0.9.9-pre1
  247. --------------------------------
  248. - Added request for nested scopes, should now work properly in python
  249. 2.1 with named argument calls.
  250. - Fixed bug caused by omission of the ieee754 module from __init__.py.
  251. - SOAPpy now provides a SOAPUnixSocketServer class, which uses a unix
  252. domain socket instead of a network TCP/IP socket for communication. A
  253. corresponding client will be provided in the future. [This class
  254. has not yet been tested.]
  255. CHANGES SINCE VERSION 0.9.8
  256. ---------------------------
  257. - IEEE 754 floating point specials (Inf, -Inf, NaN) should now be
  258. properly and consistently handled on all platforms.
  259. Added code to explicitly check for and handle IEEE 754 floating
  260. point specials (Inf, -Inf, NaN). This replaces an ugly hack for
  261. systems whose python float() doesn't understand the strings "Inf",
  262. "NaN", etc. Floating point specials should now be properly handled
  263. on all operating systems.
  264. ***SOAPpy should now work properly on all versions of Microsoft Windows.***
  265. A new module, ieee754 contains the functions required to detect and
  266. create NaN, Inf, and -Inf values. This module should be usable in
  267. other contexts.
  268. - *** The new argument handling method (via SOAPpy.SOAP.Config.specialArgs=1)
  269. is now enabled by default.***
  270. - Changed all references to actzero.com in SOAP.py to pywebscvs.sf.net.
  271. - Fixed a bug where lists included as parameters to SOAP method calls
  272. were being incorrectly named 'Results' even when another name was
  273. given.
  274. CHANGES SINCE VERSION 0.9.7
  275. ---------------------------
  276. - Modified structure to allow installation using Python distutils
  277. (i.e. setup.py). Access to the SOAPpy library now requires:
  278. from SOAPpy import SOAP
  279. - I (Gregory R. Warnes) have implemented an experimental and
  280. non-standard method of handling named and unnamed arguments. This
  281. mechanism is enabled in SOAPpy by setting
  282. SOAPpy.SOAP.Config.specialArgs=1.
  283. When enabled, parameters with names of the form _#### (i.e.,
  284. matching the regexp "^_[0-9]+") are assumed to be unnamed parameters
  285. and are passed to the method in numeric order. All other parameters
  286. are assumed to be named and are passed using the xml tag id as the
  287. parameter name. Outgoing SOAP method calls now always generate
  288. names in this way--whether or not specialArgs is enabled--instead of
  289. using the pattern v#####.
  290. See the file README.MethodParameterNaming for more details.
  291. - Added noroot parameter to the SOAPBuilder and SOAPProxy objects
  292. in order to provide compatibility with an older version of
  293. EasySOAP (v0.2) that balked if the SOAP-ENC:root parameter was
  294. included.(Brad Knotwell)
  295. - Added support for namespace-rewriting (used by Apache v2.x SOAP server for
  296. error conditions as well as stateful communication) (Christopher Blunck)
  297. - Added string <-> str conversion for array types (Python 2.2+)
  298. (Christopher Blunck)
  299. - Added convenience method (invoke) to SOAPProxy that calls __call (not sure
  300. if it is necessary - feel free to remove if you want) (Christopher Blunck)
  301. - Python 'float' are equivalent to SOAP 'double'. Modified dump_float
  302. and dump_list to use SOAP type string 'double'
  303. appropriately. (Gregory R. Warnes)
  304. - Add basic authentication (Brad Knotwell)
  305. - Fixes to enable proper handling of SOAP faults by the client:
  306. - Fixed test of whether message content is text/xml when recieving a fault.
  307. - Added __call__ method to exception classes to match the current API.
  308. - The faultType.__repr__() method now print details if present
  309. (Gregory R. Warnes)
  310. - Added XMLnam.py which provides toXMLname() and fromXMLname() for
  311. properly encoding xml tag names per the SOAP 2.1 (draft)
  312. specification. (Gregory R. Warnes)
  313. - Added calls to toXMLname() and fromXMLname() so that tags names are
  314. properly encoded. This resolves bug [ 548785 ] 'Error passing dict
  315. keys containing space.' (Gregory R. Warnes)
  316. - Added code to cgi encode contents of tags when they are not a
  317. recognized type. Fixes bug [ 549551 ] 'Error when passing
  318. non-standard types'. (Gregory R. Warnes)
  319. - Added __init__.py, so that SOAPpy can be used like a standard python
  320. module. (Gregory R. Warnes)
  321. VERSION 0.9.7 (6/27/01)
  322. -----------------------
  323. - Fixed the unamed ordered parameters bug
  324. - Added the ability to specify a http_proxy
  325. - Added a patch provided by Tim MiddelKoop to allow printing of proxy objects
  326. - Added the contrib directory and included a medusa implementation of a
  327. SOAP.py server by Ng Pheng Siong
  328. VERSION 0.9.6 (6/08/01)
  329. -----------------------
  330. - The date and time types now check their initial values when the type
  331. is created, not when the data is marshalled.
  332. - The date and time types are now parsed and returned as tuples (for
  333. multi-element types) or scalars (for single element types) in UTC and thus
  334. can represent the entire range of SOAP dates.
  335. - If an element doesn't have a type but has a name with a namespace, the
  336. name is tried as the type.
  337. - Untyped compound types with more than one element and all the elements
  338. the same name are turned into an array when parsing.
  339. - When parsing a structType, elements with the same name are placed in a
  340. list instead of saving just the last one. _getItemsAsList can be used to
  341. get an element of a structure as a list, whether there was one or many
  342. occurances of the item.
  343. - Added schemaNamespace, schemaNamespaceURI, and namespaceStyle
  344. configuration options. namespaceStyle takes one of 1999, 2000, or 2001,
  345. and sets typesNamespace, typesNamespaceURI, schemaNamespace, and
  346. schemaNamespaceURI.
  347. - Normalized the type class names, replacing Compound with compoundType,
  348. Struct with structType, Header with headerType, Body with bodyType, Array
  349. with arrayType, TypedArray with typedArrayType, Fault with faultType, and
  350. urType with anyType.
  351. - Attributes now appear on an element itself instead of the element's
  352. parent. For elements parsed to builtin python types, the attributes are
  353. stored in a dictionary keyed by the element's python id. The dictionary
  354. is in the Context object, can be returned from parseSOAP*, and can be
  355. returned from method calls if the returnAllAttrs configuration option
  356. is set.
  357. - isinstance is used to check for a class, so classes can be subtyped.
  358. - An encoding of None can be specified to not include encoding information.
  359. - Problems with the SOAPProxy URL are now reported when the SOAPProxy
  360. instance is created instead of when the first method call is made.
  361. - The Binary, Boolean and DateTime types have been removed in favor of
  362. binaryType, booleanType, and dateTimeType.
  363. VERSION 0.9.5 (5/16/01)
  364. -----------------------
  365. - Should parse and build all 1999, 2000, 2001, and SOAP-ENC datatypes.
  366. - Initial handling of multi-dimensional, partial, and sparse arrays.
  367. - Supports SSL clients (if Python built with OpenSSL).
  368. - Supports SSL servers (if M2Crypto installed).
  369. - Applies defaults to SOAPproxy URLs (nice for command-line tools).
  370. - Added the _SOAPContext object, gives registered server functions more info
  371. about the current call.
  372. - Now assumes that any type that isn't in a schema could be a struct.
  373. - Added the Config object, now config options can be set globally or on an
  374. individual call level.
  375. - Deprecated the DateTime, Binary and Boolean types, should now
  376. use dateTimeType, binaryType and booleanType.
  377. - Includes N+I interop suite.
  378. - Various bug fixes and improvements.
  379. VERSION 0.9 (5/01/01)
  380. -----------------------
  381. - The Envelope now just contains definitions for namespaces actually used
  382. (Builder)
  383. - Namespace definitions are inherited by children but not siblings (Builder)
  384. - Further improved multi-reference parsing -- it handles circular references
  385. (Parser)
  386. - Added support for building recursive and circular types using references
  387. (Builder)
  388. - More types
  389. - Proper handling of overflow and underflow integral and floating point
  390. types (Parser)
  391. - More interop
  392. - Various bug fixes and improvements
  393. VERSION 0.8.5 (4/25/01)
  394. -----------------------
  395. - buildSOAP, SOAPProxy, SOAPServer now taking encoding argument
  396. - Much improved multi-referencing (Parser)
  397. - Added base64 and dateTime to interop suite
  398. - Various bug fixes
  399. VERSION 0.8 (4/23/01)
  400. -----------------------
  401. - Added more types
  402. - Early multi-referencing support (Parser)
  403. - Reorganized the parser, much cleaner now
  404. - Preserve whitepsace in strings (per the standard)
  405. - Full XML attribute support (Parser/Builder)
  406. - Object (de)serialization now maintains element order
  407. - Fixed the zero-length array problem
  408. - Made indentation uniform (spaces not tabs)
  409. - Made Header and Body work more like real structs
  410. - Changed the parseSOAP api, now returns the body structure,
  411. instead of a list of body elements
  412. - Changed the soapaction and namespaces for the interop server
  413. - New silabclient options
  414. - Initial encoding support
  415. VERSION 0.7 (4/19/01)
  416. -----------------------
  417. - Fixed a bug that caused nothing to work with Python 2.1
  418. - Float work arounds for WIN32 (others?)
  419. - DateTime parsing for WIN32
  420. - Beginnings of XML attribute support
  421. - Better interop
  422. VERSION 0.6 (4/18/01)
  423. -----------------------
  424. - Fixed numerous bugs (dateTime, float precision, Response Element, null
  425. strings)
  426. - Added more types
  427. - Homogeneous typed arrays
  428. - Added support for more schemas
  429. - Early Header support and mustUnderstand and actor
  430. - Added interop suite
  431. - Passes validator
  432. - Interop greatly improved, passes all client tests for Frontier,
  433. SOAP::LITE.
  434. VERSION 0.5 (4/17/01)
  435. -----------------------
  436. - Initial public release