1 package org.codehaus.xfire.annotations.backport175;
2
3 /***
4 * backport175 version of the WebService Annotation.
5 *
6 * @author Arjen Poutsma
7 * @see org.codehaus.xfire.annotations.WebServiceAnnotation
8 */
9 public interface WebService
10 {
11 /***
12 * Returns the complete name of the service endpoint interface defining the serviceÕs abstract Web Service
13 * contract.
14 *
15 * @return the name of the service endpoint interface.
16 */
17 String endpointInterface();
18
19 /***
20 * Returns the name of the Web Service. Used as the name of the wsdl:portType when mapped to WSDL 1.1. Defaults to
21 * the simple name of the Java class or interface.
22 *
23 * @return the name of the Web Service.
24 */
25 String name();
26
27 /***
28 * Returns the service name of the Web Service. Used as the name of the wsdl:service when mapped to WSDL 1.1. Not
29 * allowed on interfaces. Defaults to the simple name of the Java class + ÒService".
30 *
31 * @return the service name of the Web Service.
32 */
33 String serviceName();
34
35 /***
36 * Returns the XML namespace used for the WSDL and XML elements generated from this Web Service.
37 *
38 * @return the XML namespace used.
39 */
40 String targetNamespace();
41 }