You need to sign in to do that
Don't have an account?
svidyan
Modifying generated WSDL
Hi,
I am writing apex code to create webservices.
If I pass an sObject as an argument, the generated WSDL generates all the related fields of the object.
Is it possible to modify the generated WSDL to only include the relevant fields and still make it valid?
My question is , can I tweak the generated WSDL and force.com will still accept the modified WSDL when a client call into it?
thanks
svidyan
You can remove unnecessary fields from the SObject in the WSDL. Your program will not be able to access those fields, and will not be able to "see" those fields if included in a query. However, webservice methods have no problem with missing parameters, as those will be set to "null" values inside the Apex Code.