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
IndeevarIndeevar 

Apex webservice as per predefined XSD.

Can we write an apex webservice as per the pre defined XSD given by webservice consumer?

The XSD will have multiple complex Types and the input parameters are at different levels (nodes)

within XSD?
 
SuperfellSuperfell
No.
IndeevarIndeevar

Thanks a lot Simon. So does it mean that the consumer has to parse the response as per the WSDL generated

from SFDC?

SuperfellSuperfell
Yes, there's no way to control the mapping from apex WSDL/XSD.