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?

up vote 1 down vote accepted

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.

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.