(ABC){
desc = "ABC development test data."
name = "Software Development"
id = "1207232790599"
}
>print abcitems[0].ABC.desc
AttributeError: 'function' object has no attribute 'desc'
>wsdlurl = 'http://localhost:8080/externaldataservicemodule/CtsDataExportService?wsdl'
>theclient = Client(wsdlurl)
>print theclient
service ( CtsDataExportService )
prefixes (2)
ns2 = "http://dataservices.ws.ops/"
ports (1):
(WsDataExportPort)
methods (2):
getABCItems()
getABC(xs:long id, )
types (85):
ns0:ABC
>abcItems = theclient.service.getABCItems
>print abcItems <<=== there is only 1 item
[(ABC){
desc = "ABC development test data."
name = "Software Development"
id = "1207232790599"
}]
>print abcitems[0].ABC <<==== HOW DO I EXTRACT THE desc, name and id attributes
(ABC){
desc = "ABC development test data."
name = "Software Development"
id = "1207232790599"
}