Annotation Type WebServiceClient


@Target(value=TYPE)
 @Retention(value=RUNTIME)
 @Documented
public @interface WebServiceClient

Used to annotate a generated service interface.

The information specified in this annotation is sufficient to uniquely identify a wsdl:service element inside a WSDL document. This wsdl:service element represents the Web service for which the generated service interface provides a client view.

Since:
JAX-WS 2.0

Optional Elements

Modifier and Type Optional Element and Description
String name

The local name of the Web service.

String targetNamespace

The namespace for the Web service.

String wsdlLocation

The location of the WSDL document for the service (a URL).

Elements

name

public abstract String name

The local name of the Web service.

Default:
""

targetNamespace

public abstract String targetNamespace

The namespace for the Web service.

Default:
""

wsdlLocation

public abstract String wsdlLocation

The location of the WSDL document for the service (a URL).

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/WebServiceClient.html