metro@... wrote:
> FYI, I found a workaround for my issue, but this appears to be a bug in JAXWS. I also tried using 2.1.5 as well as 2.1.4.
>
> It is reproducible by making a simple @WebService class which contains a method annotated with a custom Annotation with the following definition:
>
> @Retention(RetentionPolicy.RUNTIME)
> @Target({ElementType.METHOD, ElementType.PARAMETER})
> @BindingAnnotation
> @Documented
> public @interface TransactionalSimple {}
>
> If the web service class contains an annotated method with this custom annotation, the endpoint.publish(URL) method will NPE. If you remove the annotation from the method, the endpoint.publish(URL) method works fine.
>
> How do i submit a bug?
> [Message sent by forum member 'demichej' (demichej)]
>
May be Guice creates a dynamic proxy or something so that annotations
are not visible to JAX-WS runtime.
You can file an issue
https://jax-ws.dev.java.net/servlets/ProjectIssuesCan you also attach a reproducible test case.
thanks,
Jitu
>
http://forums.java.net/jive/thread.jspa?messageID=355124>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...