function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to Use meta data API

How to use metadata API.  After referring to the WSDL in the .net web reference section.  How to authenticate it with Salesforce credentials.  and before using deploy(), where should I give the production server credentials or details.
any help is appreciated.
Metadata API documentation (
To authenticate for the Metadata API, use the Login() method in the Web Services API to obtain a sessionId.  Then set the sessionId in the SessionHeader for your Metadata API requests, just like in the Web Services API.

The Web Services API's Login() method will also return the Metadata API endpoint URL where you should send Metadata API requests.