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
michelle emanuel 59michelle emanuel 59 

Apex SOAP Callout : Example error

I downloaded the example WSDL for the calculator and had intended on going through the example before attempting the exercise but when trying to generate the apex class I got the following error:

Error: Failed to parse wsdl: Parse error: Found invalid XML. could not determine namespace bound to element prefix wsdl (position: START_DOCUMENT seen ...culatorImplService" targetNamespace="http://calculator.services/">... @1:93)
 
Mahidharkanth DarisiVenkata 2Mahidharkanth DarisiVenkata 2
Hi michelle,
In your case no need to copy and create the doument u can directly click on  save link As and generate Xml File and Upload that File u will not get any Errors