• Rajesh ch
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hello,
I am getting the following error when trying to parse a WSDL and generate the relevant Apex classes in SalesForce:
 
"Error: Failed to parse wsdl: Found schema import from location https://*.xsd. External schema import not supported."
 
I believe that the following (edited) section of the WSDL referring to an external schema is what's causing the problem:
 
...

<wsdl:types>

<xs:schema>

<xs:import namespace="" schemaLocation="https://*.xsd"/>

</xs:schema>

<xs:schema>

<xs:import namespace="" schemaLocation="https://*.xsd"/>

</xs:schema>

</wsdl:types>

...

Can anyone confirm that this is in fact not allowed by Salesforce and if there is any remedy other than embedding the schema in the WSDL?

 
Thanks,
agab-
  • March 03, 2008
  • Like
  • 0