-
1. Re: 2 ejb3s exposed as web services. Can't have same methods
thomas.diesler Aug 23, 2007 7:46 AM (in response to sursha)Is this even related to 2 ejb3s?
i.e. can you deploy a single endpoint that uses authenticate(String userName, String password) ? -
2. Re: 2 ejb3s exposed as web services. Can't have same methods
sursha Aug 23, 2007 3:33 PM (in response to sursha)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. -
3. Re: 2 ejb3s exposed as web services. Can't have same methods
dlofthouse Aug 23, 2007 3:37 PM (in response to sursha)You say your endpoints are in the same ear but are they also both in the same jar or in different jars?
-
4. Re: 2 ejb3s exposed as web services. Can't have same methods
sursha Aug 23, 2007 5:53 PM (in response to sursha)Both ejbs are in the same jar.
-
5. Re: 2 ejb3s exposed as web services. Can't have same methods
thomas.diesler Aug 24, 2007 4:30 AM (in response to sursha)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.
http://jbws.dyndns.org/mediawiki/index.php?title=Building_From_Source -
6. Re: 2 ejb3s exposed as web services. Can't have same methods
sursha Aug 31, 2007 11:30 AM (in response to sursha)Created JIRA issue JBWS-1799.
-
7. Re: 2 ejb3s exposed as web services. Can't have same methods
richard_opalka Oct 9, 2007 7:30 AM (in response to sursha)Issue was fixed. See:
http://jira.jboss.org/jira/browse/JBWS-1799
for possible workarounds untill next release will be available for download.
Richard -
8. Re: 2 ejb3s exposed as web services. Can't have same methods
ropalka Oct 17, 2007 4:15 AM (in response to sursha)This problem will no be fixed in next release, because it's not JAX-WS compliant.
To prevent your problem please use:@RequestWrapper(className="package.UniqueClassName") @ResponseWrapper(className="package.UniqueClassNameResponse")
method annotations on your second bean authenticate() method.
Richard -
9. Re: 2 ejb3s exposed as web services. Can't have same methods
ropalka Oct 17, 2007 4:53 AM (in response to sursha)