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