[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2953) Fix WebService method detection algorithm

Richard Opalka (JIRA) jira-events at lists.jboss.org
Mon Mar 8 10:00:58 EST 2010


    [ https://jira.jboss.org/jira/browse/JBWS-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12518704#action_12518704 ] 

Richard Opalka commented on JBWS-2953:
--------------------------------------

Copy/paste from JAX-WS specification
---
A Java class (not an interface) annotated with a javax.jws.WebService annotation can be used to define
a Web service.
In order to allow for a separation between Web service interface and implementation, if the WebService
annotation on the class under consideration has a endpointInterface element, then the interface referred
by this element is for all purposes the SEI associated with the class.
Otherwise, the class implicitly defines a service endpoint interface (SEI) which comprises all of the public
non-static or non-final methods that satisfy one of the following conditions:
   1. They are annotated with the javax.jws.WebMethod annotation with the exclude element set to
       false or missing (since false is the default for this annotation element).
   2. They are not annotated with the javax.jws.WebMethod annotation but their declaring class has a
       javax.jws.WebService annotation.
For mapping purposes, this implicit SEI and its methods are considered to be annotated with the same Web
service-related annotations that the original class and its methods have.
In pratice, in order to exclude a public method of a class annotated with WebService and not directly
specifying a endpointInterface from the implicitly defined SEI, it is necessary to annotate the method
with a WebMethod annotation with the exclude element set to true.

> Fix WebService method detection algorithm
> -----------------------------------------
>
>                 Key: JBWS-2953
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2953
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions: jbossws-native-3.3.0.Beta4
>            Reporter: Richard Opalka
>            Assignee: Richard Opalka
>             Fix For: jbossws-native-3.3.0.Beta5
>
>
> Current implementation is not following JAX-WS specification.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list