Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Re: cannot create Apex Classes from perfectly vali...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
cannot create Apex Classes from perfectly valid WSDL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-14-2012 09:16 PM
Link to address here http://s3.amazonaws.com/ec2-downloads/ec2.wsdl
Re: cannot create Apex Classes from perfectly valid WSDL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-15-2012 10:56 AM
"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/Cont
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-takin
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.
~ sfdcfox ~
I am a sandwich. That is all.

