Exemplo n.º 1
 def mkparam(self, method, pdef, object):
     # Expand list parameters into individual parameters
     # each with the type information.  This is because in document
     # arrays are simply unbounded elements.
     if isinstance(object, (list, tuple)):
         tags = []
         for item in object:
             tags.append(self.mkparam(method, pdef, item))
         return tags
         return Binding.mkparam(self, method, pdef, object)
Exemplo n.º 2
 def envelope(self, header, body):
     env = Binding.envelope(self, header, body)
     env.addPrefix(encns[0], encns[1])
     env.set('%s:encodingStyle' % envns[0], 
     return env