I am trying to understand tooling API - SOAP and was trying to create a simple Java class which uses tooling wsdl file to create Apex class. I borrowed the snippet from https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/intro_soap_overview.htm
but I am unable to figure out which object needs to be invoked to utilize create method to create new classes: // call create() to add the class SaveResult saveResults = sforce.create(classes);
I tried creating SforceService sforce; but it seems to be not available. I have included wsc-22.jar and created enterprise.jar from enterprise wsdl, toolingApi.jar from tooling wsdl.