Top Description Methods
javax.xml.ws

public @Interface WebServiceClient

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
@Documented
Imports
java.lang.annotation.Documented, .Target, .Retention, .ElementType, .RetentionPolicy

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
1.6, JAX-WS 2.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

local name
name
()

The local name of the Web service.

public String

Returns:

target namespace name
targetNamespace
()

The namespace for the Web service.

public String

Returns:

location of the WSDL document (a URL)
wsdlLocation
()

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

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

The local name of the Web service.

Returns:String

local name

targetNamespaceback to summary
public String targetNamespace()

The namespace for the Web service.

Returns:String

target namespace name

wsdlLocationback to summary
public String wsdlLocation()

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

Returns:String

location of the WSDL document (a URL)