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
Alejandro RamirezAlejandro Ramirez 

Hey, how do I know what are the object definitions in my WSDL file so I can delete the code I don't need? I'm creating Enterprise WSDL but I just need Cases and Contract objects.

I would create an Apex class for these objects and create WSdL on that.
Alejandro RamirezAlejandro Ramirez
I have been loocking for that and I found this: and other pages where explains in which there are two different ways like: Dom library or XmlStreamWriter class, then I check this link: if you can see it, would you say that these are the correct way to create WSDL from apex class?