[jboss-user] [JBoss Web Services] - The methods defined in the service endpoint interface must have arguments of valid types for JAX-RPC.

Anoopkumar SR do-not-reply at jboss.com
Wed Oct 5 04:49:04 EDT 2011


Anoopkumar SR [http://community.jboss.org/people/anoopsk] created the discussion

"The methods defined in the service endpoint interface must have arguments of valid types for JAX-RPC."

To view the discussion, visit: http://community.jboss.org/message/630187#630187

--------------------------------------------------------------
Hi,

I was trying to create a new webservice in jboss AS 4.05 and jbossWS-native 2.0.3 for ejb2.1 spec. Sample ejb project made in .ear was created and when tried to deploy the same in jbossAS4.0.5, it shows below error. Any idea what is this and how to resolve? Your help is highly appreciated.

Also let me know, if at all new webservices to be created for existing EJB2.0 spec, do we still need Service Interface as End point and need to specify the end-point in ejb-jar.xml? Pls help. 
  
 
04:32:22,750 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
04:32:23,031 INFO  [EARDeployer] Init J2EE application: file:/C:/HS/Installation/jboss-4.0.5.GA/server/default/deploy/SimpleWebServiceEjb2ProjectEAR.ear
04:32:23,250 WARN  [verifier] EJB spec violation: 
Bean   : SimpleSession
Method : public abstract boolean isIdentical(EJBObject) throws RemoteException
Section: 7.11.9
Warning: The methods defined in the service endpoint interface must have arguments of valid types for JAX-RPC.
 
04:32:23,250 WARN  [verifier] EJB spec violation: 
Bean   : SimpleSession
Method : public abstract EJBHome getEJBHome() throws RemoteException
Section: 7.11.9
Warning: The methods defined in the service endpoint interface must have a return of a valid type for JAX-RPC.
 
04:32:23,250 ERROR [MainDeployer] Could not create deployment: file:/C:/HS/Installation/jboss-4.0.5.GA/server/default/tmp/deploy/tmp1060116867436762846SimpleWebServiceEjb2ProjectEAR.ear-contents/SimpleWebServiceEjb2EJBProject.jar
* org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/630187#630187]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111005/4f778be0/attachment.html 


More information about the jboss-user mailing list