Annotation Type WebEndpoint


@Target(value=METHOD)
 @Retention(value=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:
JAX-WS 2.0
See Also:
WebServiceClient

Optional Elements

Modifier and Type Optional Element and Description
String name

The local name of the endpoint.

Elements

name

public abstract String name

The local name of the endpoint.

Default:
""

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/xml/ws/WebEndpoint.html