You need to sign in to do that
Don't have an account?
najumuddin i
Error while using Salesforce SOAP api in C#.Net
Hi,
I am trying to create a new lead or account from my dotnet application using SOAP api, succeed in login in to force.com using api, but while calling create method i am getting this error : "No overload for method 'create' takes 1 arguments". Here create method expecting morethan 7 parameters but in all developer guides and tutorials i have seen like below, they are not passing all parameters. tried with null arguments alo but same issue.
SFDC_Enterprise.SaveResult[] results = sfdcBinding.create(new SFDC_Enterprise.sObject[] { sfdcLead });
plzz help me out.
Thanks,
Najumuddin.
I am trying to create a new lead or account from my dotnet application using SOAP api, succeed in login in to force.com using api, but while calling create method i am getting this error : "No overload for method 'create' takes 1 arguments". Here create method expecting morethan 7 parameters but in all developer guides and tutorials i have seen like below, they are not passing all parameters. tried with null arguments alo but same issue.
SFDC_Enterprise.SaveResult[] results = sfdcBinding.create(new SFDC_Enterprise.sObject[] { sfdcLead });
plzz help me out.
Thanks,
Najumuddin.
If you change your code to be like the below:
SFDC_Enterprise.SaveResult results = sfdcBinding.create(new SFDC_Enterprise.sObject[] { sfdcLead })[0];
Ian