nishigandharajurkar / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
0 stars 0 forks source link

Amazon AWS WSDL Yields Nearly 2000 In-Code Errors #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the Amazon AWS Associates WSDL file from 
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
2. Run wsdl2objc on it
3. Stare at all the broken code

What is the expected output?
Generated code that is syntactically and logically valid

What do you see instead?
Code containing hundreds and hundreds of errors, all generally looking like:
%«element.type.className» *** ERROR: undefined key ***  enumRepresentation = 
%«element.type.className» *** ERROR: undefined key ***

What version of the product are you using? On what operating system?
v0.5, OS X 10.5.5

Please provide any additional information below.
I will be beside myself with gratitude if this gets fixed, or if I am shown 
what I'm doing wrong.

Original issue reported on code.google.com by bhs2...@gmail.com on 1 Apr 2009 at 5:17

Attachments:

GoogleCodeExporter commented 9 years ago
Note: Using v0.4, there seems to be a lot less of these errors, but 
nevertheless they're there.

Original comment by bhs2...@gmail.com on 1 Apr 2009 at 5:25

GoogleCodeExporter commented 9 years ago
You're not doing anything wrong.  WSDL2ObjC doesn't appear to be able to cope 
with 
complex types being embedded within other complex types without having 
previously been 
given their own separate definition.

Original comment by goo...@faupel.org on 25 Jun 2009 at 8:23

GoogleCodeExporter commented 9 years ago
Indeed;  It doesn't help matters much that Amazon's web service is monstrously
complex.  I gave up and implemented the calls I needed manually with TouchXML.

Original comment by bhs2...@gmail.com on 25 Jun 2009 at 9:05

GoogleCodeExporter commented 9 years ago
Wow. The Amazon wsdl generates a 3.2 meg file.

I added support for inline definition of complexTypes in the iPhone branch, but 
the Amazon wsdl is still breaking  
the parser. It probably has to do with multiple embedded definitions. i'll take 
a look when I've got time.

Original comment by hasse...@gmail.com on 4 Sep 2009 at 1:30

GoogleCodeExporter commented 9 years ago

Original comment by hasse...@gmail.com on 5 Sep 2009 at 5:01

GoogleCodeExporter commented 9 years ago
Revision 103 on the iPhone branch generates code for the Amazon WSDL file with 
zero perceived errors.
Please verify.

Original comment by hasse...@gmail.com on 5 Sep 2009 at 6:15