rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
self.initdef += '\n%s self.initdef += '\n%sself.ofwhat += tuple(TCList)' \ % ID4 self.initdef += '\n%sself.lenofwhat += len(TCList)' \ % ID4 | self.postpend.set('\n%s self.postpend.write('\n%sself.ofwhat += tuple(TCList)'\ % ID4) self.postpend.write('\n%sself.lenofwhat += len(TCList)' % ID4) | self.initdef += '\n%s# extending....' % ID4 | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.initdef += '\n%s self.initdef += '\n%sself.ofwhat = tuple(TCList)' \ % ID4 self.initdef += '\n%sself.lenofwhat = len(TCList)' \ % ID4 | self.postpend.set('\n%s self.postpend.write('\n%sself.ofwhat = tuple(TCList)' \ % ID4) self.postpend.write('\n%sself.lenofwhat = len(TCList)'\ % ID4) | self.initdef += '\n%s# restricting....' % ID4 | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.classdef = '\n\n%sclass %s:' % (ID1, tp.getName() \ + '_Dec') self.initdef = '\n%s self.initdef += '\n%s self.initdef += '\n%spass\n' % ID2 | self.classdef.set('\n\n%sclass %s:' \ % (ID1, tp.getName() + '_Dec')) self.classvar.set('\n%s self.classvar.write('\n%s self.classvar.write('\n%spass\n' % ID2) | self.classdef = '\n\n%sclass %s:' % (ID1, tp.getName() \ + '_Dec') | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.classdef = '\n\n%sclass %s(%s):' % (ID1, tp.getName() \ + '_Def', tc) self.initdef = "\n%sdef __init__(self, name = None, ns = None, **kw):" % ID2 | self.classdef.set('\n\n%sclass %s(%s):' \ % (ID1, tp.getName() + '_Def', tc)) self.initdef.set("\n%sdef __init__(self, name = None, ns = None, **kw):" % ID2) | self.classdef = '\n\n%sclass %s(%s):' % (ID1, tp.getName() \ + '_Def', tc) | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.initdef +=\ "\n%s%s.__init__(self, '%s', %s%s(name='element'), pname=name, aname='_%%s' %% name, oname='%%s xmlns=\"%s\"' %% name, **kw)" \ % (ID3, tc, arrayinfo[0], nsp, atype, tp.getTargetNamespace()) | self.basector.set("\n%s%s.__init__(self, '%s', %s%s(name='element'), pname=name, aname='_%%s' %% name, oname='%%s xmlns=\"%s\"' %% name, **kw)" \ % (ID3, tc, arrayinfo[0], nsp, atype, tp.getTargetNamespace())) | self.initdef +=\ "\n%s%s.__init__(self, '%s', %s%s(name='element'), pname=name, aname='_%%s' %% name, oname='%%s xmlns=\"%s\"' %% name, **kw)" \ % (ID3, tc, arrayinfo[0], nsp, atype, tp.getTargetNamespace()) | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
def _complexTypeSimpleContent(self, tp): # XXX: this needs work (in progress) dt = tp.getDerivedTypes() | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py | ||
self.classdef = '\n\n%sclass %s(%s):' % (ID1, tp.getName() \ + '_Def', dt.getTypeclass()) self.classdef += '\n%s self.classdef += '\n%stag = "%s"' % (ID2, tp.getName()) self.classdef += '\n%sliteral = "%s"' %(ID2, tp.getName()) self.classdef += '\n%sschema = "%s"' % (ID2, tp.getTargetNamespace()) self.initdef ... | self.classdef.set('\n\n%sclass %s(%s):' \ % (ID1, tp.getName() + '_Def', dt.getTypeclass())) self.classvar.set('\n%s self.classvar.write('\n%stag = "%s"' % (ID2, tp.getName())) self.classvar.write('\n%sliteral = "%s"' %(ID2, tp.getName())) self.classvar.write('\n%sschema = "%s"' % \ (ID2, tp.getTargetNamespace())) sel... | self.classdef = '\n\n%sclass %s(%s):' % (ID1, tp.getName() \ + '_Def', dt.getTypeclass()) | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.classdef = '\n\n%sclass %s(ZSI.TCcompound.Struct):'\ %(ID1, tp.getName() + '_Def') | self.classdef.set('\n\n%sclass %s(ZSI.TCcompound.Struct):'\ %(ID1, tp.getName() + '_Def')) | self.classdef = '\n\n%sclass %s(ZSI.TCcompound.Struct):'\ %(ID1, tp.getName() + '_Def') | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
if e.getName(): self.initdef += '\n%sself._%s = None' % (ID3, e.getName()) | if e.getName(): self.initcode.write('\n%sself._%s = None' \ % (ID3, e.getName())) | self.classdef = '\n\n%sclass %s(ZSI.TCcompound.Struct):'\ %(ID1, tp.getName() + '_Def') | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.initdef += '\n%sself._%s = None' % (ID3, etp.getName()) | self.initcode.write('\n%sself._%s = None' \ % (ID3, etp.getName())) | self.initdef += '\n%sself._%s = None' % (ID3, etp.getName()) | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.initdef += '\n%sself._%s = None' % (ID2, e.getName()) | self.initcode.write('\n%sself._%s = None' \ % (ID2, e.getName())) | self.initdef += '\n%sself._%s = None' % (ID2, e.getName()) | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.initdef += '\n%sself._%s = None' % (ID2, e.getName()) | self.initcode.write('\n%sself._%s = None' % \ (ID2, e.getName())) | self.initdef += '\n%sself._%s = None' % (ID2, e.getName()) | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self.initdef += '\n\n%sif name:' % ID3 self.initdef += '\n%sTClist = %s' % (ID4, typecodelist) self.initdef += '\n%soname = name' % ID4 self.initdef += '\n%sif ns:' % ID4 self.initdef += "\n%soname += ' xmlns=\"%%s\"' %% ns" % ID5 self.initdef += '\n%selse:' % ID4 self.initdef += "\n%soname += ' xmlns=\"%%s\"' %% self.... | self.initcode.write('\n\n%sif name:' % ID3) self.initcode.write('\n%sTClist = %s' % (ID4, typecodelist)) self.initcode.write('\n%soname = name' % ID4) self.initcode.write('\n%sif ns:' % ID4) self.initcode.write("\n%soname += ' xmlns=\"%%s\"' %% ns" % ID5) self.initcode.write('\n%selse:' % ID4) self.initcode.write("\n%s... | self.initdef += '\n\n%sif name:' % ID3 | e2d87b566667969a1290b56d51a1ba4563446870 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e2d87b566667969a1290b56d51a1ba4563446870/wsdl2python.py |
self._data = '' | self._data = [] | def startElementNS(self, name, qname, attrs): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': name = (None, name[1][1:]) else: name = tuple(name) | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
if self._data != None and self._data.strip() != '': | if self._data != None and string.join(self._data, "").strip() != '': | def endElementNS(self, name, qname): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': ns, name = None, name[1][1:] else: ns, name = tuple(name) | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
(self._data != None and self._data.strip() != ''): | (self._data != None and string.join(self._data, "").strip() != ''): | def endElementNS(self, name, qname): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': ns, name = None, name[1][1:] else: ns, name = tuple(name) | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
data = rule(self._data) | data = rule(string.join(self._data, "")) | def endElementNS(self, name, qname): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': ns, name = None, name[1][1:] else: ns, name = tuple(name) | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
data = self.convertType(self._data, rule, attrs) | data = self.convertType(string.join(self._data, ""), rule, attrs) | def endElementNS(self, name, qname): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': ns, name = None, name[1][1:] else: ns, name = tuple(name) | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
(self._data == None or self._data.strip() == ''): | (self._data == None or string.join(self._data, "").strip() == ''): | def endElementNS(self, name, qname): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': ns, name = None, name[1][1:] else: ns, name = tuple(name) | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
data = self.convertType(self._data, kind, attrs) | data = self.convertType(string.join(self._data, ""), kind, attrs) | def endElementNS(self, name, qname): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': ns, name = None, name[1][1:] else: ns, name = tuple(name) | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
data = self._data or '' | if self._data == None: data = '' else: data = string.join(self._data, "") | def endElementNS(self, name, qname): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': ns, name = None, name[1][1:] else: ns, name = tuple(name) | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
self._data += c | self._data.append(c) | def characters(self, c): if self._data != None: self._data += c | b67f83b39249c3126714ba3c21a7ecb429064547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b67f83b39249c3126714ba3c21a7ecb429064547/Parser.py |
if not isinstace(service, ServiceSOAPBinding): | if not isinstance(service, ServiceSOAPBinding): | def setNode(self, service, url): if not isinstace(service, ServiceSOAPBinding): raise TypeError, 'A Service must implement class ServiceSOAPBinding' scheme,netloc,path,query,fragment = urlparse.urlsplit(url) self.__post_dict[path] = service node = self.__dict dir = path.split('/') for i in dir[:-1]: if not i: continue ... | 75686a5bf49baa77829cccfc1e186835f987f467 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/75686a5bf49baa77829cccfc1e186835f987f467/ServiceContainer.py |
null = int(null) | if type(null) in (StringType, UnicodeType): null = (null.lower() == 'true') else: null = int(null) | def endElementNS(self, name, qname): # Workaround two sax bugs if name[0] == None and name[1][0] == ' ': ns, name = None, name[1][1:] else: ns, name = tuple(name) | e4770588e66596683047871c3d85fb607bac874d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/e4770588e66596683047871c3d85fb607bac874d/Parser.py |
self.__ma = ma self.__config = config | self.__ma = ma self.__config = config self.__action = 0 | def __init__(self, call, name, ns = None, sa = None, hd = None, ma = None, config = Config): | 2d5f9b5e7c3cc0e7d9d515724f884bae5444f192 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/2d5f9b5e7c3cc0e7d9d515724f884bae5444f192/SOAP.py |
self.__call__ = self.__repr__ | self.__action = 1 | def __init__(self, call, name, ns = None, sa = None, hd = None, ma = None, config = Config): | 2d5f9b5e7c3cc0e7d9d515724f884bae5444f192 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/2d5f9b5e7c3cc0e7d9d515724f884bae5444f192/SOAP.py |
self.__call__ = self.__f_call | self.__action = 2 | def __init__(self, call, name, ns = None, sa = None, hd = None, ma = None, config = Config): | 2d5f9b5e7c3cc0e7d9d515724f884bae5444f192 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/2d5f9b5e7c3cc0e7d9d515724f884bae5444f192/SOAP.py |
self.__call__ = self.__r_call | self._action = 3 def __call__(self, *args, **kw): if self.__action == 1: return self.__repr__() elif self.__action == 2: return self.__f_call(*args, **kw) else: return self.__r_call(*args, **kw) | def __init__(self, call, name, ns = None, sa = None, hd = None, ma = None, config = Config): | 2d5f9b5e7c3cc0e7d9d515724f884bae5444f192 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/2d5f9b5e7c3cc0e7d9d515724f884bae5444f192/SOAP.py |
obj._ns = NS.URN | if not getattr(obj,"_ns",None): obj._ns = NS.URN | def dump_list(self, obj, tag, typed = 1, ns_map = {}): if Config.debug: print "In dump_list.", "obj=", obj tag = tag or self.gentag() tag = toXMLname(tag) # convert from SOAP 1.2 XML name encoding | df261f5cfa45373f3a2cfa3fbfb75e02788bbf5a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/df261f5cfa45373f3a2cfa3fbfb75e02788bbf5a/SOAPBuilder.py |
pyobj.Actor = GTD('urn:test', 'TopActor')(None).pyclass() | pyobj.Actor = [GTD('urn:test', 'TopActor')(None).pyclass()] | def test_local_type_substitution_test2(self): """test extension of extension""" | 057b996d78d96f83339e6148a343080e809d7eaf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/057b996d78d96f83339e6148a343080e809d7eaf/test_DerivedTypes.py |
if not issubclass(subclass, pyclass): | if not issubclass(subclass, pyclass) and subclass(None) and not issubclass(subclass, pyclass): | def getSubstituteType(self, elt, ps): '''if xsi:type does not match the instance type attr, check to see if it is a derived type substitution. DONT Return the element's type. Parameters: elt -- the DOM element being parsed ps -- the ParsedSoap object. ''' pyclass = SchemaInstanceType.getTypeDefinition(*self.type) if ... | 02ebfafe9ac9e749d96754da2e8b258cc4ae6d9c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/02ebfafe9ac9e749d96754da2e8b258cc4ae6d9c/TC.py |
SendFault(FaultFromZSIException(e)) | SendFault(FaultFromZSIException(e), **kw) | def _Dispatch(ps, modules, SendResponse, SendFault, docstyle=0, nsdict={}, typesmodule=None, rpc=None, **kw): '''Find a handler for the SOAP request in ps; search modules. Call SendResponse or SendFault to send the reply back, appropriately. ''' global _client_binding try: what = ps.body_root.localName # See what modu... | 40bcccf9009cc5a60459459cd4b84029841b0bb9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/40bcccf9009cc5a60459459cd4b84029841b0bb9/dispatch.py |
SendResponse(reply.getvalue()) return | return SendResponse(reply.getvalue(), **kw) | def _Dispatch(ps, modules, SendResponse, SendFault, docstyle=0, nsdict={}, typesmodule=None, rpc=None, **kw): '''Find a handler for the SOAP request in ps; search modules. Call SendResponse or SendFault to send the reply back, appropriately. ''' global _client_binding try: what = ps.body_root.localName # See what modu... | 40bcccf9009cc5a60459459cd4b84029841b0bb9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/40bcccf9009cc5a60459459cd4b84029841b0bb9/dispatch.py |
SendFault(FaultFromException(e, 0, sys.exc_info()[2])) | return SendFault(FaultFromException(e, 0, sys.exc_info()[2]), **kw) | def _Dispatch(ps, modules, SendResponse, SendFault, docstyle=0, nsdict={}, typesmodule=None, rpc=None, **kw): '''Find a handler for the SOAP request in ps; search modules. Call SendResponse or SendFault to send the reply back, appropriately. ''' global _client_binding try: what = ps.body_root.localName # See what modu... | 40bcccf9009cc5a60459459cd4b84029841b0bb9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/40bcccf9009cc5a60459459cd4b84029841b0bb9/dispatch.py |
def _CGISendXML(text, code=200): | def _ModPythonSendXML(text, code=200, **kw): req = kw['request'] req.content_type = 'text/xml' req.content_length = len(text) req.send_http_header() req.write(text) def _ModPythonSendFault(f, **kw): _ModPythonSendXML(f.AsSOAP(), 500, **kw) def _CGISendXML(text, code=200, **kw): | def _CGISendXML(text, code=200): print 'Status: %d' % code print 'Content-Type: text/xml; charset="utf-8"' print 'Content-Length: %d' % len(text) print '' print text | 40bcccf9009cc5a60459459cd4b84029841b0bb9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/40bcccf9009cc5a60459459cd4b84029841b0bb9/dispatch.py |
def _CGISendFault(f): _CGISendXML(f.AsSOAP(), 500) | def _CGISendFault(f, **kw): _CGISendXML(f.AsSOAP(), 500, **kw) | def _CGISendFault(f): _CGISendXML(f.AsSOAP(), 500) | 40bcccf9009cc5a60459459cd4b84029841b0bb9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/40bcccf9009cc5a60459459cd4b84029841b0bb9/dispatch.py |
self.write_dependent_schema(self._wa.getSchemaDict().get(ns), fd) | self.write_dependent_schema(self._wa.\ getSchemaDict().get(ns), fd) | def write_dependent_schema(self, schema, fd): """Write schema instance contents w/respect to dependency requirements. First write any schema that is imported directly into current schema, then check current schema's xmlns and see if any of these represent currently held schema instances. | a2422a4ff104ae248ad594b02d159d0d4a1b9d0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/a2422a4ff104ae248ad594b02d159d0d4a1b9d0e/wsdl2python.py |
self.typecode += '\n%sdef __init__(self, name=None, ns=None):'\ %(ID1) | a2422a4ff104ae248ad594b02d159d0d4a1b9d0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/a2422a4ff104ae248ad594b02d159d0d4a1b9d0e/wsdl2python.py | ||
qualifiedtc[0] = self.nsh.getAlias(namespace) + \ | qualifiedtc[0] = self.nsh.getAlias(tns) + \ | self.typecode += '\n%sdef __init__(self, name=None, ns=None):'\ %(ID1) | a2422a4ff104ae248ad594b02d159d0d4a1b9d0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/a2422a4ff104ae248ad594b02d159d0d4a1b9d0e/wsdl2python.py |
self.nsh.getAlias(namespace), | self.nsh.getAlias(tns), | self.typecode += '\n%sdef __init__(self, name=None, ns=None):'\ %(ID1) | a2422a4ff104ae248ad594b02d159d0d4a1b9d0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/a2422a4ff104ae248ad594b02d159d0d4a1b9d0e/wsdl2python.py |
for l in class_dict.values(): | for l in class_dict.values(): | def getClassDefs(self, class_list, class_dict): check_list = [] for indx in range(len(class_list)): if class_dict.has_key(class_list[indx]): for tw in class_dict[class_list[indx]]: self.body += tw.classdef self.body += tw.initdef check_list.append(tw.name) else: del class_dict[class_list[indx]] if check_list: self.getC... | a2422a4ff104ae248ad594b02d159d0d4a1b9d0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/a2422a4ff104ae248ad594b02d159d0d4a1b9d0e/wsdl2python.py |
def _fromElement(self, tp): | a2422a4ff104ae248ad594b02d159d0d4a1b9d0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/a2422a4ff104ae248ad594b02d159d0d4a1b9d0e/wsdl2python.py | ||
def _fromElement(self, tp): | a2422a4ff104ae248ad594b02d159d0d4a1b9d0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/a2422a4ff104ae248ad594b02d159d0d4a1b9d0e/wsdl2python.py | ||
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
def __init__(self): XMLSchemaComponent.__init__(self) | def __init__(self, parent): XMLSchemaComponent.__init__(self, parent) | def __init__(self): XMLSchemaComponent.__init__(self) self.content = None | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(node): self.setAttributes(node) contents = self.getContents(node) fields = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.selector = self.Selector() | self.selector = self.Selector(self) | def fromDom(node): self.setAttributes(node) contents = self.getContents(node) fields = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
fields.append(self.Field()) | fields.append(self.Field(self)) | def fromDom(node): self.setAttributes(node) contents = self.getContents(node) fields = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
def __init__(self): XMLSchemaComponent.__init__(self) | def __init__(self, parent): XMLSchemaComponent.__init__(self, parent) | def __init__(self): XMLSchemaComponent.__init__(self) self.annotation = None | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
content.append(ElementReference()) | content.append(ElementReference(self)) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
content.append(LocalElementDeclaration()) | content.append(LocalElementDeclaration(self)) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
content.append(ElementReference()) | content.append(ElementReference(self)) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
content.append(LocalElementDeclaration()) | content.append(LocalElementDeclaration(self)) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
content.append(ModelGroupReference()) | content.append(ModelGroupReference(self)) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
content.append(Choice()) | content.append(Choice(self)) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
content.append(Sequence()) | content.append(Sequence(self)) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
content.append(ElementWildCard()) | content.append(ElementWildCard(self)) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.content = All() | self.content = All(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.content = Choice() | self.content = Choice(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.content = Sequence() | self.content = Sequence(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
raise SchemaError, 'Unknown component (%s)' %(contents[indx].getTagName()) self.content.fromDom(contents[indx]) | self.content = None | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.annotation = Annotation() | self.annotation = Annotation(self) | def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) self.content = [] self.attr_content = [] | 0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py |
self.write_service_types(f_types, fd) | self.write_service_types(f_types, typesFd) | def write(self): """Write schema instance contents w/respect to dependency requirements, and create client interface. Not guaranteed to work for mutual depenedencies. """ | 7764e8e374df710c9163643c44cee3e6300e6f05 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/7764e8e374df710c9163643c44cee3e6300e6f05/wsdl2python.py |
print p | if Config.debug: print p | def __call(self, name, args, kw, ns = None, sa = None, hd = None, ma = None): | 0accda952f37aa561ffa057673622333f8b4fbb1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0accda952f37aa561ffa057673622333f8b4fbb1/Client.py |
tstr = ' xsi:type="xsd:%s"' % self.tag | if self.tag and self.tag.find(':') != -1: tstr = ' xsi:type="%s"' % self.tag else: tstr = ' xsi:type="xsd:%s"' % self.tag | def serialize(self, sw, pyobj, name=None, attrtext='', **kw): if type(pyobj) in _floattypes or type(pyobj) in _inttypes: pyobj = time.gmtime(pyobj) n = name or self.oname or ('E%x' % id(pyobj)) d = {} pyobj = tuple(pyobj) if 1 in map(lambda x: x < 0, pyobj[0:6]): pyobj = map(abs, pyobj) d['neg'] = '-' else: d['neg'] = ... | a6e99fc2c28b7fb919231006f449160515a66380 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/a6e99fc2c28b7fb919231006f449160515a66380/TCtimes.py |
'%s%s = {}'%(ID3, self.attribute_typecode), '%s%s.%s.__init__(self, pname, **kw)' \ % (ID3, NAD.getAlias(self.sKlassNS), type_class_name(self.sKlass) ), | '%sif not hasattr(self, %s): self.%s = {}'%( ID3, self.attribute_typecode, self.attribute_typecode), | def _setContent(self): # TODO: Add derivation logic to constructors. if type(self.sKlass) in (types.ClassType, type): definition = [ '%sclass %s(%s, TypeDefinition):' \ % (ID1, self.getClassName(), self.sKlass), '%s# ComplexType/SimpleContent derivation of built-in type' %ID2, '%s%s' % (ID2, self.schemaTag()), '%s%s' %... | 7bef0891ccebc2776d178f7116e3599557ab7103 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/7bef0891ccebc2776d178f7116e3599557ab7103/containers.py |
print >>sw, '<%s%s%s>%s</%s>' % (n, attrtext, tstr, val, n) | i = n.find('xmlns') if i > 0: ctag = '</%s>' % n[:i - 1] else: ctag = '</%s>' % n print >>sw, '<%s%s%s>%s%s' % (n, attrtext, tstr, val, ctag) | def serialize(self, sw, pyobj, name=None, attrtext='', **kw): if type(pyobj) in _floattypes or type(pyobj) in _inttypes: pyobj = time.gmtime(pyobj) n = name or self.oname or ('E%x' % id(pyobj)) d = {} pyobj = tuple(pyobj) if 1 in map(lambda x: x < 0, pyobj[0:6]): pyobj = map(abs, pyobj) d['neg'] = '-' else: d['neg'] = ... | b5a995f7338a91abb1cfe9c35b6926a2d07d7d9d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b5a995f7338a91abb1cfe9c35b6926a2d07d7d9d/TCtimes.py |
targetNamespace = operation.getPortType().getWSDL().targetNamespace ptName = operation.getPortType().name msgName = operation.getInputMessage().name | portType = operation.getPortType() targetNamespace = portType.getWSDL().targetNamespace ptName = portType.name msgName = operation.input.name if not msgName: msgName = operation.name + 'Request' | def GetWSAActionInput(operation): """Find wsa:Action attribute, and return value or the default.""" attr = operation.input.action if attr is not None: return attr targetNamespace = operation.getPortType().getWSDL().targetNamespace ptName = operation.getPortType().name msgName = operation.getInputMessage().name if targe... | 827a5ac29774127ed3d11115f1c6fc64fe75a3a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/827a5ac29774127ed3d11115f1c6fc64fe75a3a9/WSDLTools.py |
return attr.value | return attr | def GetWSAActionOutput(operation): """Find wsa:Action attribute, and return value or the default.""" attr = operation.output.action if attr is not None: return attr.value targetNamespace = operation.getPortType().getWSDL().targetNamespace ptName = operation.getPortType().name msgName = operation.getOutputMessage().name... | 827a5ac29774127ed3d11115f1c6fc64fe75a3a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/827a5ac29774127ed3d11115f1c6fc64fe75a3a9/WSDLTools.py |
msgName = operation.getOutputMessage().name | msgName = operation.output.name if not msgName: msgName = operation.name + 'Response' | def GetWSAActionOutput(operation): """Find wsa:Action attribute, and return value or the default.""" attr = operation.output.action if attr is not None: return attr.value targetNamespace = operation.getPortType().getWSDL().targetNamespace ptName = operation.getPortType().name msgName = operation.getOutputMessage().name... | 827a5ac29774127ed3d11115f1c6fc64fe75a3a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/827a5ac29774127ed3d11115f1c6fc64fe75a3a9/WSDLTools.py |
if item: | if item is not None: | def _aslist(self, item=None): if item: return self.__dict__[self._keyord[item]] else: return map( lambda x: self.__dict__[x], self._keyord) | 47c5b9d5f405ed97cc4aca66c83f73269a0da2f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/47c5b9d5f405ed97cc4aca66c83f73269a0da2f1/Types.py |
if item: | if item is not None: | def _asdict(self, item=None, encoding=Config.dict_encoding): if item: if type(item) in (UnicodeType,StringType): item = item.encode(encoding) return self.__dict__[item] else: retval = {} def fun(x): retval[x.encode(encoding)] = self.__dict__[x] | 47c5b9d5f405ed97cc4aca66c83f73269a0da2f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/47c5b9d5f405ed97cc4aca66c83f73269a0da2f1/Types.py |
if item: | if item is not None: | def _aslist(self, item=None): if item: return self.data[int(item)] else: return self.data | 47c5b9d5f405ed97cc4aca66c83f73269a0da2f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/47c5b9d5f405ed97cc4aca66c83f73269a0da2f1/Types.py |
if item: | if item is not None: | def _asdict(self, item=None, encoding=Config.dict_encoding): if item: if type(item) in (UnicodeType,StringType): item = item.encode(encoding) return self.data[int(item)] else: retval = {} def fun(x): retval[str(x).encode(encoding)] = self.data[x] map( fun, range(len(self.data)) ) return retval | 47c5b9d5f405ed97cc4aca66c83f73269a0da2f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/47c5b9d5f405ed97cc4aca66c83f73269a0da2f1/Types.py |
if attr is not None: | if value is not None: | def load(self, document): if document.nodeType == document.DOCUMENT_NODE: schema = DOM.getElement(document, 'schema', None, None) else: schema = document if schema is None: raise SchemaError('Missing <schema> element.') | 7169769c9bcd4892203561b0d5a43918bea67131 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/7169769c9bcd4892203561b0d5a43918bea67131/XMLSchema.py |
def __str__(self): return "%(proto)s://%(host)s%(path)s" % self.__dict__ | 2cecb5c02f0d2e6984cf78e4f82efc2f0557da1d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/2cecb5c02f0d2e6984cf78e4f82efc2f0557da1d/Client.py | ||
start = data.find(original_namespace) stop = data.find('"', start) or data.find('\'', start) return data[start:stop] | pattern="xmlns:\w+=['\"](" + original_namespace + ")['\"]" match = re.search(pattern, data) if match: return match.group(1) else: return original_namespace | def getNS(self, original_namespace, data): # only try this if original_namespace is a string! if type(original_namespace) == StringType: start = data.find(original_namespace) stop = data.find('"', start) or data.find('\'', start) return data[start:stop] else: return original_namespace | 2cecb5c02f0d2e6984cf78e4f82efc2f0557da1d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/2cecb5c02f0d2e6984cf78e4f82efc2f0557da1d/Client.py |
request, response = self._getTypeCodes() binding.Send(url=uri, opname=None, obj=args or kwargs, | request, response = self._getTypeCodes(callinfo) if len(kwargs): args = kwargs binding.Send(url=uri, opname=None, obj=args, | def _call(self, name, *args, **kwargs): """Call the named remote web service method.""" if len(args) and len(kwargs): raise TypeError( 'Use positional or keyword argument only.' ) | 137979fe8efcb7320f1e57f92ccc0c7b297421da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/137979fe8efcb7320f1e57f92ccc0c7b297421da/ServiceProxy.py |
def _getTypeCodes(self): requestTC = replyTC = None operation = self._port.getBinding().getPortType().operations[callinfo.methodName] NS_WSDL = DOM.GetWSDLUri(self._wsdl.version) definition = DOM.getElement(node=self._wsdl.document, name='definitions', nsuri=NS_WSDL) for node in DOM.getElements(node=definition, name... | def _getTypeCodes(self, callinfo): requestTC = self._getTypeCode(parameters=callinfo.getInParameters()) replyTC = self._getTypeCode(parameters=callinfo.getOutParameters()) | def _getTypeCodes(self): #XXX This sucks but we need to dereference the prefix, so # we need to track down the representative DOM nodes requestTC = replyTC = None operation = self._port.getBinding().getPortType().operations[callinfo.methodName] | 137979fe8efcb7320f1e57f92ccc0c7b297421da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/137979fe8efcb7320f1e57f92ccc0c7b297421da/ServiceProxy.py |
def _getTypeCode(self, node, parameters): | def _getTypeCode(self, parameters): | def _getTypeCode(self, node, parameters): bti = BaseTypeInterpreter() typeCode = [] for part in parameters: namespaceURI,localName = part.type | 137979fe8efcb7320f1e57f92ccc0c7b297421da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/137979fe8efcb7320f1e57f92ccc0c7b297421da/ServiceProxy.py |
port = portAdapter._port | def checkPort(self, portAdapter, operationName): """Check if test is in correctly indexed in the configuration file, port operation must conform to the bindings. | 151481811ae7b8470e67cdf78b0bc9aef9344afd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/151481811ae7b8470e67cdf78b0bc9aef9344afd/ServiceTest.py | |
self._section = __name__ | self._section = section | def setSection(self, section): self._section = __name__ | 151481811ae7b8470e67cdf78b0bc9aef9344afd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/151481811ae7b8470e67cdf78b0bc9aef9344afd/ServiceTest.py |
def print_debug(msg, level=1, *l, **kw): if DEBUG >= level: for i in l: msg += '\n*\t' + str(i) for k,v in kw.items(): msg += '\n**\t%s: %s' %(k,v) print 'TYPECODES(%d): %s' %(level,msg) | 7ae749aec377436c7aa1ded116df88a42ee5f925 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/7ae749aec377436c7aa1ded116df88a42ee5f925/typeinterpreter.py | ||
d = "\n%sdef __init__(self, post='%s', **kw):" % (ID1, uri) | c5b025a6de5ca6f70e72f8cc98b24ccd1a4f3b49 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/c5b025a6de5ca6f70e72f8cc98b24ccd1a4f3b49/wsdl2dispatch.py | ||
iw = op.getInput().getMessage().getName() + 'Wrapper' o += '\n%sargs = ps.Parse( %s )' % ( ID2, iw) | o += '\n%sargs = ps.Parse( %s )' % ( ID2, op.getInput().getMessage().getName() + 'Wrapper') | o = '\n%sdef %s(self, ps):' % (ID1, self.getMethodName(op.getName())) | c5b025a6de5ca6f70e72f8cc98b24ccd1a4f3b49 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/c5b025a6de5ca6f70e72f8cc98b24ccd1a4f3b49/wsdl2dispatch.py |
o += '\n%s%s = %s.%s' % (ID2, a.getName(), iw, a.getName()) | o += '\n%s%s = args.%s' % (ID2, a.getName(), a.getName()) | o = '\n%sdef %s(self, ps):' % (ID1, self.getMethodName(op.getName())) | c5b025a6de5ca6f70e72f8cc98b24ccd1a4f3b49 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/c5b025a6de5ca6f70e72f8cc98b24ccd1a4f3b49/wsdl2dispatch.py |
structType.__init__(self) | def __init__(self): self.title = "Title of a book" | ceb41bd08a57be800aef9120cdc8ea51d5056cf1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/ceb41bd08a57be800aef9120cdc8ea51d5056cf1/SOAPtest.py | |
tc = Any.parsemap.get((nsuri,name)) | tc = Any.parsemap.get((nsuri,name)) or Any.parsemap.get((None, name)) | def setMemberTypeCodes(self): if len(self.memberTypeCodes) > 0: return if self.__class__.memberTypes is None: raise EvaluateException, 'uninitialized class variable memberTypes [(namespace,name),]' for nsuri,name in self.__class__.memberTypes: tcclass = GTD(nsuri,name) if tcclass is None: tc = Any.parsemap.get((nsuri,n... | d56823f76ea2d4e9aa39a6745b932daa6d4e1e03 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/d56823f76ea2d4e9aa39a6745b932daa6d4e1e03/TC.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.