[JBoss JIRA] Created: (JBWS-1799) Two ejb3s exposed as 2 different web services in the same ear file. Can't have same methods with different parameters..
by Sureshbabu Thyvalappil (JIRA)
Two ejb3s exposed as 2 different web services in the same ear file. Can't have same methods with different parameters..
-----------------------------------------------------------------------------------------------------------------------
Key: JBWS-1799
URL: http://jira.jboss.com/jira/browse/JBWS-1799
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jbossws-1.2.1
Environment: Debian etch.
Reporter: Sureshbabu Thyvalappil
Please look at the url for description. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116665
First ejb:
@WebService(name="UserAccountServiceEndPoint",
targetNamespace="namespace1", serviceName="UserAccountService1.0")
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,use=SOAPBinding.Use.LITERAL)
@Stateless
@WebContext(transportGuarantee="NONE",contextRoot="/svc-useracctv1.0",urlPattern="/UserAccountService1.0")
public class UserAccountService implements IUserAccountService
{
@WebMethod
@TransactionAttribute(javax.ejb.TransactionAttributeType.SUPPORTS)
public boolean authenticate(@WebParam(name="username") String aUsername)
{
boolean ret;
.........
return ret;
}
}
interface for 1st ejb:
@Remote
public interface IUserAccountService
{
public boolean authenticate(String aUsername);
}
second ejb:
@WebService(name="UserAccountServiceExtEndPoint",
targetNamespace="namespaceExt", serviceName="UserAccountServiceExt1.0")
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,use=SOAPBinding.Use.LITERAL)
@Stateless
@WebContext(transportGuarantee="NONE",contextRoot="/svc-useracctv1.0",urlPattern="/UserAccountServiceExt1.0")
public class UserAccountServiceExt implements IUserAccountServiceExt
{
@WebMethod
@TransactionAttribute(javax.ejb.TransactionAttributeType.SUPPORTS)
public boolean authenticate(@WebParam(name="username") String aUsername, @WebParam(name="password") String password)
{
boolean ret;
.........
return ret;
}
}
interface for 2nd ejb:
@Remote
public interface IUserAccountServiceExt
{
public boolean authenticate(String aUsername, String aPassword);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira