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 suggested by andrea.spinelli@imteam.it that accounts for multiple sax handler callbacks for characters() when sax parser chunks it. Also, fixed minor property printing problem.
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:
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
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