I want to retrieve al the fields from each element in list. The only way I have found is to create a view that contains every field. But I don't want to create a new view. I have tried , but it does not seem to be honored. If it worked I could get all the fields with GetList and populate ViewFields based on that.
Is there a view to override the default view from the xml request? My current XML is below.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://schemas.microsoft.com/sharepoint/soap/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<soap:Body>
<s0:GetListItems>
<s0:listName xsi:type="s:string">{GUID}</s0:listName>
<s0:QueryOptions>
<s0:ViewAttributes Scope="Recursive"></s0:ViewAttributes>
<s0:IncludeMandatoryColumns>TRUE</s0:IncludeMandatoryColumns>
</s0:QueryOptions>
<s0:Query></s0:Query>
<s0:ViewFields>
<s0:FieldRef xsi:type="s:string" Name="ID"></s0:FieldRef>
<s0:FieldRef xsi:type="s:string" Name="CellPhone"></s0:FieldRef>
<s0:FieldRef xsi:type="s:string" Name="FirstName"></s0:FieldRef>
</s0:ViewFields>
</s0:GetListItems>
</soap:Body>
</soap:Envelope>