python - How to list available suds factory types -


the short version i'm trying figure out if there's way list types available calls client.factory.create() after loading wsdl.

i have parameter of complex type includes array of complex type. suds factory doesn't seem know how create type belongs in array, don't know how populate array. when pass type name factory.create() suds.typenotfound. i'm hoping i'm getting name wrong , if can list available types can pick out.

you can list of methods , types printing client. here example of output:

suds ( https://fedorahosted.org/suds/ )  version: 0.3.9 ga  build: r659-20100219   service ( partnerapi ) tns="http://exacttarget.com/wsdl/partnerapi"    prefixes (2)       ns0 = "http://exacttarget.com/wsdl/partnerapi"       ns1 = "urn:fault.partner.exacttarget.com"    ports (1):       (soap)          methods (13):             configure(configureoptions options, xs:string action, configurations configurations, )             create(createoptions options, apiobject[] objects, )             delete(deleteoptions options, apiobject[] objects, )             describe(arrayofobjectdefinitionrequest describerequests, )             execute(executerequest[] requests, )             extract(extractrequest[] requests, )             getsystemstatus(systemstatusoptions options, )             perform(performoptions options, xs:string action, definitions definitions, )             query(queryrequest queryrequest, )             retrieve(retrieverequest retrieverequest, )             schedule(scheduleoptions options, xs:string action, scheduledefinition schedule, interactions interactions, )             update(updateoptions options, apiobject[] objects, )             versioninfo(xs:boolean includeversionhistory, )          types (285):             ns1:apifault             apiobject             apiproperty             account             accountdataitem             accountprivatelabel             accounttypeenum             accountuser             addressstatus             ... 

any of types can created factory.create().


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -