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.
Currently when JAX-WS creates beans for web services, the event change notification code is not generated. The JAX-WS guys tell me there's a plugin which will create these properly. See plugin listener injector plugin at https://jaxb2-commons.dev.java.net/ This will allow binding using JSR-295 (and others).
Has this been read/considered?
As it turns out there are some bugs in this plug-in which prevents it from working as needed. I have made some modifications to the plug-in itself and I have modified the jaxws-build.xml (for a given project) and all seems to be working as needed.
Currently there's Edit WS Attributes -> WSImport Options which allows one to pass options to the wsimport itself but it does not allow to pass options which should be passed to JAXB... Maybe splitting the dialog into two parts/"tables" one would be for direct wsimport options and the second one to jaxb options could help
That should work nicely and would be very much appreciated. However, ultimately (at least in my opinion) the JAXB2 library should not require the plugin to create the property change listeners and (correctly) create the Boolean getters. This, I think, should be expected and should therefore be the default code creation. Your proposed solution does have the added benefit of allowing the utilization of other plugins which are available to JAXB2.
should have been implemented in 6.5 by the fix for issue 144421.
Great, thank you. I'll give it a try.