Is it possible to create a new Apex class using Tooling SOAP API in java?
When I'm trying to do that I get
ApiFault exceptionCode=’INVALID_TYPE’ exceptionMessage=’This type of object is not available for this organization'”
I was looking for the answer for that question and according to what I saw on forums it seemed that answer is "not possible".
But documentation says
These examples use Java, but you can use Tooling SOAP API in any language that supports Web services. Use create() to compile Apex classes or triggers in Developer Edition or sandbox organizations.
I would like to hear the last word just to be absolutely sure. Maybe someone has managed to create an Apex class in JAVA through Tooling SOAP API or someone knows absotively that it's NOT possible.
Yes, it is POSSIBLE .
While I was exploring Tooling API I added
apexClasssetFullName("TestSetFullName"); for some reason (now I can't even remember why did I do that) with WRONG CLASS NAME. It didn't work because of that stupid mistake