function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Santiago PerezSantiago Perez 

SOAP .Query function from .net C# with multiple parameters

New to SFDC API integration but have created the Enterprise WSDL, referenced it in my C# Code. When I instantiate the client and try calling .Query Ihave a list of required parameters that I don't see in any of the existing sampels online where it just expects the SOQL string. Furthermore in my reference the .query function returns LimitInfo[] array not a QueryResult. 

The parameters are the the following in this order: 
  1. Sessionheader
  2. QueryOptions
  3. MruHeader
  4. PackageVersionHeader
  5. queryString
  6. out queryResult

What am I doing wrong? 
ShashankShashank (Salesforce Developers) 
Did you get a chnace to have a look at this sample in the SOAP API developer guide? https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sample_query_calls.htm
Johnathan HensonJohnathan Henson
Santiago, 

Did you ever find a resolution to this issue?