• KGoutam
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,
My task is to integrate PayPal using APEX.
I am trying to generate Apex class from PayPalSvc WSDL file.

 

When I use the "Generate from WSDL" option then browse for my WSDL and click the "Parse WSDL" button, I get the following error:
Error: Failed to parse wsdl: Found schema import from location CoreComponentTypes.xsd. External schema import not supported


xsd:import and wsdl:import are not supported (as the error message indicates).

 

I'm a newb, can you or someone explain or show me how to
"re-work the wsdl to have all the imported schemas in the wsdl document directly." ?

 

Location of PayPal WSDL and XSD Files
PayPal Schema :
https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl
eBL Base Components and Component Types
https://www.sandbox.paypal.com/wsdl/eBLBaseComponents.xsd
https://www.sandbox.paypal.com/wsdl/CoreComponentTypes.xsd


How do I generate the Apex class?
 
Please shed some light on this.
 
Thanks in advance..!