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.

MahmudkMahmudk
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: https://developer.salesforce.com/forums/?id=906F000000093KBIAY and other pages where explains in which there are two different ways like: Dom library or XmlStreamWriter class, then I check this link: http://it.toolbox.com/blogs/anything-worth-doing/a-better-way-to-generate-xml-on-salesforce-using-visualforce-55433 if you can see it, would you say that these are the correct way to create WSDL from apex class?