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
RAJU_DEEPRAJU_DEEP 

Problem in generating wsdl file.

Hello,

        I am facing problem while generating the wsdl file from apex class, i have tried to generate the wsdl file and saved the generated file with the extension .wsdl(is it true to save this file with this extension?) after doing this i clicked on GENERATE FROM WSDL-->browse the file-->Parse WSDL-->Generate Apex Code now after this i am getting error

Error message:

Error: Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType

 

Help me out where i am going wrong.

cc15cc15

I uploaded my WSDL file with a .cvs extension, but any XML extension should work i think. That error message indicates that some of the XML in your file is invalid for the Salesforce platform.

 

Check out this doc(under "Invoking Callouts Using Apex"->"SOAP Services: Defining a Class from a WSDL Document"->"Supported WSDL Features") for thetags that are recognized.

 

Hope this helps

Sunil MattaSunil Matta

I am also getting the same error

 

Error: Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType

 

Kindly let me know the workaounds/solutions to use the WSDL.

Imran MohammedImran Mohammed

Hi,

 

Did anyone of you finally got a solution for what should be used insted of anyType in WSDL.

 

Regards