Skip to main content
hi gays,there is an error when i generate apex code from wsdl : Failed to parse wsdl: Unable to find schema for element; {http://www.w3.org/2001/XMLSchema}schema,how show i do 
1 answer
  1. Oct 21, 2016, 3:47 AM
    Hello

    In this case I'd initially made a mistake when pulling in the xsd for these complex types. you have to  corrected it by putting the complex type definitions within a 

    <xsd:schema targetNamespace="http://www.w3.org/2001/XMLSchema">

    element in wsdl:type section.

    Hopw this will help you, 

    Thanks

    karthik
0/9000