I need to create an custom object using Salesforce Metadata API. For that I just created a .NET application by using Metadata wsdl. I can't find a login method in the Metadata API in order to get session Id from Salesforce. Am I need to use enterprise wsdl or partner wsdl for that?

1 Answer 1


Correct. The other WSDL files don't provide a login method, as it is expected you'll use either a SOAP or REST login method from the base WSDLs.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .