Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] wsdl and python examples
- Date: Tue, 28 Oct 2008 10:44:12 -0700
- From: Carny Cheng <carny@xxxxxxx>
- Subject: [Condor-users] wsdl and python examples
Hello,
I have 2 questions.
1. I have found many Java examples of connecting to condor via the web service. Are there any python examples?
2. The condorSchedd wsdl enter this infinite loop of initialization from the definition of the type "Status" in condorSchedd_types.py. Using both the condorSchedd.wsdl from the lib/webservices directory and the condorSchedd-6.7.5.wsdl from the website both give me the following error (the following is just an excerpt, it just continues on with the line 71 error). Is there something that I might be missing?
Traceback (most recent call last):
File "condorSchedd_server.py", line 17, in <module>
getVersionStringResponse = GED("urn:condor", "getVersionStringResponse").pyclass
File "/usr/lib/python2.5/site-packages/ZSI/schema.py", line 15, in _get_global_element_declaration
return SchemaInstanceType.getElementDeclaration(namespaceURI, name, **kw)
File "/usr/lib/python2.5/site-packages/ZSI/schema.py", line 186, in getElementDeclaration
typecode = cls.element_typecode_cache[key] = tcls()
File "/home/carny/birdbath2/condorSchedd_types.py", line 407, in __init__
TClist = [GTD("urn:condor","StringAndStatus",lazy=False)(pname=(ns,"response"), aname="_response", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
File "/home/carny/birdbath2/condorSchedd_types.py", line 191, in __init__
TClist = [GTD("urn:condor","Status",lazy=False)(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded"))]
File "/home/carny/birdbath2/condorSchedd_types.py", line 71, in __init__
TClist = [GTD("urn:condor","StatusCode",lazy=False)(pname=(ns,"code"), aname="_code", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), GTD("urn:condor","Status",lazy=False)(pname=(ns,"next"), aname="_next", minOccurs=0, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded"))]
File "/home/carny/birdbath2/condorSchedd_types.py", line 71, in __init__
TClist = [GTD("urn:condor","StatusCode",lazy=False)(pname=(ns,"code"), aname="_code", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), GTD("urn:condor","Status",lazy=False)(pname=(ns,"next"), aname="_next", minOccurs=0, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded"))]
Thanks,
Carny
-----------------
Carny Cheng
carny@xxxxxxx