Is this even related to 2 ejb3s?
i.e. can you deploy a single endpoint that uses authenticate(String userName, String password) ?
Thanks for looking into it.
If I have authenticate(String userName, String password) only in one endpoint/1 ejb3, it works.
If I have authenticate(String userName, String password) and authenticate(String userName) in one endpoint/1 ejb3, it did not work.
I thought authenticate(String userName, String password) in 1 endpoint/1 ejb3 and authenticate(String userName) in different endpoint/ejb3 should work. But it did not work. Both ejb3s were packaged into the same ear file.
Since both ejb3's have different name spaces, I thought it should work, but it did not !!
Am I missing something? Your help will be appreciated.
You say your endpoints are in the same ear but are they also both in the same jar or in different jars?
Both ejbs are in the same jar.
Could you please create a jira issue and attach a test case that allows us to reproduce what you are seeing.
Maybe you can even find out why this is.
Created JIRA issue JBWS-1799.
This problem will no be fixed in next release, because it's not JAX-WS compliant.
To prevent your problem please use:
method annotations on your second bean authenticate() method.