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
ManForceManForce 

Apex Generation Failed Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType

i am trying to generate apex class from wsdl ,but the error showing that

 

Apex Generation Failed Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType in sales force when i click  generate Apex code

 

 

My java service has list data type return so in the wsdl also the type is any Type

 

The wsdl syntax is :

 

 <xs:complexType name="CardProviderResponse">
                <xs:sequence>
                    <xs:element minOccurs="0" name="cardProviderContainers" nillable="true" type="xs:anyType"/>
                    <xs:element minOccurs="0" name="errorMessage" nillable="true" type="xs:string"/>
                </xs:sequence>
            </xs:complexType> in the wsdl

 

Now how to solve this problem ? how to generate apex class for this type of wsdl ?

AshyAshy

hi  man

r u able to solve the error

 

i just go exactly the same error

 

pls help

 

thanx

Ashy