I am connecting with salesforce api, I have imported Salesforce enterprise Wsdl to my project.
I can authenticate user but I am having Problem while querying records, I\
You are trying to pass to much parameters to the method.
Hover on the method, press F12 and look at the number of arguments the method expects, Then solve your problem accordingly.
This error is due to difference in number of parameters pass in definition of method and calling. You have passed 5
parameters to the query
method and in definition may be different parameters count. Check the query
method parameters count and then pass correct count of parameters when calling.