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

sfdcfoxsfdcfox

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

 

www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_wsdl2apex_considerations.htm

 

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.

 

Try:

 

http://www.linkedin.com/groups/WSDL2Apex-not-taking-its-premises-3774731.S.121026770

 

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.