Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-877

WebService / WebMethod rules changed in latest spec

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • v1m1
    • 1.0.1
    • Web Services (181)
    • None
    • dist built from SVN

    Description

      The JSR-181 specification has a change that defines the rules for when a method should be exposed as a Web method.

      — JSR-181 v0.9.2 (Dec '04)
      If the implementation bean does not implement a service endpoint
      interface, it must include @WebMethod annotations on each method that is
      to be exposed as a Web Service operation. More information on the
      @WebMethod annotation may be found in section 5.2.

      — JSR-181 v1.0 (June '05)
      If the implementation bean does not implement a service endpoint
      interface, all public methods other than those inherited from
      java.lang.Object will be exposed as Web Service operations. This
      behavior can be overridden by using the WebMethod annotation to specify
      explicitly those public methods that are to be exposed. If a WebMethod
      annotation is present, only the methods to which it is applied are
      exposed.

      Attachments

        1. BEEHIVE-877-patch.txt
          13 kB
          Jeremiah Johnson

        Activity

          People

            jerjohns Jeremiah Johnson
            jerjohns Jeremiah Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: