Hi All,
I am receiving a hash below from my Soap Interface
<SOAPpy.Types.s tructType item at 34661160>: {'Field12value' : ':C
F3Value', 'Field8': 'Price Text:price_text ', 'Field9': 'Text with
File:file_text
', 'Field11value': ':CF2Value', 'Field7': 'Product Code:product_co de',
'Field7va
lue': ':product_value s', 'Field2': 'Job Reference:job_r eference', 'Field3':
'Job
Description:job _description', 'Field6': 'Campaign Name:campaign_n ame',
'Field10
value': ':CF1Value', 'Field6value': ':campaign_valu es', 'Field5':
'Keywords:keyw
ords', 'Field10': 'CF1Title:custo m_field1', 'Field11':
'CF2Title:custo m_field2',
'Field12': 'CF3Title:custo m_field3', 'Field13': 'CF4Title:custo m_field4',
'Fiel
d14': 'Name:meta_file name', 'Field4': 'Display Name:display_na me',
'Field13value
': ':CF4Value'}
How can i iterarte through it bcz when do try do something like
myHash.values()
I am getting the error
AttributeError: structType instance has no attribute 'values'
any help
Thomas
I am receiving a hash below from my Soap Interface
<SOAPpy.Types.s tructType item at 34661160>: {'Field12value' : ':C
F3Value', 'Field8': 'Price Text:price_text ', 'Field9': 'Text with
File:file_text
', 'Field11value': ':CF2Value', 'Field7': 'Product Code:product_co de',
'Field7va
lue': ':product_value s', 'Field2': 'Job Reference:job_r eference', 'Field3':
'Job
Description:job _description', 'Field6': 'Campaign Name:campaign_n ame',
'Field10
value': ':CF1Value', 'Field6value': ':campaign_valu es', 'Field5':
'Keywords:keyw
ords', 'Field10': 'CF1Title:custo m_field1', 'Field11':
'CF2Title:custo m_field2',
'Field12': 'CF3Title:custo m_field3', 'Field13': 'CF4Title:custo m_field4',
'Fiel
d14': 'Name:meta_file name', 'Field4': 'Display Name:display_na me',
'Field13value
': ':CF4Value'}
How can i iterarte through it bcz when do try do something like
myHash.values()
I am getting the error
AttributeError: structType instance has no attribute 'values'
any help
Thomas
Comment