Skip to main content

@WebService(endpointInterface="") problem with apt ant task

1 reply [Last post]
frankgrimes97
Offline
Joined: 2006-09-13

Hi All,

If I process multiple annotated Endpoint/EndpointInterface pairs using one invocation of the apt ant task, I get the following errors: "The endpoint interface does not match the interface "

Processing them one by one (with separate apt invocations) seems to work fine.

To demonstrate the problem, you can duplicate the JAX-WS 2.1 annotations sample's AddNumbersIF and AddNumbersImpl as AddNumbers2IF and AddNumbers2Impl.

Here is the exact output of that test:

[apt] D:\jaxws-ri\samples\annotations\src\annotations\server\AddNumbers2IF.java:13: The endpoint interface annotat
ions.server.AddNumbersIF does not match the interface annotations.server.AddNumbers2IF.
[apt] public interface AddNumbers2IF {

Am I missing something obvious here?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
frankgrimes97
Offline
Joined: 2006-09-13

After doing some hunting in the issue tracker, I found the following entry: https://jax-ws.dev.java.net/issues/show_bug.cgi?id=166

So it looks like this is a known limitation... a strange, counter-intuitive one at that.
Could this limitation be documented in big bold letters somewhere?
Or is it already and I just missed it?

Thanks