01: /*
02: * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.ws;
07:
08: import java.lang.annotation.Documented;
09: import java.lang.annotation.Target;
10: import java.lang.annotation.Retention;
11: import java.lang.annotation.ElementType;
12: import java.lang.annotation.RetentionPolicy;
13:
14: /**
15: * Used to annotate a generated service interface.
16: *
17: * <p>The information specified in this annotation is sufficient
18: * to uniquely identify a <code>wsdl:service</code>
19: * element inside a WSDL document. This <code>wsdl:service</code>
20: * element represents the Web service for which the generated
21: * service interface provides a client view.
22: *
23: * @since JAX-WS 2.0
24: **/
25: @Target({ElementType.TYPE})
26: @Retention(RetentionPolicy.RUNTIME)
27: @Documented
28: public @interface WebServiceClient {
29: /**
30: * The local name of the Web service.
31: **/
32: String name() default "";
33:
34: /**
35: * The namespace for the Web service.
36: **/
37: String targetNamespace() default "";
38:
39: /**
40: * The location of the WSDL document for the service (a URL).
41: **/
42: String wsdlLocation() default "";
43: }
|