WebEndpoint (Java SE 9 & JDK 9 )
Keywords: javax.xml.ws.WebEndpoint class

Module java.xml.ws
Package javax.xml.ws

## Annotation Type WebEndpoint

-     @Target(METHOD)
      @Retention(RUNTIME)
      @Documented
      public @interface WebEndpoint

  Used to annotate the `getPortName()` methods of a generated service interface.

  The information specified in this annotation is sufficient to uniquely identify a `wsdl:port` element inside a `wsdl:service`. The latter is determined based on the value of the `WebServiceClient` annotation on the generated service interface itself.

  Since:
    1.6, JAX-WS 2.0
  See Also:
    `WebServiceClient`

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `String` | `name` | The local name of the endpoint.

- - ### Element Detail

    - #### name

          String name

      The local name of the endpoint.
      Returns:
        ocal name of the endpoint
      Default:
        ""