[jboss-jira] [JBoss JIRA] (WFLY-720) Web service methods cannot be static & final - implement deployment check for that

Stephen Coy (JIRA) jira-events at lists.jboss.org
Mon Jun 24 04:32:21 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783857#comment-12783857 ] 

Stephen Coy commented on WFLY-720:
----------------------------------

I'm looking at this for something to do.

At the moment the existing checks in org.jboss.as.webservices.util.ASHelper.isJaxwsEndpoint(ClassInfo, CompositeIndex) cause the particular service deployment to be logged and ignored, rather than causing the entire deployment to fail.

Is that still the intent, or should a DeploymentUnitProcessingException be thrown? At the moment I prefer that an exception is thrown as I'm a big believer in the "fail early, fail fast" paradigm.

                
> Web service methods cannot be static & final - implement deployment check for that
> ----------------------------------------------------------------------------------
>
>                 Key: WFLY-720
>                 URL: https://issues.jboss.org/browse/WFLY-720
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Web Services
>            Reporter: Richard Opalka
>            Priority: Minor
>             Fix For: Awaiting Volunteers
>
>
> We already check that JAXWS webservice endpoint class cannot be final.
> We also need to implement (reflection based) check that all webservice
> methods are not final and static. The deployment should fail if such
> method is detected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list