0 Replies Latest reply on Oct 5, 2011 4:48 AM by anoopsk

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

    anoopsk

      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)