+ 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