chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivar Hagen (JIRA)" <>
Subject [jira] [Created] (CMIS-738) WebMethod(exclude=true) not allowed on intefaces
Date Mon, 02 Dec 2013 13:06:36 GMT
Ivar Hagen created CMIS-738:

             Summary: WebMethod(exclude=true) not allowed on intefaces
                 Key: CMIS-738
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-server
    Affects Versions: OpenCMIS 0.10.0
            Reporter: Ivar Hagen

When deploying on JBoss I get this error below.
According to an interface is not allowed to
use WebMethod(exclude=true), it's only for the implementation.
This prevents the war package to be deployed.

Please advice on what to do. Simply remove the exclude=true part of this?


package org.apache.chemistry.opencmis.server.impl.webservices;

 @WebService(name = "RepositoryServicePort", targetNamespace = "")
 @XmlSeeAlso({ ObjectFactory.class })
 public interface RepositoryServicePort10 extends RepositoryServicePort {
     @WebMethod(action = "createType", exclude = true)
     public void createType(String repositoryId, Holder<CmisTypeDefinitionType> type,
CmisExtensionType extension)
             throws CmisException;


13:38:55,096 ERROR [] (MSC service thread 1-5) MSC00001: Failed
to start service jboss.deployment.unit."chemistry-opencmis-server-bindings-war-0.10.0.war".INSTALL:
org.jboss.msc.service.StartException in service jboss.deployment.unit."chemistry-opencmis-server-bindings-war-0.10.0.war".INSTALL:
Failed to process phase INSTALL of deployment "chemistry-opencmis-server-bindings-war-0.10.0.war"
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(
	at org.jboss.msc.service.ServiceControllerImpl$
	at java.util.concurrent.ThreadPoolExecutor.runWorker( [rt.jar:1.7.0_40]
	at java.util.concurrent.ThreadPoolExecutor$ [rt.jar:1.7.0_40]
	at [rt.jar:1.7.0_40]
Caused by: org.apache.cxf.jaxws.JaxWsConfigurationException:
The @javax.jws.WebMethod(exclude=true) cannot be used on a service endpoint interface. Method:
	at org.apache.cxf.jaxws.EndpointImpl.doPublish(
	at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(

This message was sent by Atlassian JIRA

View raw message