[
http://jira.jboss.com/jira/browse/JBWS-1371?page=all ]
Jason T. Greene updated JBWS-1371:
----------------------------------
Summary: CTS: Clarification: Accessing JAX-WS service from JNDI (was: Clarification:
Accessing JAX-WS service from JNDI)
CTS: Clarification: Accessing JAX-WS service from JNDI
------------------------------------------------------
Key: JBWS-1371
URL:
http://jira.jboss.com/jira/browse/JBWS-1371
Project: JBoss Web Services
Issue Type: Bug
Components: jaxws
Reporter: Heiko Braun
Assigned To: Thomas Diesler
Fix For: jbossws-2.0.0.CR2
I am accessing a service (EJB3+JSR181) from JNDI. This fails with the following
exception:
Caused by: java.lang.IllegalArgumentException: The SEI does not implement
java.rmi.Remote: org.jboss.test.ws.jaxws.samples.retail.OrderMgmt
at
org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:274)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1131)
at
org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1148)
Q1) Why is jaxrpc.ServiceObjectFactory being used?
Q2) AFAIK the Remote interface is not required under EJB3
So, is this approach wrong in gerneral, or do i miss something here?
--
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