WebServiceClient (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.ws 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.

从以下版本开始:
JAX-WS 2.0

Optional Element Summary
 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).
 

name

public abstract String name
The local name of the Web service.

默认值:
""

targetNamespace

public abstract String targetNamespace
The namespace for the Web service.

默认值:
""

wsdlLocation

public abstract String wsdlLocation
The location of the WSDL document for the service (a URL).

默认值:
""

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.