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.
See that attached screen recording and he sample project. There is a vast difference in the way code is generated for the two cases depicted in the recording: when I declare a service-ref variable and when I use something where service-ref is only part of a bigger complexType.
Created attachment 90591 [details] Screen recording.
Created attachment 90592 [details] Sample project
Vitaly, please take a look. This is for v2.2.
Fixed in gfesbv23. Changeset: 76e6f70ffa14;
Fixed in gfesbv22. Changeset: a644df9415af.
Additional changesets: gfesbv22: 1e3daaf7a8e5. gfesbv23: f732c35bfa31.
verified in sierra_154_20091214_1039