Using SOAP API to Deploy Apex

If you do not want to use the Force.com IDE, change sets, or the Force.com 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.

Previous
Next