Newer Version Available

This content describes an older version of this product. View Latest

Using SOAP API to Deploy Apex

If you do not want to use the Force.com IDE, change sets, or the Ant Migration Tool to deploy Apex, you can use the following SOAP API calls to deploy your Apex to a development or sandbox organization:
  • compileAndTest()
  • compileClasses()
  • compileTriggers()

All these calls take Apex code that contains the class or trigger, as well as the values for any fields that need to be set.