Wise Users,
A new message was posted in the thread "Wise with JBoss Seam":
http://community.jboss.org/message/522995#522995
Author : Zoul AKHDAR
Profile :
http://community.jboss.org/people/zakhdar
Message:
--------------------------------------------------------------
Hi all , I try to use wise-core in JBoss Seam application , the authentication method in
seam need to consume a WS via wise-core.
the server start correctly , but when my seam ap consume my WS i have an exception.
My WS and Seam ap are deployed in the same server.
my configuration :
- Windows xp SP2
- JBoss AS 5.1.0.GA
- JDK 6
-JBoss Developper Studio
- i have in my %JBOSS_HOME%\lib\endorsed : activation.jar , jaxb-api.jar , jaxb-impl.jar
, jaxb-xjc.jar , jbossws-native-jaxrpc.jar ,jbossws-native-jaxws.jar ,
jbossws-native-jaxws-ext.jar , jbossws-native-saaj.jar , resolver.jar , serializer.jar ,
stax-api.jar , xalan.jar , xercesImpl.jar
- i have also in my classpath tools.jar from jdk-XXX\lib to allow wise-core to compile
the classes
My WS code
:
import javax.ejb.EJB;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import ci.prosuma.prosumaauthenticationmodule.dao.ldap.IUserLdapLDAP;
import ci.prosuma.prosumaauthenticationmodule.dao.ldap.entity.User;
import ci.prosuma.prosumaauthenticationmodule.service.IWSLDAPService;
@Stateless
@Remote(IWSLDAPService.class)
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class WSLDAPServiceBean implements IWSLDAPService {
@EJB
private IUserLdapLDAP userLDAP;
@WebMethod
public User findUserByLogin(@WebParam(name="login") String login) {
return userLDAP.findByLogin(login);
}
}
Interface I
import ci.prosuma.prosumaauthenticationmodule.dao.ldap.entity.User;
public interface IWSLDAPService {
public User findUserByLogin(String login);
}
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522995#522995