This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : RC2 ] [ JDK VERSION : 1.6.0_02 ] Hi, When I have a WS that has an operation getInnerBogus and an operation getOuterBogus where InnerBogus is a class with only fields of simple types and OuterBogus has a field of type InnerBogus. And I generate a Mobile WS Client from this WS, than NB doesn't generate the class 'outerBogus' and the xxStub and xxService classes in the mobile project are not compiling any more. I've attached the relevant files. The classes InnerBogus, OuterBogus and the WS are in the WAR part of my JavaEE project. Iwan
Created attachment 53450 [details] The relevant WS classes for this issue, located in the WAR part of the JavaEE project
Created attachment 53451 [details] The WS client part in the mobility project, the outerBogus class is missing, never generated
I think this is a showstopper, as code generation should work at all times.
Workaround: Change QNames of first level elements names to be unique. For example change them to return1, return2, ... Issue: QName of internal elements in complex types could not be unique. The fix would be too complex.
Fixed: Checking in WSDL2JavaImpl.java; /cvs/mobility/end2end/jsr172/src/org/netbeans/modules/e2e/wsdl/wsdl2java/WSDL2JavaImpl.java,v <-- WSDL2JavaImpl.java new revision: 1.25; previous revision: 1.24 done
The bug isn't still verified, consider the fix for patch2.
verified in trunk build #4671 from deadlock.netbeans.org Product Version: NetBeans IDE Dev (Build 20071203113754)
The fix has been ported into the release60_fixes branch. Checking in WSDL2JavaImpl.java; /cvs/mobility/end2end/jsr172/src/org/netbeans/modules/e2e/wsdl/wsdl2java/WSDL2JavaImpl.java,v <-- WSDL2JavaImpl.java new revision: 1.23.2.1.2.1; previous revision: 1.23.2.1 done
verified in 60-patch1
Yes, I checked it and it works. Iwan