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
sushsush 

how to parse an xsd in apex

Hi,
 
I have a xsd in which I have input parameters being passed.I have to create a wsdl to take that input parameters and query the database based on the input parameters and send some output parameters.
 
so I thought of writing an apex class and generate a wsdl for that class.
Is my approach correct?
 
But my doubt is how to get the input parameters from xsd.How do I pass an xsd to an apex class and then how to parse the xsd??
 
Can anyone please help me...
 
thanks in advance,
Susmitha