-
Notifications
You must be signed in to change notification settings - Fork 28
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
How can I use the annotation plugin to enhance classes generated with jaxws-maven-plugin? #17
Comments
Yes, the plugin should work with Please send me a PR or a sample project which compiles something with the |
I put what I've been working on up on github for cloning. I'm sorry I don't understand how it should be integrated under the project tests. |
See this tutorial: |
I can't just clone/copy your repo due to licensing issues. |
Here's an example of using https://github.com/highsource/jaxb2-annotate-plugin/tree/master/tests/jaxws I've managed to make it work with definitions from the schema imported in WSDL but not with the schema inside the WSDL. Customizations are ignored there. However there's a question on StackOverflow which hints that this may be possible: Seems like Workaround for the moment is to move your schema definitions into individual schema files out of the WSDL. |
This issue seems to have been fixed in the https://issues.apache.org/jira/browse/CXF-2855 I'll move to cxf-codegen-plugin then. |
The following link doesn't work anymore: Could you please point out the correct link or details about how to integrate jaxb2 annotate plugin with jaxws maven plugin? |
@ashokkhetan It does not work. I could not get |
I see. I am using:
Does this make a difference as it's not the mojohaus one? |
Please ask authors of your target |
sure, I will check. I just had a workaround in the meantime. I created the files using |
Duplicate of highsource/jaxb-tools#471 |
I am generating classes directly from a wsdl using wsimport. I would like to annotate the resulting classes. The jaxws-maven-plugin allows jaxb plugins to be included/compiled by including them as dependencies and passing the xjcArg that invokes them. Can I do the same with the jaxb2-annotate-plugin? How would I provide the binding file?
The text was updated successfully, but these errors were encountered: