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
debiken88debiken88 

WSDL2Apex Parser expecting element but found :detail

Hi all - I'm having an issue executing a simple callout using WSDL2Apex.  Seems there's issues with inheritance which I thought I had fixed but now when I make the call from a test class, I'm getting this error:
System.CalloutException: Web service callout failed: Unexpected element. Parser was expecting element 'urn:Cornerstone:ClientDataService:GetUserResponse' but found ':detail'.  
The data type being returned by the class is set correctly, so I can only assume there is still an issue with the WSDL2Apex process.  Anyone who experienced issues using this utility that has something to share please let me know!  THANKS!
viruSviruS
Please chare your code