What steps will reproduce the problem?
1. Attempt to use wsdl2objc on http://testpruebaws.cognifit.com/CPCService?wsdl
2. Include the generated code into a project.
3. Example source can be found at
https://github.com/gradha/wsdl2obj_google_bugs/commit/22ed9dc66ad8aefa5394a1c53c
f67d7b23dfbfc2
What is the expected output?
Compile.
What do you see instead?
Error compiler:
In file included from
/Users/gradha/Desktop/wsdl2obj_google_bugs/wsdl2obj_google_bugs/ViewController.m
:11:
/Users/gradha/Desktop/wsdl2obj_google_bugs/generated_code/CPCServiceSvc.h:3721:4
2: error: init methods must return a type related to the receiver type
@property (nonatomic, retain) NSNumber * initValue;
^
/Users/gradha/Desktop/wsdl2obj_google_bugs/generated_code/CPCServiceSvc.h:3858:4
2: error: init methods must return a type related to the receiver type
@property (nonatomic, retain) NSNumber * initValue;
^
/Users/gradha/Desktop/wsdl2obj_google_bugs/generated_code/CPCServiceSvc.h:4467:4
2: error: init methods must return a type related to the receiver type
@property (nonatomic, retain) NSNumber * initValue;
^
3 errors generated.
What version of the product are you using? On what operating system?
r234
Please provide any additional information below.
This situation can be patched using Xcode's refactoring tools to rename the
initValue property to something like mInitValue. See example at
https://github.com/gradha/wsdl2obj_google_bugs/commit/0d87f1074bc846c6aa7b9a87fb
05531818cb44fd.
Original issue reported on code.google.com by supergra...@gmail.com on 23 Nov 2014 at 9:20
Original issue reported on code.google.com by
supergra...@gmail.com
on 23 Nov 2014 at 9:20