No overload for method 'query' takes 5 arguments salesforce

前端 未结 2 604
别那么骄傲
别那么骄傲 2021-01-28 22:55

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\

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-28 23:26

    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.

提交回复
热议问题