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?







After generating Enterprise You need to remove the complex Type whose name attribute is similar to that of the object that you need to exclude this will bard the element access for that object.


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

Nilesh ManeNilesh Mane

Tahnaks for reply.


Do I need to remove complex Type for object name only or for all the fields of that object?

Do I need to to do it manually after generating the WSDL?

Is there any way to generate WSDL excluding custom bject dirctly without doing it manually?