0 Replies Latest reply on Oct 11, 2005 9:03 AM by annak

    Webservices and jboss 4.0.2

    annak

      Hello guys,

      I am rather new to Jboss. Right now I am working on porting an existing J2EE application from Websphere 5.1 AS to JBoss 4.0.2.

      The application has a session bean which contains some methods that are exposed as webservices.

      Session Bean is called : ResourceReportingBean.java
      interface is called :ResourceReporting.java and extends javax.ejb.EJBObject (all methods that are exposed as webservices throw java.rmi.RemoteException).
      So far so good. That was working on websphere. I wrote the mapping.xml and webservices.xml files to be able to deploy that on jboss (of course there is also the ResourceReporting.wsdl file under the wsdl directory).

      But I get the following error during deployment :

      ERROR [StatelessSessionContainer] Initialization failed jboss.j2ee:jndiName=ResourceReporting,service=EJB
      java.lang.NoSuchMethodException: Not found in bean class: public abstract void javax.ejb.EJBObject.remove() throws java.rmi.RemoteException,javax.ejb.RemoveException


      I was wondering if anyone has encountered that error before and knows how I can solve it.

      Thanks in advance,

      ak