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
Mikhail MalamudMikhail Malamud 

cannot create Apex Classes from perfectly valid WSDL


"Perfectly valid WSDL" files may not compile in Apex Code, if the following considerations are not taken into account:


The most usual cause is an supported datatype is in the WSDL, or it has an overlapping element (e.g. two functions with similar parameters, or two parameters that, when normalized to avoid naming clashes, result in a duplicate variable). I don't believe that the "group" construct is currently supported by WSDL2Apex, so you might have to roll your own class.




Especially helpful will probably be the first link. I personally don't have the time today to sort this, but I'll try and circle back around.