Displaying 1 result from an estimated 1 matches for "queryfields".
2009 Nov 06
1
issues with SSOAP when wsdl has ComplexTypes
...pe(tracefile=sys.stdout)
>>> req = DataServiceQueryRequest()
>>> req.Query = "select 1 as One"
>>> res = service.simpleQuery(req)
>>> print "Field names: %s" % [field.StringValue for field in
... res.Result.ResultHeading.QueryFields]
>>> print "Rows:"
>>> for i in xrange(0, len(res.Result.ResultRows)):
>>> print "Row %d: %s" % (i+1, [field.StringValue or
... field.LongValue or field.DoubleValue for field in
... res.Result.ResultRows[i].QueryFields])...