Commits

Show all
Author Commit Message Labels Comments Date
jortel
Update release notes for 0.1.7 release
Tags
release-0.1.7
jortel
Update release notes for 0.1.7 release
jortel
go back to using yield
jortel
Added Binding.nil_supported to controls how property values (out) = None and empty tag (in) are processed. service.binding.nil_supported = True -- means that property values = None are marshalled (out) as <x xsi:nil=true/> and <x/> is unmarshalled as '' and <x xsi:nil/> is unmarshalled as None; service.binding.nil_supported = False -- -- means that property values = None are marshalled (out) as <x/> and <x/> *and* <x xsi:nil=true/> is unmarshalled as None. The xsi:nil is really ignored. Applied fix…
jortel
replace yield stmt with building a list as yield is not backward compatible with python < 2.5, update the property Printer so that it will render a string representation with the attributes in order.
jortel
Marshaller updated to render <tag xsi:nil=true/> for properties with value=None, outbound SOAP messages are encoded as UTF-8. This is the format specified in the http header and the urllib doesn't support unicode.
jortel
Rework the unicode stuff to use suds.tostr() and have __str__() return UTF-8 encoded strings of __unicode__(). Also, change Schema to find all prefixes with URI startswith (http://www.w3.org) to determine builtin types. Fix problem of unmarshaller not round-tripping the xsi:types
jortel
use schema to find xs: prefixes
jortel
fix typo
jortel
convert port to int and remote str()
jortel
updated the unmarshaller with corrisponding text => __text__ change made in the marshaller
jortel
bindings/literal/marshaller.py replace special tag named 'text' with '__text__' per patch submitted by jespern
jortel
Add unicode support by: add __unicode__ to all classes with __str__; and replace all str() calls with unicode().
jortel
Literal method returns_collection() references parts in the output message and needed to be taken out of Literal and implemented by the derived classes (Document and RPC). To do this, SchemaCollection needed to provide the builtin() and custom() methods. To support this, findPrefixes() was added to the Element in sax.py. This is a better approach anyway since the wsdl and schemas may have may prefixes to http://www.w3.org/2001/XMLSchema. Tested with both doc/lit and rpc/lit bindings
jortel
ops, forgot to change @element to @type on the <part/>
jortel
add __init__.py
jortel
Refactored bindings packages from document & rpc to literal & encoded per Jesper Noehr (jesper@noehr.org). Hand merged rpc/literal binding patch submitted jespern.
jortel
Removed the sorting of SchemaProperty derived classes and changed __cmp__() so that the schema.children (top level nodes) will be sorted as: (Import, Element, ...). Also, added: maintaining the history of types resolved in a single call chain. The history is used to prevent cyclic resolution and ensure that elements and complex types with the same name will resolve naturally.
jortel
Contains the completion of *full* namespace support as follows: * Namespace prefixes are no longer stripped from attribute values that reference types defined in the wsdl. * Schema's imported using <import/> should properly handle namespace and prefix mapping and re-mapping as needed. * All types are resolved, using fully qualified (w/ namespaces) lookups. * Schema.get_type() supports paths with and without ns prefixes. When no prefix is specified the t…
jortel
make sax.addPrefix() non-recursive, remove repns() <not needed>, add updatePrefix() recursive
jortel
Major refactoring of the schema.py. The primary goals is perparation for type lookups that are fully qualified by namespace. Once completed, the prefixes on attribute values will not longer be stripped (purged). Change Summary: 1) SchemaProperty overlay classes created at __init__ instead of on-demand. 2) schema imports performed by new Import class instead of by Schema. 3) Schema loads top level properties using a factory. 4) All SchemaProperty /children/ lists are sorted by __cmp__ in SchemaProperty derived classes. This ensures that types with the same name are resolved in the following order (Import, Complex, Simple, Element). 5) All /children/ SchemaProperty lists are constructed at __init__ instead of on-demand. 6) The SchemaGroup created and WSDL class updated. This works bette… THIS IS AN INTERMEDIATE COMMIT AND ALTHOUGH SOME (SANITY) TESTING HAS BEEN PERFORMED IT HAS NOT BEEN FULLY REGRESSION TESTED
jortel
replace isinstance(x list) or isinstance(x, tuple) with better construct isinstance(x, (list,tuple))
jortel
refactor splitPrefix into sax function
jortel
release 0.1.6, see release notes in README.txt
jortel
updated to 0.1.5
jortel
refactored: moved binding specific items to binding packages
jortel
update get_reply() to use child names rather then index
jortel
fix schema type lookup problem caused by adding <element/> searches
jortel
Update to handle location url w/o port#, Update way Fault is extracted
jortel
Update to use suds.sax package
  1. Prev
  2. Next