KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > ws > WebServiceClient


1 /*
2  * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 package javax.xml.ws;
7
8 import java.lang.annotation.Documented JavaDoc;
9 import java.lang.annotation.Target JavaDoc;
10 import java.lang.annotation.Retention JavaDoc;
11 import java.lang.annotation.ElementType JavaDoc;
12 import java.lang.annotation.RetentionPolicy JavaDoc;
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 JavaDoc({ElementType.TYPE})
26 @Retention JavaDoc(RetentionPolicy.RUNTIME)
27 @Documented JavaDoc
28 public @interface WebServiceClient {
29   /**
30    * The local name of the Web service.
31   **/

32   String JavaDoc name() default "";
33
34   /**
35    * The namespace for the Web service.
36   **/

37   String JavaDoc targetNamespace() default "";
38
39   /**
40    * The location of the WSDL document for the service (a URL).
41   **/

42   String JavaDoc wsdlLocation() default "";
43 }
44
Popular Tags