+ Start a Discussion
raorao 

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.
 
 
 
Thanks
 
Rao
jlojlo
Metadata API documentation (http://www.salesforce.com/us/developer/docs/api_meta/index.htm)
JonPJonP
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.