Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#12 wsdl and VMware VIM

open
nobody
None
5
2007-03-04
2007-03-04
Peter_Rudolf
No

Hi There,

Is anybody there, that work with python and the webservices from vmware (VIM-SDK)? (www.vmware.com/download)
I try to create with zsi and the wsdl2py the vim-services.
It seams that it works. he build me the 2 pythons files with all classes.
But when i try to import this class i become a error.

Anybody an idea ?

Peter

from VimService_services.py import *

when i start the script i become a error:
Traceback (most recent call last):
File "vctest1.py", line 1, in <module>
from VimService_services.py import *
File "C:\mightymigrator\test\VimService_services.py", line 3991, in <module>
UpdateSystemResourcesRequestMsg = ns0.UpdateSystemResources_Dec().pyclass
File "C:\mightymigrator\test\VimService_services_types.py", line 22356, in __init__
TClist = [GTD("urn:vim2","ManagedObjectReference",lazy=False)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOc
File "C:\mightymigrator\test\VimService_services_types.py", line 14293, in __init__
TClist = [ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encod

Discussion

  • Peter_Rudolf
    Peter_Rudolf
    2007-03-04

    wsdl files

     
    Attachments