jaxb2-annotate-plugin
jaxb2-annotate-plugin copied to clipboard
Annotate JAX-WS Interface
How can I annotate a JAX-WS Interface? I've seen the test case https://github.com/highsource/jaxb2-annotate-plugin/tree/master/tests/jaxws
Actually I want an annotation on the interface. In the wsdl that is
<wsdl:portType name="RequestResponsePortType" >
resulting in code like
@Webservice....
@MY_ANNOTATION_HERE
public interface RequestResponsePortType {
I use a bindings file and I have no idea what to put in the binding. I've tried
<jaxb:bindings node="wsdl:portType[@name='RequestResponsePortType']">
<annox:annotate>my.namespace.to.MY_ANNOTATION_HERE</annox:annotate>
</jaxb:bindings>
which did not work.
What do I do wrong?
Duplicate of https://github.com/highsource/jaxb-tools/issues/471
extensionBindingPrefixes
is not taken into account in jaxws:bindings
so annox
is not read by plugin