nishigandharajurkar / wsdl2objc

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

missing includes and forward references in generated "schema" code #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a wsdl that imports other wsdl files

What is the expected output? code that compiles

What do you see instead? The code produces syntax errors due to missing @class 
references in 
the schema.h file and warnings from the generated schema.m file due to 
undefined classes being 
referenced

What version of the product are you using? On what operating system?  0.6 on 
Max OSX 10.5

Please provide any additional information below.

Original issue reported on code.google.com by g051...@gmail.com on 20 Nov 2009 at 4:49

GoogleCodeExporter commented 9 years ago
I've got a simple brute force patch that fixes it for me.  I simply iterate 
over any imports and generate @class 
entries for every element for the .h, and add an import for each imported 
schema in the .m.  It's not very 
intelligent, but seems to work for my test cases.

Original comment by g051...@gmail.com on 20 Nov 2009 at 4:54

Attachments: