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
RCJesseRCJesse 

WSDL to Apex, code generation error

I am getting a Apex Code Generation error when trying to import our WSDL: Error: Element not defined for part 'return'

 

I have no real familiarity with WSDL or XML coding and the error message isnt very specific considering there a multuple returns in the WSDL. Any thoughts or anybody seen this error before?

 

Thanks.

ryan_marplesryan_marples
Are you able to post a link to the WSDL? It sounds like either the WSDL is malformed or there might be a quirk in the way it's being parsed.