Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance WSDL to Java generation to include hashCode and equals #21

Open
runer112 opened this issue Jun 27, 2016 · 0 comments
Open

Enhance WSDL to Java generation to include hashCode and equals #21

runer112 opened this issue Jun 27, 2016 · 0 comments

Comments

@runer112
Copy link
Contributor

Similarly to issue #1, this could be solved with JAXB2 Basics plugins. The SimpleEquals and the SimpleHashCode plugins seem ideal for this, generating runtime dependency-free and reflection-free methods much like an IDE would. However, it seems that these were only added in version 0.9.2, which requires a newer version JAXB XJC than Apache CXF 2.7.6 uses, making them incompatible. It seems that it would need Apache CXF 3.1.0 at minimum to be compatible, but if upgrading that far, one may as well upgrade all the way to the latest version (currently 3.1.6).

The older Equals and HashCode plugins could be used instead, but they seem dreadfully over-engineered with runtime parameters including locators and strategies (what even are these?) and a runtime dependency to support them. Also, these older plugins seem to have a number of not insignificant bugs (as evidenced by fixes mentioned in the changelog) that make them even less appealing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant