I generated the Metadata WSDL page and saved the WSDL file on my computer. Then I tried to generate an Apex from WSDL file in Salesforce. I was able to see the prase successful message.
Parse successful: Warnings 0, Errors 0
but when I was clicking on Generate Apex code getting the below error.
Apex Generation Failed
Unable to find complexType for (URL) FlexipageDataSource
I generated the Metadata WSDL page and saved the WSDL file on my computer. Then I tried to generate an Apex from WSDL file in Salesforce. I was able to see the prase successful message. Parse successful: Warnings 0, Errors 0 but when I was clicking on Generate Apex code getting the below error. Apex Generation Failed Unable to find complexType for (URL) FlexipageDataSource
Here is the code that I am getting an error:
I would appreciate it if anyone could answer and give me a direction.