function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nilesh ManeNilesh Mane 

Generate Enterprise WSDL for all objects excluding one custom object



I want to generate an Enterprise WSDL file excluding one custom object...

We need to exclude one cutom object for security reason. Is there any way to do this?




Best Answer chosen by Admin (Salesforce Developers) 



Just remove the tag name <complexType name="objecttoExclude__c">....</complexType> for the object that you need to exculde (as here it is by name "objecttoExclude__c"). After this upload that file by hitting Grenerate from WSDL that is found in AppSetup->Develop->classes


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.