Commit Graph

98 Commits

Author SHA1 Message Date
jortel 7e84b95801 updated epydocs 2008-04-29 15:29:59 +00:00
jortel 704d13b9cd apply jespern patch to support cookies; rename some of the private Client methods (no reason for them to be private); change access of urlparse result.scheme with [0] to be compatible with < 2.5; rename the release 0.2 :-D 2008-04-29 14:50:10 +00:00
jortel f04e6757fa add epydoc project 2008-04-28 20:53:20 +00:00
jortel 31a6f42e4b Add epydoc documentation 2008-04-28 20:51:52 +00:00
jortel 8f1d37b275 updated README 2008-04-28 18:34:32 +00:00
jortel 9b1cd5b939 updated README 2008-04-28 18:32:49 +00:00
jortel 45e3b4a246 update README for 0.1.8 2008-04-28 17:08:50 +00:00
jortel 7c9e942064 Given the wsdl may not contain a <schema/> element, the get_schema() is changed to ensure that at least one (default) schema is contained in the returned collection 2008-04-28 16:55:35 +00:00
jortel 34f7663df1 refactor ServiceProxy into ServiceProxy, Method, Factory and Client classes; change 'http_proxy' kwarg to 'proxy' and change expected value to be a dict() with key<protocol>=proxy. 2008-04-28 15:41:27 +00:00
jortel 64e651b23b update test 2008-04-25 20:49:58 +00:00
jortel 7b2184375e remove *Experimental* notes from sudsobject.py 2008-04-25 20:48:09 +00:00
jortel 833cac5e88 replace Property object with suds Object; remote property.py and retrofit application 2008-04-25 20:46:55 +00:00
jortel e81822c524 2008-04-25 18:15:39 +00:00
jortel 5925e9cc8c experimental replacement for Property 2008-04-25 17:48:33 +00:00
jortel a02dc784d3 replace flags such as 'faults' and 'nil_supported' with a **kwargs struct that is processed by the serviceproxy and is passed to the bindings. A new flag is supported 'http_proxy' that when specified is passed to the urllib2 Request.set_proxy() 2008-04-25 17:47:48 +00:00
jortel 411e02037a fix get_enum() refactoring ... again 2008-04-23 20:06:38 +00:00
jortel a4d57b1d4d fix get_enum() refactoring 2008-04-23 20:00:20 +00:00
jortel a7a32b62ea simplify ns import: 1) update the namespaces and leave all of the prefixes alone, 2) add imported schema's children as children of the importing schema AND imported schema leaving the child's schema the original schema. This provides visibility to the imported children but preserves target namepsace scoping; Remove ns prefix from method nodes in soap message when type is not an object defined in the schema (wsdl) per soap specification. 2008-04-23 19:10:09 +00:00
jortel 7552453c83 2008-04-22 22:41:29 +00:00
jortel 47a9f4fe26 chg serviceproxy to using a binding assigned per method operation. This better matches the flexability provided by the wsdl. Move the builder and get_instance(), get_enum() implementations from binding to service proxy as they are not binding specific. The wsdl object get_binding() returns a binding based on wsdl rules and sets the encoding. 2008-04-22 22:40:34 +00:00
jortel 3b05ecda0a add logging (debug) for reply on failed 2008-04-22 18:47:50 +00:00
jortel 951c818545 remove xsi:type from method tag 2008-04-22 18:34:13 +00:00
jortel 58402e543d move to qualified references everywhere 2008-04-22 03:53:47 +00:00
jortel 95bebfc8aa factor qualified_reference() out and resolve namespace at reference points instead of having the schema resolve it. Also, change qref() to not have prefix and change schema.find() to take either a string path, or a single or list of qref *qualified references. This is used by get_ptype to that types refrenced in <part/> s can be qualified by bindings. 2008-04-21 23:42:56 +00:00
jortel 17d8b53854 remove external test for types begin either builtin and custom since XBuiltin always returned by Schema.find(). 2008-04-21 16:13:36 +00:00
jortel 0744b818aa remove unused SoapObject 2008-04-16 19:06:31 +00:00
jortel 2ad6e7071c rename schema get_type() to find() and schema property get_type() to ref() and and qref() for qualified references, try and fix some of the rpc/encoded problems -- this is still not done 2008-04-16 19:05:21 +00:00
jortel bd11a233d8 add marshaller base class and remove resolve_prefix from schema objects 2008-04-16 15:55:43 +00:00
jortel d2a22b7b3c refactoring as it makes sense after adding the rpc/encoded. THIS VERSION HAS NOT YET BEEN TESTED. 2008-04-15 18:36:04 +00:00
jortel 806c1dba18 refactor bindings to account for literal and encoded similarities 2008-04-14 22:44:29 +00:00
jortel fe07795659 refactor bindings to account for literal and encoded similarities 2008-04-14 22:42:51 +00:00
jortel f656fda01e refactor bindings to account for literal and encoded similarities 2008-04-14 22:41:08 +00:00
jortel a0d957e606 minor changes to support rpc/encoded 2008-04-14 21:51:12 +00:00
jortel 48e71959cf update README to include property lazy=True example; Authentication notes; AXIS note by andrea.spinelli@imteam.it 2008-04-10 17:55:18 +00:00
jortel 8050bbc6f0 update version on trunk/latest to 0.1.8 2008-04-09 22:16:44 +00:00
jortel 5b321fbb65 move http header creation to separate method 2008-04-09 22:15:12 +00:00
jortel d84cec2b91 conversion from httplib to urllib2, fixed formatting error in tostr() 2008-04-09 22:12:53 +00:00
jortel 54c5f6e421 removed unecessary logging statement 2008-04-09 16:20:06 +00:00
jortel ff6f1285b9 relocated 2008-04-09 16:05:42 +00:00
jortel 16366dda91 create tags directory 2008-04-09 16:03:10 +00:00
jortel db60f559a4 Detect and handle schema imports where prefix is not defined by importing schema and thus not remapped 2008-04-09 15:32:21 +00:00
jortel fb1c9144bb Update release notes for 0.1.7 release 2008-04-08 22:25:39 +00:00
jortel be7aad3faf Update release notes for 0.1.7 release 2008-04-08 22:24:03 +00:00
jortel 8ed1f76c86 go back to using yield 2008-04-08 22:00:18 +00:00
jortel 1886b2daa6 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. 2008-04-08 20:25:40 +00:00
jortel d75096c292 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. 2008-04-07 22:27:14 +00:00
jortel 49d3291450 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. 2008-04-07 21:34:01 +00:00
jortel cb35bcbe5a 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 2008-04-07 19:16:17 +00:00
jortel 580bf30f42 use schema to find xs: prefixes 2008-04-03 20:56:09 +00:00
jortel ae98de24c7 fix typo 2008-04-03 20:07:30 +00:00