How to build a body like this use SOAPPy?

qgg qggjonny at msn.com
Mon Mar 31 19:43:15 CEST 2008


repeat arrWords

   <soapenv:Body>
      <v1:WordsRequest>
         <arrWords>
                  <Name>aa</Name>
                  <Num>11</Num>
          </arrWords>
         <arrWords>
                  <Name>bb</Name>
                  <Num>22</Num>
          </arrWords>
         <intActionId>99</intActionId>
      </v1:WordsRequest>
   </soapenv:Body>

I try like this,but fail:
WordsRequest(arrWords=[{'Name:u'aa','Num':u'11'},
{'Name:u'bb','Num':u'22'}],intActionId=99)

WordsRequest(arrWords={'Name:u'aa','Num':u'11'},arrWords={'Name:u'bb','Num'­:u'22'},intActionId=99)



More information about the Python-list mailing list