Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate an Apex from WSDL #281

Open
lds8437 opened this issue Mar 30, 2022 · 0 comments
Open

Generate an Apex from WSDL #281

lds8437 opened this issue Mar 30, 2022 · 0 comments

Comments

@lds8437
Copy link

lds8437 commented Mar 30, 2022

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:


<xsd:complexType name="QuickActionListItem">
    <xsd:sequence>
     <xsd:element name="quickActionName" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="FlexiPageTemplateInstance">
    <xsd:sequence>
     <xsd:element name="flexipageDataSources" minOccurs="0" maxOccurs="unbounded" type="tns:FlexipageDataSource"/>
     <xsd:element name="identifier" minOccurs="0" type="xsd:string"/>
     <xsd:element name="name" type="xsd:string"/>
     <xsd:element name="properties" minOccurs="0" maxOccurs="unbounded" type="tns:ComponentInstanceProperty"/>
     <xsd:element name="schemaProperties" minOccurs="0" maxOccurs="unbounded" type="tns:FlexiPageCompSchemaPropertyDef"/>
    </xsd:sequence>
   </xsd:complexType>

I would appreciate it if anyone could answer and give me a direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant