Headers = client.get_type('ns0:Header') # this will print all headers elements
Headerss = Headers(partnerTransactionId='7016641431531168063-2', partnerId='RETAILDIRECT') # I can assign the values to headers
除了标题之外,我还需要以下2个字段。
client.get_type('ns0:ListOfResourceAction') # which is a dynamic type containng two elements
我想从动态类型访问 vb 和 bbbbb ,尝试过
resourceAction = xsd.AnyObject(listofresource, listofresource(['/UniversalUI','true']))
但这没有帮助。