hi,

I am writing a webService application using wscompile to generate my artifacts.

1. I write my session bean and my Interface, adding the <service-endpoint> tag 
on the description of session bean.
2. Run the wsCompile to generate the artifacts.
3. After all, I package everything on a jar file.

When I try to deploy I get the follow error:

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Section: 7.10.5
Warning: The remote interface must extend the javax.ejb.EJBObject interface.

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract ControleMensagemHandlerSrv 
getControleMensagemHandlerSrvPort() throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract Remote getPort(Class) throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract Remote getPort(QName, Class) throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract QName getServiceName()
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract TypeMappingRegistry getTypeMappingRegistry()
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract Iterator getPorts() throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract HandlerRegistry getHandlerRegistry()
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,109 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract Call; getCalls(QName) throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,125 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract Call createCall(QName) throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,125 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract Call createCall(QName, QName) throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,125 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract Call createCall(QName, String) throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,125 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract Call createCall() throws ServiceException
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,125 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract URL getWSDLDocumentLocation()
Section: 7.10.5
Warning: The methods in the remote interface must include 
java.rmi.RemoteException in their throws clause.

13:20:07,125 WARN  [verifier] EJB spec violation: 
Bean   : ControleMensagemHandler
Method : public abstract ControleMensagemHandlerSrv 
getControleMensagemHandlerSrvPort() throws ServiceException
Section: 7.10.5
Warning: The methods defined in the remote interface must have a matching 
method in the bean's class with the same name and same number and types of 
arguments.

13:20:07,125 ERROR [MainDeployer] Could not create deployment: 
file:/C:/Arquivos de 
programas/jboss-4.0.3SP1/server/all/tmp/deploy/tmp58832webService.ear-contents/webServiceData.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.

if I remove the stub, ... classes generated by wscompile and keep the wsdl, 
webservice.xml and the mapping file. My ejb is deployed and my webService is 
registered.

The ant code that I am using to invoke wscompile is this:


                


                
                        
                        
                

thanks

  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937546#3937546

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937546


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to