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

WSDL2Apex class doesnt compile

When we generate WSDL2Apex code for an SAP web service which has auto generated complex type it gives the following error
The following generated class(es) have compilation errors:
Error: getchar
Error: getchar.ZSdGetCharactWsV01Tmp_RfcException: Exception class must extend another Exception class at 4:18
Please note that the period in the complex type name of the wsdl has been changed to underscore in the auto generated class. This didn’t happen automatically when I implemented similar services in March. Could that be a reason for the error? Is there are any work around for solving this problem?