WebMethod (Java SE 9 & JDK 9 )
Keywords: javax.jws.WebMethod class

Module java.xml.ws
Package javax.jws

## Annotation Type WebMethod

-     @Retention(RUNTIME)
      @Target(METHOD)
      public @interface WebMethod

  Since:
    1.6

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `String` | `action` |
    `boolean` | `exclude` |
    `String` | `operationName` |

- - ### Element Detail

    - #### operationName

          String operationName

      Default:
        ""

  - - #### action

          String action

      Default:
        ""

  - - #### exclude

          boolean exclude

      Default:
        false